Earn Bitcoin by helping others

On BitQ&A you can get your questions answered by setting up a bounty or you can get paid by answering the community's questions.

Filter by:
Status (Open)
Category (Bitcoin)

Is it possible to use browser's crpyo primitives with bsv library?

I have some code that does a lot of HD derivation and ECIES encryption/decryption and I noticed that it runs quite slow in the browser. I did some profiling and it seems that it spends most of the time in the libraries that handle primitives (sha256 hashing, big int, …).

This makes sense as it seems that we have this primitives natively in node, but we need to use libraries in the browser. I did some Googling and it seems that newer browsers do have some support for this things so I was wondering if it is possible to use that when available? I suspect that would speed up things significantly?

I am thinking about browser’s native APIs such as SubtleCrypto and BigInt. Or even an Emscripten-compiler Javascript library such as js-nacl.

Submit an answer See answers Share on Twitter Share on Facebook

Best solution for backend BSV hot-wallet

I am looking for a solution to implement a backend hot wallet. It needs to be able to spend pretty much instantly upon API call. The refilling of the wallet can happen manually, but it needs a way to generate a new address and output it somehow so I can refill it. Bonus points if the backend wallet has a way to resolve paymail addresses. Bonus points for links to the respective library. Also helpful to know which proprietary systems exist which could be contacted to see if their system could be leveraged.

Submit an answer See answers Share on Twitter Share on Facebook
Made with in Slovenia.