perun-network / perun-eth-mobile

:iphone: Mobile bindings for two-party-payment channels on Ethereum using go-perun.
https://perun.network/
Apache License 2.0
5 stars 3 forks source link

Added contract settings and deployment #13

Closed ggwpez closed 4 years ago

ggwpez commented 4 years ago

Contracts can be set in the Config now, using nil tells the NewClient method to deploy them.
Currently NewClient modifies the passed Config argument, that is probably not optimal.