Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 966 Bytes

BITGO.md

File metadata and controls

23 lines (16 loc) · 966 Bytes

BitGo Developer Information

This example loads in the full bitgo package. Due to the nature of many of the blockchain packages used for all blockchains offered in the bitgo package, browser resolutions are required and defined in the webpack configuration file.

This example makes use of the BitGo SDK packages in a few key places:

Modularization

To make use of fewer packages, smaller dependency sizes, and less browser resolutions, consider using the modular approach.

Example:

import { BitGoAPI } from '@bitgo/sdk-api';
import { Tbtc } from '@bitgo/sdk-coin-btc';

const bitgo = new BitGoAPI({ env: 'test'});
bitgo.register('tbtc', Tbtc.createInstance);