Bot Wallet Setup
Bots require a private key in order to sign transactions. The private key is stored in a wallet file and can either be in base58 format, or a numbers array format.
Generate a Fresh keypair
1. Download and install the Solana CLI
First download and install the Solana CLI following the official instructions (opens in a new tab).
2. Generate a new keypair
Create a new keypair file named new_keypair.json
:
solana-keygen new -o new_keypair.json
This will contain a new keypair in JSON format.
Export Keypair from a browser wallet
Alternatively you may export the private key from an existing browser wallet such as Phantom.