#address #substrate #github #paritytech #wiki #com #primitive

xand-address

The Address primitive type used throughout the Xand network

1 unstable release

0.4.2 Feb 14, 2023

#1 in #paritytech


Used in 2 crates

MIT/Apache

8KB
109 lines

xand-address

Entities participating on a blockchain network are each identified by an address, which is deterministically derived from the public part of the their keypair. When an entity signs a transaction with their corresponding private key, other entities on the network can verify it.

This crate was originally part of thermite, but has been extracted so other crates can use it.

Crate Publishing

  1. In a feature branch, bump the crate version in Cargo.toml
  2. When feature branch is ready, run the publish-beta job and verify the crate is published as expected
  3. Get necessary approvals, merge, and verify the publish job successfully publishes the non-beta version of the crate

lib.rs:

An address is derived from the public portion of a network entity's keypair. They are commonly used on a blockchain to convey ownership of assets or the issuer of a transaction.

Currently, this means an SS58-check address as specified by substrate here: https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)

Dependencies

~7.5MB
~148K SLoC