quickstart.ts in order.
Prerequisites
Run this example in a secure server-side environment. You need:- A
RHINESTONE_API_KEYfrom the Rhinestone dashboard - For EVM, a funding account with Base Sepolia ETH and its private key in
FUNDING_PRIVATE_KEY - For Solana, configured deployment sponsorship and devnet USDC to fund the wallet after deployment
This guide targets SDK 3.0.0, which is not released yet. The install commands
below are for use after publication.
ownerPrivateKey securely before funding either account; this generated example key is not recoverable after the script exits.
1
Create an account
Create an account controlled by the owner above. This computes its address without deploying it.
2
Fund the account
Fund the account’s wallet address with enough testnet assets for the transfer and quoted fees.See Account deployment for readiness checks before funding.
3
Prepare and send a transaction
Prepare a transfer of 0.1 USDC. Review the selected quote before signing.Use the same signing and submission lifecycle for either VM:
submitTransaction returns an intent handle. waitForExecution waits for a terminal outcome: it resolves on success and throws on failure. Keep the submitted intent ID so you can inspect its status before retrying.Expected outcome
On successful execution, the result has the statusCOMPLETED. The EVM recipe deploys the account on Base Sepolia and Arbitrum Sepolia and transfers 0.1 USDC on Arbitrum Sepolia. The Solana recipe transfers 0.1 devnet USDC from the deployed wallet.
Next steps
Configure the account
Choose an owner and account implementation.
Send another transaction
Learn the complete multichain transaction flow.
Sponsor fees
Cover selected transaction costs for your users.