Solana
Creating a wallet
1
Install Solana CLI
2
Create a new keypair
3
Secure your keypair
Never commit keypair files to version control. Add them to your
.gitignore:Funding on devnet
Devnet tokens are free. Your wallet needs SOL for transaction fees and USDC for payments.Funding on mainnet
For production use, your wallet needs:- SOL — For transaction fees (~0.000005 SOL per transaction). Purchase from an exchange (Coinbase, Kraken, etc.) and transfer to your wallet address. Start with 0.05–0.1 SOL.
- USDC — For payments. Ensure you purchase Solana USDC (mint:
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), not Ethereum USDC.
Start small. Begin with 1–10 USDC to test before funding larger amounts.
EVM
Creating a wallet
Generate an EVM private key using any of these methods:0x in your .env).
Funding on Base Sepolia
Base Sepolia is the recommended EVM testnet. You need:- Sepolia ETH — For gas fees. Use the Base Sepolia Faucet or bridge from Sepolia ETH.
- Testnet USDC — For payments. Available from faucets or bridging.
EVM network identifiers
When configuring an EVM wallet, you pass the chain ID and name:
OWS (Open Wallet Standard)
If you prefer vault-backed key management over raw keypair files, you can use Open Wallet Standard. OWS encrypts private keys at rest and never exposes them to your application — useful for production agents and shared environments.Installing OWS
Importing an existing key
Import a Solana or EVM key into the OWS vault:OWS wallets use the same underlying keys as local keypairs. Funding instructions are identical — see the Solana and EVM sections above.
Environment variables
Create a.env file in your project root:
.env
Security best practices
Add to your.gitignore:
Next steps
- Wallet Configuration — Code setup for each wallet adapter.
- Quick Start — Make your first payment.
- Networks & Assets — Supported networks and tokens.