Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cosmwasm

> 编程语言
Open source

WebAssembly Smart Contracts for the Cosmos SDK

1.1K stars0 likes1 views
WebsiteGitHub

About

WebAssembly Smart Contracts for the Cosmos SDK

CosmWasm

component license

WebAssembly Smart Contracts for the Cosmos SDK

Rust crates

The following Rust crates are maintained in this repository:

Crate Usage Download Docs Coverage
cosmwasm‑check Contract development cosmwasm-check docs-cosmwasm-check cov-cosmwasm-check
cosmwasm‑core Internal use only cosmwasm-core docs-cosmwasm-core cov-cosmwasm-core
cosmwasm‑crypto Internal use only cosmwasm-crypto docs-cosmwasm-crypto cov-cosmwasm-crypto
cosmwasm‑derive Internal use only cosmwasm-derive docs-cosmwasm-derive cov-cosmwasm-derive
cosmwasm‑schema Contract development cosmwasm-schema docs-cosmwasm-schema cov-cosmwasm-schema
cosmwasm‑schema‑derive Internal use only cosmwasm-schema-derive docs-cosmwasm-schema-derive cov-cosmwasm-schema-derive
cosmwasm‑std Contract development cosmwasm-std docs-cosmwasm-std cov-cosmwasm-std
cosmwasm‑vm Host environments cosmwasm-vm docs-cosmwasm-vm cov-cosmwasm-vm
cosmwasm‑vm‑derive Internal use only cosmwasm-vm-derive docs-cosmwasm-vm-derive cov-cosmwasm-vm-derive
cw‑schema Contract development cw-schema docs-cw-schema cov-cw-schema
cw‑schema‑derive Internal use only cw-schema-derive docs-cw-schema-derive cov-cw-schema-derive

Dependencies

The following diagram shows the dependencies between the Rust crates in this repository:

…

Overview

To get that contract to interact with a system needs many moving parts. To get oriented, here is a list of the various components of the CosmWasm ecosystem:

Standard library:

This code is compiled into Wasm bytecode as part of the smart contract.

  • cosmwasm-std - A crate in this workspace. Provides the bindings and all imports needed to build a smart contract.
  • cw-storage-plus - A crate which provides convenience helpers for interacting with storage with powerful types supporting composite primary keys, secondary indexes, automatic snapshotting, and more. This is used in most modern contracts.

Building contracts:

  • cosmwasm-template - A starter-pack to get you quickly building your custom contract compatible with the CosmWasm system.
  • cosmwasm-plus - Some sample contracts for use and inspiration. These provide usable primitives and interfaces for many use cases, such as fungible tokens, NFTs, multisigs, governance votes, staking derivatives, and more. Look in packages for docs on the various standard interfaces, and contracts for the implementations. Please submit your contract or interface via PR.
  • rust-optimizer - A docker image and scripts to

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcosmos-sdkrustsmart-contractswebassembly

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言