Registry operations¶
Registry operations are ordinary transactions sent to the registry system account
keccak256('PQAI/private/G4/registry/v1')[12:], each with gas limit 150,000. Use pqwerai-cli, pqwerai-wallet-cli
or the Windows Wallet; the calldata format is internal and byte-identical between the Go and C# tools.
| Op | Code | Command | Rules |
|---|---|---|---|
| Register | 1 | sn-register -from <owner> -keyfile sn-key.json -stake <PQAI> |
Proof of possession binds key, owner, chain ID, genesis. Min 1 PQAI. Activates after 2 epochs |
| Top up | 2 | sn-topup -from <owner> -id <id> -amount <PQAI> |
Effective stake capped at 2048 PQAI |
| Delegate | 3 | sn-delegate -from <addr> -id <id> -amount <PQAI> |
Min 0.001 PQAI |
| Undelegate | 4 | sn-undelegate -from <addr> -id <id> -amount <PQAI> |
|
| Claim | 5 | sn-claim -from <owner> -id <id> |
Withdraw accrued validator rewards |
| Rotate key | 6 | sn-rotate -from <owner> -id <id> -keyfile new.json |
Restart the signer with the new key |
| Exit | 7 | sn-exit -from <owner> -id <id> |
Leaves the set at its exit epoch |
| Withdraw | 8 | sn-withdraw -from <owner> -id <id> |
After 4 unbonding epochs and finality of the withdrawable epoch |
| Slash | 9 | sn-slash -from <any> -vote-a <hex> -vote-b <hex> |
Double or surround vote evidence; burns 25 % of stake |
Read-only views: pqwerai-cli sn-validators, sn-status, or g4_validators
and g4_status.
Limits: at most 64 validators in an epoch set and 256 registered; evidence is accepted within 3 epochs.
Sources at 72057fe3ec: testnet/release/network/network.json · testnet/release/network/GUIDES.md
Found a problem? Report a documentation issue · Build testnet-rc1+72057fe3ec