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.

How do I create a counter like bitqa.app uses that increases the “Answer: 0” count and stays?

I’m a programming noob trying to build a website using Money Button and BSV blockchain. I need help (or a visual of code) writing code that increases a number on the page after the Money Button is swiped. Just how “Answers: 0” gets increased by +1 on bitqa.app after paying. I hope $5 bounty for best answer is enough. Thanks in advance!

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

What is the most interesting/exciting script that was made possible by the Genesis upgrade?

Non-standard scripts can finally be used without limits on the Bitcoin SV blockchain thanks to the Genesis upgrade. We think that this will accelerate the innovation and we will soon see a variety of new scripts being used on a regular basis.

What is the one that is the most exciting, interesting and/or powerful in your opinion? Which new use cases will it enable?

Submit an answer See answers Share on Twitter Share on Facebook

How to broadcast a transaction to the Bitcoin Peer-to-peer network?

Let’s say a developer wants to broadcast transactions from their app directly to the P2P network (not using RPC calls). How would this be done? I assume a TCP/IP connection needs to be established to one of the active nodes. What follows after that? Which messages need to be exchanged (examples would be very welcome)? Can connection be closed after the broadcast or should the app maintain its connection?

Bonus question: How to discover other nodes and broadcast the transaction to multiple peers in parallel?

Is there any curated list of the IP addresses of the nodes that belong to major miners?

EDIT: It is true that Merchant API will be the way to go when available (it is not at the moment) and that using APIs such as Matter Cloud or What’s on chain is the easiest way to do it right now. But this question is more about understanding how Bitcoin’s server network works. It is an interesting piece of technology. It might also be useful for someone - API providers need to deliver transactions to miners at some point after all.

With that said; this question remains open and bounty still waiting for the right response.

Submit an answer See answers Share on Twitter Share on Facebook

What will replace OP_CHECKLOCKTIMEVERIFY & OP_CHECKSEQUENCEVERIFY after the Genesis upgrade?

Since these two opcodes will be removed after Genesis and (from my understanding) nLockTime works in a slightly different way (prevents transaction from being included in a block vs. UTXO being locked until given time/block height), how will be possible to achieve same functionality after that?

Is it possible to build a locking/redeem script using other opcodes that achieves the same result? Or is there something else?

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