Registry / other / ckb-traits

ckb-traits

JSON →
library1.1.1rscratesunverified

Common traits for accessing blockchain data in the Nervos CKB ecosystem.

# Cargo.toml [dependencies] ckb-traits = "1.1.1"
INSTALL
IMPORT
SIG · CKB-TRAITS
C
ckb-traits
otherrustv1.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.

CellDataProvider
use ckb_traits::CellDataProvider;

Implement the CellDataProvider trait.

use ckb_traits::CellDataProvider; fn main() { // Implement CellDataProvider for custom storage }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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