Clone repository
Federation

Configure your federation info

Customize your federation information by adjusting settings used throughout the web application.

Using

You can find and modify the configuration in apps/web/src/config/federationConfig.json

federationConfig.json
{
  "federationId": "lawallet.ar",
  "endpoints": {
    "gateway": "https://api.lawallet.ar",
    "lightningDomain": "https://lawallet.ar"
  },
  "relaysList": ["wss://relay.damus.io", "wss://relay.lawallet.ar"],
  "modulePubkeys": {
    "card": "18f6a706091b421bd9db1ec964b4f934007fb6997c60e3c500fdaebe5f9f7b18",
    "ledger": "bd9b0b60d5cd2a9df282fc504e88334995e6fac8b148fa89e0f8c09e2a570a84",
    "urlx": "e17feb5f2cf83546bcf7fd9c8237b05275be958bd521543c2285ffc6c2d654b3"
  }
}

This will allow you to:

  • Utilize your custom lightning domain connected to the LaWallet backend provider.

  • Employ your personalized API gateway as the backend provider.

  • Configure the NOSTR public keys for the modules.

  • Select the relays to which you want the app to establish connections.

Docs

Refer to the createConfig documentation for a comprehensive overview of all configurable parameters in detail.