simpleledger/slpjs

Can I decouple this from bitbox network?

Closed this issue · 3 comments

p0o commented

Is it possible to use the util functions in this library to judge the UTXOs that I receive from other nodes? For example from BCHD or insomnia which gives you indexed UTXOs.

there's a more lightweight succinct version here: slp-validate

p0o commented

This one only validate if it's gonna burn SLPs or not? I want to get UTXOs that are non-slp, not to just validate if it's gonna burn or not. I like the function getAllSlpBalancesAndUtxos in this library but Bitbox is slow and I want to use faster nodes like BCHD. Is it possible?

You don't need to run BitboxNetwork class, there is a BchdNetwork class.