Skip to content

C0x41lch0x41/rs-stellar-strkey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs-stellar-strkey

Library and CLI containing types and functionality for working with Stellar Strkeys.

This repository contains code that is in early development, incomplete, not tested, and not recommended for use. The API is unstable, experimental, and is receiving breaking changes frequently.

Usage

Library

To use the library, include in your toml:

stellar-strkey = "..."

CLI

To use the CLI:

cargo install --locked stellar-strkey --version ... --features cli
Examples

Decode a G account/public-key strkey:

$ stellar-strkey decode GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWHF
PublicKeyEd25519(PublicKey(0000000000000000000000000000000000000000000000000000000000000000))

Decode a C contract strkey:

$ stellar-strkey decode CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSC4
Contract(Contract(0000000000000000000000000000000000000000000000000000000000000000))

License: Apache-2.0

About

Rust lib for encode/decode of Stellar Strkeys.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.3%
  • Makefile 0.7%