> ## Documentation Index
> Fetch the complete documentation index at: https://docs.startale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart accounts

> Every Startale user has an ERC-4337 smart account. The SDK exposes it through a standard EIP-1193 provider.

Every user who signs in to a Startale-integrated application gets an ERC-4337 smart account. The SDK exposes this account through a standard EIP-1193 provider, so wagmi, viem, and ethers all work without modification.

## How accounts are created

When a user signs in with Google, LINE, Apple, or MetaMask, an embedded wallet is provisioned for them. The smart account is deterministically derived from that embedded wallet, then deployed on first use.

## Signature compatibility

Signatures returned by the SDK are ERC-1271 compatible. To verify them off-chain, use viem's `verifyMessage`. It resolves smart-account signatures automatically by calling `isValidSignature` on the deployed account.

## Counterfactual signatures

Before the smart account is deployed, signatures are wrapped per [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). Verifiers that support 6492, including viem, handle both deployed and undeployed accounts transparently.

## Powered by

Smart-account internals are implemented in [`scs-aa-sdk`](https://github.com/StartaleGroup/scs-aa-sdk), Startale's open-source account-abstraction primitive. You do not need to install it directly. `@startale/app-sdk` includes everything you need.
