0.3.7 • Published 4 years ago

@catalyst-net-js/wallet v0.3.7

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Catalyst-js/wallet

Discord Twitter Follow

Status: Active development. This repository is being actively worked on, mostly in feature branches.

Install

npm install @catalyst-js/wallet

Usage

Constructors

import Wallet from '@catalyst-net-js/wallet'

// create an instance based on a new random key
const wallet = Wallet.generate();

// create an instance based on a raw private key
const wallet = Wallet.generateFromPrivateKey(privateKey);

// create an instance based on a seed
const wallet = Wallet.generateFromSeed(seed);

Instance methods

// return the private key
const privateKey = wallet.getPrivateKey(); 
// return the private key as a base32 string
const privateKeyString = wallet.getPrivateKeyString(); 
// return the private key
const privateKey = wallet.getPublicKey(); 
// return the private key as a base32 string
const privateKeyString = wallet.getPublicKeyString(); 

License

GPLv3

0.3.7

4 years ago

0.3.6

4 years ago

0.3.3

4 years ago

0.1.1-alpha.11

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.1.1-alpha.9

4 years ago

0.2.1

4 years ago

0.1.1-alpha.7

4 years ago

0.2.0

4 years ago

0.1.1-alpha.6

4 years ago

0.1.1-alpha.1

4 years ago

0.1.1-alpha.5

4 years ago

0.1.0

4 years ago

0.0.10-alpha.6

4 years ago

0.0.10-alpha.5

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago