Overview

Introduction

SARC-20 is the first inscription token protocol on SatoshiVM. SARC-20 draws inspiration from Ethscriptions and brc-20. Ethscriptions facilitates to incorporate inscription content into the transaction calldata on Ethereum. Learn more about Ethscription. Brc-20 is a protocol that enables the creation of tokens on Bitcoin, based on the Ordinal protocol. Learn more about brc-20.

An SARC-20 Instance

Create SARC-20 inscriptions on SatoshiVM Testnet as follows:

1. Convert the data URI into Hex.

Data before conversion:

data:,{"p":"sarc-20","op":"deploy","tick":"sarc","max":"21000000","lim":"1000"}

Calldata after conversion:

0x646174613A2C7B2270223A22736172632D3230222C226F70223A226465706C6F79222C227469636B223A2273617263222C226D6178223A223231303030303030222C226C696D223A2231303030227D

2. Inscribe via transfers

Send the Hex calldata to your own address with 0 BTC. After a few blocks it should appear on you SARC-20 dashboard.

Limitations

There are some specific restrictions for SARC-20 indexing mechanism:

  • Inscription through contract events is not supported.

  • Inscription data must start with the prefix: data:,{"p":"sarc-20"

Last updated