Quick Start

Get started in 10 minutes

Install the SDK, create your first agent wallet, and start transacting — all in under 10 minutes.

1Install the SDK

npm install orb-wallet-sdk

2Initialize with your API key

Get your API key from the orbserv dashboard.

import { OrbWallet } from 'orb-wallet-sdk'

const orb = new OrbWallet({
  apiKey: process.env.ORB_API_KEY
})

3Create your first agent wallet

const agent = await orb.wallet.create({
  name: "my-first-agent",
  chains: ["solana", "base"],
  policy: {
    dailyLimit: 50,   // USDC
    maxPerTx: 10
  }
})

console.log(agent.solana.address) // Sol address
console.log(agent.evm.address)    // 0x address

4Send your first transaction

await agent.send({
  to: "0xRecipientAddress",
  amount: 5,
  token: "USDC",
  chain: "base"
})

// With privacy mode
await agent.send({
  to: "0xRecipientAddress",
  amount: 5,
  token: "USDC",
  privacy: true  // ZK shielded
})