Skip to main content
Once your accounts are signed by your own keys, your app talks to the Smart Account Program directly through @sqds/smart-account-core. Each Grid call has a direct replacement: your key signs, your fee payer pays, and no Squads server is involved.

Overview

  • One dependency: @solana/kit is the only peer dependency.
  • v1 transactions: send builds Solana v1 transactions, sets compute limits by simulating, and confirms against the transaction’s own expiry. It never resends.
  • You pay: fees and rent come from the fee payer you pass. Grid’s paymaster is gone.
  • Narrow by design: it covers accounts, transfers, wrapped transactions, signer changes and spending-limit removal. Anything else is in Not provided.

Replace each call

1

Install and set up

The SDK works from the account’s settings address. While Grid is up, read it with resolveSettingsAddress from @sqds/grid/migration, and store it.
2

Read accounts and balances

Before (Grid):
After (Smart Account SDK):
Raw amounts. fetchBalances returns lamports and token amounts with their decimals, without token names or prices.
3

Send transfers

Replaces on-chain payment intents. buildTransfer sends SOL (mint: 'SOL') or any SPL token, and can create the recipient’s token account.After (Smart Account SDK):
Check every send result. unknown means the outcome is not known yet: resolve it with checkOutcome, never by sending again.
4

Execute your own transactions

Replaces POST /accounts/{address}/transactions and /submit. wrapTransaction takes the transaction you build today and has the vault execute it.Before (Grid):
After (Smart Account SDK):
5

Change signers

Before (Grid):
After (Smart Account SDK):
Keep the threshold reachable. The new signers must hold every permission between them and be able to meet the threshold, or the account locks.
6

Remove spending limits

Before (Grid):
After (Smart Account SDK):
7

Create accounts

Account creation is open to any creator on-chain. The SDK adds 25 candidate addresses so creation succeeds even when others create accounts at the same time.After (Smart Account SDK):

Endpoint map

Grid

Smart Account API

Not provided

Spending-limit creation and use, standing orders, proposals, authentication, sessions, passkeys, KYC, virtual accounts, compliance and trading have no SDK replacement. Use your own scheduler and providers.
Another language? The program’s testing framework shows every instruction the SDK builds.

Next Steps

Troubleshooting

Error codes and what to do

Smart Account Program

Program source and tests