Prerequisites
- Node.js 22 or later
- A Veil developer account (sandbox onboarding complete: KYC approved, bank account added). If you haven’t done this yet, start with the Developer sandbox guide.
1
Install the CLI
ok with the API version.2
Pair your machine
sandbox.3
Create a wallet on Base
4
Fund the wallet with test tokens
Use the Veil faucet to send USDC_TEST to your new wallet:The CLI prints the transaction hash and notes that the deposit lands in about 30 seconds. After a moment, the balance appears:Look for a USDC_TEST balance in the output. (The dashboard Fund button does the same thing — see Get test tokens.)
5
Quote the offramp
Check the rate and fees before committing:The CLI prints the exchange rate, output amount, fees, and a balance check.
6
Create the offramp
y. This send requires a code, so Veil emails a six-digit one (if your offramp security settings waived it, the CLI would print the transaction details here instead):7
Check the transaction status
completed and the wire reference appears.What’s next
- Switch to live mode with
veil mode liveonce you’ve completed production KYC - Set up auto-settle rules for unattended conversions
- Use usernames to route offramps by
@handle