The Conflux DAO #14 Voting is currently live. Users can lock their CFX in PoS Pools and participate in voting on this proposal. Currently, this feature is only supported by 4 PoS pools: PHX v1, Consensus Pool, ABC Pool, and HydraSF. To allow more users to participate in Conflux governance proposal voting while earning rewards from PoS staking, we have opened an application channel for the Support Governance feature. If your PoS pool also wants to add this feature, you can follow this tutorial for operation and application.
Here’s how to set it up:
1.Deploy VotingEscrow Contract for Core Space Pool
VotingEscrow
contract is used to enable Pool users to lock and vote for proposals in Conflux Governance.
To deploy it, run the following command:
npx hardhat run scripts/core/04_deploy_votingEscrow.js --network cfxTestnet
After the command runs successfully, you will get the VotingEscrow
contract address, and add it to .env
file as VOTING_ESCROW
.
2.Request to Whitelist Your PoS Pool on ConfluxHub Governance
The default Pool UI only provide CFX stake and unstake functions. The lock and lock UI functions is provide by confluxhub.
After your pool’s VotingEscrow
contract is deployed, you can add your pool in gov_pools.json
through creating a PR to this repo.
After you submit the PR, our team will review it. Once approved and whitelisted, your pool will be listed in Confluxhub gov page, allowing users to select it and participate in voting.
{
"mainnet": [
{
"name": "PHX V1",
"address": "cfx:acdj1y1r00mzvuw9s831rj1t5amst2405jv582syu0",
"icon": "https://pospool.phxverse.com/favicon.ico",
"website": "https://pospool.phxverse.com/"
},
{
"name": "Your Pool name",
"address": "<Your pool address>",
"icon": "<Your pool icon>",
"website": "<Your pool website URL>"
}
]
}