Registry / other / cw721-base

cw721-base

JSON →
library0.22.0rscratesunverified

Base implementation for CW721 NFTs with generic extensions for on-chain metadata or custom logic.

# Cargo.toml [dependencies] cw721-base = "0.22.0"
INSTALL
IMPORT
SIG · CW721-BASE
C
cw721-base
otherrustv0.22.0
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.

Cw721Contract
use cw721_base::Cw721Contract;

Creates a default CW721 NFT contract instance.

use cw721_base::Cw721Contract; fn main() { let contract = Cw721Contract::<String, String>::default(); println!("CW721 contract created"); }
Debug
Known issues
gotchaRequires CosmWasm environment and proper contract initialization.
fix
Use within a CosmWasm smart contract with instantiate message.
affects: >=0.22.0
Upgrade
Version history
0.22.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
cw721-base — cargo add cw721-base · libregistry