The ICO contracts of ALIS project.
Let me know from our social channels if you have any questions.
Solgraph image of AlisCrowdsale.sol
.
- node.js
- See:
.node-version
- See:
- yarn
git clone https://github.com/AlisProject/ico-contracts.git
cd ico-contracts
yarn
yarn truffle install
yarn test:all
yarn test ./test/alis_crowdsale.js
yarn debug
- You can use
debugger;
function of node.
- You can use
yarn lint
You should adjust gas
and gasPrice
at truffle.js
.
Prerequisite: geth, MIST or EtherumWallet.
In case of MAC.
-
cd config
-
mkdir datadir
-
geth init private.genesis.json --datadir ./datadir/
-
Run private net.
geth --datadir ./datadir --networkid 10 --ipcpath /Users/USERNAME/Library/Ethereum/geth.ipc \ --rpc --rpcaddr "localhost" --rpcport "8545" --rpccorsdomain "*" --mine --minerthreads 4 --unlock 0,1 \ console 2>> /tmp/geth.log
yarn deploy
truffle deploy --network live