BNB Chain Adapter
Governor is the chain-agnostic governance control plane for agent execution. The BNB
adapter translates and enriches BNB transaction intents, but Governor remains the sole
authority for ALLOW / DENY decisions and evidence.
Purpose
The BNB adapter governs BNB transaction intents before signing or execution. It normalizes wallet, contract, token, gas, slippage, and simulation metadata into Governor's canonical crypto intent model.
Integration module role
Structural guarantees
1. No local policy engine
The adapter never makes its own allow decision.
2. Fail closed
Missing simulation, unknown scope, unknown runtime, or ambiguous transport returns deny.
3. No bypass path
No broadcast or execution happens outside Governor’s decision flow.
4. Dry-run first
Dry-run and simulation-first behavior remain the default safe path.
5. Evidence-backed
Every decision carries audit metadata and normalized evidence fields.
Supported action classes
CHAIN_TRANSFERTOKEN_APPROVALCONTRACT_CALLDEX_SWAPBRIDGE_TRANSFERSTAKING_ACTIONTREASURY_PAYOUTWALLET_CONFIG_CHANGESIGN_MESSAGEORACLE_JOBCanonical BNB scopes
bnb_chain_transfer_execute,
bnb_token_approval_execute,
bnb_contract_call_execute,
bnb_dex_swap_execute,
bnb_bridge_transfer_execute,
bnb_staking_action_execute,
bnb_treasury_payout_execute,
bnb_wallet_config_change_execute,
bnb_sign_message_execute,
bnb_oracle_job_execute
Public API
POST /adapters/bnb/register
Registers a BNB execution runtime under Governor.
POST /adapters/bnb/intent
Translates raw BNB context into the canonical crypto intent, validates metadata, requires simulation, and requests a Governor decision.
bnb_chainFail-closed requirements
Example intent
{
"tenant_id": "acme",
"runtime_id": "bnb-runtime-01",
"agent_id": "agent-bnb-01",
"intent": "swap_wbnb_to_usdt",
"tool": "bnb.swap",
"requested_scopes": ["bnb_dex_swap_execute"],
"requested_budget": 0.0,
"work_type": "execution",
"context": {
"action_class": "DEX_SWAP",
"wallet_address": "0xabc...",
"chain": "bnb",
"network": "mainnet",
"target_address": "0xrouter...",
"method_selector": "0x38ed1739",
"asset_in": {"symbol": "WBNB", "address": "0x..."},
"asset_out": {"symbol": "USDT", "address": "0x..."},
"amount_value": "1.25",
"max_slippage_bps": 100,
"deadline_utc": "2026-04-06T15:00:00Z",
"simulation": {
"success": true,
"gas_estimate": 210000,
"native_value": "0",
"token_movements": [],
"approval_delta": [],
"state_changes": [],
"warnings": []
},
"risk_metadata": {
"known_contract": true,
"verified_token": true,
"first_time_recipient": false,
"high_value_tx": false,
"unlimited_approval": false,
"cross_chain": false,
"protocol_type": "dex"
}
}
}
Example policy
TOKEN_APPROVAL with unlimited allowance → denyDEX_SWAP above allowed slippage → denyCONTRACT_CALL to unknown target → denyBRIDGE_TRANSFER to unapproved destination → denyTREASURY_PAYOUT above threshold without approval → denyCurrent implementation status
Implemented now
Canonical crypto action classes, canonical crypto intent schema, BNB adapter registry,
POST /adapters/bnb/register, POST /adapters/bnb/intent, and
deny-on-missing-simulation.
Planned next
BNB simulation backend abstraction, approval/slippage/contract/bridge policy hooks, decision-bound execute flow, and receipt retrieval with evidence mapping.
Commercial note: BNB is a strategic differentiation lane today. The primary revenue motion is enterprise execution governance across GitHub, AWS/Kubernetes, and HTTP/OpenClaw workflows.
Implementation spec
Source spec: GOVERNOR_BNB_ADAPTER_V1_IMPLEMENTATION_SPEC.md
