Sign inSign up

fedimintui/guardian-ui

By fedimintui

Updated about 2 years ago

Image
2

10K+

fedimintui/guardian-ui repository overview

Guardian UI

Web app experience for setting up and administering fedimints. This is used by the Fedimint guardians

Development

Environment setup

From repo root directory:

  1. Install dependencies if necessary: yarn install
  2. Run docker-compose up to start two fedimint servers, a gateway, and other dependencies.

You can learn more about this command here

Run Federation Setup UIs

Do the following in separate terminals:

  • First Terminal
  1. Confirm you are in guardian-ui/ directory
  2. Run PORT=3000 REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18174" yarn dev
    • This will be your "Leader" instance
  • Second Terminal
  1. Confirm you are in guardian-ui/ directory
  2. Run PORT=3001 REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18184" yarn dev
    • This will be your first "Follower" instance
  • Third Terminal
  1. Confirm you are in guardian-ui/ directory
  2. Run PORT=3002 REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18185" yarn dev
    • This will be your second "Follower" instance
  • Fourth Terminal
  1. Confirm you are in guardian-ui/ directory
  2. Run PORT=3003 REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18186" yarn dev
    • This will be your third "Follower" instance
Set up your federation

Use these UIs to set up your two-guardian federation

Tag summary

Content type

Image

Digest

sha256:7727d4def

Size

53.2 MB

Last updated

about 2 years ago

docker pull fedimintui/guardian-ui