paritytech / bridge-ui

A user interface to send tokens between a ethereum and a substrate based network.
https://paritytech.github.io/bridge-ui/
7 stars 4 forks source link

Allow changing substrate websocket #21

Open JoshOrndorff opened 4 years ago

JoshOrndorff commented 4 years ago

It was incredibly easy to run the entire rialto demo locally using the instructions at https://github.com/paritytech/parity-bridges-common/tree/master/deployments#docker-compose-deployment

And I could connect the UI to my local Ethereum node by changing metamask settings. But I couldn't connect to my local Substrate node without changing code in the UI repo.

HCastano commented 4 years ago

I agree, this would be nice to have

Tbaut commented 4 years ago

The most user-friendly way to do this would be a setting page where you can set this up. Upon saving the whole UI would reload (like apps basically).

edit: happy to tackle that next week.

tomusdrw commented 4 years ago

An alternative would be to add the UI to docker-compose of the bridge and allow overriding the address during build-time. This way we would have a nice full dev experience just being docker-compose up.

JoshOrndorff commented 4 years ago

I see value in both.