Skip to content

The docker-compose in the root of this repo is used to deploy the etehreum migraton contract in a local ganache container running in docker.

Notifications You must be signed in to change notification settings

deltav-deltaverse/fetch-ethereum-bridge-v1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetch-Ethereum-Bridge-v1

The docker-compose in the root of this repo is used to deploy the etehreum migraton contract in a local ganache container running in docker.

Spin up infrastructure

By running docker-compose up a local ganache and a contract deployment container are being built and spun up.

If you always want to build images run docker-compose up --build.

After that, in a new terminal please run the following command depending on your desired action:

# Import brownie networks
docker-compose exec ethereum brownie networks import networks-config.yaml True

#Deploy ERC20 mock
docker-compose exec ethereum brownie run deploy_erc20mock.py --network docker

# Deploy Ethereum Bridge contract
docker-compose exec ethereum brownie run deploy_bridge.py --network docker

# Deploy Cosmos Bridge contract
docker-compose exec fetch ./ledger/deploy-bridge.sh

The infrastructure can be deleted by running docker-compose down --volumes.

About

The docker-compose in the root of this repo is used to deploy the etehreum migraton contract in a local ganache container running in docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 41.0%
  • Python 31.1%
  • Solidity 24.1%
  • JavaScript 2.3%
  • Other 1.5%