• Pricing
  • Story
  • Sign in
Get started
Docs/Crypto devnet guide

Crypto devnet guide

Test Solana USDC payout integrations with devnet wallets, external faucets, and Dino's BYOK / custody model.

Crypto testing is separate from the Dino USD sandbox. Dino's /v1/sandbox/faucet adds cash test balance for din_test_ keys; it does not mint SOL, USDC, or any chain asset.

Use public Solana devnet tooling for chain-level tests, then use Dino's /v1/crypto/* API shape when you are ready to integrate governed payouts.

#What to test where

LayerTest withNotes
Cash wallet, policy, checkout, proxy cardsDino sandbox + din_test_ + /v1/sandbox/faucetUSD-only test balance
Solana wallet plumbingSolana devnetUse external SOL and token faucets
Governed USDC payout API shapeDino /v1/crypto/payout-intentsUse spending keys for create/read; team keys or dashboard for approvals
Production settlementMainnet custody / BYOK setupRequires real controls and operator review

#Devnet setup

  1. Create a devnet wallet with your normal Solana tooling.
  2. Fund it with devnet SOL from a public faucet.
  3. Mint or request devnet token balances for local testing when your test harness needs SPL token transfers.
  4. Keep devnet addresses and mainnet addresses clearly separated in environment variables and logs.

Useful external resources:

  • Solana faucet
  • Solana devnet docs
  • Helius Solana faucet

External faucets change over time. If one is unavailable, use another Solana devnet faucet or your provider's faucet.

#Custody vs BYOK

Dino supports two mental models for crypto integrations:

  • Workspace custody: Dino tracks a workspace USDC balance and payout intents move through Dino policy, approval, and webhooks.
  • BYOK / external wallet: your system owns wallet operations and uses Dino for governed request / approval semantics where supported.

For public integrations, design around the API contract, not a specific wallet implementation detail. The crypto payout API currently advertises workspace_custodial for new payout creation.

#Payout test harness

The example under examples/crypto-payout-quickstart uses raw REST calls:

cd examples/crypto-payout-quickstart
cp .env.example .env
bun run start

It creates a payout intent with an idempotency key, prints the resulting status, and shows the approval boundary when human or team-key approval is required.

#Related docs

  • Sandbox
  • Credential guide
  • Crypto Payouts API — Solana USDC
Credential guideAPI Reference