Author

Topic: insight-api, dump addresses with positive balance (Read 163 times)

newbie
Activity: 30
Merit: 0
Hello!

I'm not experienced with leveldb, insight or nodejs.

I have the latest https://bitcore.io/ up and running with insight-api.

What I'm trying to accomplish is to get all addresses with a positive balance in JSON.


E.g:
Code:
[
{
"address": "152f1muMCNa7goXYhYAQC61hxEgGacmncB",
"satoshi": 9444791124
},
{
"address": "152f1muMCNa7goXYhYAQC61hxEgGacmncB",
"satoshi": 12615867764
}
]
I understand that this is not optimal, and it is not for production use.*

I have tried using this parser https://github.com/SynRgTechnology/InsightParsers, but I'am unable to get it working correctly.
I opened an issue about it in the GitHub repository.

But to be honest, it shouldn't be that difficult to parse the db without any extra packages, since everything is already organized by insight.

If anyone have a working implementation, I would be very grateful if you could share it.

Thanks.

Jump to: