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.
The Quickstart is the recommended starting point: it scaffolds a contract with the official CosmWasm template and uses cw-orchestrator to build, deploy, and test across environments. From there, CosmWasm & LocalOsmosis covers developing against a local chain, and the testnet deployment guide walks through deploying to a public testnet, with Submit a CosmWasm Governance Proposal for the gov-gated store step. Verifying Smart Contracts covers reproducible builds, and the JavaScript guide shows how to call deployed contracts from a JavaScript runtime. The CosmWasm & Beaker pages remain for projects already using Beaker, which is no longer actively maintained.
If you are building UIs or SDK integrations rather than contracts, see Frontend.
Quickstart
Scaffold, build, and deploy your first CosmWasm contract on Osmosis.
Beaker
3 items
Cosmwasm & LocalOsmosis
Develop and test a contract against a local Osmosis chain.
Cosmwasm testnet deployment
Deploy a CosmWasm contract to a public testnet with osmosisd.
Cosmwasm & Beaker
Deploying Cosmwasm Contracts to the testnet with Beaker
Submit a Cosmwasm Governance Proposal
Store a contract via a CosmWasm governance proposal.
Verifying Smart Contracts
Reproducibly verify a deployed CosmWasm contract.
Scripts and Tests with cw-orchestrator
Script, test, and deploy CosmWasm contracts with cw-orchestrator.
Javascript & Smart Contracts
Call deployed CosmWasm contracts from a JavaScript runtime.