Sign inSign up

clearmatics/erc1820-registry

By clearmatics

Updated almost 6 years ago

A truffle project to deploy an ERC1820 Registry for Permissioned Chains

Image
0

593

clearmatics/erc1820-registry repository overview

ERC1820 Registry

A truffle project to deploy an ERC1820 Registry for Permissioned Chains.

Install

npm install -g truffle
npm install

Configuration

Edit truffle-config.js and add networks

Deploy

truffle migrate --network your-network

On deployment you will see the contract that it has been deployed to. Use this address to initialse the Asset Token contract deployment.

Deploy using Docker

  • Ganache network

    • Run Ganache network
      docker run -d -p 8545:8545 --name ganache trufflesuite/ganache-cli:v6.9.1 --gasLimit 0xFFFFFFFF
      
    • Deploy ERC1820 Registry contract
      docker run --network="host" -t clearmatics/erc1820-registry
      
  • Autonity or other networks with custom settings

    • Create custom ./truffle-config.js file in local dir. Deployment will use network development
    • Deploy ERC1820 Registry contract
      docker run -v "$(pwd)"/truffle-config.js:/app/truffle-config.js --network="host" -t \
      clearmatics/erc1820-registry \
      deploy -- --f 2 --describe-json
      
      Any options for truffle migrate could be used

Tag summary

Content type

Image

Digest

Size

92.8 MB

Last updated

about 6 years ago

docker pull clearmatics/erc1820-registry