Closed mikehearn closed 1 year ago
I am in favour of this as there wouldn't be any renaming, I guess.
Reported by c.lopez@kmels.net
on 2015-04-10 04:34:41
I guess "Coin" is much more widely used than "Fiat" so a change to Fiat wouldn't be
that impactful. If Coin can be kept source compatible then that'd be OK with me. I'm
not sure if there's huge value to it, but ok ...
Reported by mh.in.england
on 2015-04-10 09:30:37
That sounds like a reasonable approach, Mike.
I think the value will come from integrating with applications that handle multiple
fiat and crypto currencies (e.g. accounting software, currency trading applications,
multi currency wallets, etc.) It will also be possible to create bitcoin currency formatting
that uses the same APIs as those for fiat currencies. The value should increase when
(or if) applications start using these APIs and various plugins ('providers') are developed.
I'm experimenting with this stuff now on another project and will report back what
I've learned.
Reported by sean@msgilligan.com
on 2015-04-11 01:37:43
As an example of value, Spring 4.2 will support Java Money for parsing and formatting
currency amounts. This means a bitcoinj plugin should give Spring-based web apps Bitcoin
currency parsing and formatting "automatically":
https://jira.spring.io/browse/SPR-12209
(Although this doesn't necessarily require integration with the Coin class)
Reported by sean@msgilligan.com
on 2015-04-14 22:35:54
Nice to see this over on GitHub :) Thanks, @mikehearn !
p.s. Feel free to assign to me.
JFYI In JavaMoney examples there is small bitcoin currency provider
And some presentation from one of the authors of JavaMoney
When you start to implement this issue please leave a comment here or me know. I'm working on migration money classes in my company to JavaMoney and hope that some of my experience may be useful for you.
Thank
@stokito I've created a module in my bitcoinj-addons repository that a Bitcoin currency provider based on the one from javamoney-shelter
. I've also added a prototype adapter that will wrap and adapt the Exchange
interface from the extensive XChange library of Bitcoin exchange clients. See the README section
An update on this:
consensusj-currency
and consensusj-exchange
modules. Feel free to try it out and submit issues or pull-requests.bitcoinj-core
dependent upon JavaMoney.@schildbach I opened this issue on Google Code, but since Mike imported it to GitHub, I can't close it. I recommend we close it.
Originally reported on Google Code with ID 614
Reported by
sean@msgilligan.com
on 2015-04-10 01:17:46