Goal
Add a config/testnet.toml profile so charon can run against BSC testnet (Chapel, chainId 97) using the live Venus deployment. Enables off-mainnet demo of the scanner + metrics pipeline without production keys.
Scope
- New file:
config/testnet.toml mirroring config/default.toml
- Populate Venus Chapel addresses:
- Unitroller (Comptroller):
0x94d1820b2D1c7c7452A163983Dc888CEC546b77D
- VenusLens:
0x969a45F1bb5Ba4037CB44664135862D0c2226F89
- vBNB:
0x2E7222e51c0f6e98610A1543Aa3836E092CDe62c
- vBUSD:
0x08e0A5575De71037aE36AbfAfb516595fE68e5e4
- vUSDT:
0xb7526572FFE56AB9D7489838Bf2E18e3323b441A
- vUSDC:
0xD5C4C2e2facBEB59D0216D0595d63FcDc6F9A1a7
- ResilientOracle:
0x3cD69251D04A28d887Ac14cbe2E14c52F3D57823
- Testnet RPC via
${BNB_TESTNET_HTTP_URL} / ${BNB_TESTNET_WS_URL} env vars
.env.example updated with the two new env vars
- Aave flashloan disabled for testnet (Aave V3 not on Chapel)
Out of scope
- Deploying
CharonLiquidator on Chapel (flashloan unavailable → end-to-end liquidation cannot run on testnet)
Acceptance
charon --config config/testnet.toml test-connection returns Chapel head block
charon --config config/testnet.toml listen runs without error (no liquidations expected)
Goal
Add a
config/testnet.tomlprofile socharoncan run against BSC testnet (Chapel, chainId 97) using the live Venus deployment. Enables off-mainnet demo of the scanner + metrics pipeline without production keys.Scope
config/testnet.tomlmirroringconfig/default.toml0x94d1820b2D1c7c7452A163983Dc888CEC546b77D0x969a45F1bb5Ba4037CB44664135862D0c2226F890x2E7222e51c0f6e98610A1543Aa3836E092CDe62c0x08e0A5575De71037aE36AbfAfb516595fE68e5e40xb7526572FFE56AB9D7489838Bf2E18e3323b441A0xD5C4C2e2facBEB59D0216D0595d63FcDc6F9A1a70x3cD69251D04A28d887Ac14cbe2E14c52F3D57823${BNB_TESTNET_HTTP_URL}/${BNB_TESTNET_WS_URL}env vars.env.exampleupdated with the two new env varsOut of scope
CharonLiquidatoron Chapel (flashloan unavailable → end-to-end liquidation cannot run on testnet)Acceptance
charon --config config/testnet.toml test-connectionreturns Chapel head blockcharon --config config/testnet.toml listenruns without error (no liquidations expected)