Skip to main content

Different Beacon Node

You can configure the dApp or Wallet to connect to a different beacon node. Make sure the servers you use are whitelisted in the beacon network and federation is working correctly.

Live Editor
import { DAppClient, Regions } from "@airgap/beacon-sdk";

const dAppClient = new DAppClient({
  name: "Beacon Docs",
  matrixNodes: {
    [Regions.EUROPE_WEST]: [""],

try {
  console.log("Requesting permissions...");
  const permissions = await dAppClient.requestPermissions();
  console.log("Got permissions:", permissions.address);
} catch (error) {
  console.error("Got error:", error);

The beacon-sdk deterministically chooses one of the nodes in the array. Changing the array of nodes will most likely lead to users losing their connection.