Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
240 stars 78 forks source link

Create a Payment Channel using Scilla #61

Open vaivaswatha opened 6 years ago

vaivaswatha commented 6 years ago

https://medium.com/@matthewdif/ethereum-payment-channel-in-50-lines-of-code-a94fad2704bc

AmritKumar commented 6 years ago

@vaivaswatha This will require signature verification in the contract. Let us put this on hold. In the future, we may want to support some other crypto primitives beyond hashing such as signature verification, cryptographic commitments, etc. We will work on it once we have those crypto-primitives ready.

ilyasergey commented 6 years ago

I'm assigning @vaivaswatha and @edisonljh so this would not be forgotten after #66 is done.

edison0xyz commented 6 years ago

Sure, this looks interesting to do. Will follow-up after #66 is done.

vaivaswatha commented 6 years ago

@edisonljh #66 is now complete. You can refer to tests/contracts/schnorr/ for an example contract that uses Schnorr signatures.

Unassigning myself.

AmritKumar commented 6 years ago

@edisonljh You may want to do a multisig wallet contract first? An example is here: https://github.com/gnosis/MultiSigWallet

AmritKumar commented 6 years ago

Reassigning to @jjcnn. Let's start with a multisig first and then we can do a payment channel.