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

how to buy ram

Goal

Acquire RAM for contract deployment, database tables, and other blockchain resources

Before you begin

  • You have an account

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

  • You have sufficient token allocated to your account

  • Install the currently supported version of cleos

  • Unlock your wallet

Steps

Buys RAM in value of 0.1 SYS tokens for account alice:

cleos system buyram alice alice "0.1 SYS" -p alice@active