Registry / other / pallet-contracts

pallet-contracts

JSON →
library46.0.0rscratesunverified

FRAME pallet for WASM smart contracts in Substrate-based blockchains.

# Cargo.toml [dependencies] pallet-contracts = "46.0.0"
INSTALL
IMPORT
SIG · PALLET-CONTRACTS
P
pallet-contracts
otherrustv46.0.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.

Pallet
use pallet_contracts::Pallet;

Import the Pallet Contracts module for Substrate runtimes.

use pallet_contracts::Pallet; fn main() { // Pallet is typically used within a Substrate runtime println!("Pallet Contracts ready"); }
Debug
Known issues
gotchaRequires specific Substrate runtime configuration and dependencies.
fix
Ensure you have the correct Substrate version and enable the 'contracts' feature.
affects: >=0.0.0
Upgrade
Version history
46.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pallet-contracts — cargo add pallet-contracts · libregistry