MetacoSA / QBitNinja

An Open Source and powerful blockchain API
MIT License
68 stars 42 forks source link

QBitNinjaClient cannot be instantiated with Litecoin network #42

Open toxonaut opened 6 years ago

toxonaut commented 6 years ago

new QBitNinjaClient(NBitcoin.Litecoin.Networks,Mainnet) triggers the following error:

System.NotSupportedException: "Network not supported"

Stack trace says: at QBitNinja.Client.QBitNinjaClient..ctor(Network network) in C:\Sources\rapidbase\QBitNinja.Client\QBitNinjaClient.cs:line 196

NicolasDorier commented 6 years ago

So QBitNinjaClient is the client part of the QBitNinja indexer. You need to run a QBitNinja server supporting litecoin with new QBitNinjaClient(Uri, Network).

When you do new QBitNinjaClient(Network.Main) you are using my public servers.

toxonaut commented 6 years ago

Ok, thanks, makes sense. Maybe a public Litecoin server would be another idea.

MarekJavurek commented 6 years ago

Hi, is there any public Litecoin server? Thanks

NicolasDorier commented 6 years ago

there is not. Take a look at https://github.com/dgarage/NBXplorer . It is not a public explorer but support Litecoin.