<p>The use of scrypt vs SHA256 has an impact on proof of work but no impact on the signature scheme or transaction structures. The only thing that should impact you when using this library is the address prefix that differs with altcoins.</p>

<p>The standard address prefix for Bitcoin is 0. For Dogecoin for example it's 30. So you could reuse that same library and generate valid Dogecoin transactions just by passing that additional parameter to the pubtoaddr function like so:</p>

<pre><code>pub = pubtoaddr(pub, 30)
</code></pre>

CC BY-SA 3.0
2014-12-18T23:31:49.150Z
2014-12-18T23:31:49.150Z
Matthieu
<p>I'm looking for a library similar to <a href="https://github.com/vbuterin/pybitcointools" rel="nofollow">this bitcoin one</a> but that works with scrypt based coins. </p>

<transactions><signature><scrypt>
Is the a library for generating signatures and transactions for scrypt coins?
Loourr
# Is the a library for generating signatures and transactions for scrypt coins?

(Asked by: username_0 on 2014-12-14)

I'm looking for a library similar to [this bitcoin one](https://github.com/vbuterin/pybitcointools) but that works with scrypt based coins.

**Tags:** transactions, signature, scrypt


---

## 1 answers

### Answer by username_1 on 2014-12-18. Score: 3

The use of scrypt vs SHA256 has an impact on proof of work but no impact on the signature scheme or transaction structures. The only thing that should impact you when using this library is the address prefix that differs with altcoins.

The standard address prefix for Bitcoin is 0. For Dogecoin for example it's 30. So you could reuse that same library and generate valid Dogecoin transactions just by passing that additional parameter to the pubtoaddr function like so:

```
pub = pubtoaddr(pub, 30)

```


---

