Registry / other / pallet-staking

pallet-staking

JSON →
library46.0.0rscratesunverified

FRAME pallet for staking functionality in Substrate-based blockchains.

# Cargo.toml [dependencies] pallet-staking = "46.0.0"
INSTALL
IMPORT
SIG · PALLET-STAKING
P
pallet-staking
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_staking::Pallet;

Configures the staking pallet for a Substrate runtime.

use pallet_staking::Pallet; use frame_support::traits::Currency; // Typically used within a Substrate runtime configuration pub struct StakingConfig; impl pallet_staking::Config for StakingConfig { type Currency = Balances; // ... other types }
Debug
Known issues
gotchaRequires specific Substrate runtime dependencies and configuration.
fix
Ensure you have the correct Substrate dependencies and implement all required types.
affects: >=0.1.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-staking — cargo add pallet-staking · libregistry