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.
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.