Registry / crypto / stellar-strkey

stellar-strkey

JSON →
library0.0.16rscratesunverified

Encode and decode Stellar strkeys (account IDs, seed bytes, etc.).

# Cargo.toml [dependencies] stellar-strkey = "0.0.16"
INSTALL
IMPORT
SIG · STELLAR-STRKEY
S
stellar-strkey
cryptorustv0.0.16
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.

Strkey
use stellar_strkey::Strkey;

Decode a Stellar strkey string

use stellar_strkey::Strkey; fn main() -> Result<(), Box<dyn std::error::Error>> { let encoded = "GABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; let decoded = Strkey::from_string(encoded)?; println!("Decoded strkey: {:?}", decoded); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.16latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Resources
stellar-strkey — cargo add stellar-strkey · libregistry