Coder Social home page Coder Social logo

followcoin-contract's Introduction

Follow Coin v2

Getting started

Install the Truffle if havent yet, run:

# npm install -g truffle
# npm install -g ethereumjs-testrpc

Install the OpenZeppelin library, run:

# npm install zeppelin-solidity
# npm install chai
# npm install chai-as-promised
# npm install chai-bignumber

Compile

# truffle compile

Run tests

# truffle test

Deploy

To deploy manually can use truffle-flattener

# truffle-flattener contracts/FollowCoin.sol

Follow Coin Contract

FLLW Token Sale Details

Token Sale start date: 27th Oct 16:00 UTC 1509120000

Token Sale latest closing data: 24th Nov 16:00:00 UTC 1511539200

Duration: 28 days (4 weeks)

Min Cap: 0 ETH

Max Cap: 49,000 ETH

Rate: 10000 FLLW per 1 ETH

Total supply: 1 billion (1,000,000,000)

Sold during ICO: 49% (490,000,000)

Retained by team: 33% (330,000,000)

Platform maintenance: 18% (18,000,000)

Max purchase per wallet during token sale: 1000 ETH

FLLW tokens purchased during the token sale will be sent directly to the purchasing wallet address. All tokens will be locked until 21 days after the closing of the Token Sale.

The contracts were externally reviewed and tested by Yshurik and Bitcoinbrisbane. Reviews can be found here: https://gist.github.com/yshurik/521ec2bcbf5ca397367bcc297b85a921 https://github.com/bitcoinbrisbane/followcoin-contract/blob/master/notes.md

Local testing

start testrpc

npm install

testrpc --account="0x401c856b9b2b12334d391ebc9499857cc42e99acd089585fd916b19dab11c1fd, 100000000000000000000000000000000" --unlock 0 --account="0xc6bd287de65a06f3d428f7fd4d034bcb7301ab43fd9f71cecb2de0d106d9294d, 100000000000000000000000000000000" --unlock 1 --account="0x5de9870a557d0d7b991ea310a526f2bc368f987c90d86ec1a389636ffd5c1948, 100000000000000000000000000000000" --unlock 2 --account="0xc85fb67429a7183aa08bba6d8dd1460f8eaa04a37c3114bcf28422d211f3f7cc, 100000000000000000000000000000000" --unlock 3 --account="0xdd0eca4831c4d705f95f2eefb805025a75466460bed47c0a63d7761fc1aad06e, 100000000000000000000000000000000" --unlock 4 --gasPrice 0 --debug

Truffle tests

Note: Must upgrade

.net core tests

Download the 2.0 sdk

cd into \coretests
dotnet restore
dotnet test

Ropsten network testing

geth --fast --cache=1048 --testnet --unlock "[your_ropsten_address]" --rpc --rpcapi "eth,net,web3" --rpccorsdomain '*' --rpcaddr localhost --rpcport 8545

truffle deploy --network ropsten

followcoin-contract's People

Contributors

bitcoinbrisbane avatar jorenfrielink avatar tomaszbec avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.