How to use the bip44-constants.BTC function in bip44-constants

To help you get started, we’ve selected a few bip44-constants examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oipwg / oip-hdmw / src / networks / bitcoin.js View on Github external
import { Insight } from 'insight-explorer'
import { networks } from 'bitcoinjs-lib'
import bip44constants from 'bip44-constants'
import config from './config'

var bitcoinFeePerKb = 100000

var n = networks.bitcoin

n.slip44 = bip44constants.BTC

module.exports = {
  name: 'bitcoin',
  displayName: 'Bitcoin',
  ticker: 'BTC',
  satPerCoin: 1e8,
  feePerKb: bitcoinFeePerKb,
  feePerByte: bitcoinFeePerKb / 1024,
  maxFeePerByte: 100,
  minFee: bitcoinFeePerKb,
  dust: 546,

  txVersion: 1,

  explorer: new Insight(config.defaultApiUrls.bitcoin),


Bitcoin BIP44 constants.

Latest version published 7 days ago

Package Health Score

72 / 100
Full package analysis

Popular bip44-constants functions