Proxy Delegation
Proxy Types
Proxy Types | Introduction |
---|---|
Any | allows the proxy account to use any function supported by the proxy pallet |
CancelProxy | allows the proxy account to reject and remove any announced proxy calls |
Governance | allows the proxy account to make transactions related to governance, such as voting or proposing democracy proposals |
Staking | allows the proxy account to perform staking-related transactions, such as collator or delegator functions, including authorMapping() |
Add Proxy To An Account
Head to Polkadot.js
Choose
Developer
-Extrinsics
Select the primary account which will control the proxy accounts
Choose
proxy
andaddProxy
Select the proxy account and the proxy type, confirm the details about roles and privileges of various proxy types
Set delay if you prefer
Submit this transaction
Going back to the account page, we can see that there will be a small sign at this point, you can view relevant information by clicking proxy preview.
Verify Your Proxy State
Head to Polkadot.js
Choose
Developer
-Chain State
Select the primary account which will control the proxy accounts
Choose
proxy
andproxies
Select the account you want to query/verify
Send the query
Execute Proxy Delegation Transaction
Head to Polkadot.js
Choose
Developer
-Extrinsics
Select the primary account which will control the proxy accounts
Choose
proxy
andproxy
and the proxy accountSelect the proxy delegation transaction you want to execute. Different proxy types can execute different proxy transactions.
Submit this transaction
Here we'll use an example of proxy transfer to illustrate, we choose balances
-
transfer
, dest
is the address of the object we want to transfer, value
is
the amount you want to transfer (in Pennock, which means you need to multiply
10^10)
Remove Proxy
Head to Polkadot.js
Choose
Developer
-Extrinsics
Select the primary account which will control the proxy accounts
Choose
proxy
andremoveProxy/removeProxies
Select the proxy account and the proxy type
Set delay if you need it
Submit this transaction