opensolar icon indicating copy to clipboard operation
opensolar copied to clipboard

Write your own smart contract function

Open Varunram opened this issue 5 years ago • 0 comments

As of now, we have a predefined contract and a couple options that allow people to slightly change parameters associated with the smart contract. What would be nice and cool is to have the person write the contract themselves - not program the contract, just describing the features with the help of a frontend UI. One way to imagine this would be to think of a UI where a person has to choose the number of days they want to allow for the recipient to unlock funds. This could be a text box. Another could be the blockchain options being radio options - all one needs to do would be to select a specific radio button. This kind of functionality would be great since people can tweak the contract to a greater extent than currently possible. This would also mean we have a content parsing engine that somehow can accept these parameters and generate a smart contract. Most likely would be restricted to Stellar and Bitcoin since other chains like Ethereum have a host of vulnerabilities to cover along with the additional functionality they provide.

Varunram avatar Oct 01 '19 09:10 Varunram