Jad Wahab

Miner fee calculation and merchant API - new tools for the Bitcoin SV network

How can zero-confirmation transactions be secure? MAPI uses network topology for near-instant fraud detection, enabling a scalable peer-to-peer model for Bitcoin.

Miner fee calculation and merchant API - new tools for the Bitcoin SV network
#1about 1 minute

Introducing the Merchant API for Bitcoin nodes

The Merchant API (MAPI) provides a standardized interface for merchants and applications to interact with Bitcoin nodes and miners.

#2about 3 minutes

Revisiting Satoshi's original vision for Bitcoin scaling

Satoshi Nakamoto's early writings envisioned a network that could scale massively and where transaction fees would become essential for miners.

#3about 3 minutes

Shifting from broadcast to peer-to-peer transactions

The legacy model of broadcasting all transactions is unscalable; the correct peer-to-peer model requires the merchant to settle the transaction, similar to cashing a check.

#4about 7 minutes

How network topology helps detect double-spending

The Bitcoin network is a highly connected small-world network, which allows for rapid propagation and immediate notification of double-spend attempts to the merchant.

#5about 7 minutes

Why miner incentives make double-spending impractical

Miners are rational, non-anonymous businesses with millions invested, making them highly unlikely to risk their reputation and revenue to facilitate a fraudulent transaction.

#6about 8 minutes

Exploring services offered through the Merchant API

Miners can offer value-added services via MAPI, including double-spend alerts, Merkle proofs for transaction inclusion, and storage for nLockTime transactions.

#7about 4 minutes

The evolution of miners into transaction processors

As block rewards diminish, miners must evolve into active transaction processors offering competitive services, a shift supported by MAPI's modular design.

#8about 7 minutes

Technical implementation of the Merchant API

MAPI is defined by a BRFC specification and uses REST API calls, Miner ID for cryptographic identity, and JSON envelopes to ensure deterministic signing of responses.

#9about 4 minutes

A deterministic approach to calculating transaction fees

The fee specification uses integer math to provide a deterministic way to calculate fees, supporting different rates for standard transactions versus data-only outputs.

#10about 2 minutes

Ecosystem adoption of the Merchant API

Several major miners and services, including TAAL, Mempool, and MatterPool, have already implemented MAPI to offer differentiated transaction processing services.

#11about 6 minutes

Q&A on MAPI and offline transaction security

The discussion addresses how MAPI differs from other APIs and explains how mechanisms like SPV proofs and Miner ID provide security for transactions in low-connectivity environments.

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

d

Saby Company
Delebio, Italy

Junior

job ad

Saby Company
Delebio, Italy

Intermediate

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
CH
Chris Heilmann
Dev Digest 130 - The Diablo is in the details
News and ArticlesA mixed bag this week of security and AI news: Troy Hunt covers the “3 Billion People” national public data breach in detail, a vulnerability in Microsoft apps allowing to spy on Mac users rains on their smug parade following the Cro...
Dev Digest 130 - The Diablo is in the details
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
WeAreDevelopers LIVE days are changing - get ready to take part
BB
Benedikt Bischof
MLOps – What’s the deal behind it?
Welcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Nico Axtmann who introduced us to MLOpsAbout the speaker:Nico Axtmann is a seasoned machine learning veteran. Starting back in 2014 he observed ...
MLOps – What’s the deal behind it?

From learning to earning

Jobs that call for the skills explored in this talk.

Java Developer

Java Developer

Bitpanda
Vienna, Austria

Junior
GIT
Java
Maven
Docker
HTTP API
+5
Software Developer

Software Developer

Absolute Payment Solutions

26-45K
Intermediate
.NET Core
Microservices
Continuous Delivery
Continuous Integration