Registry / crypto / near-account-id

near-account-id

JSON →
library2.6.0rscratesunverified

This crate contains the Account ID primitive and its validation facilities.

# Cargo.toml [dependencies] near-account-id = "2.6.0"
INSTALL
IMPORT
SIG · NEAR-ACCOUNT-ID
N
near-account-id
cryptorustv2.6.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.

AccountId
✓ use near_account_id::AccountId;

Create and display a NEAR account ID.

use near_account_id::AccountId; fn main() { let account = AccountId::new("example.near".to_string()).unwrap(); println!("Account: {}", account); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
Resources