diff --git a/.vscode/settings.json b/.vscode/settings.json index c64bbfa1..a1720b45 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,54 +1,54 @@ { "typescript.tsdk": "node_modules/typescript/lib", "files.exclude": { - "renovate.json": false, - "tsconfig.json": false, - "vercel.json": false, - "postcss.config.js": false, - "next-env.d.ts": false, - "CHANGELOG.md": false, - ".releaserc.json": false, - ".next": false, - ".github": false, - "node_modules": false, - ".eslintrc.json": false, - "package.json": false, - ".gitignore": false, - "next.config.mjs": false, - ".env.local": false, - ".env.local.template": false, - "README.md": false, - "LICENSE": false, - "hardhat.config.ts": false, - ".prettierrc.js": false, - "typechain-types": false, - "hardhat/artifacts": false, - "hardhat/cache": false, - ".graphclient": false, - ".graphclientrc.yml": false, - "wagmi.config.ts": false, - "tailwind.config.js": false, - "hardhat/abis": false, - "build": false, - "foundry.toml": false, - ".gitmodules": false, - "slither.config.json": false, - "slither.db.json": false, - "solc.json": false, - "contracts/foundry/cache": false, - "contracts/foundry/out": false, - "contracts/hardhat/artifacts": false, - "contracts/hardhat/cache": false, - "secrets.json": false, - ".env": false, - "report.md": false, - "postcss.config.cjs": false, - "hardhat.config.cts": false, - "bun.lockb": false, - ".prettierrc.cjs": false, - "env.mjs": false, - "docs/": false, - "scripts/": false + "renovate.json": true, + "tsconfig.json": true, + "vercel.json": true, + "postcss.config.js": true, + "next-env.d.ts": true, + "CHANGELOG.md": true, + ".releaserc.json": true, + ".next": true, + ".github": true, + "node_modules": true, + ".eslintrc.json": true, + "package.json": true, + ".gitignore": true, + "next.config.mjs": true, + ".env.local": true, + ".env.local.template": true, + "README.md": true, + "LICENSE": true, + "hardhat.config.ts": true, + ".prettierrc.js": true, + "typechain-types": true, + "hardhat/artifacts": true, + "hardhat/cache": true, + ".graphclient": true, + ".graphclientrc.yml": true, + "wagmi.config.ts": true, + "tailwind.config.js": true, + "hardhat/abis": true, + "build": true, + "foundry.toml": true, + ".gitmodules": true, + "slither.config.json": true, + "slither.db.json": true, + "solc.json": true, + "contracts/foundry/cache": true, + "contracts/foundry/out": true, + "contracts/hardhat/artifacts": true, + "contracts/hardhat/cache": true, + "secrets.json": true, + ".env": true, + "report.md": true, + "postcss.config.cjs": true, + "hardhat.config.cts": true, + "bun.lockb": true, + ".prettierrc.cjs": true, + "env.mjs": true, + "docs/": true, + "scripts/": true }, // Required because of a bug with pnpm and prettier plugins. // See: https://github.com/prettier-solidity/prettier-plugin-solidity#pnpm diff --git a/src/lib/dapp/chains.ts b/src/lib/dapp/chains.ts index 95a702c4..48504b1b 100644 --- a/src/lib/dapp/chains.ts +++ b/src/lib/dapp/chains.ts @@ -1,6 +1,6 @@ import { hardhat, arbitrum, arbitrumGoerli, lineaTestnet, linea, Chain } from "@wagmi/core/chains"; -// Build chain icons map +//Build chain icons map export const chainsIcons = { 31337: "/assets/chains/hardhat.svg", 421613: "/assets/chains/arbitrum-goerli.png", @@ -10,22 +10,21 @@ export const chainsIcons = { 195: "/assets/chains/okxlogo.png", } as { [key: number]: string }; - const okcTestnet: Chain = { id: 195, - name: 'OKC X1 Testnet', + name: "OKC X1 Testnet", nativeCurrency: { - name: 'Testnet OKB', - symbol: 'OKB', + name: "Testnet OKB", + symbol: "OKB", decimals: 18, }, rpcUrls: { default: { - http: ['https://testrpc.x1.tech'] - } + http: ["https://testrpc.x1.tech"], + }, }, blockExplorers: { - default: { name: 'OKLink', url: 'https://www.oklink.com/x1-test' }, + default: { name: "OKLink", url: "https://www.oklink.com/x1-test" }, }, testnet: true, };