Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@i3m/base-wallet

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@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 packag

  • 2.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

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

Keywords

FAQs

Package last updated on 04 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc