Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Nicolas Dorier on February 04, 2015, 03:35:35 PM



Title: An open source Blockchain Indexer : RapidBase
Post by: Nicolas Dorier on February 04, 2015, 03:35:35 PM
Just to let you know, I am developing an open source Blockchain Indexer called RapidBase.

The reasons :
  • Existing API provider are crap
  • No API Provider support colored coins (Open Asset, except coinprism)
  • No API Provider support Stealth Address (coming soon)
  • They don't have nice REST interface
  • They don't allow to make multi sig wallet easily
  • When the sources are closed, innovation stays stuck at the API provider level

This work is experimental for now, so expect frequent breaking changes.
A nuget package for .NET, entirely integrated to NBitcoin is already out. (but not complete)
The nuget package will be compatible IOS, Android, Windows Phone, and Tablets in the future.
This will allow development of wallets on multiple plateform with a common source code, while mitigating privacy concern by allowing people to host their own rapidbase server if they want.

RapidBase is a JSON API on top of NBitcoin.Indexer and depends on Microsoft Azure.

Github : https://github.com/OS-RapidBase/RapidBase (https://github.com/OS-RapidBase/RapidBase)
Nuget : http://www.nuget.org/packages/RapidBase.Client (http://www.nuget.org/packages/RapidBase.Client)
Public instance : http://rapidbase-test.azurewebsites.net/ (http://rapidbase-test.azurewebsites.net/)

We'll write more about it in the future.


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: samson on February 08, 2015, 11:39:09 PM
How are you accessing all the data ? I've been working on something similar which pulls data from blockchain scans.

I've been using RPC calls to the bitcoin daemon to get the block hash, block header and then iterate through each transaction in each block I'm interested in.

Edit: I followed your links - this looks like a nice package.


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: Nicolas Dorier on February 09, 2015, 12:44:29 PM
RapidBase depends on NBitcoin.Indexer.
The Indexer have a console app that index all blocks/address/transactions of the blockchain in Azure Storage by connecting to a trusted node.
I'm not using RPC but directly using the bitcoin protocol.

RapidBase does not depends on the node, only on the Azure Storage.

The indexer is scalable, and thead safe, which mean you can have eventually several indexer console app on several node running at the same time without problem. (this help for resilience purpose)

All of that is not yet well documented, I will do it when the code start to stabilize.



Title: Re: An open source Blockchain Indexer : RapidBase
Post by: johny1976 on February 09, 2015, 01:53:05 PM
What can you achieve with this improved indexer?


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: Nicolas Dorier on February 10, 2015, 12:02:29 AM
What can you achieve with this improved indexer?

You can see a small summary here : http://rapidbase-test.azurewebsites.net/ (http://rapidbase-test.azurewebsites.net/)
  • Query blocks
  • Query transactions
  • Query balance of arbitrary address
  • Creation of a wallet
  • Query balance of a wallet

Balances support colored coins and soon Dark wallet (so you can give you stealth key to the indexer, and it will find your stealth coin)


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: Nicolas Dorier on February 17, 2015, 03:35:51 PM
Developping a desktop wallet (Windows only) on top of it.

https://i.imgur.com/4sc3fR4.png

Roadmap:
•Transaction Builder interface
•Colored Coin integration (Open Asset)
•Dark wallet integration
•Splitting/Consolidating coins
•Wallet management and tracking (mixing BIP38, BIP32, Stealth Address, normal address, colored or not, multi sig or not)

Url : https://github.com/NicolasDorier/PowerWallet (https://github.com/NicolasDorier/PowerWallet)


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: rfcdejong on February 17, 2015, 09:37:59 PM
Nice functionality and i love every project using Azure :)

But i think you will use lots of DTU hehe


Title: Re: An open source Blockchain Indexer : RapidBase
Post by: Nicolas Dorier on February 17, 2015, 09:49:05 PM
Nice functionality and i love every project using Azure :)

But i think you will use lots of DTU hehe
That's ok, I think the full blockchain cost something like 15€ (using only azure storage, I'm not using sql server), which is part of my msdn subscription anyway.
The website is free for my traffic needs.