GithubHelp home page GithubHelp logo

coinnetworklist's Introduction

Coin Network List

A list of over 190 cryptocurrency network prefixes.

Usage

Installation

npm install coinnetworklist

Accessing data


const coinList = require('coinNetworkList')

console.log(coinlist.BTC)

Result

{
       "shortName":"BTC",
       "longName":"Bitcoin",
       "network":{
          "p2wpkh":{
             "baseNetwork":"bitcoin",
             "messagePrefix":"\\x18Bitcoin Signed Message:\n",
             "bech32":"bc",
             "bip32":{
                "public":78792518,
                "private":78791436
             },
             "pubKeyHash":0,
             "scriptHash":5,
             "wif":128
          },
          "p2wpkhInP2sh":{
             "baseNetwork":"bitcoin",
             "messagePrefix":"\\x18Bitcoin Signed Message:\n",
             "bech32":"bc",
             "bip32":{
                "public":77429938,
                "private":77428856
             },
             "pubKeyHash":0,
             "scriptHash":5,
             "wif":128
          },
          "p2wsh":{
             "baseNetwork":"bitcoin",
             "messagePrefix":"\\x18Bitcoin Signed Message:\n",
             "bech32":"bc",
             "bip32":{
                "public":44728019,
                "private":44726937
             },
             "pubKeyHash":0,
             "scriptHash":5,
             "wif":128
          },
          "p2wshInP2sh":{
             "baseNetwork":"bitcoin",
             "messagePrefix":"\\x18Bitcoin Signed Message:\n",
             "bech32":"bc",
             "bip32":{
                "public":43365439,
                "private":43364357
             },
             "pubKeyHash":0,
             "scriptHash":5,
             "wif":128
          },
          "p2pkh":{
             "messagePrefix":"\u0018Bitcoin Signed Message:\n",
             "bip32":{
                "public":76067358,
                "private":76066276
             },
             "pubKeyHash":0,
             "scriptHash":5,
             "wif":128,
             "bech32":"bc"
          }
       },
       "coinNumber":0
}

Notes

The default network data for a coin is listing in the "p2pkh" object key. Some coins contain an "addressType" key. This is to indicate that they require special hashing logic or that they use the special hashing logic of a different coin. For example BSC uses ETH hashing logic.

Credit

This list was consolidated from the source of iancoleman.io/bip39.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.