Sequence Developer Documentation

website·Indexed 35 days ago

https://docs.sequence.xyz

Modular crypto infrastructure stack providing SDKs and tools for Web3 integration. Features include the Ecosystem Wallet Web SDK with React Hooks, Smart Sessions for seamless user experiences, and Sequence Builder for managing NFT collections, deploying smart contracts (ERC20, ERC721, ERC1155, Soulbound), and configuring Embedded Wallets with OAuth providers like Google, Apple, and PlayFab.

Tokens
214.5K
Snippets
970
Records
1.4K
Agent score
64%

What's inside Sequence

  1. Overview of Sequence Hosted Wallet

    The Hosted Wallet allows chains and ecosystems to launch a branded Ecosystem Wallet on their own domain (e.g., wallet.yourdomain.com). Sequence operates the underlying wallet infrastructure, including the wallet stack, monitoring, and updates, while the ecosystem owner controls branding, configuration, and policies via the Sequence Builder. Key features include:

    • Branding Control: Custom themes, logos, and copy on a custom domain.
    • Authentication: Support for passkeys, email, and social logins, with the ability to link external wallets.
    • Smart Sessions: Scoped, sandboxed permissions per app to reduce signing spam and enhance security.
    • Cross-chain Support: Multi-chain accounts, balances, and transactions by default.
    • Attested Identity: Sessions are signed by an enclave-based Identity Instrument, ensuring apps never handle social auth keys.
  2. Overview of Sequence Timed Recovery

    Timed Recovery allows users to recover assets from a Sequence Ecosystem Wallet using a 24-word recovery phrase. To prevent instant, silent takeovers, the system enforces a mandatory 30-day lockdown period before assets can be moved. The process is deterministic: a transfer bundle is queued to move inventory to a user-specified recipient address. Recovery is on-chain and independent of Sequence's central infrastructure; if Sequence services are offline, users can use a standalone recovery tool with session metadata replicated on Arweave.
  3. Overview of Sequence Indexer

    Sequence Indexer is a production-ready read layer for onchain applications, providing low-latency access to real-time balances, portfolio data, token and NFT ownership, transfers, logs, prices, and contract events across EVM chains. It supports cursor-based pagination, filters, webhooks, and event subscriptions with 99.99% uptime.
  4. Overview of Sequence Web SDK toolkit

    Sequence provides a comprehensive toolkit of Web3 SDKs built on the wagmi library to facilitate user onboarding and interaction. The toolkit consists of several specialized packages for authentication, payments, state management, and UI components.
    # Available Sequence Web SDK packages
    npm install @0xsequence/connect
    npm install @0xsequence/checkout
    npm install @0xsequence/hooks
    npm install @0xsequence/wallet-widget
    npm install @0xsequence/marketplace-sdk
  5. Overview of Sequence Gas Sponsorship

    Sequence Builder allows project owners to sponsor gas fees for users in web3 apps to remove the friction of obtaining crypto for transaction fees. Sponsorship can be applied at the wallet address level (covering all relayed transactions from that wallet on a network) or the contract level (covering all users interacting with a specific contract).

    Key Constraints:

    • Builder contract deployments on production networks are treated as self-funded; deploying a new contract may still require the deploying wallet to pay gas.
    • Gas sponsorship is most reliable for relayed interactions with contracts that are already deployed.
  6. Overview of the Sequence Transaction API

    The Transaction API is a unified relayer for dispatching transactions on EVM chains. It abstracts away the complexities of nonce management, gas estimation, and transaction resubmission. Key capabilities include:

    • Gas Sponsorship: Sponsor interactions at the project, contract, token, or address level.
    • Fee Abstraction: Allow users to pay fees in supported ERC-20 tokens (e.g., USDC) or provide full sponsorship.
    • Batching: Group multiple calls into a single on-chain transaction.
    • Parallel Processing: Send multiple independent transactions concurrently.
    • EVM Compatibility: Works with any EVM contract without requiring contract changes.
  7. Overview of Guard Firewall transaction review

    Guard Firewall is an ecosystem-level review signer that evaluates transactions before they are sent on-chain. It enforces ecosystem policies, performs threat simulations via third-party integrations, and manages blacklists of malicious apps or contracts. The firewall determines whether to allow a transaction by either providing a 'guard signature' or withholding it. If a transaction is rejected based on risk or policy, the system can require an OTP (One-Time Password) confirmation from the user to proceed.
  8. Overview of Sequence Unity Embedded Wallet SDK

    The Sequence Unity Embedded Wallet SDK integrates Sequence Embedded Wallet and Indexer functionality into Unity games. It includes a purpose-built SequenceEthereum library, removing the need for Nethereum. The SDK follows Semantic Versioning (major.minor.patch).
  9. Overview of Soulbound Tokens (SBTs) in Sequence Builder

    Soulbound Tokens (SBTs) are non-transferable and non-sellable on-chain assets. They are used to provide enduring value without speculative trading. Common use cases include:

    • Game Passes and Memberships (e.g., Battlepasses, loyalty programs).
    • Achievement Badges (non-tradable proof of progress).
    • Event Tickets and Certifications.
    • Identity and Reputation Systems.
  10. Overview of Secondary Sales and P2P Trading in Sequence Unity SDK

    Secondary Sales and Peer-to-Peer (P2P) trading are powered by the Marketplace API. This allows users to buy and sell ERC721 and ERC1155 tokens within a Unity application using cryptocurrency (with default currency abstraction) or credit cards where supported.
  11. Overview of the Sequence Marketplace SDK

    The @0xsequence/marketplace-sdk is a TypeScript-based toolkit designed to integrate NFT marketplaces into applications. It supports both ERC721 (NFTs) and ERC1155 (Semi-Fungible Tokens). The SDK provides a simplified interface for creating and managing NFT listings and offers, tracking marketplace activities, and managing orders. It is optimized for performance using React Query and Wagmi and includes ready-to-use React hooks and components.
    npm install @0xsequence/marketplace-sdk