Skip to content

BlockWit/artitime-token

Repository files navigation

ArtiTime

ArtiTime smart contracts

  • Standart : ERC20
  • Name : ArtiTime
  • Ticker : ARTI
  • Decimals : 18
  • Emission : One-time, 1 000 000 000 tokens
  • Fiat dependency : No
  • Token offers : 3
  • Token locks : Yes

Smart contracts description

ArtiTime smart-contract

Contracts

  1. Configurator - Entry point for deployment
  2. ArtiTimeToken - Token contract
  3. Sale - Sale contract
  4. VestingWallet - Token lock contract with vesting schedule

Token distribution

  1. Marketing: 60 000 000
  2. Celebrity support: 25 000 000
  3. Team: 75 000 000
  4. Developers: 75 000 000
  5. Sales: 321 570 000

How to work with this project

To start working with the contracts, please, follow theese steps for each contract:

  1. Compile the contract using Remix with enable optimization flag and compiler version set to 0.8.0.
  2. Copy .env.example to .env and fill in the parameters.
  3. 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
  4. 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 ArtiTimeToken@0xd4eE90e82FE10d37d028084f262fbC092E2aEF81 --network ropsten
    You can find all information about deployed smart contracts in the file report.NetworkName.log.

How to get constructor arguments generated during deployment

  1. Browse to your contract on Etherscan and click on the hash of the transaction with which it was created.
  2. On the top right, where it reads "Tools & utilities", click on the arrow to see more options and select "Parity Trace".
  3. For the action pertaining the contract creation, click on "Click to see more" below to see the input/output.
  4. Copy the content of the "Init" field and paste somewhere in text file.
  5. Copy "bytecode" string from ContractName.json generated by truffle and place it near the string from the previous step.
  6. The difference between theese two strings is your encoded constructor arguements.
  7. Pass them to truffle-verify-plugin as paramter: --forceConstructorArgs string:ABIEncodedArguments

Wallets with ERC20 support

  1. MyEtherWallet
  2. Parity
  3. 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