Making a Solana Wallet

ℹ️ Overview

These steps will allow you to create, transfer, and use a Solana Wallet.

This method will allow you to create a .json file that the bot can use for the bot. While it is possible to take a Private Key generated from another source and convert it into a .json file, it will be explained in another section.

💵 Creating a Wallet

1

Install the Solana CLI (Windows/Mac)

For the latest instructions, check the Solana CLI installation guide.

  • Common installation command:

    sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
  • Add the CLI to your system’s PATH:

    export PATH="/home/yourusername/.local/share/solana/install/active_release/bin:$PATH"
  • Verify the installation:

    solana --version
2

Create a New Solana Wallet

Use the following command to create a new wallet and store it locally.

In this example we are naming our wallet my-solana-wallet.json

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

Set a passphrase for added security.

Best practice to set a passphrase.

4

Backup Your Seed Phrase:

During wallet creation, a 24-word seed phrase will be displayed. Write it down securely, as this is essential for wallet recovery.

5

Locate Your Wallet File

Your wallet file (my-solana-wallet.json) should now be located in your home directory (~/).

📁 Transfer the Wallet File to Your Server Using FTP

Let's get that wallet file added to your bot so it can use it for arbitrage.

1

Open your FTP Client

Refer to Using FTP Guide in case you missed it

2

Connect to the Server

Open your FTP client and connect to your server using its IP address or domain, your username, and password.

3
4

Transfer the Wallet File

5

Log in via SSH

6
7

Secure Your Wallet File on the Server

Set permissions to restrict access to the wallet file. For example:

chmod 600 my-solana-wallet.json

⬇️ Import the Key into Phantom Wallet

Phantom makes swapping funds and everything easier. You can install it on your phone or browser.

1

Open Phantom Wallet

If you haven’t already, install the Phantom Wallet extension in your browser (available for Chrome, Firefox, Brave, and Edge)

2

Access the Import Feature

Open the Phantom Wallet extension, then go to Settings > Add / Connect Wallet > Import Wallet.

3

Enter Your Seed Phrase:

Type in the 24-word seed phrase you backed up when creating the wallet. This will import your Solana wallet into Phantom.

4

Track and Transfer Funds:

After importing, you can use Phantom Wallet to view balances, transfer SOL and tokens, and interact with Solana dApps.


⚠️ Security Recommendations

  • Store the JSON Wallet File Securely: Only transfer and store the wallet file on secure servers.

  • Enable Passphrase Protection: A passphrase adds another layer of security.

  • Keep Seed Phrase Private: Only use the seed phrase for recovery or imports.

With these steps, you’ll be able to create, transfer, and track a Solana wallet across devices, enabling smooth and secure management of your funds. Get that wallet loaded, and we can begin configuring.

Last updated