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

# Smart accounts

> How modular smart accounts work and what they enable.

A smart account is a smart contract that holds assets and contains the logic for authenticating signatures and executing transactions. Unlike an EOA, its behaviour is programmable — you can extend it with modules to add new capabilities without changing the underlying account contract.

Rhinestone smart accounts follow the [ERC-7579](https://erc7579.com) standard for modular smart accounts.

## Modules

Modules are self-contained smart contracts that extend a smart account's feature set. There are four types:

* **Validators**: control how transactions are authenticated. Examples: ECDSA key, passkey, multisig, session key.
* **Executors**: enable executions on the account with custom logic. Examples: automated trading, scheduled transfers, stop-loss triggers.
* **Hooks**: run before or after execution to enforce conditions. Examples: spending limits, transaction guards.
* **Fallbacks**: extend the account interface to add new functionality or maintain compatibility with future standards.

<img className="rounded-2xl" src="https://mintcdn.com/rhinestone/pjVG1hhcOGPiii-B/images/modular_accounts_dark.png?fit=max&auto=format&n=pjVG1hhcOGPiii-B&q=85&s=90b1d7c8504a7f8c760646c9326443b6" width="1696" height="666" data-path="images/modular_accounts_dark.png" />

## Signers

Every smart account must have at least one validator configured. The entity controlling that validator owns the account. Rhinestone supports:

* Passkeys (WebAuthn / device biometrics)
* Embedded wallets (Privy, Dynamic, Turnkey, Magic, and others)
* External wallets (MetaMask, Rabby, any WalletConnect-compatible wallet)
* ECDSA keys (server-side or agent wallets)

## Resources

<CardGroup cols={2}>
  <Card title="ERC-7579 specification" icon="book-text" href="https://eips.ethereum.org/EIPS/eip-7579">
    The minimal standard for modular smart accounts: module types, interfaces, and interoperability.
  </Card>

  <Card title="ERC-7579 ecosystem" icon="link" href="https://erc7579.com">
    Tools, documentation, and example code for the ERC-7579 smart account ecosystem.
  </Card>

  <Card title="OpenZeppelin ERC-7579 guide" icon="file-text" href="https://docs.openzeppelin.com/community-contracts/0.0.1/account-modules">
    Building modular accounts with ERC-7579: validators, executors, hooks, fallbacks, and social recovery.
  </Card>
</CardGroup>
