Governance webhook and economic node tracking module for blvm-node.
This module provides governance integration for blvm-node, including:
- Webhook notifications to blvm-commons
- Economic node tracking
- Veto system integration
- Governance proposal monitoring
# Install via cargo
cargo install blvm-governance
# Or install via cargo-blvm-module
cargo install cargo-blvm-module
cargo blvm-module install blvm-governanceCreate a config.toml in the module directory:
[governance]
webhook_url = "https://governance.example.com/webhook"
node_id = "your_node_id"
enabled = trueThe module includes a module.toml manifest:
name = "blvm-governance"
version = "0.1"
description = "Governance webhook and economic node tracking module"
author = "Bitcoin Commons Team"
entry_point = "blvm-governance"
capabilities = [
"read_blockchain",
"subscribe_events",
]GovernanceProposalCreated- New governance proposalGovernanceProposalVoted- Vote cast on proposalGovernanceProposalMerged- Proposal mergedEconomicNodeRegistered- Economic node registeredEconomicNodeVeto- Economic node veto signalChainTipUpdated- For tracking block height
WebhookSent- Webhook notification sentWebhookFailed- Webhook delivery failedVetoThresholdReached- Veto threshold reachedGovernanceForkDetected- Governance fork detected
MIT License - see LICENSE file for details.