Registry / other / near-primitives

near-primitives

JSON →
library0.34.7rscratesunverified

This crate provides the base set of primitives used by other nearcore crates.

# Cargo.toml [dependencies] near-primitives = "0.34.7"
INSTALL
IMPORT
SIG · NEAR-PRIMITIVES
N
near-primitives
otherrustv0.34.7
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.

AccountId
use near_primitives::types::AccountId;

Provides core NEAR protocol types.

use near_primitives::types::AccountId; let account: AccountId = "example.near".parse().unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.34.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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