前文演示的是第三方钱包的使用 Solana的第三方钱包使用
Solana官方为我们提供了一套命令行工具来实现对Solana的操作,支持Mac/Linux/Windows,下面我们以Mac作为演示平台进行操作。
安装
luca@LucadeMacBook-Air ~ % sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
downloading stable installer
✨ stable commit d0ed878 initialized
Adding
export PATH="/Users/luca/.local/share/solana/install/active_release/bin:$PATH" to /Users/luca/.profile
Adding
export PATH="/Users/luca/.local/share/solana/install/active_release/bin:$PATH" to /Users/luca/.zprofile
Adding
export PATH="/Users/luca/.local/share/solana/install/active_release/bin:$PATH" to /Users/luca/.bash_profile
Close and reopen your terminal to apply the PATH changes or run the following in your existing shell:
export PATH

本文详细介绍了如何在Mac上安装和配置Solana的命令行工具,包括设置网络环境、生成新账户、查看余额以及转账操作,还提到通过第三方水龙头获取测试代币的过程。
最低0.47元/天 解锁文章
5078

被折叠的 条评论
为什么被折叠?



