0.0.56 • Published 3 years ago

boa-wallet-lib v0.0.56

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

boa-wallet-lib

Wallet Lib to interface with the BOSAGORA blockchain boa-wallet-lib is a TypeScript/JavaScript library for communicating with the Stoa API server and Agora. It compose of all the functions needed for Bosagora wallet.

Install

$ npm install --save boa-wallet-lib

Import the your library

import * as BoaWallet from "boa-wallet-lib";

Usage

TypeScript

// Create BOA Client
let boa_client = new BoaWallet.WalletClient("https://localhost:4242", "https://localhost:4000");

let account = new BoaWallet.Account(boa_client);

let mnemonics = await BoaWallet.KeyPair.getMnemonics('english');
console.log(mnemonics);

let keyPairs = await BoaWallet.KeyPair.fromMnemonic(mnemonics.data.mnemonic);
console.log(keyPairs);

let keyPair = await BoaWallet.KeyPair.recoverKeys(mnemonics.data.mnemonic);    
console.log(keyPairs);

let token = await BoaWallet.Login.loginUser('SCT4KKJNYLTQO4TVDPVJQZEONTVVW66YLRWAINWI3FZDY7U4JS4JJEI4');
console.log(token);
.
.
.
.

Documentation

BOA-WALLET for TypeScript documentation

Testing

$ git clone https://github.com/wallet-lib.git
$ npm install
$ npm run build
$ npm test
0.0.56

3 years ago

0.0.55

3 years ago

0.0.53

3 years ago

0.0.54

3 years ago

0.0.52

3 years ago

0.0.51

3 years ago

0.0.45

3 years ago

0.0.46

3 years ago

0.0.47

3 years ago

0.0.50

3 years ago

0.0.48

3 years ago

0.0.49

3 years ago

0.0.41

3 years ago

0.0.42

3 years ago

0.0.43

3 years ago

0.0.44

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.34

3 years ago

0.0.35

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.30

3 years ago

0.0.31

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago