<p>Upon looking at the source of a number of altcoins I have found that p2sh keys are built into all the ones I checked.</p>

<p>For P2SH, the first address byte will be:</p>

<blockquote>
  <p>bitcoin: '05'<br>
  litecoin: '05'<br>
  peercoin: '75'<br>
  dogecoin: '16'<br>
  beavercoin: '05'<br>
  freicoin: '05'<br>
  protoshares: '05'<br>
  megacoin: '05'<br>
  primecoin: '53'<br>
  auroracoin: '05'  </p>
</blockquote>

<p>The tricky bit about this is that you can't nessesarily tell what network a P2SH address belongs to like you can with normal addresses.</p>

<p>The reason I wanted to know is so I could collate the version numbers for my project:</p>

<p><a href="http://github.com/ryanralph/altcoin-address" rel="nofollow">http://github.com/ryanralph/altcoin-address</a></p>

CC BY-SA 3.0
2014-01-24T05:56:17.943Z
2014-12-13T04:53:44.050Z
2014-12-13T04:53:44.050Z
ryan.ralph
<p>It appears that bitcoin addresses using p2sh keys have a different prefix to that of normal bitcoin addresses. Do other altcoins such as litecoin, peercoin, dogecoin etc include this functionality?</p>

CC BY-SA 3.0
2014-01-22T18:14:31.703Z
Most likely, they are 1:1 clones most of the time of BTC.
John T
<altcoin><p2sh>
BIP-0016 p2sh keys and altcoins
ryan.ralph
# BIP-0016 p2sh keys and altcoins

(Asked by: username_0 on 2014-01-22)

It appears that bitcoin addresses using p2sh keys have a different prefix to that of normal bitcoin addresses. Do other altcoins such as litecoin, peercoin, dogecoin etc include this functionality?

**Tags:** altcoin, p2sh

> **Comments:**
> **username_1**: Most likely, they are 1:1 clones most of the time of BTC.  

---

## 1 answers

### Answer by username_0 on 2014-01-24. Score: 5 | Accepted answer

Upon looking at the source of a number of altcoins I have found that p2sh keys are built into all the ones I checked.

For P2SH, the first address byte will be:

> bitcoin: '05'  
> litecoin: '05'  
> peercoin: '75'  
> dogecoin: '16'  
> beavercoin: '05'  
> freicoin: '05'  
> protoshares: '05'  
> megacoin: '05'  
> primecoin: '53'  
> auroracoin: '05'

The tricky bit about this is that you can't nessesarily tell what network a P2SH address belongs to like you can with normal addresses.

The reason I wanted to know is so I could collate the version numbers for my project:

<http://github.com/ryanralph/altcoin-address>


---

