Open mariopil opened 1 year ago
I think this idea is somehow related with #104 . I see them as different tools from an user perspective:
So both kind of ways of accesing the data would be important IMO. How to combine them ? :thinking:
A listing of contracts is better to showcase what are some of the posibilites.
This works well. We have to figure out how to pull network contracts as code, unless we mean to import as an interface.
Maybe we can generate shell methods if its the former using FunctionSpec
.
An idea came to my mind how we could improve the wizard UX. Instead of having a plain code display with a list of contracts to choose from, let's divide the wizard into 3 parts/dialogs:
The generated code would be a new contract:
Everything would be fully automated, no hardcoding. The only thing we would have to stick with is the init function of the contract so that UI knows where to start from.