I am building a blockchain explorer on a livestream at
https://www.liveedu.tv/tvle83/2PY30-how-to-create-a-blockchain-explorer-with-javascript/. It is behind a paywall (I am doing it to make some extra money) and would welcome any new viewers. I have done 2, 3hour sessions so far.
I am using Javascript to build an explorer and teaching people along the way. ExpressJS, ReactJS, NodeJS and SequelizeJS to use mySQL.
I am having issues with using a NPM package called node-altcoin. I configured it properly and am able to do a getInfo using it just fine.
When I do a gettransaction with a valid txid (I get one from doing getblockhash then getblock with the result of that hash and pick a txid from that AND I have just got one off of chainz to the same effect) it says
error: {"code":-5,"message":"Invalid or non-wallet transaction id"}
I have txindex=1 set in the lasvegascoin.conf file inside of the .lasvegascoinV2 folder.
I have nuked that .lasvegascoinV2 folder and rebuilt the blockchain after i set txindex=1 just to make sure and no matter what txid i use I always get invalid or non-wallet txid. I do not own las vegas coin so I cannot test it on an actual txid. If someone wants to send some to me
VDv9fxX8CtNemBzbCJjZfungdwicajVpPu
I can check to make sure it is indeed working (But I 100% believe it would work with a txid sent to me).
Am I forgetting anything ?
Please advise,
Thank you,
tvle83