0.3.1 • Published 9 years ago

bitgo-bitcoin-wallet v0.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

bitgo-bitcoin-wallet

Build Status

Implementation of abstract-bitcoin-wallet for BitGo.

Install

npm install --save bitgo-bitcoin-wallet bitgo

Usage

import bitgoWallet from 'bitgo-bitcoin-wallet';
import { BitGo } from 'bitgo';

const bitgo = new BitGo({
  accessToken: 'your bitgo access token',
  env: 'test',
});

const wallet = bitgoWallet({
  bitgo,
  walletId: 'your bitgo wallet id',
  passphrase: 'your bitgo passphrase',
});

wallet.createAddress().then((addrInfo) => {
  console.log(addrInfo);
});

// See abstract-bitcoin-wallet for docs

Test

Create a .env file in the project root with the following values:

BITGO_ENV=test
BITGO_TOKEN="your bitgo token"
BITGO_WALLET="your bitgo wallet id"
BITGO_PASSPHRASE="your bitgo passphrase"
npm test
0.3.1

9 years ago

0.3.0

9 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago