@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/kitis the only peer dependency. - v1 transactions:
sendbuilds 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
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. Check every
buildTransfer sends SOL (mint: 'SOL') or any SPL token, and can create the recipient’s token account.After (Smart Account SDK):send result. unknown means the outcome is not known yet: resolve it with checkOutcome, never by sending again.4
Execute your own transactions
Replaces After (Smart Account SDK):
POST /accounts/{address}/transactions and /submit. wrapTransaction takes the transaction you build today and has the vault execute it.Before (Grid):5
Change signers
Before (Grid):After (Smart Account SDK):
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.Next Steps
Troubleshooting
Error codes and what to do
Smart Account Program
Program source and tests