@aldea/core
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

Aldea Core

Version License

Core Aldea data structuresand cryptographic functions.

TODO.

Installation

Aldea Core is published to the NPM registry. Install the package in your project with npm or an alternative NPM client:

npm install @aldea/core

Keys and addresses

Aldea uses BLAKE3-flavoured Ed25519 cryptography. Keys and addresses can be generated:

import { KeyPair, Address } from '@aldea/core'

const keys = KeyPair.fromRandom()
const address = Address.fromPubKey(keys.pubKey)

console.log(keys.privKey.toHex())
console.log(keys.pubKey.toHex())
console.log(address.toString())

License

Aldea is open source and released under the Apache-2 License.

© Copyright 2023 Run Computer Company, inc.

Readme

Keywords

none

Package Sidebar

Install

npm i @aldea/core

Weekly Downloads

0

Version

0.7.2

License

Apache-2.0

Unpacked Size

1.52 MB

Total Files

192

Last publish

Collaborators

  • calvo.generico
  • brentongunning
  • libitx