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

From learning to earning

Jobs that call for the skills explored in this talk.

Data Analyst

Blockchain.com
Paris, France

Remote
Intermediate
R
C++
Java
Python
+2