go get github.com/pilu/fresh
cd ~/src/github.com/a-fis/xcore-token
fresh
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep init
dep ensure -add XXXXX
dep ensure -update
-
Get total raised amount
-
Display Token Info
- Price
- Total Supply
- Start Date
- End Date _ First week bonus
- Max Cap / investor
-
Buy token / send token
#NOTES:
Make sure to install solc
and abigen
Reference: http://solidity.readthedocs.io/en/v0.4.21/installing-solidity.html Homebrew is missing pre-built bottles at the time of writing, following a Jenkins to TravisCI migration, but Homebrew should still work just fine as a means to build-from-source. We will re-add the pre-built bottles soon.
brew update
brew upgrade
brew tap ethereum/ethereum
brew install solidity
brew linkapps solidity
Building Geth (command line client) Clone the repository to a directory of your choosing:
git clone https://github.com/ethereum/go-ethereum
ln -s $GOPATH/src/github.com/ethereum/go-ethereum /usr/local/bin/abigen
solc --abi contracts/<xxxx.sol>
abigen --abi contracts/<filename.abi> --pkg <contract package> --out contracts/<filename.go>
or simply run the command below:
./compile.sh