Regular Examples

Please understand that this is an experimental standard and know how it works before testing. Use at your own risk. Examples of balance changing events.

Deploy "xtai"

This example for demonstration purposes only.

Deploying function with required information:

{
"p": "xrc-20",
"op": "deploy",
"tick": "xtai",
"max": "21000000",
"lim": "1000"
" P ":" (xl, yl), ( xr, yr), L, S",
" K ": "{x0, y0, z0, m0, 𝛼1, 𝛼2 }"
"𝛼1":"0~255";
"𝛼2":"0~255";
"π‘₯(𝑑)":" { yi }"
"β„Ž(𝑑 βˆ’ 1)":" The hidden status of the GRU system at the last moment "
"π‘Ÿ":"𝜎(π‘₯(𝑑)𝑀(π‘₯π‘Ÿ)β„Ž(𝑑 βˆ’ 1)𝑀(β„Žπ‘Ÿ) + π‘π‘Ÿ)"
"𝑧":" 𝜎(π‘₯(𝑑)𝑀(π‘₯𝑧)β„Ž(𝑑 βˆ’ 1)𝑀(β„Žπ‘§) + π‘π‘Ÿ)"
}

Mint 1 "xtai" with message "Hello world" to yourself

Minter populates mint function with required information:

{ 
"p": "xrc-20",
"op": "mint",
"tick": "xtai",
"amt": "1"
"𝑦(𝑑)":" { 𝑛(𝑦𝑖) }"
"{xi, 𝑛(𝑦𝑖), zi, mi }": {MοΉ‘N, MοΉ‘N, MοΉ‘N, MοΉ‘N }
"β„Ž(𝑑)":" GRU algorithm current hidden state "
"{X, π‘Œ, Z, M }":"floor{xi, 𝑛(𝑦𝑖), zi, mi }"
"A(i,j)":"[𝑃(𝑖,𝑗) βŠ•(𝐴(0,𝑗) + β‹― + 𝐴(𝑁 βˆ’ 1,𝑗)) βŠ• Y(i, j)] π‘šπ‘œπ‘‘256"
}

Inscribe the function to your own ordinal enabled wallet taproot address. Make sure not using inscription service that mints to itself first.

You now have 1 "xtai" with the encoding of an encrypted message "Hello world"

User
Balance at start
Balance at end
Encoding Message

Minter

0

1

?????

Transfer 1 "xtai" with massage "Hello world" to Satoshi's wallet

Satoshi wallet just an example. Can send to any ordinal compatible taproot address.

Populate transfer function with required information:

{ 
"p": "xrc-20",
"op": "transfer",
"tick": "xtai",
"amt": "1"
"A(m,n)":" At(i,j) "
"Ac":"π‘Ÿπ‘’π‘ β„Žπ‘Žπ‘π‘’(𝐴, 1, 𝑀𝑁)"
}
  • Inscribe the function to your own ordinal enabled wallets taproot address that holds the balance. Make sure not using inscription service that mints to itself first. Some ordinal wallets generate a different address each time, make sure to send to the address that holds the balance.

  • Send the inscription from your wallet to Satoshi's ordinal enabled wallets taproot address (if he had one).

  • Satoshi now has 1 "xtai" with the encoding of an encrypted message "Hello world" if Satoshi is the deployer of "xtai", he can decoding and get the real message.

User
Balance at start
Balance at end
Encrypted Message

sender

1

0

????????

satoshi

0

1

"Hello world"

Last updated