Contracts used by meme.com for automated creation of ERC20 token markets with Bancor formula for evaluation of minting and burning strategy.
Current version is in progress state. Development is based on truffle and ganache. Follow instructions below to interact with contracts in docker containers.
- Run
docker-compose build
in root directory of repository. - Copy
.env.template
to.env
and fill.env
with desired config values docker-compose up -d
note: src
and build
folders are mounted to contianer.
-
Ganache should be listening on 7545 if u did not change truffle configuration than just run
npx truffle migrate
-
Enter builder container.
docker-compose exec builder bash
-
Run tests
inside@container:/marblegame# npx truffle test ./test/contracts/mTokenTest.js inside@container:/marblegame# npx truffle test ./test/contracts/memecoinRegisterTest.js inside@container:/marblegame# npx truffle test ./test/contracts/mTokenFactoryTest.js