如何使用 asch-cli 将一些 XAS 转移到 Dapp
How to transfer some XAS to a Dapp with asch-cli
我试过:
asch-cli -H 127.0.0.1 -P 4096 dapptransaction --secret "acquire paper fun spice celery design able shrimp lunch angry alter gather" --dapp 559ddee66bacb008f1a5eb2692ef18ba9b0d9da923989da4070c0fd33d0d3352 --args "{currency:'XAS',amount:5000000000}" --fee 10000000
asch-cli
的完整文档可以在 https://github.com/AschPlatform/asch-docs/blob/master/cli_usage/en.md 找到。您应该尝试使用 dapptransaction
替换为 deposit
.
所以尝试如下所示的操作:
asch-cli -H 127.0.0.1 -P 4096 deposit --secret "" --dapp "" --currency "XAS" --amount 5000
我试过:
asch-cli -H 127.0.0.1 -P 4096 dapptransaction --secret "acquire paper fun spice celery design able shrimp lunch angry alter gather" --dapp 559ddee66bacb008f1a5eb2692ef18ba9b0d9da923989da4070c0fd33d0d3352 --args "{currency:'XAS',amount:5000000000}" --fee 10000000
asch-cli
的完整文档可以在 https://github.com/AschPlatform/asch-docs/blob/master/cli_usage/en.md 找到。您应该尝试使用 dapptransaction
替换为 deposit
.
所以尝试如下所示的操作:
asch-cli -H 127.0.0.1 -P 4096 deposit --secret "" --dapp "" --currency "XAS" --amount 5000