BITCOIN payments OP RETURN parameter

0 votes

I want to automate BITCOIN payments and I need to make a donate button that sends an additional OP_RETURN parameter with the value of the encrypted order id. I just want to send a small message with the payment. I have documented myself a little bit and I saw that OP_RETURN parameter may help me.

OP_RETURN : http://bitzuma.com/posts/op-return-and-the-future-of-bitcoin/

How do I make that happen? Is there a wallet that does that? Or I have to do it from bitcoin-cli?

I also want to make this in PHP and here is an example that i don't understand : https://github.com/coinspark/php-OP_RETURN

I mean I need a button that will make a payment with that encrypted orde

Mar 16 in Blockchain by Soham
• 8,740 points
59 views

1 answer to this question.

0 votes

Try doing the server side via encrypted and authenticated client using BIP 70 - AKA The Bitcoin Payment Protocol. You can create a browser side client to do as you described but you do not want to trust the data the client sends along without verification and checking the transaction before it is sent to the network will not make you trustworthy as a merchant but rather a MIM between the user and the blockchain.

answered Mar 24 by Rahul
• 9,000 points

Related Questions In Blockchain

+1 vote
1 answer
0 votes
1 answer
+1 vote
2 answers

What if a bitcoin clients could create identical private keys?

If this happens, then Person B will ...READ MORE

answered Aug 28, 2018 in Blockchain by Evan
222 views
0 votes
1 answer

How Bitcoin wallet find unspent transaction output(UTXOs)?

The wallet apps are connected to the ...READ MORE

answered May 22, 2018 in Blockchain by Shashank
• 10,400 points
538 views
0 votes
0 answers

BITCOIN payments, OP_RETURN parameter

I want to automate BITCOIN payments and ...READ MORE

Apr 4 in Blockchain by Rahul
• 9,000 points
27 views
0 votes
0 answers

How do I use PHP to get the current year?

I want to put a copyright notice ...READ MORE

Jun 9 in PHP by Kichu
• 19,040 points
17 views
0 votes
0 answers

Need XAMPP with PHP 5.4 version - windows

Can someone please share with me any ...READ MORE

Jun 21 in PHP by narikkadan
• 11,280 points
18 views
0 votes
0 answers

Switch php versions on commandline ubuntu 16.04

On my Ubuntu 16.04, I've installed PHP ...READ MORE

Jul 30 in PHP by Kithuzzz
• 3,480 points
6 views
0 votes
1 answer

How to set fee in raw bitcoin transaction using btcutil

To answer your question, the settxfee is ...READ MORE

answered Mar 24 in Blockchain by Rahul
• 9,000 points
109 views
0 votes
1 answer

How can I verify my bitcoin transaction independently?

Transactions are verified by miners, they do ...READ MORE

answered Mar 24 in Blockchain by Rahul
• 9,000 points
45 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP