Skip to main content

CosmWasm on Osmosis

CosmWasm lets you write smart contracts in Rust and run them on Osmosis. This section covers the full contract lifecycle: scaffolding a project, building and testing, deploying to a local or test network, verifying a deployed contract, and calling contracts from your application.

Beaker is the recommended starting point, a scaffolding tool that wires up contract dependencies, an interactive console, and a sample frontend. From there, CosmWasm & LocalOsmosis covers developing against a local chain, and the testnet deployment and CosmWasm & Beaker guides walk through deploying to a public testnet, with Submit a CosmWasm Governance Proposal for the gov-gated store step. Verifying Smart Contracts covers reproducible builds, cw-orchestrator handles scripting and testing across environments, and the JavaScript guide shows how to call deployed contracts from a JavaScript runtime.

If you are building UIs or SDK integrations rather than contracts, see Frontend.