Consensys / gpact

General Purpose Atomic Crosschain Transaction Protocol
Apache License 2.0
83 stars 26 forks source link

20ACTS protocol initial implementation #113

Closed drinkcoffee closed 2 years ago

drinkcoffee commented 2 years ago

This PR contains the initial Solidity code and Java code to operate the 20ACTS protocol, and light weight two phase commit protocol for ERC 20 transfers across chains.

The Happy Case test runs through the happy case path.

Failure cases are not yet tested. There are many TODOs in the Solidity code. Importantly, the additional data in the signed ERC 20 Approve is not processed on chain yet.