0.0.3 • Published 2 years ago

polywallet v0.0.3

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

npm.io

No wallets are built the same—Polywallet resolves the ambiguities faced by developers using Bitcoin SV wallets.

Polywallet is an abstraction that enables you to keep your applications wallet agnostic and allow your customers the choice to select whichever wallet desired. Adapters for HandCash, RelayX and Invisible Money Button are currently implemented for EncryptablePaymailWallet, the interface that your applications can depend on.

Polywallet

Install

Get started with Polywallet by running:

npm install polywallet

Example Usage

import { EncryptablePaymailWallet } from 'polywallet';

const polywallet = await new EncryptablePaymailWalletBuilder()
  .withHandCash({
    appId: 'APP_ID',
    appSecret: 'APP_SECRET',
  })
  .withInvisibleMoneyButton({
    clientIdentifier: 'CLIENT_ID',
  })
  .withRelayX({
    bitcomPrefix: 'BITCOM_PREFIX',
  })
  .build();

Support

Reach out to us at info@monetize.li to request support or other inquiries.

DM \@McGooserJr for any questions—and to stay updated with upcoming releases!