Package Exports
- dkg-evm-module
- dkg-evm-module/build/contracts/AssertionRegistry.json
- dkg-evm-module/build/contracts/ERC20Token.json
- dkg-evm-module/build/contracts/Hub.json
- dkg-evm-module/truffle-config.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dkg-evm-module) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DKG evm module
Installation
npm install
Run local ganache node
npm run ganache
Create .env file
Create .env file in root directory with the following content:
ACCESS_KEY = http://localhost:7545
PRIVATE_KEY = 02b39cac1532bef9dba3e36ec32d3de1e9a88f1dda597d3ac6e2130aed9adc4e
Note: Private key is publicly available! Don't use the provided private key in production! Only for testing purposes!
Deploy contracts on a devnet node
Update environment
OTP_DEVNET_RPC = https://lofar-tm-rpc.origin-trail.network/
PRIVATE_KEY = 02b39cac1532bef9dba3e36ec32d3de1e9a88f1dda597d3ac6e2130aed9adc4e
npm run deploy:devnet