diff --git a/package-lock.json b/package-lock.json
index 0351c74a72..de371af143 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,7 @@
"@emotion/styled": "^11.11.0",
"@fuels/connectors": "^0.36.0",
"@fuels/react": "^0.36.0",
- "@guildxyz/types": "^1.10.29",
+ "@guildxyz/types": "^1.10.31",
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@hookform/resolvers": "^3.3.4",
"@lexical/code": "^0.12.0",
@@ -5876,9 +5876,9 @@
}
},
"node_modules/@guildxyz/types": {
- "version": "1.10.29",
- "resolved": "https://registry.npmjs.org/@guildxyz/types/-/types-1.10.29.tgz",
- "integrity": "sha512-lCIrI1cWuMy/bVXJfYJp3oj27UHXcExtfUjZCOKY32CrEcbqQkQ+iINLNPRHtfBvp6GK/YBmkwrWPl/llM5Fng==",
+ "version": "1.10.31",
+ "resolved": "https://registry.npmjs.org/@guildxyz/types/-/types-1.10.31.tgz",
+ "integrity": "sha512-nbdGDnspOCCZrko8/tmOX+3bjNbyvrTUaw9lHmDpwY4OZmSMnommTBL1jAePcQ0og6cC96mT/YVC4zUy7VXDWg==",
"license": "ISC",
"dependencies": {
"zod": "^3.22.4"
diff --git a/package.json b/package.json
index 8509ba01f9..8cfbf91ffb 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
"@emotion/styled": "^11.11.0",
"@fuels/connectors": "^0.36.0",
"@fuels/react": "^0.36.0",
- "@guildxyz/types": "^1.10.29",
+ "@guildxyz/types": "^1.10.31",
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@hookform/resolvers": "^3.3.4",
"@lexical/code": "^0.12.0",
diff --git a/public/networkLogos/ink.svg b/public/networkLogos/ink.svg
new file mode 100644
index 0000000000..1a12633e2c
--- /dev/null
+++ b/public/networkLogos/ink.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/hooks/useTokens.ts b/src/hooks/useTokens.ts
index eff34bc80e..1f55ca81d8 100644
--- a/src/hooks/useTokens.ts
+++ b/src/hooks/useTokens.ts
@@ -80,7 +80,7 @@ const TokenApiURLs: Record = {
CORE_DAO: [],
LISK_SEPOLIA: [],
OP_BNB: [],
- FORM_TESTNET: [],
+ FORM: [],
CYBER: [],
TAIKO: [],
KLAYTN: [],
@@ -93,6 +93,7 @@ const TokenApiURLs: Record = {
CRONOS_ZKEVM: [],
WORLD_CHAIN: [],
INK_SEPOLIA: [],
+ INK: [],
}
const fetchTokens = async ([_, chain]) =>
diff --git a/src/static/customChains.ts b/src/static/customChains.ts
index 10583f5917..64a9e703e9 100644
--- a/src/static/customChains.ts
+++ b/src/static/customChains.ts
@@ -325,8 +325,8 @@ export const x1 = {
},
} as const satisfies Chain
-export const formTestnet = {
- id: 132902,
+export const form = {
+ id: 478,
name: "Form",
nativeCurrency: {
decimals: 18,
@@ -344,8 +344,8 @@ export const formTestnet = {
},
contracts: {
multicall3: {
- address: "0xf2429187a6e6f2f7980dde17a856bd22e211d2a2",
- blockCreated: 1118269,
+ address: "0xca11bde05977b3631167028862be2a173976ca11",
+ blockCreated: 342734,
},
},
testnet: true,
@@ -428,3 +428,29 @@ export const inkSepolia = {
},
testnet: false,
} as const satisfies Chain
+
+export const ink = {
+ id: 57073,
+ name: "Ink",
+ nativeCurrency: {
+ decimals: 18,
+ name: "Ether",
+ symbol: "ETH",
+ },
+ rpcUrls: {
+ default: { http: ["https://rpc-gel.inkonchain.com"] },
+ },
+ blockExplorers: {
+ default: {
+ name: "Blockscout",
+ url: "https://explorer.inkonchain.com",
+ },
+ },
+ contracts: {
+ multicall3: {
+ address: "0xca11bde05977b3631167028862be2a173976ca11",
+ blockCreated: 595972,
+ },
+ },
+ testnet: false,
+} as const satisfies Chain
diff --git a/src/wagmiConfig/chains.ts b/src/wagmiConfig/chains.ts
index a2365715e8..424c2ddc6b 100644
--- a/src/wagmiConfig/chains.ts
+++ b/src/wagmiConfig/chains.ts
@@ -3,7 +3,8 @@ import {
bitfinityTestnet,
bobaAvax,
exosama,
- formTestnet,
+ form,
+ ink,
inkSepolia,
metisSepolia,
mint,
@@ -626,8 +627,8 @@ const CHAIN_CONFIG: Record = {
dark: "/explorerLogos/opbnb.png",
},
},
- FORM_TESTNET: {
- ...generateChainConfig(formTestnet, ETH_ICON),
+ FORM: {
+ ...generateChainConfig(form, ETH_ICON),
iconUrl: "/networkLogos/form.svg",
blockExplorerIconUrl: {
light: "/networkLogos/form.svg",
@@ -733,6 +734,14 @@ const CHAIN_CONFIG: Record = {
dark: "/networkLogos/inkSepolia.png",
},
},
+ INK: {
+ ...generateChainConfig(ink, ETH_ICON),
+ iconUrl: "/networkLogos/ink.svg",
+ blockExplorerIconUrl: {
+ light: "/networkLogos/ink.svg",
+ dark: "/networkLogos/ink.svg",
+ },
+ },
}
enum Chains {
@@ -792,7 +801,7 @@ enum Chains {
CORE_DAO = coreDao.id,
LISK_SEPOLIA = liskSepolia.id,
OP_BNB = opBNB.id,
- FORM_TESTNET = formTestnet.id,
+ FORM = form.id,
CYBER = cyber.id,
TAIKO = taiko.id,
KLAYTN = klaytn.id,
@@ -805,6 +814,7 @@ enum Chains {
CRONOS_ZKEVM = cronoszkEVM.id,
WORLD_CHAIN = worldchain.id,
INK_SEPOLIA = inkSepolia.id,
+ INK = ink.id,
}
export type Chain = keyof typeof Chains
diff --git a/src/wagmiConfig/index.ts b/src/wagmiConfig/index.ts
index a999f227e7..c6c370548e 100644
--- a/src/wagmiConfig/index.ts
+++ b/src/wagmiConfig/index.ts
@@ -3,7 +3,8 @@ import {
beraTestnet,
bitfinityTestnet,
exosama,
- formTestnet,
+ form,
+ ink,
inkSepolia,
metisSepolia,
mint,
@@ -181,7 +182,7 @@ export const wagmiConfig = IS_TEST
coreDao,
liskSepolia as Chain,
opBNB,
- formTestnet,
+ form,
cyber,
taiko,
klaytn,
@@ -194,6 +195,7 @@ export const wagmiConfig = IS_TEST
cronoszkEVM,
worldchain,
inkSepolia,
+ ink,
],
transports: {
[mainnet.id]: http(),
@@ -248,7 +250,7 @@ export const wagmiConfig = IS_TEST
[coreDao.id]: http(),
[liskSepolia.id]: http(),
[opBNB.id]: http(),
- [formTestnet.id]: http(),
+ [form.id]: http(),
[cyber.id]: http(),
[taiko.id]: http(),
[klaytn.id]: http(),
@@ -261,6 +263,7 @@ export const wagmiConfig = IS_TEST
[cronoszkEVM.id]: http(),
[worldchain.id]: http(),
[inkSepolia.id]: http(),
+ [ink.id]: http(),
},
ssr: true,
connectors: [