2.6.1 • Published 2 years ago

@i3m/bok-wallet v2.6.1

Weekly downloads
-
License
EUPL-1.2
Repository
github
Last release
2 years ago

License: EUPL_1.2 Contributor Covenant JavaScript Style Guide

@i3m/bok-wallet

An implementation of the base wallet using a bag of keys (keys are independently created at random).. It extends the BaseWallet class defined in the @i3m/base-wallet package. The main differences with the @i3m/sw-wallet is that an @i3m/bok-wallet cannot be regenerated with a seed (or mnemonic words), but can import and use arbitrary keys.

Usage

@i3m/bok-wallet can be imported to your project with npm:

npm install @i3m/bok-wallet

Then either require (Node.js CJS):

const bokWallet = require('@i3m/bok-wallet')

or import (JavaScript ES module):

import * as bokWallet from '@i3m/bok-wallet'

The appropriate version (either cjs or esm) should be automatically chosen when importing. However, if your bundler does not import the appropriate module version, you can force it to use a specific one by just importing one of the followings:

  • @i3m/bok-wallet/dist/cjs/index.node: for Node.js CJS module
  • @i3m/bok-wallet/dist/esm/index.node: for Node.js ESM module

If you are coding TypeScript, types will not be automatically detected when using the specific versions. You can easily get the types in by creating adding to a types declaration file (.d.ts) the following line:

declare module '@i3m/bok-wallet/dist/esm/index.browser' // use the specific file you were importing

API reference documentation

Check the API

2.6.1

2 years ago

2.6.0

2 years ago

2.5.9

2 years ago

2.5.10

2 years ago

2.5.11

2 years ago

2.5.6

2 years ago

2.5.7

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.2.2

2 years ago

2.5.5

2 years ago

2.1.9

2 years ago

2.3.0

2 years ago

2.5.0

2 years ago

2.3.1

2 years ago

2.1.3

2 years ago

2.5.2

2 years ago

2.1.6

2 years ago

2.5.1

2 years ago

2.1.5

2 years ago

2.5.4

2 years ago

2.1.8

2 years ago

2.5.3

2 years ago

1.2.0

2 years ago

1.6.2

2 years ago

1.5.3

2 years ago

1.6.1

2 years ago

1.5.2

2 years ago

1.3.4

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.3.3

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.3.2

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.0.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago