Author

Topic: How to execute bitcoin transactions in a decentralized way? (Read 125 times)

hero member
Activity: 1806
Merit: 672
Other than what others have mentioned already I came to a news about Twitter disabling you to post a Tweet when you include a Bitcoin address on your Tweet so I guess this is not a good option for your project. I won't also recommend you posting a QR code for a payment request because if someone reported your QR code for being a BTC address then chances are your account will be blocked. Also I don't have any Twitter account so I don't have any way of confirming if this is still the case or it is just a temporary ban for addresses given by the recent Twitter hack.
legendary
Activity: 2212
Merit: 7064
I'm working on a project to automate donating bitcoins to charity every time a specific user mentions #Bitcoin on Twitter. To make this possible, people who want to donate would need to send bitcoins to an address holding all the coins in the meantime. And then when the condition is met (person mentions #bitcoin in a tweet), the bitcoins would be sent to the bitcoin address of a charity.

Obviously for security reasons, I shouldn't know the private key of the address holding the donations or that would allow me to control the donations. So I'm trying to figure out how can the donations be sent to charity without any one person knowing the private key of the wallet?

You can't do this directly with Bitcoin blockchain but maybe it would be possible with some second layer solution and smart contracts built on top of Bitcoin.
Problem is that most of this solutions are not popular with only few people really using them, and one person holding and collecting all bitcoins is never a good idea without some multisig solution.

I am not sure if tweeter is still allowing posting of bitcoin addresses or they are deleting them all by default, and they are changing stuff all the time making your idea even harder to work in reality.
legendary
Activity: 1904
Merit: 1563
I'm working on a project to automate donating bitcoins to charity every time a specific user mentions #Bitcoin on Twitter. To make this possible, people who want to donate would need to send bitcoins to an address holding all the coins in the meantime. And then when the condition is met (person mentions #bitcoin in a tweet), the bitcoins would be sent to the bitcoin address of a charity.

Obviously for security reasons, I shouldn't know the private key of the address holding the donations or that would allow me to control the donations. So I'm trying to figure out how can the donations be sent to charity without any one person knowing the private key of the wallet?

Thank you



You're just basically making your own bank where you make people send you their coins as a donation and your project act as a middle-man or an escrow. And no, there is no way that you can publish an online donatable address without knowing your private key, and even the fact that not knowing an address' private key makes this concept much worse. Hence, if you wanted to have an automated charity donations with every twitter bitcoin hashtags, better instead just make it a clear direct charity. There is no such thing as "Decentralized Charity Platform" that can accept Bitcoin Donation without the safety and security of the funds being considered.
copper member
Activity: 1554
Merit: 489
Stop the war!
I'm working on a project to automate donating bitcoins to charity every time a specific user mentions #Bitcoin on Twitter. To make this possible, people who want to donate would need to send bitcoins to an address holding all the coins in the meantime. And then when the condition is met (person mentions #bitcoin in a tweet), the bitcoins would be sent to the bitcoin address of a charity.

Obviously for security reasons, I shouldn't know the private key of the address holding the donations or that would allow me to control the donations. So I'm trying to figure out how can the donations be sent to charity without any one person knowing the private key of the wallet?

Thank you


You cannot send bitcoins anywhere without knowing the conditions. The condition may not by only "private key" but more complicated (or simple).

BTW
I thought better and seems there is a bit complicated way for your request.
Read about Azure key Vault. Your donator can store his keys there and your program can sign transactions without knowing actual private keys. But your program, of course, can send all the money to any address instead of the address where the donor wanted.

legendary
Activity: 2352
Merit: 6089
bitcoindata.science
I'm working on a project to automate donating bitcoins to charity every time a specific user mentions #Bitcoin on Twitter. To make this possible, people who want to donate would need to send bitcoins to an address holding all the coins in the meantime. And then when the condition is met (person mentions #bitcoin in a tweet), the bitcoins would be sent to the bitcoin address of a charity.

Obviously for security reasons, I shouldn't know the private key of the address holding the donations or that would allow me to control the donations. So I'm trying to figure out how can the donations be sent to charity without any one person knowing the private key of the wallet?

Thank you



You cannot spend bitcoins without knowing the private key.
So, you cannot spend my bitcoins when you mention #bitcoin in your twitter account.

But you can fire up emails with your tweet/public address (and qr code) when you mention #bitcoin. The user would only have to scan your QR code in the e-mail to send the donation


You can also generate a full Payment Request using blockchain.com website and email it to your donators, like this one ( i requested 50 usd for this address)


https://www.blockchain.com/btc/payment_request?address=191sNkKTG8pzUsNgZYKo7DH2odg39XDAGo&message=Donate%20here&amount=0.00096199

To create a payment request like this, just click this button in your address page in blockchain.com explorer:


When you click in Create payment you will receive a URL which you can share.
newbie
Activity: 1
Merit: 0
I'm working on a project to automate donating bitcoins to charity every time a specific user mentions #Bitcoin on Twitter. To make this possible, people who want to donate would need to send bitcoins to an address holding all the coins in the meantime. And then when the condition is met (person mentions #bitcoin in a tweet), the bitcoins would be sent to the bitcoin address of a charity.

Obviously for security reasons, I shouldn't know the private key of the address holding the donations or that would allow me to control the donations. So I'm trying to figure out how can the donations be sent to charity without any one person knowing the private key of the wallet?

Thank you

Jump to: