S&P Global Enters Agreement to Acquire OpenZeppelinRead the announcement
Starknet logoOpen Zeppelin Z

Build Securely on Starknet with OpenZeppelin

OpenZeppelin provides secure smart contracts libraries for Cairo, Starknet’s native smart contract language. Built for scalability and powered by zero-knowledge proofs, Cairo enables developers to create high-performance DeFi, NFT, and gaming applications that inherit Ethereum security.

#[starknet::contract]
mod MyToken {
    use openzeppelin_token::erc20::{ERC20Component, ERC20HooksEmptyImpl};
    use starknet::ContractAddress;

    component!(path: ERC20Component, storage: erc20, event: ERC20Event);

    #[abi(embed_v0)]
    impl ERC20MixinImpl = ERC20Component::ERC20MixinImpl<ContractState>;
    impl ERC20InternalImpl = ERC20Component::InternalImpl<ContractState>;

    #[constructor]
    fn constructor(ref self: ContractState, recipient: ContractAddress) {
        self.erc20.initializer("MyToken", "MTK");
        self.erc20.mint(recipient, 1_000_000);
    }
}

OpenZeppelin Cairo Contracts

Audited smart contracts libraries and utilities for Cairo, including implementations of familiar standards such as ERC-20 and ERC-721. With these, developers can accelerate deployment, reduce risk, and build confidently on Starknet.

More than

$250 million

Total Value Locked in OpenZeppelin Cairo Contracts on Starknet

More than

410 million

Transactions executed with OpenZeppelin Cairo Contracts on Starknet

Contracts

Enterprise-grade compliance and certifications

  • CCPA Compliant
  • SOC2 Certified
  • GDPR Compliant

Security Services

Smart Contract Security Audit

Secure your Starknet applications with comprehensive Cairo contract audits that ensure resilience across DeFi, gaming, and tokenization protocols built on zero-knowledge technology.

Sca asset

Blockchain Infrastructure Audit

Strengthen your Starknet infrastructure through specialized audits of sequencer implementations, ZK prover systems, and bridge protocols, ensuring secure zero-knowledge execution at scale.

Blockchain infra

The security standard for onchain finance

Talk to an Expert