Commit Graph

3 Commits

Author SHA1 Message Date
Michele Balistreri 4effbff5c0
abstract the block relay to allow use on sidechains/mainnet 2020-09-24 10:32:56 +02:00
Bitgamma f49034382d
Add redeem contract integration (#26)
* start integrating openzeppelin

* make account id separate from owner

* test using proxies

* add bucket contract for prepaid class

* change account creation

* topup by keycard

* move to newer OVM

* add unlock account

* use block relay in bucket, add tests
2020-09-23 19:27:50 +02:00
Bitgamma 711fda63bb
new contracts for L2 (#25)
* use block relay instead of block

* constructor => init

* copied correct IERC20

* single instance contract

* test requestPayment

* test topup/withdraw

* add new account check

* add account/nutberry handling

* implement blockrelay

* make compatible with Ethersjs 5

* added info functionality

* fix typo

* add wallet creation/topup/withdraw

* implement payment method

* extract utility function

* add OVM testing support
2020-08-25 11:05:38 +02:00