Closed tomholford closed 2 years ago
Before this change, Bridge was configured to only use the L2 roller provided by Tlon.
This change allows a Bridge user to use one or more runtime env vars to connect to a custom roller.
For example:
REACT_APP_ROLLER_HOST=my-personal-roller.net npm run pilot-mainnet
The following are configurable, and will otherwise fallback to the defaults in constants:
constants
REACT_APP_ROLLER_HOST
REACT_APP_ROLLER_PORT
REACT_APP_ROLLER_TRANSPORT_TYPE
http
https
Resolves #974
Before this change, Bridge was configured to only use the L2 roller provided by Tlon.
This change allows a Bridge user to use one or more runtime env vars to connect to a custom roller.
For example:
The following are configurable, and will otherwise fallback to the defaults in
constants
:REACT_APP_ROLLER_HOST
- hostREACT_APP_ROLLER_PORT
- portREACT_APP_ROLLER_TRANSPORT_TYPE
- transport type (e.g.,http
orhttps
)Resolves #974