CosmWasm
為 Cosmos 生態系統建構的新型智慧合約平台
表现
RD 熱度指數
RD 增長指數
比較
跟隨更新
跟隨列表
人物
關於CosmWasm
CosmWasm is a smart contract framework for the Cosmos ecosystem that compiles Rust contracts to WebAssembly bytecode and runs them on CometBFT appchains through the wasmd module. It fills the missing general-purpose contract layer on appchains, where business logic could previously change only through governance upgrades and third parties could not deploy composable logic. Its users are chain teams and developers shipping contract-level applications. Each chain enables the contract entry points itself, with permissions and versions configured per chain, so the same bytecode can be deployed across several appchains.
Execution happens in a deterministic sandbox via wasmvm; contract state access is bounded by gas metering and a capability allowlist, while cross-chain calls rely on IBC and interchain accounts. Version 0.70.3 shipped in June 2026 against Cosmos SDK 0.54, and Cosmos Hub tested v27.6 the following month, raising the single-contract size cap from 800 KiB to 1.6 MiB. Contract migration names a new checksum in a governance proposal, and state moves from old instances to new ones through migration messages. Runtime versions must match the onchain module or the contract refuses to load.
在 2019 年 6 月,CosmWasm 在 HackAtom 柏林黑客馬拉松上誕生,由 Ethan Frey 主導,旨在為 Cosmos 鏈提供基於 Rust 和 WebAssembly 的智能合約平台。
在 2021 年 5 月,CosmWasm 1.0 穩定版本正式發布並通過安全審計,成為 Cosmos 生態系統中的安全合約標準。
在 2023 年 12 月 5 日,Neutron 收購了 CosmWasm 開發者 Confio 的 25%股份,投資金額未公開,以推動採用和技術改進,包括零知識證明。
在 2025 年 1 月 16 日,Confio 宣布,由於戰略轉變,Interchain Foundation (ICF)將停止對 CosmWasm 開發的資助,但 Neutron 和 Cosmos Hub(通過 AADAO)提供支持,以繼續在上半年的工作。
在 2025 年 6 月 30 日,Confio 正式結束 CosmWasm 的維護,將其移交給 Darek 和 Pino,而 Sylvia 框架則被移出並由其原作者繼續維護。
在 2025 年 7 月 9 日,ICF 資助 Hadron Labs 接管 CosmWasm 的長期維護,確保開源開發和運營穩定,直到 2027 年 12 月 31 日。
在 2026 年 9 月 28 日,CosmWasm 披露了安全建議 CWA-2026-006,這是一個 Wasmer Singlepass 編譯器中的沙盒逃逸漏洞,已發布修補版本如 wasmd v0.70.4,並且在生產環境中沒有報告被利用的情況。