Registry / other / ink-metadata

ink-metadata

JSON →
library5.1.1rscratesunverified

Metadata definitions for ink! smart contracts.

# Cargo.toml [dependencies] ink_metadata = "5.1.1"
INSTALL
IMPORT
SIG · INK-METADATA
I
ink-metadata
otherrustv5.1.1
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.

InkProject
use ink_metadata::InkProject;

Creates a new ink! project metadata instance.

use ink_metadata::InkProject; fn main() { let metadata = InkProject::new(); println!("Metadata created"); }
Debug
Known issues
gotchaRequires `ink` crate and specific version compatibility.
fix
Ensure `ink_metadata` version matches your `ink` version.
affects: >=5.0.0
Upgrade
Version history
5.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ink-metadata — cargo add ink-metadata · libregistry