- Standart : ERC20
- Name : Candao
- Ticker : CDO
- Decimals : 18
- Emission : One-time, 1 500 000 000 tokens
- Fiat dependency : No
- Token offers : 1
- Token locks : Yes
Candao smart-contract
- Configurator
- CandaoToken - Token contract
- Sale - Sale contract
- DAO: 400 000 000
- Sales: 250 000 000
- Content Mining: 210 000 000
- Liquidity pool: 200 000 000
- Foundation: 150 000 000
- Team: 150 000 000
- Marketing: 100 000 000
- Advisors: 40 000 000
- Compile the contract using Remix with
enable optimization
flag andcompiler version
set to0.8.0
. - Copy
.env.example
to.env
and fill in the parameters. - Deploy the contract using deployment script:
truffle exec scripts/1_deploy_configurator.js --network NetworkName
for example:
truffle exec scripts/1_deploy_configurator.js --network ropsten
- After deployment, run the following command with one or more contracts that you wish to verify:
truffle run verify SomeContractName@SomeContractAddress AnotherContractName@AnotherContractAddress --network NetworkName [--debug]
for example:
truffle run verify CandaoToken@0xd4eE90e82FE10d37d028084f262fbC092E2aEF81 --network ropsten
You can find all information about deployed smart contracts in the filereport.NetworkName.log
.
- Browse to your contract on Etherscan and click on the hash of the transaction with which it was created.
- On the top right, where it reads "Tools & utilities", click on the arrow to see more options and select "Parity Trace".
- For the action pertaining the contract creation, click on "Click to see more" below to see the input/output.
- Copy the content of the "Init" field and paste somewhere in text file.
- Copy "bytecode" string from ContractName.json generated by truffle and place it near the string from the previous step.
- The difference between theese two strings is your encoded constructor arguements.
- Pass them to
truffle-verify-plugin
as paramter:--forceConstructorArgs string:ABIEncodedArguments
npx webpack build --config front/webpack.config.js
- Open
front/index.html
in browser.
- MyEtherWallet
- Parity
- Mist/Ethereum wallet
EXODUS does not support ERC20, but provides the ability to export the private key to MyEtherWallet - http://support.exodus.io/article/128-how-do-i-receive-unsupported-erc20-tokens
You can find kovan test log here