Jack Davies & Alessio Pagani

Bitcoin transactions- embedding and using data for applications built on Bitcoin SV

Can you build an entire application using only Bitcoin transactions? This guide shows developers how to embed data using OP_RETURN for truly on-chain apps.

Bitcoin transactions- embedding and using data for applications built on Bitcoin SV
#1about 4 minutes

Understanding the basic structure of a Bitcoin transaction

A Bitcoin transaction consists of inputs referencing previous outputs and new outputs containing value and locking scripts.

#2about 5 minutes

Creating and inspecting a transaction using the Bitcoin CLI

This demonstration walks through sending Bitcoin, mining a block, and inspecting the resulting transaction using command-line interface tools.

#3about 8 minutes

Embedding data in transactions with data pushes and carriers

Data can be embedded in transaction scripts using push data encoding, which can be placed in spendable or unspendable outputs like OP_RETURN.

#4about 5 minutes

Building backend data transactions with the moneybutton.js library

Learn how to programmatically create, fund, and sign a Bitcoin transaction from a backend environment using the moneybutton.js library.

#5about 4 minutes

Creating complex frontend transactions with multiple data outputs

This live demo shows how to construct a transaction with both spendable and unspendable data outputs in a frontend web application.

#6about 3 minutes

Using data protocols to structure on-chain application data

Data protocols like the B protocol provide a standardized way to encode application-specific content, such as files, onto the blockchain.

#7about 5 minutes

Uploading and retrieving files with the B protocol and Python

A practical demonstration shows how to use a Python library to upload an image to the blockchain using the B protocol and then retrieve it.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
Build With Bitcoin SV
At Bitcoin Association, we work to advance business using the Bitcoin SV (BSV) blockchain. A rebirth of the original Bitcoin, Bitcoin SV has restored the protocol to the specifications of creator Satoshi Nakamoto, resulting in a public blockchain cap...
Build With Bitcoin SV
AF
Algorand Foundation
From Hype to Code: Real Blockchain Use Cases for Developers
So you’ve wrapped your head around why blockchain exists . You’re on board with the concepts: decentralization, immutability, and trust-minimized infrastructure. But now comes the real question: What can you actually build with it? This post is for d...
From Hype to Code: Real Blockchain Use Cases for Developers
DC
Daniel Cranney
Dev Digest 177: Blockchain, jQuery and a Prompt Playground
Inside last week’s Dev Digest 177 . 😫 Do AI tools slow down developers by 20%? 📝 The State of DevSecOps ⚠️ 2.3M Chrome and Edge browsers infected by malicious extensions 🤔 Is it still worth using jQuery? 🪦 10 dead influential programming languages 💻...
Dev Digest 177: Blockchain, jQuery and a Prompt Playground
AF
Algorand Foundation
Why Blockchain? A Developer’s Perspective
For many developers, blockchain feels like that one friend who keeps trying to sell you on their side hustle: persistent, occasionally confusing, and often surrounded by hype. But behind the buzzwords and market noise lies a technology with real engi...
Why Blockchain? A Developer’s Perspective

From learning to earning

Jobs that call for the skills explored in this talk.

Data Analyst

Data Analyst

Blockchain.com
Paris, France

Remote
Intermediate
R
C++
Java
Python
+2