Mintable, Burnable, Standard ERC20 with ability to upgrade to a more secure Pausable and Lockable ERC20
clone using HTTPS:
git clone https://github.com/akropolisio/AkropolisToken.git
change directory:
cd AkropolisToken
- install Docker
- install VSCode
- install Remote - Containers VSCode extension
- open cloned repository in VSCode
- click F1 and run
>Remote-Containers: Reopen in Container
- wait until all dependencies are installed (you will see the message "Done. Press any key to close the terminal." in the terminal
Configuring
) - install local dependencies:
npm install
- you will need Python 3.8 and Node.js v10
- install Ganache:
npm install -g ganache
- install local dependencies:
npm install
- start Ganache in a separate terminal
ganache
- run all tests with
npm run test-all
- start Ganache in a separate terminal
scripts/rpc_fork.sh
- run all tests with
npm run test-fork
- Ganache will fork from Mainnet starting from a specific block number configured in
scripts/rpc_fork.sh
- make sure to restart Ganache before launching tests
- setup .env:
- run
cp .example.env .env
- insert keys into
.env
- run
- run truffle migrations:
- deploy to development
npm run deploy
(make sure Ganache is running) - deploy to live networks
npm run deploy -- --network rinkeby
- to run all migrations from the beginning use
npm run deploy -- --network rinkeby --reset
- deploy to development
MIT License
Copyright (c) 2019 A Labs Ltd.