Bitcoin Forum
November 16, 2024, 03:55:09 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: coinparams: json file with params for hundreds of altcoins, js/php bindings.  (Read 182 times)
danda (OP)
Full Member
***
Offline Offline

Activity: 203
Merit: 168


View Profile WWW
July 03, 2018, 08:39:14 AM
Merited by achow101 (5), ABCbits (2), HeRetiK (1)
 #1

I made a tool that parses bitcoin derived codebases and extracts relevant info for each cryptocurrency, including testnet and regtest networks.

So far, over 300 altcoins have been parsed, many with testnet and regtest settings.  I believe this to be the most comprehensive listing of altcoin parameters yet produced.

The data is made available in a single JSON file for use in any language, and also there are language bindings for JS and PHP that make installation and usage dead simple.

There are also human readable summary tables in markdown format:

I began collecting data because I needed bip32 prefixes for my hd-wallet-derive tool.  However, it was a fun exercise to parse source repos and the project took on a life of its own.  I figured the data could benefit others working on multi-coin projects.

Available data for each coin / network includes:
  • symbol and name
  • Urls: website, github repo, block explorers, announcement
  • number of decimal places
  • Key prefixes:  public, private, p2sh, bip32 xpub, xprv, bech32, bip44
  • p2p port and rpc port
  • DNS seeds
  • p2p magic bytes and signing magic prefix
  • genesis block hash

Tokens are not included and no plans to do so.  XMR, ETH, and DCR are included and other non-bitcoin derived coins are welcome if people want to submit pull request for them.

The data, code, and more examples are on github.

Feedback, comments appreciated.  Please report any issues on github page.

mybitprices.info - wallet auditing   |  hd-wallet-derive - derive keys locally |  hd-wallet-addrs - find used addrs
lightning-nodes - list of LN nodes  |  coinparams - params for 300+ alts  |  jsonrpc-cli - cli jsonrpc client
subaddress-derive-xmr - monero offline wallet tool
s2
Full Member
***
Offline Offline

Activity: 198
Merit: 123


View Profile
July 06, 2018, 10:42:21 AM
 #2

Excellent work, looks like this will be very useful to people!
MixMAx123
Full Member
***
Offline Offline

Activity: 161
Merit: 168


View Profile
February 18, 2020, 09:46:55 AM
 #3

Great project.
Will it continue to be maintained?
Would like to use it if it is current.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!