2.6.1 • Published 1 year ago

@i3m/base-wallet v2.6.1

Weekly downloads
-
License
EUPL-1.2
Repository
github
Last release
1 year ago

License: EUPL_1.2 Contributor Covenant JavaScript Style Guide

@i3m/base-wallet

A base packet with a reference TypeScript implementation (called BaseWallet) of the required functionalities for the i3-market wallet. It makes use of a KeyWallet interface that allows delegating the complexity of the wallet key management to other packages, like the sw-wallet, bok-wallet, and hw-wallet

Usage

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

npm install @i3m/base-wallet

Then either require (Node.js CJS):

const baseWallet = require('@i3m/base-wallet')

or import (JavaScript ES module):

import * as baseWallet from '@i3m/base-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/base-wallet/dist/cjs/index.node: for Node.js CJS module
  • @i3m/base-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/base-wallet/dist/esm/index.browser' // use the specific file you were importing

API reference documentation

Check the API

2.6.1

1 year ago

2.6.0

1 year ago

2.5.8

1 year ago

2.5.10

1 year ago

2.5.11

1 year ago

2.5.6

1 year ago

2.5.7

1 year ago

2.3.0

1 year ago

2.2.1

2 years ago

2.2.0

2 years ago

2.5.0

1 year ago

2.4.0

1 year ago

2.3.1

1 year ago

2.2.2

2 years ago

2.1.3

2 years ago

2.1.6

2 years ago

2.5.1

1 year ago

2.1.5

2 years ago

2.5.4

1 year ago

2.1.8

2 years ago

2.5.5

1 year ago

2.1.9

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

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago