Skip to content

[config] BSC testnet profile (Chapel) with Venus deployment addresses #48

@obchain

Description

@obchain

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    layer:rustRust crates (core / scanner / protocols / executor / cli)priority:p1-coreCore MVP scopestatus:readyScoped and ready to pick uptype:featureNew capability or deliverable

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions