Skip to content

Commit

Permalink
Fix addressbook
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Dec 19, 2024
1 parent e10069a commit 3441bef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/addressbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ function getAddressBookTokensConfig(chain: Chain) {
return {
WNATIVE: { address: "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38", symbol: "wS" },
};
} else if (chain === "rollux") {
return {
WNATIVE: { address: "0x4200000000000000000000000000000000000006", symbol: "WSYS" },
};
}

throw new Error(`Unknown chain ${chain}`);
Expand All @@ -32,6 +36,8 @@ export function getChainNetworkId(chain: Chain): number {
return addressbook.ChainId[addrBookChain];
} else if (chain === "sonic") {
return 146;
} else if (chain === "rollux") {
return 570;
}
throw new Error(`Unknown chain ${chain}`);
}
Expand Down

0 comments on commit 3441bef

Please sign in to comment.