跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

how to stake resource

Goal

Stake resource for your account

Before you begin

  • Install the currently supported version of cleos

  • Ensure the reference system contracts from eosio.contracts repository is deployed and used to manage system resources

  • Understand the following:

    • What is an account
    • What is network bandwidth
    • What is CPU bandwidth

Steps

Stake 0.01 SYS network bandwidth for alice

cleos system delegatebw alice alice "0 SYS" "0.01 SYS"

Stake 0.01 SYS CPU bandwidth for alice:

cleos system delegatebw alice alice "0.01 SYS" "0 SYS"