xGov Docs
Interact with the xGov registry on FNet
The Algorand Expert Governance (xGov) is evolving from the first pilot phase (Alpha) to the next iteration (Beta).
According to the result of the Governance Period 12 - Measure 1, new xGovs are:
Participants in the consensus process, with voting power derived from the blocks proposed.
The xGov on-chain architecture will be continuously deployed on FNet to promote early tests and frictionless integration.
xGov Registry
The xGov Registry Application is responsible for the following features:
- Configuring xGov process parameters (e.g., voting quorums, fees, etc.);
- Managing xGov Registry RBAC;
- Onboarding xGov;
- Onboarding project Proposers (and managing their KYC);
- Publishing the xGov Committee (selected off-chain by observing the proposed block retroactively);
- Creating proposals (as an App factory);
- Voting on proposals;
- Paying approved proposals.
The xGov Registry streamlines the qualification of regular Accounts and App Accounts (i.e. SP/LS/LP) as xGovs, decoupling the xGov Address (the block proposer) from the Voting Address (used to express voting intentions, i.e. on behalf of SP/LS/LP).
The xGov Registry App has yet to be deployed on MainNet, so its App ID is still unknown.
Applications MUST be able to set and use the future MainNet App ID (once deployed).
Applications with immutable source code, that can not integrate directly with the xGov Registry, MAY opt for the App Creator Onboarding or the Managed Onboarding.
Integration
xGov Registry - App ID: 16249901
xGov Registry - App Spec: ARC-2 note of latest self-payment of the App Deployer
- Download the App Spec;
- Use the Lora App Lab to create an App Interface on FNet, using the existing App ID and App Spec;
- Explore the xGov Registry interface.
Some methods require external references to Boxes, App IDs, and Accounts (discoverable with simulated calls).
Relevant methods for xGovs:
subscribe_xgov
unsubscribe_xgov
subscribe_xgov_app
unsubscribe_xgov_app
request_subscribe_xgov
set_voting_account
Relevant methods for Proposers:
subscribe_proposer
open_proposal
Relevant methods for Voters (xGov delegates):
vote_proposal
Proposals
The Proposal Applications are responsible for the following features:
- Managing the proposal’s lifecycle (submission, discussion, finalization, voting, results);
- Assigning xGovs voting power on proposals;
- Verifying vote results;
- Approving milestones and compliance with T&C.
Integration
The integration with Proposals is not required.