Hello,
I'm in the process of developing a Bitcoin based project using the blockchain.info wallet API to send and receive payments. I.e. this one:
https://blockchain.info/api/blockchain_wallet_apiI wanted my development to be as test driven as possible, with automated tests to confirm that my logic for dealing with transactions was working. I didn't want to use real coins for testing, since this would be quite costly...
I came up with this mini project that I would like to share:
https://github.com/limikael/blockchainwalletmockIt is a mocked version of the blockchain.info wallet api that stores all transactions in a local database. Callbacks and everything works in the same way as the real thing, and there are methods to simulate incoming payments as well as confirmations.
It is not 100% complete, I only implemented the methods I was using myself, and it's probably full of curious bugs.
But please give it a test!
Feedback much welcome!