Quick Start
Get started with ORC-20 by inscribing deploy, mint and transfer.
Core
Deploy
Example: deploy $ORC (the 1st ORC-20, already deployed) and the maximum supply of 21,000,000. Each minter is allowed to mint up to 10,000.
{
"p": "orc-20",
"op": "deploy",
"params": {
"tick": "orc",
"max": "21000000",
"lim": "10000"
}
}
Mint
Example: mint 10,000 $ORC (inscription number #2504160
). Mint operation maintains the initial balance. You must keep the minting inscription until the first successful send transaction has been made.
{
"p": "orc-20",
"op": "mint",
"params": {
"tick": "orc",
"tid": "2504160",
"amt": "10000"
}
}
Transfer
Example: Inscribe a transfer-inscription and send it to receiver's address.
{
"p": "orc-20",
"op": "transfer",
"params": {
"tick": "orc",
"tid": "2504160",
"amt": "1000"
}
}
Last updated