跳到内容
了解 Solana 的运作方式,无需任何经验。在 devnet(Solana 的免费测试网络)上,通过五个简短步骤,你将创建钱包并发送测试美元(USDC),然后创建资产(例如股份或货币),将其发送给他人,并冻结对方的账户。
Try it in your browserIt runs on devnet from your Playground wallet, with nothing to install. If the wallet needs devnet SOL, Playground links you to the free faucet first.
Run in Playground (opens in a new tab)
Playground 可运行第 1、3、4、5 步。第 2 步“发送美元”需要下方的本地环境设置。

​在本地跟着操作

Terminal
让你的智能体和你一起完成本快速入门。

​你将完成的内容

代码使用 TypeScript,搭配 @solana/kit 及其插件。每个步骤都是一个简短的文件,使用 npx tsx 运行。CLI 标签页则使用 Solana CLI 和 spl-token 完成相同的操作。
Send your first transaction · 5 steps · ~8 minQuickstartSend dollars, then create an asset, send it to someone, and freeze their account, on devnet in about 8 minutes.
  1. Check a balance
  2. Send dollars
  3. Create an asset
  4. Send the asset
  5. Freeze a holder
Start the tutorial →