bitcoin-constants

v1.3.0
Bitcoin constants (network and opcodes mostly) to use in bitcoin apps
bitcoin constants opcodes magic

Constants like opcodes, magic, ports, etc

Install via npm i bitcoin-constants

Supports both mainnet and testnet3. You have to specify which network you're using:

var constants = require('bitcoin-constants')('mainnet')

// or

var constants = require('bitcoin-constants')('testnet3')
npm i bitcoin-constants

Metadata

  • MIT
  • Whatever
  • Stanislas Marion
  • released 12/18/2014

Downloads

Maintainers