on master help sign in
Merge branch 'master' into hm/invites-refactor
81e5df5Hunter Miller
.nvmrc+1−1
@@ -1 +1 @@
1−14.17.0
1+16.14.0
README.md+16
@@ -54,3 +54,19 @@ A proper "offline mode" for the latest iteration of Bridge is still being worked
54## Development
54## Development
55
55
56See [development.md](DEVELOPMENT.md).
56See [development.md](DEVELOPMENT.md).
57+
58+
59+## Configurable Roller Endpoint
60+
61+By default, Bridge uses Tlon's L2 Roller, but can also be configured to use your own.
62+
63+For example:
64+
65+```sh
66+REACT_APP_ROLLER_HOST=my-personal-roller.net npm run pilot-mainnet
67+```
68+
69+The following are configurable, and will otherwise fallback to the defaults in `constants`:
70+- `REACT_APP_ROLLER_HOST` - host
71+- `REACT_APP_ROLLER_PORT` - port
72+- `REACT_APP_ROLLER_TRANSPORT_TYPE` - transport type (e.g., `http` or `https`)
package-lock.json+46192−467

This diff is too big to show here.

package.json+2−2

This diff is too big to show here.

src/lib/constants.ts+3

This diff is too big to show here.

src/lib/flags.js+5

This diff is too big to show here.

src/lib/useRoller.ts+4−22

This diff is too big to show here.

src/lib/useRollerOptions.tsnew file+59

This diff is too big to show here.

src/views/Login/LoginSelector.tsx+5−1

This diff is too big to show here.