Skip to content

AtteqCom/meme-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meme.com - Contracts

Contracts used by meme.com for automated creation of ERC20 token markets with Bancor formula for evaluation of minting and burning strategy.

Developer notes

Current version is in progress state. Development is based on truffle and ganache. Follow instructions below to interact with contracts in docker containers.

Docker

  1. Run docker-compose build in root directory of repository.
  2. Copy .env.template to .env and fill .env with desired config values
  3. docker-compose up -d

note: src and build folders are mounted to contianer.

Migration - Ganache/Development

  1. Ganache should be listening on 7545 if u did not change truffle configuration than just run

    npx truffle migrate
    

Test - Ganache

  1. Enter builder container.

    docker-compose exec builder bash
    
  2. 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
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors