Implementation and Integration Patterns
Documents how to build on and integrate with Tezos, covering Michelson and FA token standards (FA1.2, FA2), smart rollup kernel development, bridging patterns, wallet integration, and indexer behavior. Application developers, exchange engineers, and custody teams use this group to understand contract standards, RPC interaction patterns, and operational integration requirements. Differs from Operations and Releases by focusing on developer-facing patterns and standards rather than node and baker infrastructure.
Michelson Anti-Patterns and Gas Optimization
Impact page for smart contract developers and auditors covering common Michelson patterns that cause excessive gas consumption, storage bloat, or unexpected execution failures. Includes gas cost analysis, storage optimization strategies, and how Chainscore Labs can review contract efficiency before mainnet deployment.
Testing and Simulating Michelson Contracts
Operational guide for development teams on validating Michelson contract logic using testing frameworks, mock environments, and the Tezos client's run_script and simulate_operation RPCs. Covers pre-deployment validation workflows and where formal review adds assurance for high-value contracts.
Contract Upgradeability and Proxy Patterns
Technical reference for protocol architects on durable upgrade patterns including lambda-based upgrades, proxy contracts, and storage migration strategies. Addresses state corruption risks, governance control over upgrades, and how Chainscore Labs can assess upgrade safety and migration correctness.
On-Chain Randomness Generation
Security-focused page for DeFi and gaming developers on sourcing randomness in Michelson using the RANDOM opcode and commit-reveal schemes. Covers baker manipulation risks, secure pattern requirements, and where a security review of randomness implementation is warranted.
Handling Tickets and Capabilities
Developer reference on the Michelson ticket mechanism for creating unforgeable linear tokens. Covers authentication patterns, atomic swap use cases, off-chain asset representation, and integration considerations for wallets and indexers that must parse ticket data.
Timelock and Cryptographic Primitives
Implementation guide for developers using built-in Michelson functions for hashing, CHECK_SIGNATURE verification, and time-locked transactions via the level instruction. Covers correct usage patterns, common mistakes, and where cryptographic review adds value for custody and escrow contracts.
FA2 Contract Permissions and Operator Management
Deep-dive impact page for marketplace and DeFi protocol teams on the FA2 permission system, custom transfer policies, operator whitelisting, and granular token allowances. Addresses integration risks for wallets and indexers that must correctly interpret operator state.
FA2 Multi-Asset Contract Architecture
Architecture reference for teams designing single FA2 contracts managing multiple token types including fungible and non-fungible assets. Covers metadata storage patterns, gas-efficient batch transfers, and where Chainscore Labs can review multi-asset contract design for correctness and efficiency.
FA1.2 to FA2 Migration Guide
Migration impact page for projects moving from FA1.2 to FA2, covering state migration strategies, wallet compatibility testing, indexer impact, and exchange integration changes. Includes operational checklist and where migration review reduces downtime and data loss risk.
Implementing Custom Transfer Logic in FA2
Cookbook-style reference for developers adding hooks to FA2 token transfers such as royalty enforcement, transfer fees, and allowlist checks. Covers standard interface compliance risks and where security review ensures hooks do not introduce reentrancy or state corruption.
Off-Chain Token Metadata Views (TZIP-16)
Implementation page for wallet and indexer teams on resolving TZIP-16 metadata, including contract storage patterns and Michelson view construction. Addresses display consistency risks across ecosystem tools and where metadata review improves user-facing accuracy.
Tezos Transaction Construction and Forging
Technical reference for exchange and custody engineers on constructing, forging, and signing Tezos operations without high-level SDKs. Covers transaction, origination, and delegation operation formats, common forging errors, and where integration review prevents fund loss.
Parsing and Indexing Tezos Operations
Operational guide for data teams on monitoring address transaction history via RPC, parsing internal operation results, handling chain reorgs, and detecting FA1.2 and FA2 token transfers. Covers indexer correctness risks and where Chainscore Labs can audit indexing logic.
Secure Key Management and Remote Signing
Security page for institutional custody teams on integrating HSMs and remote signers using the Tezos client signer socket or HTTP API. Covers key ceremony patterns, signing architecture risks, and where custody integration review reduces operational security gaps.
Handling Tezos-Specific Transaction Features
Integration reference for wallet and exchange teams on batched operations, entrypoint parameters for contract calls, and self-addressed transactions. Addresses compatibility risks when supporting advanced Tezos transaction types and where integration testing prevents user-facing errors.
Simulating Operations for Safe Balance Checks
Operational guide for exchanges and custodians on using simulate_operation RPC to pre-flight transactions, predict gas costs, and verify token balance changes before signing. Covers simulation accuracy limitations and where pre-signing review adds safety for high-value transfers.
Smart Rollup Kernel Development Lifecycle
Developer reference for building, debugging, and deploying Wasm kernels for Tezos Smart Rollups. Covers kernel API patterns, I/O handling, local testing with octez-smart-rollup-node, and where kernel review reduces bugs in production rollup deployments.
Rollup Inbox and Outbox Message Patterns
Architecture page for rollup developers on message passing between Tezos L1 and Smart Rollups, including serialization formats, proof construction, and refutation game latency implications. Addresses integration risks for bridges and cross-rollup applications.
Data Availability and Commitment Schemes
Decision guide for rollup developers on choosing between on-chain and off-chain data availability, the role of the Data Availability Committee, and commitment scheme tradeoffs. Covers security assumptions and where architecture review helps teams select appropriate DA strategies.
Bridging Assets to and from Smart Rollups
Technical walkthrough of the enshrined Tezos rollup bridging mechanism covering deposit and withdrawal lifecycles, inbox message processing, and user-facing security assumptions. Addresses operational risks for exchanges and custodians supporting rollup assets.
Operating a Smart Rollup Node for Indexers
Operational guide for data teams on running and monitoring a Smart Rollup node to extract application-specific data, track rollup state, and serve APIs. Covers node configuration, data extraction patterns, and where indexing review ensures reliable dApp data delivery.
Tezos RPC Best Practices for High-Load Applications
Performance reference for infrastructure teams on efficient Tezos node RPC usage, caching strategies, chunked RPCs for large datasets, and computationally expensive endpoint identification. Covers scaling risks and where RPC architecture review improves application reliability.
Building a Tezos Indexer with TzKT and DipDup
Comparative guide for data teams choosing between major Tezos indexing frameworks. Covers use case fit, performance characteristics, and operational tradeoffs between general-purpose APIs and custom dApp-specific aggregators.
Event Sourcing and Blockchain Reorg Handling
Durable pattern reference for building reliable off-chain databases mirroring on-chain state through block event streams. Focuses on correctly unwinding state during Tezos chain reorganizations and where indexing logic review prevents data corruption.
Decoding Michelson Storage and Big Maps
Technical deep-dive for indexer and data teams on parsing and deserializing Michelson storage data, including efficient big_map traversal without RPC timeout. Covers decoding complexity risks and where storage parsing review improves indexer reliability.
Monitoring Contract Events with Taquito and ConseilJS
Practical guide for front-end developers on subscribing to on-chain events and contract state changes using JavaScript/TypeScript SDKs. Covers reactive UI patterns, event reliability considerations, and where front-end integration review improves user experience consistency.