Skip to content

v0.1.0

Compare
Choose a tag to compare
@wbobeirne wbobeirne released this 14 Sep 20:26
· 796 commits to master since this release
c0cf511

This is the initial release of the Fedimint UI, which includes projects for the Guardian setup and admin UI, and the Gateway admin UI. This release is compatible with Fedimint v0.1.0, and any future 0.1.x patch releases.

Screenshot 2023-09-14 at 11 32 59 AM Screenshot 2023-09-14 at 11 34 23 AM

Build and Run from Source

Guardian UI

git clone git@github.com:fedimint/ui.git fedimint-ui
cd fedimint-ui/apps/guardian-ui
yarn install
PORT=3000 REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18174" yarn build && yarn start

Replace PORT with a port of your choice, and REACT_APP_FM_CONFIG_API with the domain and port of your fedimintd API.

Gateway UI

git clone git@github.com:fedimint/ui.git fedimint-ui
cd fedimint-ui/apps/gateway-ui
yarn install
PORT=3001 REACT_APP_FM_GATEWAY_API="http://127.0.0.1:8175" REACT_APP_FM_GATEWAY_PASSWORD="yourpassword" yarn build && yarn start

Replace PORT with a port of your choice, REACT_APP_FM_GATEWAY_API with the domain and port of your gatewayd API, and REACT_APP_FM_GATEWAY_PASSWORD with the password you set your gateway up with.

Run with Docker

Note: Docker images are only built for linux/amd64. Your docker will need to support virtualization to run on other platforms.

Guardian UI

The guardian UI container is available at fedimintui/guardian-ui

docker pull fedimintui/guardian-ui:0.1.0
docker run \                                                                                                                                                               
  --platform linux/amd64 \
  --env "REACT_APP_FM_CONFIG_API='ws://127.0.0.1:18174'" \
  -p 3000:3000 \
  fedimintui/guardian-ui:0.1.0

Replace -p 3000:3000 with a port of your choice, and REACT_APP_FM_CONFIG_API with the domain and port of your fedimintd API.

Gateway UI

The gateway UI container is available at fedimintui/gateway-ui

docker pull fedimintui/gateway-ui:0.1.0
docker run \
  --platform linux/amd64 \
  --env "REACT_APP_FM_GATEWAY_API='ws://127.0.0.1:8175'" \
  --env REACT_APP_FM_GATEWAY_PASSWORD=password \
  -p 3001:3000 \
  fedimintui/gateway-ui:0.1.0

Replace -p 3001:3000 with a port of your choice, REACT_APP_FM_GATEWAY_API with the domain and port of your gatewayd API, and REACT_APP_FM_GATEWAY_PASSWORD with the password you set your gateway up with.