/ico-2

A simple example of smart-contracts for ICO launching: ERC-20 token contract + Crowdsale contract

Primary LanguageJavaScript

Description

A simple example of smart-contracts for ICO launching: ERC-20 token contract + Crowdsale contract

Technologies

Install npm dependencies: npm i

Install truffle via npm: npm install -g truffle
Full truffle documentation: http://truffleframework.com/docs/getting_started/installation

Run TestRPC(ganache-cli) node: truffle develop
Compile smart-contract sources: truffle compile (add --all option to recompile all files, not only changed)
Deploy smart-contract to node: truffle migrate (add --reset option to run all your migrations from the beginning)
Run unit-tests: truffle test