Build Securely on Stellar with OpenZeppelin
OpenZeppelin brings its trusted smart contracts libraries and developer workflows to Stellar, a Rust-based blockchain. Developers can build payments, stablecoins, and DeFi apps on Stellar using familiar, audited building blocks.
use soroban_sdk::{contract, contractimpl, Address, Env, String};
use stellar_tokens::fungible::{Base, FungibleToken};
#[contract]
pub struct MyToken;
#[contractimpl]
impl MyToken {
pub fn __constructor(e: &Env, owner: Address) {
Base::set_metadata(e, 7, String::from_str(e, "MyToken"), String::from_str(e, "MTK"));
Base::mint(e, &owner, 1_000_000);
}
}
#[contractimpl]
impl FungibleToken for MyToken {
type ContractType = Base;
}More than
$1.6 billion
Total Value Locked in OpenZeppelin Contracts on Stellar
More than
670 million
Transactions executed with OpenZeppelin Contracts on Stellar
Contracts
Contracts Wizard
Generate secure Stellar smart contracts quickly and safely. Configure modules, preview the Rust code, and integrate directly into your workflow.
Contracts MCP
Integrate OpenZeppelin Stellar smart contracts with AI-assisted workflows. Generate and deploy secure smart contracts using proven standards, guided by machine copilots.
RWA Contracts Wizard
Generate contracts for real-world assets (RWAs) on Stellar. Configure investor eligibility, transfer restrictions, and recovery controls.

Open Source Tools
Relayer
Enable secure relaying for Stellar transactions. Anchors and apps can simplify backend operations and transaction flow management by using OpenZeppelin Relayer.
Monitor
Track Stellar applications in real time. Detect anomalies, log events, and trigger automated responses to safeguard Stellar smart contracts and protect users.
UI Builder
Generate front-ends for Stellar contracts in seconds. Configure functions and export a complete React app to interact with deployed contracts.
Soroban Security Detectors SDK
Spot issues in Stellar contracts before they reach mainnet. This SDK enables developers to build custom static-analysis scanners and comes with prebuilt checks to catch common pitfalls early.
Enterprise-grade compliance and certifications
- CCPA Compliant
- SOC2 Certified
- GDPR Compliant
Security Services
Smart Contract Security Audit
Secure your Stellar smart contracts with comprehensive audits that ensure reliability and resilience for applications spanning payments, stablecoins, and DeFi protocols.
Blockchain Infrastructure Audit
Strengthen your Stellar infrastructure through specialized audits of anchor services, bridge protocols, and clients implementations, ensuring security across every layer of your blockchain operations.