Consensus Change Risk Explainer
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Consensus Change Risk Explainer is a read-only tool that analyzes on-chain data for consensus protocol change proposals and generates AI-powered plain-language explanations of change risks. It reads consensus protocol parameters, governance proposal details, current consensus settings, proposed consensus changes, validator set composition, voting power distribution, block parameters, finality parameters, gas limits, DA (data availability) parameters, bridge parameters, slashing conditions, upgrade status, challenge period status, execution status, and quorum requirements. The tool then presents this data alongside an AI-generated explanation of what parameters are changing, potential network impact, and risks — helping you understand the implications before voting on or executing a consensus update.
HOW TO USE
Connect your wallet using the BGWallet bridge and select your target network. Enter the governance or consensus contract address — you vouch for this contract, not the tool. Enter the proposal ID you want to analyze. Optionally select a specific parameter type (block parameters, finality parameters, gas limits, DA parameters, bridge parameters, slashing conditions, or all parameters). Click "Analyze consensus change" to read on-chain data. The tool displays the contract address, proposal ID, parameter type, change impact level, execution status, and quorum status. Detailed information includes current and proposed settings, voting power distribution, validator set size, challenge period status, upgrade status, governance proposal details, and affected protocol parameters. A change risk meter visually indicates the overall risk level (Low/Medium/High/Critical). An AI explanation appears below the on-chain data, describing the consensus change proposal including what parameters are changing, potential impact on network security and performance, quorum status, and risks if the proposal fails or passes. The wallet's own signature step still protects you — this explanation is informational only and does not replace reviewing what you approve in your wallet.
TECHNICAL MECHANISM
The tool uses ethers.js v5.7.2 with the provider from the BGWallet bridge to read on-chain data from the contract you specify. No hardcoded contract addresses are used — you are always in control of which contract you trust. When analyzing consensus changes, the tool reads consensus protocol parameters from the parameter storage (e.g., getParameter(), getCurrentSettings()), governance proposal details from the governance contract (e.g., proposal().details), current consensus settings from the protocol's configuration contract, proposed consensus changes from the proposal's change payload, validator set from the validator registry (e.g., getValidators(), getActiveValidators()), voting power distribution from the voting power contract, block parameters from the consensus or block configuration contract, finality parameters from the finality configuration, gas limits from the gas management contract, DA parameters from the DA configuration, bridge parameters from the bridge configuration, slashing conditions from the slashing registry, upgrade status from the upgrade management contract, challenge period status from the challenge period management contract, execution status from the proposal execution contract, and quorum requirements from the governance contract's quorum settings. The tool fetches event logs (e.g., ProposalCreated, ConsensusUpdated, ParameterChanged) by walking backwards in chunks and halving chunk size on failure, ensuring logs are properly read despite varying RPC limitations. The data is formatted and passed to the AI bridge via BGAI.generate() with a structured prompt that includes all the on-chain data read. The AI is instructed to explain the consensus change proposal including what parameters are changing, potential impact on network security and performance, quorum status, and risks — while stating plainly that it cannot predict how consensus changes will affect network behavior, validator participation, or security properties, and cannot guarantee that proposed changes will be approved or executed. The AI response is capped at 1,024 tokens to ensure concise, focused risk assessments. All computed values are guarded against negative numbers — if a parameter value or risk score appears invalid, the tool flags it rather than displaying nonsensical values.
WHAT IT CANNOT SEE
This tool cannot predict how consensus changes will affect network behavior, validator participation, or security properties. It cannot guarantee that proposed changes will be approved or executed. It cannot detect off-chain governance coordination, validator collusion, or network effects not reflected on-chain. The AI explanation is generated from on-chain data only and cannot detect hidden governance manipulation, validator collusion, off-chain consensus issues, or potential network instability after the change. It cannot predict validator behavior after the change, participation rates, or network performance under new parameters. The tool does not continuously monitor consensus changes; each analysis is a snapshot at the time of the lookup. It cannot detect delayed proposal execution, off-chain governance discussions, or validator coordination. The tool does not store any data persistently; all state is in-memory and resets on reload. The AI explanation is informational and does not constitute financial advice, legal advice, or a guarantee of network security or consensus stability.
PLEASE NOTE
Consensus Change Risk Explainer works exclusively with EVM-compatible chains. It requires a Web3 wallet (MetaMask or similar) and the BGWallet bridge. Explanations are AI-generated from data the app reads on-chain — always review what you are actually signing in your wallet before approving it. Always verify the contract address you are using — the tool does not validate or endorse any contracts. Consensus changes carry significant risk including potential network instability, security vulnerabilities, validator misalignment, and reduced decentralization. Use this tool as a guide only; always cross-check with the protocol's official documentation and independent sources for critical decisions. This is experimental software; use at your own risk.