Configuration
Bonder configuration examples
Configuration example
{
"network": "mainnet",
"chains": {
"ethereum": {
"rpcUrl": "https://mainnet.infura.io/v3/84842078b09946638c03157f83405213",
"maxGasPrice": 500
},
"gnosis": {
"rpcUrl": "https://rpc.gnosischain.com",
"customSyncType": "threshold",
"maxGasPrice": 90
},
"polygon": {
"rpcUrl": "https://polygon-rpc.com",
"customSyncType": "threshold",
"maxGasPrice": 5000
},
"optimism": {
"rpcUrl": "https://mainnet.optimism.io",
"customSyncType": "threshold",
"maxGasPrice": 500
},
"arbitrum": {
"rpcUrl": "https://arb1.arbitrum.io/rpc",
"customSyncType": "threshold",
"maxGasPrice": 500
}
},
"tokens": {
"USDC": true
},
"routes": {
"ethereum": {
"polygon": true,
"gnosis": true,
"arbitrum": true,
"optimism": true
},
"polygon": {
"ethereum": true,
"gnosis": true,
"arbitrum": true,
"optimism": true
},
"gnosis": {
"ethereum": true,
"polygon": true,
"arbitrum": true,
"optimism": true
},
"arbitrum": {
"ethereum": true,
"polygon": true,
"gnosis": true,
"optimism": true
},
"optimism": {
"ethereum": true,
"polygon": true,
"gnosis": true,
"arbitrum": true
}
},
"db": {
"location": "/root/.hop/db"
},
"logging": {
"level": "debug"
},
"keystore": {
"location": "/root/.hop/keystore.json",
"parameterStore": "/Hop/Bonder/Keystore/Pass",
"awsRegion": "us-east-1"
},
"watchers": {
"bondTransferRoot": true,
"bondWithdrawal": true,
"commitTransfers": true,
"settleBondedWithdrawals": true,
"confirmRoots": true,
"L1ToL2Relay": true
},
"commitTransfers": {
"minThresholdAmount": {
"USDC": {
"polygon": {
"ethereum": 170000,
"gnosis": 50000,
"optimism": 130000,
"arbitrum": 130000
},
"gnosis": {
"ethereum": 170000,
"polygon": 130000,
"optimism": 130000,
"arbitrum": 130000
},
"optimism": {
"ethereum": 170000,
"polygon": 130000,
"gnosis": 50000,
"arbitrum": 130000
},
"arbitrum": {
"ethereum": 170000,
"polygon": 130000,
"gnosis": 50000,
"optimism": 130000
}
}
}
},
"fees": {
"USDC": {
"ethereum": 14,
"polygon": 14,
"gnosis": 25,
"optimism": 14,
"arbitrum": 14
}
}
}Properties
Key
Value
chains
chainsChain slug
Description
tokens
tokensroutes
routesdb
dbKey
Default value
Description
logging
loggingKey
Default value
Description
keystore
keystoreKey
Default value
Example
Description
watchers
watchersWatcher
Description
commitTransfers
commitTransfersfees
feesbonders
bondersblocklist
blocklistsigner
signerKey
Default value
Example
Description
Environment variables
Key
Value
Notifications
Slack
Key
Example Value
Description
Key
Example Value
Description
Last updated