How To Delegate Resources
Goal
Delegate resource for an account.
Before you begin
Install the currently supported version of
cleos.Ensure the reference system contracts from
cyberway.contractsrepository is deployed and used to manage system resources.
Steps
alice delegates 100 tokens to bob. This operation is signed by the alice's active key:
$ cleos push action cyber.stake delegateuse '[alice, bob, "10.0000 CYBER"]' -p alice@activeor using specialized cleos system command delegatebw:
$ cleos system delegatebw alice bob "100.0000 CYBER"Note The (RAM, NET, CPU, Storage) resources are not directly delegated. Instead of resources, their total cost is delegated — number of staked tokens.
Useful links
Last updated