statechannels / SCBridge-Wallet

MIT License
2 stars 3 forks source link

Enable cross chain payments #136

Closed lalexgap closed 1 year ago

lalexgap commented 1 year ago

Fixes #130

This PR introduces cross-chain payments between two different hardhat instances. It adds the ability to spin up two hardhat networks that have different chainIds and listen on different ports.

The UI has been updated to read the chain url from an env var, and configured so that Alice and Bob connect to different chains (while Irene connects to both).

How to Run

See the readme

geoknee commented 1 year ago

This is awesome!

Could we hook into the "Host Network UI" element to show the underlying chain (via chain id ?)

Be nice to show a logo of the chain, even (longer term).

NiloCK commented 1 year ago

This is awesome!

Could we hook into the "Host Network UI" element to show the underlying chain (via chain id ?)

Be nice to show a logo of the chain, even (longer term).

See #137