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)

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

Double hash in Bitcoin

what exactly is this? Does this mean every TX gets hashed twice? How does it help to filter the content from the block chain (As Dr. Wright said)? Why cant i hash it just once and save the hash of the TX and prune the data (illegal)? Isnt the content now filtered with just a single hash? or am i getting it wrong?

Submit an answer See answers Share on Twitter Share on Facebook

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

Provide examples of multi-sig scripts

What are the possible Bitcoin scripts to create a multi-sig transaction? Please provide the script code with explanations.

I would like to see at least two types of such scripts explained (OP_CHECKMULTISIG and the one with conditional OP_IF statements that Steve Shadders showed at this CoinGeek Seoul presentation). If there are more options, please list them as well.

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