Deploy, Upgradable, Migration
Basics
Advanced
Example - Basic Deploy: Deploy ORC-20 token with ticker
orc
, identifier1
, nameOrcDAO
, max supply21000000
, limit per mint10000
Example - Upgradable Deploy: Only owner can upgradable deploy. (For basic deployed tokens, the default Upgradable status is
true
, so for theorc
token in Example 1 we can deploy the upgradable). Deployorc
token upgradable, changing the maximum supply from21000000
to100000000
Example - Migration Deploy: Only owner can migration deploy. Migrating
ordi
(inscription number#348020
) from BRC-20 to ORC-20 by inscribing the following migration event
After the migration, all ordi
tokens are now ORC-20. Future operations such as mint, send, and cancel must follow the ORC-20 standard.
Last updated