Registry / other / cosmwasm-std

cosmwasm-std

JSON →
library3.0.7rscratesunverified

Standard library for Wasm based smart contracts on Cosmos blockchains

# Cargo.toml [dependencies] cosmwasm-std = "3.0.7"
INSTALL
IMPORT
SIG · COSMWASM-STD
C
cosmwasm-std
otherrustv3.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

entry_point
use cosmwasm_std::entry_point;

Define a smart contract entry point for instantiation.

use cosmwasm_std::{entry_point, DepsMut, Env, MessageInfo, Response, StdResult}; #[entry_point] pub fn instantiate( _deps: DepsMut, _env: Env, _info: MessageInfo, _msg: InstantiateMsg, ) -> StdResult<Response> { Ok(Response::new()) }
Debug
Known issues
gotchaRequires compilation to WebAssembly (wasm32-unknown-unknown) target.
fix
Add `--target wasm32-unknown-unknown` when building.
affects: *
Upgrade
Version history
3.0.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
cosmwasm-std — cargo add cosmwasm-std · libregistry