Are there any Scala libraries/implementations/projects on bitcoin?

10

1

There are quite a few Java libraries and I am building my Scala code on BitcoinJ, but obviously, native Scala libraries would be quite a bit more elegant. Has anyone tried?

stefanwouldgo

Posted 2011-09-06T07:52:05.937

Reputation: 579

A scala library would be great. Although bitcoinj is a great software, the complexity of Java makes hard to hack into. Note that I have used bitcoinj in Scala without any problems.Jus12 2014-10-29T07:33:32.127

1

Per the Area 51 example questions, programming questions are off-topic here and should be asked on Stack Overflow.

eMansipater 2011-09-06T18:09:31.983

5@eMansipater Well, that example is about urllib vs urllib2. This is about bitcoin libraries. I think that the users of this site can provide a much better answer to this question than people at Stack Overflow.nmat 2011-09-08T05:27:14.617

2As currently rephrased I am voting to re-open.eMansipater 2011-09-08T15:56:40.217

Answers

2

I really don't think it's needed. Bitcoin is a complicated project, it's better to have one canonical JVM-based library than a library in each JVM language.

AFAIK there is currently no Scala library, and I'm betting there won't be for some time (unless perhaps as a wrapper to bitcoinj?)

ripper234

Posted 2011-09-06T07:52:05.937

Reputation: 25 192

1

This an old question, but there is an implementation now:

https://github.com/bitcoin-s/bitcoin-s-core

Chris Stewart

Posted 2011-09-06T07:52:05.937

Reputation: 865

1

As far as I know there are no Scala Bitcoin libraries currently under development.

As @ripper234 suggests, you could make do with the (canonical) BitCoinJ library which is currently under heavy development. This approach is often the case with JVM languages, whose primary purpose is to leverage the quality of the underlying support libraries rather than reinventing the wheel.

However, given that Scala now has a .Net implementation, then this argument becomes weaker. Therefore I would take the stance that there is room for a native Scala implementation, just as there is one for C# (BitCoinSharp).

Although slightly off-topic this forum discussion of a C reference library (not C++/C#) brings up some interesting ideas - does it skim over a Scala library in passing.

Gary Rowe

Posted 2011-09-06T07:52:05.937

Reputation: 7 175

0

You could also check out my project: https://github.com/colinrgodsey/scalaminer

Looking to expand functionality too

Colin Godsey

Posted 2011-09-06T07:52:05.937

Reputation: 107