This is the last bit in what I was considering a valid use cases for RGB. The rest - BiFi - would be actually a layer on top of RGB, composable of RGB20-24 schemata with nothing more needed.
RGB24 - a better & valid analog of ENS, solving problems of DNS, the problems ENS was not able to solve - is the checkpoint for myself on RGB and Contractum readiness.
For two years I was not able to write a valid code in terms of RGB which would be able to express business logic necessary to run that sort of solution.
Finally, I was able to do that. I understand that it would be probably quite hard to understand what the code means - but this is so far is the state of the art what can be achievable with Contractum and RGB at all. I tried to make it as readable as possible.
The code demonstrates:
inter-contract interactions
in a nested (tree-like) way
with reflection back to the parent contract
and cross-contract validation
plus introspection on own contract properties
Basically, this is a recursive RGB contract interacting with other contracts with two-way recursion.
PS. Just compare the amount of code here with the amount of code in the ENS!!!
This is the last bit in what I was considering a valid use cases for RGB. The rest - BiFi - would be actually a layer on top of RGB, composable of RGB20-24 schemata with nothing more needed.
RGB24 - a better & valid analog of ENS, solving problems of DNS, the problems ENS was not able to solve - is the checkpoint for myself on RGB and Contractum readiness.
For two years I was not able to write a valid code in terms of RGB which would be able to express business logic necessary to run that sort of solution.
Finally, I was able to do that. I understand that it would be probably quite hard to understand what the code means - but this is so far is the state of the art what can be achievable with Contractum and RGB at all. I tried to make it as readable as possible.
The code demonstrates:
Basically, this is a recursive RGB contract interacting with other contracts with two-way recursion.
PS. Just compare the amount of code here with the amount of code in the ENS!!!