0.0.5 • Published 3 years ago
@hypereon/chains v0.0.5
Hypereon - Chains
JavaScript dictionary of blockchain specifications inspired from coinkey with additional fields and values.
Installation
npm install @hypereon/chains
Usage
import { chains } from '@hypereon/chains';
const { main, test } = chains.btc;
import { btc } from '@hypereon/chains';
const { main, test } = btc;
Example Output:
btc: {
main: {
name: 'Bitcoin',
decimalPlaces: 1e8,
unit: 'BTC',
messagePrefix: '...,
messagePrefixAlts: [...],
hashGenesisBlock: '...',
port: 8333,
portRpc: 8332,
protocol: {...},
bech32: '...',
seedsDns: [...],
versions: {...}`
}
}
Supported Chains
- BitcoinCash (BCH)
- BlackCoin (BLK)
- Bitcoin (BTC)
- Bitcoin Gold (BTG)
- c0ban (RYO)
- CityCoin (CITY)
- Dash (DASH)
- Decred (DCR)
- DigiByte (DGB)
- Denarius (DNR)
- Dogecoin (DOGE)
- Evrmore (EVR)
- Groestlcoin (GRS)
- Litecoin (LTC)
- Monacoin (MONA)
- NuBits (NBT)
- Namecoin (NMC)
- Peercoin (PPC)
- Qtum (QTUM)
- ReddCoin (RDD)
- Ravencoin (RVN)
- Ritocoin (RITO)
- Viacoin (VIA)
- Vertcoin (VTC)
- x42 (x42)
Contributing
If you're interested in contributing, please read the contributing docs before submitting a pull request.
Authors
License
MIT License