Skip to content

Commit

Permalink
chore: add rari chain support (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSinclair authored and greg-schrammel committed Feb 12, 2024
1 parent 43fb0bb commit b067620
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/core/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const customChainIdsToAssetNames: Record<ChainId, string> = {
1101: 'polygonzkevm',
369: 'pulsechain',
1918988905: 'raritestnet',
1380012617: 'rari',
534352: 'scroll',
100: 'xdai',
324: 'zksync',
Expand Down Expand Up @@ -205,6 +206,8 @@ export const getSimpleHashSupportedChainNames = () => {
'zksync-era-testnet',
'zora-testnet',
'zora-sepolia',
'rari',
'rari-testnet',
];
};

Expand Down
10 changes: 5 additions & 5 deletions src/entries/popup/pages/settings/customChain/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,14 +367,14 @@ const KNOWN_NETWORKS: { name: string; networkInfo: customNetworkInfo }[] = [
},
},
{
name: 'RARI Chain Testnet',
name: 'RARI Chain',
networkInfo: {
rpcUrl: 'https://testnet.rpc.rarichain.org/http',
chainId: 1918988905,
rpcUrl: 'https://mainnet.rpc.rarichain.org/http',
chainId: 1380012617,
decimals: 18,
symbol: 'ETH',
explorerUrl: 'https://explorer.rarichain.org',
testnet: true,
explorerUrl: 'https://mainnet.explorer.rarichain.org',
testnet: false,
},
},
{
Expand Down

0 comments on commit b067620

Please sign in to comment.