Skip to main content
  • Int3face
  • Build and run
  • BRC20 Regtest
On this page Instruction on how to setup Bitcoin Regtest node alongside Ordinals node, and how to perform brc-20 tx inscription and execution.

Setup

Bitcoin Regtest Node

  1. Download the binaries, extract to the bin folder
  1. Create home dir for bitcoin
  1. Initialize configuration file at ~/.bitcoin/bitcoin.conf
  1. Start the node
  1. Verify the node is working

Ord Node

Prerequisites:
  • Rust 1.78+
  1. Clone the Ord repo
  1. Build the ord binary
Built binary will be located at {project_root}/target/release/ord
  1. Create config file for the ord server ord.yaml
  1. Start the ord node
  1. Create a wallet
Save the provided mnemonic. Your wallet name by default is ord
  1. Create a BTC address for your wallet
Use this address in the next step
  1. Mine some tokens for your wallet

Execution

Now we have everything ready to inscribe and execute brc-20 txs

Deploy BRC-20

  1. Create a json file with a deploy message
  1. Create a transaction with the inscription for your wallet
  1. Mine new block to include your tx

Mint BRC-20

  1. Create a json file with a mint message
  1. Create a transaction with the inscription for your wallet
  1. Mine new block to include your tx

Transfer BRC-20

  1. Create a json file with a transfer message
  1. Create a transaction with the inscription for your wallet
  1. Mine new block to include your tx