Bitcoin Forum
May 07, 2024, 02:56:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: coinparams: json file with params for hundreds of altcoins, js/php bindings.  (Read 172 times)
danda (OP)
Full Member
***
Offline Offline

Activity: 201
Merit: 157


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
1715093808
Hero Member
*
Offline Offline

Posts: 1715093808

View Profile Personal Message (Offline)

Ignore
1715093808
Reply with quote  #2

1715093808
Report to moderator
1715093808
Hero Member
*
Offline Offline

Posts: 1715093808

View Profile Personal Message (Offline)

Ignore
1715093808
Reply with quote  #2

1715093808
Report to moderator
1715093808
Hero Member
*
Offline Offline

Posts: 1715093808

View Profile Personal Message (Offline)

Ignore
1715093808
Reply with quote  #2

1715093808
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715093808
Hero Member
*
Offline Offline

Posts: 1715093808

View Profile Personal Message (Offline)

Ignore
1715093808
Reply with quote  #2

1715093808
Report to moderator
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!