How to create a Solana wallet?

CN
1 day ago

Understanding how to create and manage a Solana wallet is your first step into the Solana public chain ecosystem. This article will be divided into two parts:

  • Creating a wallet using the official Solana CLI

  • Quickly generating a wallet address using CiaoTool

  • Comparing the two methods to help you choose based on your needs.


I. Why do you need to create your own wallet?

In the Solana network, a wallet is key to interacting with the chain, signing transactions, and holding assets. Creating your own wallet means:

  • Mastering private keys and control;

  • Accessing on-chain features using CLI or SDK;

  • Preparing for future operations (issuing tokens, deploying contracts, receiving airdrops).


II. Method One: Create a wallet using the official Solana CLI

This is the most standard and secure method, suitable for developers and multi-wallet management processes.

Step 1: Install Solana CLI

sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
solana --version

After installation, please ensure to add the installation path to your PATH.

Step 2: Generate Wallet Keypair

solana-keygen new --outfile ~/.config/solana/id.json

The system will generate a mnemonic for you and output the corresponding public key address (Pubkey).

If you want to store it at a custom path:

solana-keygen new --outfile ~/my-wallet.json

You can also use --force to overwrite an existing file.

Step 3: View Wallet Address and Public Key

solana address

or:

solana-keygen pubkey ~/my-wallet.json

This will give you your wallet's Solana address (public key).

Step 4: Configure Network and Check Balance

By default, it connects to mainnet-beta, but you can switch to Devnet:

solana config set --url devnet
solana airdrop 2
solana balance

This will request free SOL on Devnet, making it easier to test on-chain interactions.


III. Method Two: Quickly create a wallet using CiaoTool

CiaoTool not only supports token issuance but also provides one-click wallet address generation, suitable for users who do not want to install CLI.

Why use CiaoTool?

  • No command line operations required, with a graphical interface;

  • Quickly generate multiple addresses, even batch create wallets;

  • Can immediately connect to wallets like Phantom.

Overview of the Process

  1. Open the CiaoTool platform → Go to wallet management → Batch create wallet page;

  2. Enter the quantity and click create

  3. You can click to download the table for easy import.

This method is suitable for non-developers, marketing activities, or batch account usage scenarios.


IV. Comparison Summary: CLI vs CiaoTool

| Method | Advantages | Applicable Scenarios | |----------------------|-----------------------------------------------------|---------------------------------------------------| | Solana CLI | Built-in official tool, fully autonomous, suitable for integration scripts and nodes | Development, deployment, automation processes | | CiaoTool Platform | No command line needed, can quickly batch create addresses | Community activities, airdrops, test address management, etc. |


V. Security Recommendations

  • CLI wallet files are plain JSON, please keep them safe and do not upload them to untrusted platforms;

  • After exporting private keys from CiaoTool, please store them securely;

  • Never disclose your mnemonic and private keys, and do not paste them on public networks or unfamiliar links.


VI. How to choose the method that suits you?

  • If you are familiar with the command line and want to control the process, use Solana CLI;

  • If you only need to quickly generate an address for airdrop testing or batch operations, CiaoTool is more convenient;

  • Wallets generated by both methods can be used in any SDK or wallet that supports Solana.


VII. Conclusion

Creating your own Solana wallet is actually very easy. The CLI provides the most official and reliable method, while CiaoTool offers another user-friendly interface suitable for beginners. After understanding and using these methods, you can start truly interacting with Solana: receiving SOL, building accounts, issuing tokens, testing, and more will be at your fingertips.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

交易+Web3一站式体验!注册OKX返佣20%,福利立享!
Ad
Share To
APP

X

Telegram

Facebook

Reddit

CopyLink