Quickstart
From a sandbox key to a withdrawal on a testnet, in about fifteen minutes.
Give each of your customers Solace wallets inside your own product: deposit addresses on the coins and networks Solace holds in custody, balances, swaps between coins, withdrawals on chain, and transfers between your users. Events reach your server as webhooks the moment anything changes. Solace never contacts your users; your product does.
1. Get a sandbox key
Sign up at business.solacefi.co. The sandbox is ready at once: your first sk_test_ key is shown when you finish, and only then, so save it. Keys are made, rotated and revoked under Developers → API keys.
2. Make your first call
Every request carries the key. GET /assets lists the coins and networks you can use right now.
curl https://sandbox-api.solacefi.co/platform/v1/assets \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/assets', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
3. Create an end user
One per customer, under your own id for them (external_id). Creating the same external_id again returns the same end user, so a retry is always safe.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"external_id":"cust_1042"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "external_id": "cust_1042" }), }); const data = await res.json();
4. Open a wallet
Ask for a deposit address for a coin on a network. In the sandbox it is a real testnet address; on EVM chains one address serves every coin and chain.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"asset":"USDC","network":"ethereum"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/wallets', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "asset": "USDC", "network": "ethereum" }), }); const data = await res.json();
5. Fund it from a faucet
Send testnet coins to that address from a public faucet (Sandbox lists one for every network). When the deposit reaches the chain you get deposit.pending; when it is final, deposit.confirmed, and the balance moves.
6. Listen for events
Add your endpoint under Developers → Webhook endpoints and copy its signing secret. Verify every event before you trust it: see Signatures.
7. Move money
Swap between coins with a quote (Swaps), send coins out on chain (Withdrawals), or move them between your end users inside Solace (Transfers).