blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

[feature request] - FunC wrapper's code generator

Open hitaspdotnet opened this issue 2 years ago • 1 comments

The biggest challenge to implement this is messages structures. We can implement the storage structure and message structure in the contract configuration file or a separate file.

counter.json

{
    "name" : "Counter",
    "storage": {
        "counter" : {
            "type" : "uint",
            "size" : "64"
        }
    },
    "messages" : [{
        "name" : "Add",
        "op_code" : "0x1",
        "body" : {
            "amount" : {
                "type" : "uint",
                "size" : "64"
            }
        }
    }],
}

hitaspdotnet avatar Dec 11 '23 08:12 hitaspdotnet

This is pretty cool 😎

alan890104 avatar Dec 17 '23 11:12 alan890104

Thank you for you suggestion! In the nearest futer tlb codegen will be introduced, wait for updates! Closing for now

Alejandbel avatar Apr 28 '25 15:04 Alejandbel