Eitan-Lev / DepositContract

Payment channels using Solidity and SGX. Truffle for tests and infrastructure
GNU General Public License v3.0
7 stars 2 forks source link

Add ability to identify contracts by description #16

Open Amit-Weiss opened 5 years ago

Amit-Weiss commented 5 years ago

Is your feature request related to a problem? Please describe. Currently, when we look at contracts we can only refer to them using their addresses.

Describe the solution you'd like It would be more convenient if we could add a text to each contract, so when we look at our contracts we will see the description of it.

Describe alternatives you've considered Another option is to add a field to the contract itself, that will be updated by initiator and will be managed on the blockchain. I find this idea not as good since it adds overhead of writing to the blockchain.

Additional context I believe the description should be unique to each party, such that the initiator and the counterpart will be able to set different names.

Note 1: This text should not be kept on the blockchain.

Note 2: This issue was edited to fit the new "feature request" template.