<p>There isn't yet a complete implementation AFAIK, but there are different libraries that implement bitcoin features (wallets, keys, utilities, </p>

<p>Depends on whether you want an implementation of bitcoin network protocol or wallet or just an overlay on top of the JSON-RPC interface of bitcoind.</p>

<p>Useful code on github:</p>

<p><a href="https://github.com/jgarzik/python-bitcoinrpc" rel="nofollow">https://github.com/jgarzik/python-bitcoinrpc</a> - Python interface to bitcoin's JSON-RPC API</p>

<p><a href="https://github.com/etotheipi/BitcoinArmory" rel="nofollow">https://github.com/etotheipi/BitcoinArmory</a> - Python-Based Bitcoin Software</p>

<p><a href="https://github.com/gavinandresen/bitcointools" rel="nofollow">https://github.com/gavinandresen/bitcointools</a> - Python-based tools for the Bitcoin cryptocurrency system</p>

<p><a href="https://github.com/jgarzik/python-bitcoinlib" rel="nofollow">https://github.com/jgarzik/python-bitcoinlib</a> - Bitcoin library</p>

<p><a href="https://github.com/spesmilo/electrum" rel="nofollow">https://github.com/spesmilo/electrum</a> - Electrum thin-client</p>

<p><a href="https://github.com/spesmilo/electrum-server" rel="nofollow">https://github.com/spesmilo/electrum-server</a> - Electrum server</p>

<p><a href="https://github.com/spesmilo/sx" rel="nofollow">https://github.com/spesmilo/sx</a> - Python CLI tools</p>

CC BY-SA 3.0
2013-09-11T17:44:50.537Z
2013-11-26T14:02:06.020Z
2013-11-26T14:02:06.020Z
aantonop
<p>NBitcoin is the most complete lib to date, here are links and articles about it.</p>

<p>NBitcoin Github : <a href="https://github.com/NicolasDorier/NBitcoin" rel="nofollow">https://github.com/NicolasDorier/NBitcoin</a></p>

<p>NBitcoin Nuget : <a href="https://www.nuget.org/packages/NBitcoin/" rel="nofollow">https://www.nuget.org/packages/NBitcoin/</a></p>

<p>Intro : <a href="http://www.codeproject.com/Articles/768412/NBitcoin-The-most-complete-Bitcoin-port-Part-Crypt" rel="nofollow">http://www.codeproject.com/Articles/768412/NBitcoin-The-most-complete-Bitcoin-port-Part-Crypt</a></p>

<p>Stealth Payment, and BIP38 : <a href="http://www.codeproject.com/Articles/775226/NBitcoin-Cryptography-Part" rel="nofollow">http://www.codeproject.com/Articles/775226/NBitcoin-Cryptography-Part</a></p>

<p>How to build transaction : <a href="http://www.codeproject.com/Articles/835098/NBitcoin-Build-Them-All" rel="nofollow">http://www.codeproject.com/Articles/835098/NBitcoin-Build-Them-All</a></p>

<p>Using the NBitcoin Indexer : <a href="http://www.codeproject.com/Articles/819567/NBitcoin-Indexer-A-scalable-and-fault-tolerant-blo" rel="nofollow">http://www.codeproject.com/Articles/819567/NBitcoin-Indexer-A-scalable-and-fault-tolerant-blo</a></p>

<p>How to Scan the blockchain : <a href="http://www.codeproject.com/Articles/784519/NBitcoin-How-to-scan-the-Blockchain" rel="nofollow">http://www.codeproject.com/Articles/784519/NBitcoin-How-to-scan-the-Blockchain</a> (You can dismissthe ScanState for that, now I concentrate on the indexer)</p>

CC BY-SA 3.0
2014-12-11T12:48:49.443Z
2014-12-11T12:48:49.443Z
Nicolas Dorier
<p>In addition to aantonop's links, there is also for python:</p>

<p>PyCoin <a href="https://github.com/richardkiss/pycoin" rel="nofollow">https://github.com/richardkiss/pycoin</a>  Utilities for transactions signing and verification, and creation of deterministic wallets according to the BIP0032 standard.</p>

<p>PyWallet <a href="https://github.com/jackjack-jj/pywallet" rel="nofollow">https://github.com/jackjack-jj/pywallet</a> bitcoin wallet importer/exporter</p>

CC BY-SA 3.0
2013-11-26T11:44:20.207Z
2013-11-26T11:44:20.207Z
jeorgen
<p>I want to play with the implementation to better understand the inner workings of Bitcoin. I'm familiar mostly with python and C# and found no clients in either of the languages. My C skills are rusty because I haven't done any C in last decade. </p>

CC BY-SA 3.0
2013-09-11T14:56:47.707Z
C and C# are completely different.
Piotr Kula
CC BY-SA 3.0
2013-09-11T15:31:32.547Z
@ppumkin: Yes, that's his point. He wants a C# implementation because his C is rusty.
Meni Rosenfeld
CC BY-SA 3.0
2013-09-11T15:36:30.167Z
Yes - My point was that is going to be difficult as C is based on 8086 compiler and C# on .NET Libraries. There will be a lot of headaches, especially cryptographic, which BTC is based off.
Piotr Kula
<python><library>
Is there bitcoin implementation in python or C#?
Moonwalker
# Is there bitcoin implementation in python or C#?

(Asked by: username_0 on 2013-09-11)

I want to play with the implementation to better understand the inner workings of Bitcoin. I'm familiar mostly with python and C# and found no clients in either of the languages. My C skills are rusty because I haven't done any C in last decade.

**Tags:** python, library

> **Comments:**
> **username_1**: C and C# are completely different.  
> **username_2**: @ppumkin: Yes, that's his point. He wants a C# implementation because his C is rusty.  
> **username_1**: Yes - My point was that is going to be difficult as C is based on 8086 compiler and C# on .NET Libraries. There will be a lot of headaches, especially cryptographic, which BTC is based off.  

---

## 3 answers

### Answer by username_3 on 2013-09-11. Score: 6

There isn't yet a complete implementation AFAIK, but there are different libraries that implement bitcoin features (wallets, keys, utilities,

Depends on whether you want an implementation of bitcoin network protocol or wallet or just an overlay on top of the JSON-RPC interface of bitcoind.

Useful code on github:

<https://github.com/jgarzik/python-bitcoinrpc> - Python interface to bitcoin's JSON-RPC API

<https://github.com/etotheipi/BitcoinArmory> - Python-Based Bitcoin Software

<https://github.com/gavinandresen/bitcointools> - Python-based tools for the Bitcoin cryptocurrency system

<https://github.com/jgarzik/python-bitcoinlib> - Bitcoin library

<https://github.com/spesmilo/electrum> - Electrum thin-client

<https://github.com/spesmilo/electrum-server> - Electrum server

<https://github.com/spesmilo/sx> - Python CLI tools


---

### Answer by username_4 on 2014-12-11. Score: 4

NBitcoin is the most complete lib to date, here are links and articles about it.

NBitcoin Github : <https://github.com/NicolasDorier/NBitcoin>

NBitcoin Nuget : <https://www.nuget.org/packages/NBitcoin/>

Intro : <http://www.codeproject.com/Articles/768412/NBitcoin-The-most-complete-Bitcoin-port-Part-Crypt>

Stealth Payment, and BIP38 : <http://www.codeproject.com/Articles/775226/NBitcoin-Cryptography-Part>

How to build transaction : <http://www.codeproject.com/Articles/835098/NBitcoin-Build-Them-All>

Using the NBitcoin Indexer : <http://www.codeproject.com/Articles/819567/NBitcoin-Indexer-A-scalable-and-fault-tolerant-blo>

How to Scan the blockchain : <http://www.codeproject.com/Articles/784519/NBitcoin-How-to-scan-the-Blockchain> (You can dismissthe ScanState for that, now I concentrate on the indexer)


---

### Answer by username_5 on 2013-11-26. Score: 3

In addition to username_3's links, there is also for python:

PyCoin <https://github.com/richardkiss/pycoin> Utilities for transactions signing and verification, and creation of deterministic wallets according to the BIP0032 standard.

PyWallet <https://github.com/jackjack-jj/pywallet> bitcoin wallet importer/exporter


---

