arc76
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

ARC76 NPM LIBRARY

This is npm library for password generated ED25519 accounts and used mainly by the algorand community.

ARC76 Specs

Usage

Install npm package

npm i arc76 --save

Import package

import arc76 from "arc76"

Password generated account

const account: algosdk.Account = arc76.generateAlgorandAccount("password")

Password generated account for slot 1

const account: algosdk.Account = arc76.generateAlgorandAccount("password","",1)

Email password generated account

const account: algosdk.Account = arc76.generateAlgorandAccount("12345678901234567890123456789012345678901234567890","email@example.com")
expect(algosdk.encodeAddress(account.addr.publicKey)).toBe("5AHWQJ5D52K4GRW4JWQ5GMR53F7PDSJEGT4PXVFSBQYE7VXDVG3WSPWSBM");

Email password generated account for slot 1

const account: algosdk.Account = arc76.generateAlgorandAccount("password","email@example.com",1)

Package Sidebar

Install

npm i arc76

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

5.24 kB

Total Files

8

Last publish

Collaborators

  • scholtz