AlisProject Ico Contracts Save

:tada: ICO Contracts of the ALIS.

Project README

CircleCI

ICO Contracts

ALIS

The ICO contracts of ALIS project.
Let me know from our social channels if you have any questions.

Solgraph

Solgraph image of AlisCrowdsale.sol.

Prerequisite

  • node.js
    • See: .node-version
  • yarn

Usage

  1. git clone https://github.com/AlisProject/ico-contracts.git
  2. cd ico-contracts
  3. yarn
  4. yarn truffle install

Test

  • yarn test:all

Run single test

  • yarn test ./test/alis_crowdsale.js

Debug

  • yarn debug
    • You can use debugger; function of node.

Linting

  • yarn lint

Deployment

You should adjust gas and gasPrice at truffle.js.

Using private net(geth)

Prerequisite: geth, MIST or EtherumWallet.
In case of MAC.

  1. cd config

  2. mkdir datadir

  3. geth init private.genesis.json --datadir ./datadir/

  4. 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
    

Private net & Test net

  • yarn deploy

Main net

  • truffle deploy --network live

License

Open Source Agenda is not affiliated with "AlisProject Ico Contracts" Project. README Source: AlisProject/ico-contracts
Stars
75
Open Issues
6
Last Commit
6 years ago
License
Homepage

Open Source Agenda Badge

Open Source Agenda Rating