0

I want to create a game where users can win Bitcoins playing my games I created or perhaps other online games. What APIs do similar applications use to achieve this? how do they host the Bitcoins? do they use their own hosted wallet, bitpay? Bitcoin escrow?

1
  • I imagine it would be nice to integrate it in some MMO with millions of players, like WoW for example, who play for months on no end :) Great idea, keep me posted! Feb 24, 2014 at 20:38

2 Answers 2

1

If you can afford storing the ~20GiB of blockchain on your disk, then bitcoind is a good bet. Otherwise, check out electrum, it has a very similar API, though there are some quirks. For the most lightweight solution, check out blockchain.info API, this should be the same API as bitcoind's.

1

The bitcoin software has it's own API.

Simply put, they run the bitcoind software and use RPC-JSON as the API.

EDIT : changed according to comment. Other implementations of Bitcoin also have their own APIs

1
  • 1
    This is an arcane, arcane point, but protocols don't have APIs. Implementations of protocols have APIs. Hence, bitcoind, an implementation of the Bitcoin protocol, exposes an API. Other implementations of the bitcoin protocol publish their own APIs.
    – ChrisW
    Feb 24, 2014 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.