Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Write your own smart contract function #48

Open
Varunram opened this issue Oct 1, 2019 · 0 comments
Open

Write your own smart contract function #48

Varunram opened this issue Oct 1, 2019 · 0 comments

Comments

@Varunram
Copy link
Member

Varunram commented Oct 1, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant