Question about the Script in the rgb-schemata #84
-
Beta Was this translation helpful? Give feedback.
Answered by
dr-orlovsky
Jan 6, 2024
Replies: 1 comment
-
Here is an example of how a script can be written today, taken from a schema implementing RGB21 NFT interface for a single token: Today, we use RGB assembler for that (which can be compiled using rust macro |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cymqqqq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is an example of how a script can be written today, taken from a schema implementing RGB21 NFT interface for a single token:
https://github.com/RGB-WG/rgb-schemata/blob/d0565eed1baca5bc7afbaf9f6bf7da2c6cb40416/src/uda.rs#L46-L155
Today, we use RGB assembler for that (which can be compiled using rust macro
rgbasm!
), however, a higher-level language called "Contractum" is in development and in 2024 we plan to have some first releases of it.