In a crypto treasure hunt, finding the private key is only half the battle. You also need to know how to import it into a wallet and sweep the funds before anyone else. Here's exactly how to do it — fast.
What Is a Private Key?
A private key is a secret string of characters that proves ownership of a blockchain address. Whoever holds the private key controls the funds at that address. It looks something like this:
[48,12,99,231,55,...,201,87] (byte array) or a base58-encoded string like 5Kd3...xYz.
In our treasure hunts, the private key is hidden inside a clue. Once you find it, follow the steps below to claim the prize.
Step 1: Open Phantom Wallet
Open the Phantom browser extension or mobile app. Make sure you're on the Solana network (not Ethereum or Polygon). You'll see the Solana icon in the top-right corner of the wallet.
Step 2: Access Account Settings
- Click the ☰ menu icon (top-left)
- Select "Add / Connect Wallet"
- Choose "Import Private Key"
Step 3: Paste the Key
Paste the private key you found. Phantom accepts both formats:
- Base58 string — a long alphanumeric string
- Byte array — numbers in square brackets like
[12, 34, 56, ...]
Phantom will automatically detect which format you've entered.
Step 4: Name and Confirm
Give the imported wallet a name (e.g. "Treasure Hunt #1") and click Import. The wallet will now appear in your account list with whatever balance was at that address.
Step 5: Sweep the Funds
This is the critical step — and speed matters:
- Open the imported wallet in Phantom
- Click "Send"
- Paste your own Solana address as the recipient
- Click "Max" to send the entire balance
- Confirm the transaction
The transaction will confirm in under a second. The prize is yours.
Pro Tips for Speed
- Practice beforehand: Import a test key into Phantom before a hunt goes live so you know the exact clicks.
- Pre-paste your address: Have your own Solana address copied to your clipboard before the hunt starts.
- Use a desktop browser: The Phantom extension on Chrome/Brave is faster than mobile for rapid key imports.
- Close other tabs: A clean browser means fewer distractions and faster performance.
Security Warning
Never share your own private keys with anyone. The keys in our treasure hunts are intentionally created for the game — they control prize wallets only. Your personal wallet's seed phrase and private keys should stay secret forever.
The fastest wallet wins. Practice now so your fingers know what to do when the hunt goes live.