Has there been any attempt to rewrite Bitcoin in Clojure? I know about BitcoinJ, so I imagine that should be easy to port. But what about a "pure" version? Without calling Java directly? Easily portable to Scheme or other Lisps-style languages? Thanks.
-
2Not sure, but there are others that have expressed interest. e.g., bitcointalk.org/index.php?topic=970.msg13154#msg13154 – Stephen Gornick Nov 14 '12 at 0:17
-
2Not seen anything on GitHub - have thought about doing this myself, but am busy with other projects. Go for it! – Gary Rowe Nov 14 '12 at 9:34
-
2There is a pure Haskell implementation haskoin. Not sure if that helps. – Chuck Batson Dec 12 '14 at 4:20
-
// , Who is using it? – Nathan Basanese Apr 3 '17 at 18:39
There are several Bitcoin Clojure projects, but none of them appear to have a full rewrite of Bitcoin as a goal.
Of particular interest is https://github.com/johnwalker/bitcoin-protocol , which is an implementation of the Bitcoin networking protocol. It can be used to communicate with peers within Bitcoin networks.
Rewriting Bitcoin core in another language is doable, as the btcd developers have done porting it to the Go language - https://github.com/btcsuite/btcd , however it took almost a year of development time between several developers to become fully functional.