Prebuilt Modules

The SDK provides a large suite of prebuilt, well-maintained modules that handle common blockchain primitives. Leveraging these modules allows you to focus on your application's unique logic instead of reinventing the wheel.

This page serves as a reference guide to the standard modules included with the SDK.

ModuleCrate LinkDescription
User-FacingModules that directly provide user-facing application logic.
Banksov-bankCreates and manages fungible tokens. Handles minting, transfers, and burning.
Paymastersov-paymasterEnables gas sponsorship (meta-transactions), allowing users to transact without needing to hold gas tokens.
Chain Statesov-chain-stateProvides on-chain access to block metadata like the current block height and hash.
EVMsov-evmAn EVM compatibility layer that executes standard, RLP-encoded Ethereum transactions.
SVMsov-svmA Solana VM compatibility layer that executes standard Solana transactions (maintained by the Termina team).
Core InfrastructureModules that provide fundamental, system-level capabilities.
Accountssov-accountsManages user accounts, public keys, and nonces.
Uniquenesssov-uniquenessProvides transaction deduplication logic using either nonces (Ethereum-style) or generation numbers (for low-latency applications).
Blob Storagesov-blob-storageA deferred blob storage system that enables soft-confirmations without losing censorship resistance.
BridgingModules for interoperability with other blockchains.
Hyperlane Bridgesov-hyperlane-mailboxAn integration with the Hyperlane interoperability protocol, enabling messaging and token bridging to other blockchains (EVM, SVM, Cosmos).
Rollup EconomicsModules for managing incentives and fee distribution.
Sequencer Registrysov-sequencer-registryManages sequencer registration, bonding, and rewards distribution (for decentralized sequencing).
Prover Incentivessov-prover-incentivesManages prover registration, proof validation, and rewards distribution.
Attester Incentivessov-attester-incentivesManages the attestation/challenge process for optimistic rollups, including bonding and rewards.
Revenue Sharesov-revenue-shareAutomates on-chain fee sharing for the use of premium SDK components, such as the low-latency sequencer.
Development & TestingHelper modules for the development and testing lifecycle.
Value Settersov-value-setterA minimal example module used throughout the documentation for teaching purposes.
Synthetic Loadsov-synthetic-loadA utility module for generating heavy transactions to assist with performance testing and benchmarking.
Module Templatemodule-templateA starter template demonstrating best practices for module structure, including state, calls, and events.

Next Steps

In the next section, "Additional Capabilities," you'll get a high-level overview of these features and how we can help you integrate them.