Wallet & SOL
Before you can trade, you need a Solana wallet with some SOL. This guide covers setting up Phantom and funding your wallet.
Install Phantom
Section titled “Install Phantom”Phantom is a popular Solana wallet available as a browser extension and mobile app.
- Go to phantom.com/download
- Download the browser extension for Chrome, Firefox, Brave or Edge
- Click Create a new wallet
- Write down your recovery phrase and store it somewhere safe
- Set a password for the extension
Your wallet is now ready. You’ll see your wallet address (a long string starting with a letter or number).
Get SOL
Section titled “Get SOL”You need SOL to pay for transactions. There are two ways to get it:
Option 1: Buy in Phantom
Section titled “Option 1: Buy in Phantom”Phantom lets you buy SOL directly with a credit card:
- Open Phantom and click Buy
- Select Solana (SOL)
- Choose an amount and payment method
- Complete the purchase
This is the fastest way to get started.
Option 2: Transfer from an Exchange
Section titled “Option 2: Transfer from an Exchange”If you already have SOL on an exchange:
- Copy your Phantom wallet address (click the address at the top to copy)
- Go to your exchange (Coinbase, Binance, Kraken, etc.)
- Withdraw SOL to your Phantom address
- Wait for the transfer to complete (usually 1-2 minutes)
This option is recomended for obtaining larger amounts of SOL, because of smaller fees than buying with card.
Export Your Private Key
Section titled “Export Your Private Key”The Darkfibre SDK needs your private key to sign transactions locally. Your key never leaves your device and we never see it.
To export from Phantom:
- Open Phantom and click the profile picture at the top left
- Click Settings at the bottom left
- Click Manage accounts
- Click on your account name
- Click Show Private Key
- Enter your password
- Select Solana
- Copy the private key (it’s a long string of text)
How Much SOL Do You Need?
Section titled “How Much SOL Do You Need?”For this quick start, you’ll need at least 0.01 SOL:
- 0.005 SOL for the test trade
- 0.002 SOL for token account rent (see below)
- Some buffer for additional testing
You can always add more later.