Skip to main content
This walkthrough takes you from a fresh install through a completed sandbox offramp. All steps run against the sandbox environment.

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

Verify:
Expected output: ok with the API version.
2

Pair your machine

The CLI opens your browser. Approve the pairing request. After confirmation:
Confirm you’re in sandbox:
Expected: sandbox.
3

Create a wallet on Base

The CLI prints the wallet ID and deposit address:
Save the wallet ID — you’ll use it when creating the offramp.
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

The CLI shows the pre-send summary and asks you to confirm:
Enter 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):
Enter the code from your email. On success, the CLI prints the transaction details:
7

Check the transaction status

Or list recent transactions:
Sandbox offramps settle quickly. Once settled, the status changes to completed and the wire reference appears.

What’s next