https://github.com/AlisProject/ico-contracts
:tada: ICO Contracts of the ALIS.
https://github.com/AlisProject/ico-contracts
ethereum geth ico ico-contracts smart-contracts solidity tokensale
Last synced: 6 months ago
JSON representation
:tada: ICO Contracts of the ALIS.
- Host: GitHub
- URL: https://github.com/AlisProject/ico-contracts
- Owner: AlisProject
- License: gpl-3.0
- Created: 2017-07-27T06:58:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-07T06:17:04.000Z (almost 8 years ago)
- Last Synced: 2024-11-06T13:00:00.226Z (11 months ago)
- Topics: ethereum, geth, ico, ico-contracts, smart-contracts, solidity, tokensale
- Language: JavaScript
- Homepage: https://alis.to
- Size: 306 KB
- Stars: 75
- Watchers: 17
- Forks: 19
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/AlisProject/ico-contracts/tree/master)
# ICO Contracts
[](https://alismedia.jp)The ICO contracts of [ALIS project](https://alismedia.jp).
Let me know from our social channels if you have any questions.# Solgraph
[Solgraph](https://github.com/raineorshine/solgraph) image of `AlisCrowdsale.sol`.
# Prerequisite
- node.js
- See: `.node-version`
- yarn# Usage
1. `git clone https://github.com/AlisProject/ico-contracts.git`
1. `cd ico-contracts`
1. `yarn`
1. `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`
1. `mkdir datadir`
1. `geth init private.genesis.json --datadir ./datadir/`
1. 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
- [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.txt)