Chains
Cavos is built for every chain. Starknet, Solana, and Stellar are available today.
Cavos is built for every chain, with a native adapter boundary instead of a lowest-common-denominator transaction format. The embedded wallet (embedded wallets, embedded wallet SDK) keeps the same identity and connection model while each adapter implements its network's address, authority, execution, recovery, and sponsorship rules.
Status
| Chain | SDK status | Networks |
|---|---|---|
| Starknet | Available | sepolia, mainnet |
| Solana | Available | solana-devnet, solana-mainnet |
| Stellar | Available | stellar-testnet, stellar-mainnet |
| Additional chains | Design-partner and adapter roadmap | Published after implementation and validation |
All three chain adapters ship in @cavos/kit. On mobile, validate hardware
key storage on physical devices; simulator and emulator results are not
hardware validation.
Per-chain guides
Each implemented chain has its own page with a quickstart and the chain-specific details:
Starknet
Native stark key, OpenZeppelin account, Cavos paymaster.
Solana
Native Ed25519 system account; self-paid, relayer-sponsored, or token fees.
Stellar
Classic G… account, key derived from the MasterDEK.
Reserve
Pay Stellar reserves and fees in a token, from any G… wallet.
How the abstraction works
Three layers keep Cavos portable:
- The product contract is the constant. Stable identity, local authority, self-custody, recovery, and optional sponsorship are required of every adapter.
- Device-native keys stay local. Every chain derives its account key from a MasterDEK: a stark key on Starknet, Ed25519 on Solana and Stellar.
- One native client per chain:
CavosStarknet(OpenZeppelin account),CavosSolana(system account), andCavosStellar(classicG…account).
Curves differ across ecosystems, and each adapter resolves that:
- Starknet: the standard upgradeable OpenZeppelin account, validating a stark key derived from the MasterDEK.
- Solana: native Ed25519 system account. The user key signs the Solana message; by default the account pays its own fee, and the relayer, when used, is fee payer only.
- Stellar: classic
G…. The address is HKDF of the same MasterDEK as Solana.
Writing every-chain application code
Target the unified Cavos.connect with { chains, defaultChain, network }. Use
session.wallet(chain) to get the wallet for a specific chain, and narrow on
wallet.chain before calling chain-native methods:
import { Cavos } from "@cavos/kit";
// One entry point; connect to one or more chains at once.
const session = await Cavos.connect({
chains: ["starknet"], // or ["starknet", "solana", "stellar"] for multi-chain
defaultChain: "starknet",
network: "testnet", // resolves to sepolia / solana-devnet / stellar-testnet
identity: { userId, email },
appSalt: "my-app",
appId: process.env.NEXT_PUBLIC_CAVOS_APP_ID,
// Starknet-only:
paymasterApiKey: process.env.NEXT_PUBLIC_CAVOS_PAYMASTER_API_KEY!,
});
const wallet = session.wallet("starknet");
console.log(wallet.address); // address is available immediately
console.log(wallet.status); // "undeployed" | "ready" | "needs-device-approval"
// execute() keeps each chain's native signature, so narrow on `chain`:
if (wallet.chain === "starknet" && wallet.status !== "needs-device-approval") {
await wallet.execute(calls); // arbitrary Starknet calls
} else if (wallet.chain === "solana" && wallet.status !== "needs-device-approval") {
await wallet.execute(amount, destination); // lamport transfer
} else if (wallet.chain === "stellar" && wallet.status !== "needs-device-approval") {
await wallet.execute(amount, destination); // XLM transfer (stroops)
}Lazy deploy: Connect never deploys the account. Starknet and Stellar wallets
start as undeployed and the first execute deploys and runs atomically. A
Solana system account has nothing to deploy and is ready once this device
holds the key. signMessage works on
undeployed wallets too.
When a new adapter ships, the SDK adds its typed chain and network values.
Identity and onboarding remain stable; execution stays chain-native. See
Concepts for the architecture rationale.