Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
4897e78
add Kasplex mainnet/testnet (#1998)
5bb55b Sep 12, 2025
a7cd366
fix: rpc (#2000)
NOWNodes Sep 12, 2025
3072e9f
feat: update mocachain devnet (#2004)
athaswang1991 Sep 12, 2025
8985fba
Add PulseChain WS RPC (#2005)
baijiahei888 Sep 12, 2025
9fe66de
Create Kudora 12000 (#2006)
ValentinBredemestre Sep 12, 2025
ff7b761
feat: Somnia new json-rpc lb added + stakely's privacy policy added t…
trikunai Sep 12, 2025
b7cf1c8
Create chainid-1098 (#2011)
minax-real-chain Sep 12, 2025
b01c10a
add new chains
realdealshaman Sep 12, 2025
c02d804
Created chainid-504.js (#2013)
lightchainaidev Sep 15, 2025
aa3bce3
add KultChain (#2019)
Define101 Sep 15, 2025
fec2210
Add 0G Mainnet chainId: 16661 (#2014)
Solovyov1796 Sep 15, 2025
7af6db2
Add Autonomys Chronos Testnet chain configuration (#2009)
ElvisKrop Sep 15, 2025
a32a7c8
Add VFlow Volta Testnet (#1993)
drgora Sep 15, 2025
2e25552
add Mova Mainnet (#1981)
DarioMarchetti Sep 15, 2025
c3fce8e
add chain 37771 (#2024)
zzz7273 Sep 16, 2025
6b42f1a
feat: add extra RPC for KultChain (#2023)
Gaspar74 Sep 16, 2025
779baef
fix wrong decimal to 18 for kasplex (#2027)
5bb55b Sep 16, 2025
212b546
Update forknet chain id (#1976)
kralonur Sep 16, 2025
627e7bd
delete duplicate
realdealshaman Sep 16, 2025
3029775
Add Igra Testnet (Chain ID 19416) (#2029)
emdin Sep 17, 2025
5b4d7ea
feat: add KUB Layer 2 Testnet and Mainnet chain configurations (#2030)
nerotun Sep 19, 2025
2a1d801
add t-rex chain (#2035)
Define101 Sep 19, 2025
020a96c
use fetchWithCache
0xngmi Sep 19, 2025
da5b1b6
add linea rpc (#2033)
YouStillAlive Sep 22, 2025
b7d9f9a
Add VFlow Mainnet (#2034)
drgora Sep 22, 2025
ab01796
added-horizen-testnet (#2038)
armanthepythonguy Sep 22, 2025
ef67dca
update commons rpc (#2039)
calebguy Sep 22, 2025
d62682e
Create chainid-648529.js (#2040)
ethenaluxora Sep 22, 2025
351dc07
Unipoly Chain (#2032)
Mohammadali-Ghods Sep 26, 2025
b63072a
Create chainid-333222.js (#2043)
galuis116 Sep 26, 2025
1d90935
feat(ethereal-mainnet): add ethereal-mainnet (#2047)
ivanpochta Sep 26, 2025
cb5e835
Add intuition mainnet (#2048)
mihailo-maksa Sep 26, 2025
d20d7b9
add Fluent Testnet (#2059)
Define101 Sep 29, 2025
c1d81af
Add Epix chain configuration (chainId: 1916) (#2049)
MudDev Sep 29, 2025
cc55583
Create chainid-123999.js and chainid-8678671.js (#2050)
nghiaXEM Sep 29, 2025
171d92b
Add Galactica Mainnet (#2052)
mike-tis Sep 29, 2025
2c702e3
Create chainid-10088.js (#2057)
JaceLabs Sep 29, 2025
b4adf67
Update extraRpcs.js (#2058)
0xRPC Sep 29, 2025
22f3b7e
add missing ids
realdealshaman Oct 1, 2025
0afcbb3
fix icon
realdealshaman Oct 1, 2025
df8c2b6
add pharos testnet2 (#2055)
Index0011 Oct 2, 2025
d9241c5
Update extraRpcs.js (#2056)
proestever Oct 2, 2025
448dea5
Update Tac RPC by NodeStake (#2061)
nodestake Oct 2, 2025
be488ab
Add My Custom Chain to Chainlist (#2062)
MeghaZeeve Oct 2, 2025
27d54aa
Add CarrChain Mainnet and Testnet (#2064)
artiffine-vojtech Oct 2, 2025
df3844d
fix 239 (#2075)
Define101 Oct 2, 2025
27908d3
Add Uniocean testnet chain id: 684 (#2065)
deepak-zeeve Oct 2, 2025
fd49846
Add Warden Protocol (#2066)
jlehtimaki Oct 2, 2025
ac185d9
fix (#2078)
Define101 Oct 2, 2025
866ea6e
Add dRPC Hoodi RPC endpoint (chainId 9746) (#2067)
dRPCMarketing Oct 6, 2025
98cd413
Revert "Add dRPC Hoodi RPC endpoint (chainId 9746) (#2067)" (#2095)
Define101 Oct 6, 2025
254590c
Fix Warden Protocol RPC endpoints (#2079)
jlehtimaki Oct 6, 2025
143f8d5
Add Incentiv Mainnet (#2080)
Birua Oct 6, 2025
2ec43d5
new chains added (#2084)
priyanshuthapliyal55 Oct 6, 2025
4382f36
add new chain
realdealshaman Oct 6, 2025
1c3bcfd
add chain
realdealshaman Oct 6, 2025
af1dcbf
Fix: Update Somnia Mainnet RPCs (#2087)
emmaodia Oct 7, 2025
42305fa
Add CAPX Mainnet and Testnet (Chain IDs 757 and 756) (#2091)
augchi-capx Oct 7, 2025
837f303
Add Lit Protocol Mainnet (#2093)
Megumiiiiii Oct 7, 2025
434520e
remove deprecated test networks Alfajores and Baklava (#2094)
GigaHierz Oct 7, 2025
9609bdc
add drpc (#2126)
Define101 Oct 9, 2025
f09e485
BinaryHoldings Chainid (#2086)
MeghaZeeve Oct 9, 2025
041d8c6
Revert "BinaryHoldings Chainid (#2086)" (#2127)
Define101 Oct 9, 2025
c21a59f
fix overwritten chain pages (#2129)
mintdart Oct 9, 2025
2dab43e
Create chainid-80888.js (#2100)
colex2 Oct 10, 2025
0ac4120
Create Chain ID: 853211 - HAQQ Testethiq L2 Testnet (Sepolia) (#2123)
VorobevSA Oct 10, 2025
e68521a
Add GalaxyChain to chainlist (#2124)
Nparooei Oct 10, 2025
4202df8
Add: Awakening Network (#2125)
urkishan Oct 10, 2025
a833d7d
Add Codex Mainnet (#2128)
Megumiiiiii Oct 10, 2025
a01b6b4
Add Fastnode's public endpoints (#2130)
fastnode-io Oct 10, 2025
3ba7762
Update extraRpcs.js (#2122)
blink10000 Oct 10, 2025
43c41e4
Create chainid-166.js and update chainIds.js (#2060)
ga-reth Oct 14, 2025
58c7fda
ARIA Chain Update (#2092)
22huseyncoding Oct 14, 2025
32141c8
BinaryHoldings mainnet 836 (#2136)
MeghaZeeve Oct 20, 2025
42870fd
Create chainlist-tensora.js (#2139)
Chennugurr Oct 20, 2025
a12b1ef
Update chainid-11142220.js (#2140)
0xj4an Oct 20, 2025
c2f66e8
Update nomina RPC and explorer urls (#2142)
ga-reth Oct 20, 2025
d809026
GRX Chain Mainnet submission (#2143)
dwinea Oct 20, 2025
f50d9b4
Add bloxroute base endpoint (#2147)
ron-elmekiesse-bloxroute Oct 20, 2025
dc9774e
Add Sshivansh Chain to chainlist (#2149)
AkashCrypto Oct 20, 2025
e093311
add ab core mainnet (#2150)
vieyang Oct 23, 2025
873da63
Add Mintrax Mainnet (chainId 478549) (#2152)
mintraxnetwork Oct 23, 2025
38644b4
PR to add studio chain (#2153)
bb-face Oct 23, 2025
8597220
:wrench: add `LazAI Mainnet` (#2156)
anaye1997 Oct 23, 2025
4fad5cd
add Portal-To-Bitcoin Mainnet (#2155)
sa-bir Oct 23, 2025
f7886f4
PR to add Anubis Testnet (#2157)
Vekkl Oct 23, 2025
38ca1d0
fix (#2161)
Define101 Oct 23, 2025
138bd2a
Add Stable Mainnet (#2158)
paperCPU Oct 23, 2025
a714aa8
Add: Sophon zkSync-OS Testnet (#2138)
Emosaddd Oct 24, 2025
8ff7668
Sort testnets my mainnet' tvl (#2167)
Caranell Oct 27, 2025
c15463b
Revert "Sort testnets my mainnet' tvl (#2167)"
0xngmi Oct 27, 2025
bee60ad
Update extraRpcs.js (#2175)
dRPCMarketing Oct 28, 2025
c3ba948
Update extraRpcs.js (#2132)
BlessedBe69 Oct 28, 2025
471d42c
Update extraRpcs.js (#2141)
Oct 28, 2025
7705de7
Add Chain 4936(Prodao Mainnet) (#2159)
Kook-Dohyun Oct 28, 2025
512aa9b
Add bloxroute x layer endpoints (#2160)
ron-elmekiesse-bloxroute Oct 28, 2025
1f533b1
Fix DNS of Bloxroute's Base RPC (#2163)
i-Alex Oct 28, 2025
b5faf1c
Adding SteemVM Testnet (#2166)
blazeapps007 Oct 28, 2025
a0727dc
Create chainid-3864.js (#2168)
MaksimDrozd Oct 28, 2025
904e565
Modify GRX Mainnet configuration details (#2169)
dwinea Oct 28, 2025
713eb8f
fix (#2179)
Define101 Oct 28, 2025
37219a0
Add dRPC NodeCloud RPC endpoint for Arc (#2180)
dRPCMarketing Oct 30, 2025
8f528de
Modify studio chain (#2171)
bb-face Oct 30, 2025
ebab848
ICBX Network New RPC Update extraRpcs.js (#2172)
ICBNetwork Oct 30, 2025
b0f3bef
Add JASMY Chain Testnet (#2174)
sresolt Oct 30, 2025
5bf3dae
add Morph Hoodi Testnet (#2190)
SegueII Nov 4, 2025
19fe35b
Add Arc Network (chainId: 123456789) to Chainlist (#2188)
dRPCMarketing Nov 4, 2025
27f7f87
add: xo chain testnet (chainId 1000101) (#2185)
mennatnaga Nov 4, 2025
212125a
Add new Dwellir RPC URLs (#2184)
benjichat Nov 5, 2025
77eb6f8
apply for chainid 19966 (#2176)
Atrnxos Nov 5, 2025
612084c
feat(chain-registry): add CX Chain Mainnet (#2177)
ArrayCodes Nov 5, 2025
6c44ab5
Add mev-commit network. (#2178)
chrmatt Nov 5, 2025
c398259
Add Etherlink Shadownet Testnet (Chain ID: 127823) (#2181)
sistemico Nov 5, 2025
8a61509
add sintrop network (#2183)
emanoeledevapps Nov 5, 2025
02d5d49
feat: update Stable testnet and mainnet information (#2186)
highonrice Nov 5, 2025
098c45d
Add Riche Chain Testnet (45578) (#2187)
marchNum13 Nov 5, 2025
8e8a1f0
Add PulseChainStats RPC endpoint for PulseChain (369) (#2191)
pulsechainstats Nov 5, 2025
288d25d
remove okt from onfinality.io (#2196)
leoonf Nov 5, 2025
550e319
RecorderCoin listing (#2148)
sepp00 Nov 7, 2025
69d3f6f
Add CX Chain Mainnet and Testnet (#2198)
ArrayCodes Nov 11, 2025
ebd78c4
feat: update stable-testnet shortname (#2199)
highonrice Nov 11, 2025
441d473
add default rpc
realdealshaman Nov 11, 2025
e2d1b2f
adds datahaven (#2201)
albertov19 Nov 12, 2025
524c395
feat: added mawari (#2203)
Thektonic Nov 12, 2025
be879da
add onfinality's hyperliquid rpc endpoint (#2210)
leoonf Nov 12, 2025
133bc75
Update R0AR Chain icon (mainnet 193939 + testnet 11166111) to IPFS (#…
th3r0ar Nov 12, 2025
595f102
Add AMR blockchain configuration in amr.json (#2207)
ayanoxamr-lab Nov 12, 2025
afd78a5
Add a Chain 68414 (Henesys) (#2214)
soohanpark Nov 12, 2025
c693a94
Add Denergy Network (chainid: 369369 and 4442) to Chainlist (#2216)
dev-zaid Nov 12, 2025
bbab651
add: Bitmeta Chain (BMC) – chainId 1199 (#2215)
King11919 Nov 14, 2025
b797c50
Add Amazonic Blockchain data to chainid-65.js (#2221)
D-H-O-R-A Nov 17, 2025
853cf76
add Citrea mainnet (#2230)
eyusufatik Nov 17, 2025
6418988
chainid-1919.js (#2228)
Turkchain1919 Nov 19, 2025
cbcab42
feat: add monad mainnet (#2235)
QEDK Nov 19, 2025
c0797b3
Add bloxroute hyperliquid endpoint (#2237)
ncherkas Nov 19, 2025
ae503af
Update chainid-2107.js (#2239)
Aashishquest Nov 19, 2025
737b781
Add dRPC NodeCloud RPC endpoints for Shibarium (#2240)
dRPCMarketing Nov 19, 2025
20e1ee1
remove bad etc rpcs (#2218)
singer-shy Nov 19, 2025
635ced2
add lora chain (#2211)
lucian-ma Nov 19, 2025
3597959
Added OnFinality Dymension (#2192)
Danielvul Nov 19, 2025
02f5faf
wip fix (#2242)
Define101 Nov 19, 2025
5bf67d3
Revert "Add dRPC NodeCloud RPC endpoints for Shibarium (#2240)" (#2243)
Define101 Nov 19, 2025
bb411c2
Revert "wip fix (#2242)" (#2244)
Define101 Nov 19, 2025
b9fe14f
Add new RPCs for Shibarium (#2246)
Define101 Nov 19, 2025
e2e2265
Add more Monad public RPCs (#2248)
iamvukasin Nov 20, 2025
8ee8fdc
Update shortName from 'mon' to 'monad'
Define101 Nov 20, 2025
fa7bcc7
Add chain ID for Monad
Define101 Nov 20, 2025
ed72a59
Add additional Monad and Monad Testnet RPCs (#2253)
iamvukasin Nov 21, 2025
f178e78
Added OnFinality Dymension (#2238)
Daniel-OnFinality Nov 24, 2025
0abd8ac
add chainid 12301 and 12302 (#2241)
hundanwan Nov 24, 2025
22e6c31
Add Eden Testnet (#2249)
Bidon15 Nov 24, 2025
aff1dab
Update Pocket Network Public RPC URLs and Privacy Statement (#2233)
oten91 Nov 25, 2025
06b4a49
Add DMD Diamond mainnet (#2251)
axel-muller Nov 26, 2025
973686b
Add new RPC endpoint for publicnode for Linea chain (59144) (#2256)
krissemmy Nov 26, 2025
82cbd5a
Update extraRpcs.js | ICBX Team (#2261)
ICBNetwork Nov 26, 2025
70b8d84
updating Sophon OS information (#2259)
githubdoramon Nov 27, 2025
4baf80d
Update chainid-531050204.js (#2278)
githubdoramon Nov 27, 2025
25b490a
feat: added table for chain explorers and more (#2262)
lorem-ipsumm Nov 27, 2025
093f42c
Add Spider Node - Monad mainnet RPC (#2266)
Coha05 Nov 28, 2025
8b23b35
Add Memento Testnet (#2269)
hitesh-zeeve Nov 28, 2025
585eabc
Add Wirex testnet (#2270)
hitesh-zeeve Nov 28, 2025
72a479e
Add Memento Mainnet (#2271)
hitesh-zeeve Nov 28, 2025
dbff1b3
Added OnFinality Monad Testnet RPC (#2272)
Daniel-OnFinality Nov 28, 2025
7ecb342
Added onfinality monad endpoint (#2273)
FiveKG Nov 28, 2025
d2c6e47
add rpcs (#2282)
Define101 Nov 28, 2025
be66395
Add extra RPC endpoint for QL1 (chainId 766) (#2274)
FoxxeyOne Nov 28, 2025
63bda51
fix: update Denergy Explorer URL to the correct domain (#2280)
dev-zaid Nov 28, 2025
3df32f7
Add Parallax mainnet (LAX) (#2281)
andrepatta Nov 28, 2025
7adb82e
fix monad stuff (#2284)
Define101 Nov 28, 2025
dc99be5
Fix native token (#2031)
emdin Nov 28, 2025
b2c0c94
Update extraRpcs.js (#2131)
BlessedBe69 Nov 28, 2025
f96dbda
Add new Dwellir RPC URLs (#2200)
benjichat Nov 28, 2025
bc916f4
Add chain registry for chainid 38391207 (Updated Network ID) (#2247)
brantleyglobal Nov 28, 2025
efe65a2
Sort testnets by tvl (#2173)
Caranell Nov 29, 2025
5923622
Update multiple dRPC extraRpcs.js (#2296)
dRPCMarketing Dec 2, 2025
2b3ef65
fix (#2297)
Define101 Dec 2, 2025
a0ae646
Makachain mainnet (#2285)
MeghaZeeve Dec 3, 2025
7053b4e
Add HyperX, chain ID 80808 (#2287)
ryderhiew Dec 3, 2025
0bf5326
fix (#2299)
Define101 Dec 3, 2025
3c49f59
Add Alpha Chain to Chainlist (3111 & 511111) (#2289)
danielzhou82 Dec 4, 2025
0eabf1c
Add SilverBitcoin (Chain ID 5200) network (#2291)
silverbitcoin Dec 4, 2025
bc348a0
Add Alpen Testnet II chain configuration (#2300)
stefanopepe Dec 4, 2025
6ede779
Change Fuel Sepolia testnet RPC endpoint and explorer address. (#2301)
CatspersCoffee Dec 4, 2025
e4359d1
Add thirdweb RPCs for Hedera Mainnet & Testnet (#2260)
0xFirekeeper Dec 4, 2025
18a6908
Add full send rpc (#2265)
antonydenyer Dec 4, 2025
b1e5b35
Revert "Add AMR blockchain configuration in amr.json (#2207)" (#2303)
0xngmi Dec 4, 2025
0df0433
add tests to check for duplicate chainIds in extraRpcs.js (#2307)
mintdart Dec 5, 2025
de84a52
fix workflow (#2308)
mintdart Dec 5, 2025
7d929eb
Add explorers blacklist (#2316)
Caranell Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/check-duplicate-keys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check Duplicate Keys

on:
pull_request:
paths:
- 'constants/extraRpcs.js'
- 'constants/chainIds.js'
push:
branches:
- main
paths:
- 'constants/extraRpcs.js'
- 'constants/chainIds.js'

jobs:
check-duplicates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Check for duplicate keys
run: node tests/check-duplicate-keys.js
54 changes: 54 additions & 0 deletions components/CopyUrl/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import { Popover, PopoverDisclosure, usePopoverStore } from "@ariakit/react/popover";
import { useEffect, useState } from "react";
import * as Fathom from "fathom-client";
import { FATHOM_DROPDOWN_EVENTS_ID } from "../../hooks/useAnalytics";

export default function CopyUrl({ url }) {
const [open, setOpen] = useState(false);

useEffect(() => {
if (open) {
setTimeout(() => {
setOpen(false);
}, 500);
}
}, [open]);

const popover = usePopoverStore({ placement: "bottom", open });

return (
<>
<PopoverDisclosure
store={popover}
render={
<button
className="max-w-[40ch] px-2 py-[2px] -my-[2px] text-center text-sm overflow-hidden whitespace-nowrap text-ellipsis dark:hover:bg-[#222222] dark:hover:text-white hover:bg-[#EAEAEA] rounded-[50px]"
onClick={() => {
navigator.clipboard.writeText(url).then(
() => {
setOpen(true);
if (url.includes("eth.llamarpc")) {
Fathom.trackGoal(FATHOM_DROPDOWN_EVENTS_ID[1], 0);
}
},
() => {
console.error(`Failed to copy ${url}`);
},
);
}}
>
{url}
</button>
}
/>
{popover.show ? (
<Popover
store={popover}
className="max-w-md p-1 text-sm border border-gray-500 rounded bg-neutral-50 text-black drop-shadow"
>
<p>Copied!</p>
</Popover>
) : null}
</>
);
}
53 changes: 53 additions & 0 deletions components/ExplorerList/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { notTranslation as useTranslations } from "../../utils";
import CopyUrl from "../CopyUrl";
import { explorerBlacklist } from "../../constants/explorerBlacklist";

export default function ExplorerList({ chain, lang }) {
const t = useTranslations("Common", lang);
const explorerLinks = chain.explorers?.filter((explorer) => !explorerBlacklist.includes(explorer?.url));

return explorerLinks && explorerLinks.length > 0 ? (
<div className="shadow dark:bg-[#0D0D0D] bg-white p-8 rounded-[10px] flex flex-col gap-3 col-span-full relative overflow-x-auto">
<table className="m-0 border-collapse whitespace-nowrap dark:text-[#B3B3B3] text-black">
<caption className="relative w-full px-3 py-1 text-base font-medium border border-b-0">
<span className="mr-4">{`${chain.name} ${t("explorer-url-list")}`}</span>
</caption>
<thead>
<tr>
<th className="px-3 py-1 font-medium border">{t("explorer-name")}</th>
<th className="px-3 py-1 font-medium border">{t("explorer-url")}</th>
</tr>
</thead>

<tbody>
{explorerLinks?.map((explorer, index) => {
let className = "bg-inherit";
return (
<ExplorerRow
isLoading={chain.isLoading}
explorer={explorer}
key={"explorer" + index}
className={className}
/>
);
})}
</tbody>
</table>
</div>
) : null;
}

const Shimmer = () => {
return <div className="rounded h-5 w-full min-w-[40px] animate-pulse dark:bg-[#171717] bg-[#EAEAEA]"></div>;
};

const ExplorerRow = ({ isLoading, explorer, className }) => {
return (
<tr className={className}>
<td className="px-3 py-1 text-sm border text-center">{isLoading ? <Shimmer /> : explorer?.name}</td>
<td className="border px-3 py-1 max-w-[40ch] text-center">
{isLoading ? <Shimmer /> : explorer?.url ? <CopyUrl url={explorer.url} /> : null}
</td>
</tr>
);
};
19 changes: 16 additions & 3 deletions components/Layout/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";
import { useEffect } from "react";
import Link from "next/link";
import Header from "../header";
// import { useTranslations } from "next-intl";
import { notTranslation as useTranslations } from "../../utils";
Expand Down Expand Up @@ -35,7 +36,9 @@ export default function Layout({ children, lang, chainName, setChainName }) {
<div className="dark:text-[#B3B3B3] text-black dark:bg-[#0D0D0D] bg-white relative h-full">
<div className="p-5 sticky top-0 bottom-0 m-auto flex flex-col items-center gap-8 justify-center h-screen max-w-[480px] mx-auto">
<figure className="lg:mr-auto">
<Logo />
<Link href="/" prefetch={false}>
<Logo />
</Link>
<figcaption className="font-bold text-2xl">{t("help-info")}</figcaption>
</figure>

Expand Down Expand Up @@ -128,8 +131,18 @@ export default function Layout({ children, lang, chainName, setChainName }) {
target="_blank"
rel="noopener noreferrer"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className="w-6 h-6" fill="none" stroke="#2F80ED" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
className="w-6 h-6"
fill="none"
stroke="#2F80ED"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>
<span className="text-base font-medium">API</span>
</a>
Expand Down
54 changes: 1 addition & 53 deletions components/RPCList/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import { useEffect, useMemo, useState } from "react";
import * as Fathom from "fathom-client";
import { notTranslation as useTranslations } from "../../utils";
import CopyUrl from "../CopyUrl";
import useRPCData from "../../hooks/useRPCData";
import useAddToNetwork from "../../hooks/useAddToNetwork";
import { useLlamaNodesRpcData } from "../../hooks/useLlamaNodesRpcData";
import { FATHOM_DROPDOWN_EVENTS_ID } from "../../hooks/useAnalytics";
import { useRpcStore } from "../../stores";
import { renderProviderText } from "../../utils";
import { Tooltip } from "../../components/Tooltip";
import useAccount from "../../hooks/useAccount";
import { Popover, PopoverDisclosure, usePopoverStore } from "@ariakit/react/popover";

export default function RPCList({ chain, lang }) {
const [sortChains, setSorting] = useState(true);
Expand Down Expand Up @@ -276,53 +274,3 @@ const LightGreenIcon = () => (
/>
</svg>
);

const CopyUrl = ({ url }) => {
const [open, setOpen] = useState(false);

useEffect(() => {
if (open) {
setTimeout(() => {
setOpen(false);
}, 500);
}
}, [open]);

const popover = usePopoverStore({ placement: "bottom", open });

return (
<>
<PopoverDisclosure
store={popover}
render={
<button
className="max-w-[40ch] px-2 py-[2px] -my-[2px] text-center text-sm overflow-hidden whitespace-nowrap text-ellipsis dark:hover:bg-[#222222] dark:hover:text-white hover:bg-[#EAEAEA] rounded-[50px]"
onClick={() => {
navigator.clipboard.writeText(url).then(
() => {
setOpen(true);
if (url.includes("eth.llamarpc")) {
Fathom.trackGoal(FATHOM_DROPDOWN_EVENTS_ID[1], 0);
}
},
() => {
console.error(`Failed to copy ${url}`);
},
);
}}
>
{url}
</button>
}
/>
{popover.show ? (
<Popover
store={popover}
className="max-w-md p-1 text-sm border border-gray-500 rounded bg-neutral-50 text-black drop-shadow"
>
<p>Copied!</p>
</Popover>
) : null}
</>
);
};
26 changes: 26 additions & 0 deletions constants/additionalChainRegistry/chainid-1000101.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export const data = {
"name": "XO Chain Testnet",
"chain": "XO",
"rpc": [
"https://testnet-rpc-1.xo.market"
],
"faucets": [],
"nativeCurrency": {
"name": "XO Token",
"symbol": "XO",
"decimals": 18
},
"infoURL": "https://xo.market",
"shortName": "xo",
"chainId": 1000101,
"networkId": 1000101,
"icon": "xo",
"explorers": [
{
"name": "xo explorer",
"url": "https://explorer-testnet.xo.market",
"icon": "xo",
"standard": "EIP3091"
}
]
}
28 changes: 28 additions & 0 deletions constants/additionalChainRegistry/chainid-1001996.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
export const data = {
"name": "Wirex Pay Testnet",
"chain": "WirexPay",
"icon": "wpay",
"rpc": ["https://rpc-dev.wirexpaychain.com"],
"faucets": ["https://faucet-dev.wirexpaychain.com"],
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"features": [
{
"name": "EIP155"
}
],
"infoURL": "https://docs.wirexpaychain.com/tech/wirex-pay-chain",
"shortName": "wirex-testnet",
"chainId": 1001996,
"networkId": 1001996,
"explorers": [
{
"name": "Wirex Pay Testnet Explorer",
"url": "https://explorer-dev.wirexpaychain.com",
"standard": "none"
}
]
}
33 changes: 33 additions & 0 deletions constants/additionalChainRegistry/chainid-10088.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
export const data = {
name: "Gate Layer",
chain: "GT",
rpc: ["https://gatelayer-mainnet.gatenode.cc"],
nativeCurrency: {
name: "GT",
symbol: "GT",
decimals: 18,
},
features: [{ name: "EIP1559" }, { name: "EIP1559" }],
infoURL: "https://gatechain.io/gatelayer",
shortName: "GateLayer",
chainId: 10088,
networkId: 10088,
icon: "https://www.woofswap.finance/image/tokens/gatelayer.png",
explorers: [
{
name: "GateLayer",
url: "https://www.gatescan.org/gatelayer",
icon: "https://www.woofswap.finance/image/tokens/gatelayer.png",
standard: "EIP-1559",
},
],
"parent": {
"type": "L2",
"chain": "ethereum",
"bridges": [
{
"url": "https://www.gate.com/"
}
]
}
};
29 changes: 29 additions & 0 deletions constants/additionalChainRegistry/chainid-1043.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
export const data = {
"name": "Awakening Testnet",
"chain": "BDAG",
"icon": "BDAG",
"rpc": [
"​https://rpc.awakening.bdagscan.com",
"https://relay.awakening.bdagscan.com",
],
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
"faucets": [
"https://awakening.bdagscan.com/faucet"
],
"nativeCurrency": {
"name": "BlockDAG",
"symbol": "BDAG",
"decimals": 18,
},
"infoURL": "https://www.blockdag.network/",
"shortName": "bdag",
"chainId": 1043,
"networkId": 1043,
"explorers": [
{
"name": "BlockDAG Explorer",
"url": "https://awakening.bdagscan.com/",
},
],
"status": "active"
};
25 changes: 25 additions & 0 deletions constants/additionalChainRegistry/chainid-1098.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export const data = {
"name": "RealChain Mainnet",
"chain": "RealChain",
"icon": "realchain",
"rpc": [
"https://rpc.realchain.io",
],
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
"faucets": [],
"nativeCurrency": {
"name": "RealCoin",
"symbol": "R",
"decimals": 18,
},
"infoURL": "https://www.realchain.io/",
"shortName": "realchain",
"chainId": 1098,
"networkId": 1098,
"explorers": [
{
"name": "RealChain explorer",
"url": "https://scan.realchain.io/",
},
],
};
Loading