Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
added a coin
  • Loading branch information
guggerf authored Sep 1, 2017
1 parent c5eb300 commit 43287da
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions bitcoin-networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,26 @@ param identical!
HDCoinType: 4,
```
## Myraid (XMY)
Source: https://github.com/myriadteam/myriadcoin/blob/master/src/chainparams.cpp
```cpp
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,50);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,9);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,178);
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> >();
```

Testnet
```cpp
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,88);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,188);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >();
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();
```

## Mapping list
found a list of altcoin mapping....maybe this helps
Source: https://github.com/libbitcoin/libbitcoin/wiki/Altcoin-Version-Mappings
Expand Down

0 comments on commit 43287da

Please sign in to comment.