Aleo Network - Namespace Accounts

Author Jonathan Gonzalez, jonathan@puzzle.online)
Discussions-To
Status Draft
Type Standard
Created 2023-09-12
Requires CAIP-10

CAIP-10

For context, see the CAIP-10 specification.

Rationale

An Aleo account address is a unique identifier that allows users to transfer value and record data to one another in transactions.

The account address is comprised of a public key for the account encryption scheme.

Syntax

Address Format Example aleo1dg722m22fzpz6xjdrvl9tzu5t68zmypj5p74khlqcac0gvednygqxaax0j

An account address is formatted as a Bech32 string, comprised of 63 characters. The account address is encoded with an address prefix that reads aleo1.

A regular expression for validating an Aleo address can be defined as:

^aleo1[a-z0-9]{58}$

Test Cases

# Aleo Testnet3
aleo:3:aleo1ml2xr6fawppd6uaf8gn95uy2fpqqg8gk74k0lu8na7uvayk64v8qu8hw5u

# Aleo Mainnet
aleo:0:aleo1ml2xr6fawppd6uaf8gn95uy2fpqqg8gk74k0lu8na7uvayk64v8qu8hw5u

Additional Considerations (*OPTIONAL)

Account addresses / keys are chain-agnostic.

Mainnet will release sometime at the end of 2023 / beginning of 2024. The API is subject to change.

References

Copyright and related rights waived via CC0.

Citation

Please cite this document as:

Jonathan Gonzalez, jonathan@puzzle.online), "namespaces/aleo-caip10: Aleo Network - Namespace Accounts [DRAFT]," Chain Agnostic Namespaces, aleo-caip10, September 2023 / . [Online serial]. Available: https://github.com/ChainAgnostic/namespaces/aleo-caip10.md