hyperledger-labs / perun-node

State channel node of the blockchain-agnostic state channels framework Perun.
https://labs.hyperledger.org/perun-doc/
Apache License 2.0
18 stars 12 forks source link

Add erc20 support #213

Closed manoranjith closed 3 years ago

manoranjith commented 3 years ago

Description

Add support for using ERC20 tokens.

Category

Implementation Task

Relevant issue

Resolves #195.

Testing

Tests are added for the new features. For testing use of ERC20 tokens, tests are added in api/grpc package.

Steps to run the tests

Checklist

manoranjith commented 3 years ago

Currently, the tests fail due to tx nonce mismatch issues described in go-perun#62. Two approaches to fix are demonstrated in #214 and #215. Once any one of the fix is accepted into go-perun repo, this go-perun version in this can be upgraded and this PR will be ready for review.