Skip to content

Commit

Permalink
Add SmartCash
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Nov 22, 2017
1 parent 6da3348 commit cb5a4f5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bitcoin-networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ var bitcoinNetworks = [{
wif: 0xc1,
bip44: 0x69
}
}, {
label: 'SMART (SmartCash)',
config: {
messagePrefix: 'unused',
bip32: {public: 0x0488b21e, private: 0x0488ade4},
pubKeyHash: 0x3f,
scriptHash: 0x12,
wif: 0xbf,
bip44: 0xe0
}
}, {
label: 'PIVX (PIVX)',
config: {
Expand Down
11 changes: 11 additions & 0 deletions bitcoin-networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ Source: https://github.com/stratisproject/stratisX/blob/master/src/chainparams.c
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();
```

## SmartCash (SMART)
Source: https://github.com/SmartCash/smartcash/blob/1.0.0/src/chainparams.cpp#L142

```cpp
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,63);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,18);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,191);
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >();
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector<unsigned char> >();
```

## ReddCoin (RDD)
Source: https://github.com/reddcoin-project/reddcoin/blob/master/src/chainparams.cpp

Expand Down

0 comments on commit cb5a4f5

Please sign in to comment.