Technical implementation

  • Deployments initialize the brc-20. Do not affect state

  • Mints provide a balance to only the first owner of the mint function inscription

  • Transfers deduct from the senders balance and add to the receivers balance, only upon the first transfer of the transfer function.

Deploy brc-20

{ 
  "p": "brc-20",
  "op": "deploy",
  "tick": "ordi",
  "max": "21000000",
  "lim": "1000"
}
KeyRequired?Description

p

Yes

Protocol: Helps other systems identify and process brc-20 events

op

Yes

Operation: Type of event (Deploy, Mint, Transfer)

tick

Yes

Ticker: 4 letter identifier of the brc-20

max

Yes

Max supply: set max supply of the brc-20

lim

No

Mint limit: If letting users mint to themsleves, limit per ordinal

dec

No

Decimals: set decimal precision, default to 18

Mint brc-20

{ 
  "p": "brc-20",
  "op": "mint",
  "tick": "ordi",
  "amt": "1000"
KeyRequired?Description

p

Yes

Protocol: Helps other systems identify and process brc-20 events

op

Yes

Operation: Type of event (Deploy, Mint, Transfer)

tick

Yes

Ticker: 4 letter identifier of the brc-20

amt

Yes

Amount to mint: States the amount of the brc-20 to mint. Has to be less than "lim" above if stated

Transfer brc-20

{ 
  "p": "brc-20",
  "op": "transfer",
  "tick": "ordi",
  "amt": "100"
}
KeyRequired?Description

p

Yes

Protocol: Helps other systems identify and process brc-20 events

op

Yes

Operation: Type of event (Deploy, Mint, Transfer)

tick

Yes

Ticker: 4 letter identifier of the brc-20

amt

Yes

Amount to transfer: States the amount of the brc-20 to transfer.

Last updated