-
Notifications
You must be signed in to change notification settings - Fork 184
Configurations
Jaynti Kanani edited this page Mar 11, 2019
·
1 revision
Heimdall and bridge service needs matic contract addresses ,ethereum and matic RPC links and several time configurations which are explained below.
$ make init-heimdall
NOTE: You might have to change default contract addresses and RPC URL's according to the latest testnet deployment.*
Example config file
{
"mainRPCUrl": "https://ropsten.infura.io",
"maticRPCUrl": "https://testnet.matic.network",
"stakeManagerAddress": "0xd0d82149efb003eb8afd602a3c3a1532898ea1af",
"rootchainAddress": "0x4463d704416dccf1781231c484e2aedd7dc9da43",
"childBlockInterval": 10000,
"checkpointerPollInterval": 60000,
"syncerPollInterval": 30000,
"noackPollInterval": 15000000000,
"avgCheckpointLength": 256,
"maxCheckpointLength": 1024,
"noackWaitTime": 300000000000,
"checkpointBufferTime": 256000000000
}
mainRPCUrl
RPC endpoint for main chain node
maticRPCUrl
RPC endpoint for matic chain node
stakeManagerAddress
: Stake manager address on main chain
rootchainAddress
: Rootchain contract address on main chain