Skip to content

Question about the Script in the rgb-schemata #84

Answered by dr-orlovsky
cymqqqq asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cymqqqq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants