简体   繁体   English

如何用 Solana cli 包装 SOL?

[英]How to wrap SOL with Solana cli?

I am struggling to find a command to wrap SOL via CLI, please help.我正在努力寻找通过 CLI 包装 SOL 的命令,请帮忙。 I could not find this command in official documentation.我在官方文档中找不到这个命令。 Also I could not find this subcommand with solana --help我也找不到这个带有solana --help的子命令

I found what I was doing wrong, it is spl-token cli, not Solana cli我发现我做错了什么,是 spl-token cli,不是 Solana cli

spl-token wrap 1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们如何使用 Solana Web3 TS/JS 库包装和打开 SOL? - How can we Wrap and Unwrap SOL using the Solana Web3 TS/JS library? 如何使用 solana rust 合约发送 SOL - How to send SOL with a solana rust contract 如何在 Solana NET SDK 中发送 SOL? - How to send SOL in Solana NET SDK? 如何从 solana 的 PDA 中提取 sol/lamports - How to withdraw sol/lamports from PDA in solana 如何在 Solana 智能合约中运行指令作为对 SOL 转移的反应? - How to run an instruction as a reaction to SOL transfer in Solana smart contract? 如何通过“@solana/web3.js”和“@solana/sol-wallet-adapter”传输自定义 SPL 令牌 - How to transfer custom SPL token by '@solana/web3.js' and '@solana/sol-wallet-adapter' 如何在 Python 中编写脚本以将文件作为具有 Solana 地址的输入并将相同数量的 SOL 发送给每个文件? - How to write a script in Python to take a file as input with Solana addresses and send them same amount of SOL to each one? 使用 web3/solana 中的消息发送 SOL - Sending SOL using messages in web3/solana 如何通过 Phantom 使用 web3js 正确传输 Solana SOL - How to properly transfer Solana SOL using web3js via Phantom 在 Solana 程序部署失败后,如何恢复用于出租的 SOL? - How can I recover the SOL used for rent after a failed Solana program deployment?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM