Bitcoin Forum
April 26, 2024, 01:07:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to create op_return transaction in electrum?  (Read 333 times)
flexiroute (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 12, 2018, 05:31:05 AM
 #1

I was browsing coinsecrets.org and I came up with this type of tx https://blockchain.info/tx/84566b60c48fcf3098c58864c341c9da63aecaeda7002143d717cc5aea78d9b8
The addresses start with "bc1q"
I just wanted to know how to construct these type of transactions?
How to create OP_RETURN transactions in electrum?
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714093644
Hero Member
*
Offline Offline

Posts: 1714093644

View Profile Personal Message (Offline)

Ignore
1714093644
Reply with quote  #2

1714093644
Report to moderator
1714093644
Hero Member
*
Offline Offline

Posts: 1714093644

View Profile Personal Message (Offline)

Ignore
1714093644
Reply with quote  #2

1714093644
Report to moderator
1714093644
Hero Member
*
Offline Offline

Posts: 1714093644

View Profile Personal Message (Offline)

Ignore
1714093644
Reply with quote  #2

1714093644
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3430
Merit: 10499



View Profile
January 13, 2018, 04:14:13 AM
 #2

addresses starting with "bc1" have nothing to do with OP_Return. these addresses are the new format known as Bech32[1] which are used for SegWit transactions.

as for OP_Return, the transaction you posted here has been dropped from mempool apparently so i can't see what it was. but you can see examples of it here: https://www.smartbit.com.au/op-returns

as for creating them with Electrum, i don't know any easy way of doing it apart from creating them elsewhere and then just using Electrum for signing the final transaction. be careful with these things if you are not familiar with them.

[1] https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
byteball
Member
**
Offline Offline

Activity: 266
Merit: 42

The rising tide lifts all boats


View Profile
May 25, 2018, 04:58:38 AM
 #3

Hi flexiroute,

if you still need this knowledge I may write a short article about this if there's enough interest.

To be short, you create an usual tx in Electrum, export it to file as "hex", edit it in some way,
check with deserialize() in console, edit again until you are happy with the result, signtransaction(), broadcast()

It's important not to burn coins that you didn't intend to burn, and not to give away too much to the miner in the process :=)

Ceterum censeo Civitatem Profunda esse delendam
jkister0
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 01, 2018, 01:12:44 AM
 #4

if you still need this knowledge I may write a short article about this if there's enough interest.

Google brought me here because I was interested.
bellajbadr
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
August 01, 2018, 08:17:07 AM
 #5

Hi flexiroute,

if you still need this knowledge I may write a short article about this if there's enough interest.

To be short, you create an usual tx in Electrum, export it to file as "hex", edit it in some way,
check with deserialize() in console, edit again until you are happy with the result, signtransaction(), broadcast()

It's important not to burn coins that you didn't intend to burn, and not to give away too much to the miner in the process :=)

can you share the article's Url
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
August 01, 2018, 12:36:02 PM
Merited by HCP (2)
 #6

you can enter script in the payto field on the send tab. so just enter your opcodes there.
byteball
Member
**
Offline Offline

Activity: 266
Merit: 42

The rising tide lifts all boats


View Profile
August 01, 2018, 01:41:36 PM
 #7

you can enter script in the payto field on the send tab. so just enter your opcodes there.
Didn't know this, thanks!
I probably used a lot more difficult way. The article hasn't been written (about my way), and it was a while ago.
Next time I need OP_RETURN I will try payto.

Ceterum censeo Civitatem Profunda esse delendam
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!