How can I add a message and possibly a jpeg to the blockchain?

6 replies 486 views
d4n_tokenMember
Posts: 2 · Reputation: 42
#1Jul 5, 2017, 04:58 PM
What's the deal with adding messages to the blockchain? like, can I just drop "#happyepsteinday" in there? Do I need any special software for this?
5 Reply Quote Share
gang2015Member
Posts: 215 · Reputation: 62
#2Jul 5, 2017, 06:54 PM
You gotta be careful. Bitcoin Knots doesn't relay that kind of transaction by default. You might want to try it on the testnet first. Just grab the UniSat wallet, get some test coins, and go to their inscribe feature. It’s pretty simple.
1 Reply Quote Share
d4n_tokenMember
Posts: 2 · Reputation: 42
#3Jul 5, 2017, 09:42 PM
Nah, I'm looking to do it on the mainnet though... I’m on a 29.2 core, and really wanna do it directly via CLI or bitcoinqt. I thought they updated for this purpose, right? It's about not being censored, so how do I actually do it?
6 Reply Quote Share
diamond_minerFull Member
Posts: 47 · Reputation: 623
#4Jul 6, 2017, 03:57 AM
Have you checked out Electrum? It lets you do it, just keep in mind the syntax changed in the latest version. You need to convert your message to hex like this: "#happyepsteinday" becomes 2368617070796570737465696e646179. Then you build your transaction around that.
2 Reply Quote Share
Ba5edGuruFull Member
Posts: 25 · Reputation: 349
#5Jul 6, 2017, 04:13 AM
LOL why would you even wanna put that on the blockchain? Like, why not use a calendar app instead or just jot it down in a notebook? If it's just for testing, go with testnet. The blockchain isn't really made for this stuff, right?
1 Reply Quote Share
gang2015Member
Posts: 215 · Reputation: 62
#6Jul 6, 2017, 07:03 AM
For OP_RETURN, there's a nice guide online that walks you through it. Just a heads up, if you’re messing with witness data, it gets tricky. You could lose your funds if you’re not careful with your raw transactions.
2 Reply Quote Share
0xChadNewbie
Posts: 138 · Reputation: 3
#7Jul 6, 2017, 07:15 AM
You can actually do that pretty easily now. Just use the new send command in Bitcoin Core. Just include your hex-encoded message or image in the outputs. It’ll handle the rest for you, so check out the docs for more info.
6 Reply Quote Share

Related topics