Interactive command-line interface for managing the Base-Solana bridge operations.
bun installbun cli sol onchain bridge wrap-token- Create wrapped version of Base token on Solanabun cli sol onchain bridge bridge-sol- Bridge SOL from Solana to Basebun cli sol onchain bridge bridge-spl- Bridge SPL tokens from Solana to Basebun cli sol onchain bridge bridge-wrapped-token- Bridge wrapped tokens back to Basebun cli sol onchain bridge bridge-call- Bridge a call from Solana to Basebun cli sol onchain bridge prove-message- Prove message from Base and relay to Solanabun cli sol onchain bridge relay-message- Relay message from Base
bun cli sol program build- Build Solana programbun cli sol program deploy- Deploy Solana programbun cli sol program generate-idl- Generate program IDLbun cli sol program generate-client- Generate TypeScript client
bun cli sol onchain spl create-mint- Create new SPL token mintbun cli sol onchain spl create-ata- Create Associated Token Accountbun cli sol onchain spl mint- Mint SPL tokens
bun cli sol generate-keypair- Generate new Solana keypairbun cli utils pubkey-to-bytes32- Convert Solana pubkey to bytes32
All commands support non-interactive execution by providing required arguments:
bun cli sol onchain bridge bridge-sol --cluster devnet --release prod --to 0x1234567890123456789012345678901234567890 --amount 10 --payer-kp config