Skip to content

Commit a19e63a

Browse files
committed
add dogeOS, still missing link token contract addresses for all new testnets
1 parent 0c736dd commit a19e63a

File tree

9 files changed

+239
-1
lines changed

9 files changed

+239
-1
lines changed

public/assets/chains/dogeos.svg

Lines changed: 181 additions & 0 deletions
Loading

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ export const productChainLinks: ProductChainLinks = {
281281
corn: "/resources/link-token-contracts#corn",
282282
cronos: "/resources/link-token-contracts#cronos",
283283
cronoszkevm: "/resources/link-token-contracts#cronos-zkevm",
284+
dogeos: "/resources/link-token-contracts#dogeos",
284285
etherlink: "/resources/link-token-contracts#etherlink",
285286
ethereum: "/resources/link-token-contracts#ethereum",
286287
everclear: "/resources/link-token-contracts#everclear",
@@ -435,4 +436,5 @@ export const chainNames: Record<string, string> = {
435436
stable: "Stable",
436437
tempo: "Tempo",
437438
arcnetwork: "Arc Network",
439+
dogeos: "DogeOS",
438440
}

src/config/data/chains.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@
26462646
"chains": {
26472647
"ARC_NETWORK_TESTNET": {
26482648
"chainId": 5042002,
2649-
"title": "Arc Network",
2649+
"title": "Arc Network Testnet",
26502650
"explorer": {
26512651
"baseUrl": "https://testnet.arcscan.app"
26522652
},
@@ -2657,5 +2657,24 @@
26572657
}
26582658
}
26592659
}
2660+
},
2661+
"DOGE_OS": {
2662+
"title": "DogeOS",
2663+
"icon": "/assets/chains/dogeos.svg",
2664+
"chainType": "evm",
2665+
"chains": {
2666+
"DOGE_OS_CHIKYU_TESTNET": {
2667+
"chainId": 6281971,
2668+
"title": "DogeOS Chikyu Testnet",
2669+
"explorer": {
2670+
"baseUrl": "https://blockscout.testnet.dogeos.com"
2671+
},
2672+
"nativeCurrency": {
2673+
"name": "DogeOS",
2674+
"symbol": "DOGE",
2675+
"decimals": 18
2676+
}
2677+
}
2678+
}
26602679
}
26612680
}

src/config/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export type SupportedTechnology =
8282
| "STABLE"
8383
| "TEMPO"
8484
| "ARC_NETWORK"
85+
| "DOGE_OS"
8586

8687
export type ChainType = "evm" | "solana" | "aptos"
8788

@@ -256,6 +257,7 @@ export type SupportedChain =
256257
| "STABLE_MAINNET"
257258
| "TEMPO_TESTNET"
258259
| "ARC_NETWORK_TESTNET"
260+
| "DOGE_OS_CHIKYU_TESTNET"
259261

260262
export type ExplorerInfo = {
261263
baseUrl: string

src/config/web3Providers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
173173
STABLE_MAINNET: () => new JsonRpcProvider("https://rpc.stable.xyz"),
174174
TEMPO_TESTNET: () => new JsonRpcProvider("https://rpc.testnet.tempo.xyz"),
175175
ARC_NETWORK_TESTNET: () => new JsonRpcProvider("https://rpc.testnet.arc.network"),
176+
DOGE_OS_CHIKYU_TESTNET: () => new JsonRpcProvider("https://rpc.testnet.dogeos.com/"),
176177
}
177178

178179
export const getRpcUrlForChain = (chain: SupportedChain): string => {

src/content/resources/link-token-contracts.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,18 @@ Testnet Native and LINK is available at [faucets.chain.link/corn-testnet](https:
547547
| Symbol | LINK |
548548
| Decimals | 18 |
549549

550+
## <img src="/assets/chains/dogeos.svg" style="height: 24px; width: auto; margin-right: 8px;" />DogeOS
551+
552+
### DogeOS Chikyu Testnet
553+
554+
| Parameter | Value |
555+
| :-------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
556+
| Chain ID | `6281971` |
557+
| Address | <Address contractUrl="https://blockscout.testnet.dogeos.com/address/0x514910771AF9Ca656af840dff83E8264EcF986CA" urlId="6281971_0x514910771AF9Ca656af840dff83E8264EcF986CA" urlClass="erc-token-address"/> |
558+
| Name | Chainlink Token on DogeOS Chikyu Testnet |
559+
| Symbol | LINK |
560+
| Decimals | 18 |
561+
550562
## <img src="/assets/chains/ethereum.svg" style="height: 24px; width: auto; margin-right: 8px;" />Ethereum
551563

552564
### Ethereum Mainnet

src/features/utils/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain =>
532532
return "TEMPO_TESTNET"
533533
case "arc-network-testnet":
534534
return "ARC_NETWORK_TESTNET"
535+
case "doge-os-chikyu-testnet":
536+
return "DOGE_OS_CHIKYU_TESTNET"
535537
default:
536538
throw Error(`Chain not found ${chainInRdd}`)
537539
}
@@ -863,6 +865,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri
863865
return "tempo-testnet"
864866
case "ARC_NETWORK_TESTNET":
865867
return "arc-network-testnet"
868+
case "DOGE_OS_CHIKYU_TESTNET":
869+
return "doge-os-chikyu-testnet"
866870
default:
867871
throw Error(`Chain not found ${supportedChain}`)
868872
}

src/scripts/reference/chains.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2882,6 +2882,19 @@
28822882
"networkId": 7777777,
28832883
"explorers": [{ "name": "Zora Network Explorer", "url": "https://explorer.zora.energy", "standard": "EIP3091" }]
28842884
},
2885+
{
2886+
"name": "DogeOS Chikyū Testnet",
2887+
"chain": "DogeOS",
2888+
"rpc": ["https://rpc.testnet.dogeos.com/"],
2889+
"faucets": ["https://faucet.testnet.dogeos.com"],
2890+
"nativeCurrency": { "name": "Doge", "symbol": "DOGE", "decimals": 18 },
2891+
"icon": "doge",
2892+
"infoURL": "https://www.dogeos.com/",
2893+
"shortName": "doge",
2894+
"chainId": 6281971,
2895+
"networkId": 6281971,
2896+
"explorers": [{ "name": "Blockscout", "url": "https://blockscout.testnet.dogeos.com", "standard": "EIP3091" }]
2897+
},
28852898
{
28862899
"name": "Sepolia",
28872900
"title": "Ethereum Testnet Sepolia",

src/scripts/reference/linkNameSymbol.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,5 +667,9 @@
667667
"14601": {
668668
"name": "ChainLink Token",
669669
"symbol": "LINK"
670+
},
671+
"6281971": {
672+
"name": "ChainLink Token",
673+
"symbol": "LINK"
670674
}
671675
}

0 commit comments

Comments
 (0)