SOUR Explorer
Recently I've been learning Node.js, Socket.io, BITBOX-sdk, SLP-sdk, SLPDB, among other languages & modules. One of the new apps I've created recently is a SOUR (SLP Token) Explorer. Right now it is still in the early stages but available at:
http://sour-explorer.ddns.net
This is a simple Node.js app, utilizing Express, Request, Socket.io, SLPDB & slp-sdk that allows you to view the latest stats & transactions of the SOUR SLP Token. Right now each time the page is refreshed, the application makes queries to the SLPDB and returns the latest unconfirmed/confirmed transactions & other statistics. Currently the query is limited at 50 so it will grab the latest 50 SOUR transactions on the Bitcoin Cash Blockchain. In the future, I hope to have it returning real-time data through a socket with SLPDB without the need for refreshing the page.
The code for the SOUR-Explorer is available on GitHub at: https://github.com/KeepBitcoinFree-org/SOUR-explorer
Within the SOUR Explorer server-side code, I am using the below query to pull all conf & unconf tx:
const querySOURslp = {
"v": 3,
"q": {
"find": {"slp.detail.tokenIdHex" : "6448381f9649ecacd8c30189cfbfee71a91b6b9738ea494fe33f8b8b51cbfca0"},
"limit": 50
},
}
To actually run the query, I am using the slp-sdk provided by Bitcoin.com:
(async () => {
let res = await SLP.SLPDB.get(querySOURslp);
})();
You can run your own test queries on https://slpdb.bitcoin.com/explorer or leave it blank to see all JSON data returned.
SOUR is a Simple Ledger Protocol (SLP) token that is built on the Bitcoin Cash, BCH, blockchain. SOUR is used by the community for tipping good content & rewarding those promoting Bitcoin Cash and adoption. There are planned BCH & SLP airdrops for SOUR holders outlined in the Airdrop schedule on the website. We will be working on more use cases for SOUR in the future as the possibilities and opportunities for Simple Ledger Protocol & Bitcoin Cash grow. For more info, visit https://keepbitcoinfree.org/SOUR.
More Node.js applications on in the works, stay tuned to KeepBitcoinFree.org & SOUR.
Additional documentation used in creating the SOUR Explorer:
https://nodejs.org/
https://socket.io/
https://github.com/Bitcoin-com/bitbox-sdk
https://developer.bitcoin.com/bitbox/docs/getting-started/
https://simpleledger.cash/project/slp-sdk/
https://github.com/simpleledger/SLPDB/blob/master/README.md
YOU ARE ACTUALLY AN AMAZING PERSON . From what I have read about your blog post on read.cash you see to be sort of a genius!! You have such amazing talent and have utilized it quite well. Great job man looking forward to reading more of your amazing articles int he future. I have just subscribed to you !!!! and anyways thanks a lot for upvote which you had given me previously.