Compare commits
35
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cb51536b4 | ||
|
|
9b0a3df709 | ||
|
|
0c9376ff17 | ||
|
|
df338f5f75 | ||
|
|
ea0dedcb6e | ||
|
|
50bbc7c053 | ||
|
|
ff354a6ae1 | ||
|
|
8197b3ced2 | ||
|
|
65e4ddc8e0 | ||
|
|
955a20737a | ||
|
|
f0fe1fdb1b | ||
|
|
b22a572d8a | ||
|
|
9d46fce50f | ||
|
|
a18fc8e1b7 | ||
|
|
6574e4da99 | ||
|
|
5781dac184 | ||
|
|
db05717803 | ||
|
|
cb2a7e964a | ||
|
|
07f98a5b92 | ||
|
|
007770cd63 | ||
|
|
a92311a53d | ||
|
|
e6b5d9cc5d | ||
|
|
c4d51e0b80 | ||
|
|
259ff7c07c | ||
|
|
39c6fbc552 | ||
|
|
9453f74bbf | ||
|
|
bf6a8e0cab | ||
|
|
eb919ed49d | ||
|
|
4d7ecc24b7 | ||
|
|
758cbdde0a | ||
|
|
d65713a7af | ||
|
|
ce144ff521 | ||
|
|
d836889f46 | ||
|
|
1f6ee22fb9 | ||
|
|
900e7d0324 |
@@ -30,7 +30,7 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest-16
|
||||
runs-on: ubuntu-latest
|
||||
name: Build Packages
|
||||
steps:
|
||||
- name: Check out the code
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
test:
|
||||
timeout-minutes: 15
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest-16
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v4
|
||||
@@ -73,6 +73,9 @@ jobs:
|
||||
|
||||
- name: Set up foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
version: nightly-440ec525deb00b4dca138794865c27d1e8ea4d01
|
||||
cache: false
|
||||
|
||||
- run: pnpm test
|
||||
|
||||
@@ -101,7 +104,7 @@ jobs:
|
||||
if: github.event_name != 'merge_group'
|
||||
timeout-minutes: 15
|
||||
name: "Benchmarks"
|
||||
runs-on: ubuntu-latest-16
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v4
|
||||
@@ -109,6 +112,12 @@ jobs:
|
||||
- name: Setup & Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
- name: Set up foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
version: nightly-440ec525deb00b4dca138794865c27d1e8ea4d01
|
||||
cache: false
|
||||
|
||||
- name: Run benchmarks
|
||||
uses: CodSpeedHQ/action@v2
|
||||
with:
|
||||
@@ -120,7 +129,7 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
timeout-minutes: 15
|
||||
name: "Size"
|
||||
runs-on: ubuntu-latest-16
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Vendored
+4
-1
@@ -5,5 +5,8 @@
|
||||
"quickfix.biome": "explicit",
|
||||
"source.organizeImports.biome": "explicit"
|
||||
},
|
||||
"typescript.preferences.importModuleSpecifier": "relative"
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "biomejs.biome"
|
||||
}
|
||||
}
|
||||
|
||||
+16
-1
@@ -21,5 +21,20 @@
|
||||
"packages/thirdweb/src/utils/bytecode/cbor-decode.ts",
|
||||
"packages/thirdweb/src/**/__generated__/**"
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"include": ["packages/thirdweb/src/**"],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"style": {
|
||||
"noRestrictedGlobals": {
|
||||
"options": { "deniedGlobals": ["Buffer"] },
|
||||
"level": "error"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.61
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.3
|
||||
|
||||
## 4.1.60
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc)]:
|
||||
- @thirdweb-dev/wallets@2.5.2
|
||||
|
||||
## 4.1.59
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.1
|
||||
|
||||
## 4.1.58
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.58",
|
||||
"version": "4.1.61",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.94
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2755](https://github.com/thirdweb-dev/js/pull/2755) [`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.93
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2746](https://github.com/thirdweb-dev/js/pull/2746) [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.92
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2740](https://github.com/thirdweb-dev/js/pull/2740) [`d65713a`](https://github.com/thirdweb-dev/js/commit/d65713a7af67bf20e5b88b72f5d43dfba9172b3b) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.91
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "$HYB",
|
||||
"chain": "HYB",
|
||||
"chainId": 1224,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Hybrid Testnet",
|
||||
"url": "https://alphatestnet.buildonhybrid.com",
|
||||
"url": "https://explorer.buildonhybrid.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
"name": "Hybrid Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Hybrid",
|
||||
"symbol": "$HYB",
|
||||
"symbol": "HYB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1224,
|
||||
|
||||
@@ -27,5 +27,6 @@ export default {
|
||||
],
|
||||
"shortName": "Bobabeam",
|
||||
"slug": "bobabeam",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -28,5 +28,6 @@ export default {
|
||||
"shortName": "Bobabase",
|
||||
"slip44": 1,
|
||||
"slug": "bobabase-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DIONE",
|
||||
"chainId": 131313,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://faucet.dioneprotocol.com/"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVt5Y585JqBSrkpZmYaEnX9FW7tDwfDLmUGNyDdyV2Pd2",
|
||||
"width": 48,
|
||||
"height": 48,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://www.dioneprotocol.com/",
|
||||
"name": "Odyssey Chain (Testnet)",
|
||||
"nativeCurrency": {
|
||||
"name": "DIONE",
|
||||
"symbol": "DIONE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 131313,
|
||||
"rpc": [
|
||||
"https://131313.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnode.dioneprotocol.com/ext/bc/D/rpc"
|
||||
],
|
||||
"shortName": "DIONE",
|
||||
"slug": "odyssey-chain-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "KNB",
|
||||
"chainId": 13600,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "qbitscan",
|
||||
"url": "https://explorer.qbitscan.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZEuR4bJaZkC497qQnsxHv23pZFcXb9dTdaDPCPo2sj9Z",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://kronobit.org",
|
||||
"name": "Kronobit Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Kronobit",
|
||||
"symbol": "KNB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 13600,
|
||||
"rpc": [
|
||||
"https://13600.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet-rpc.qbitscan.com"
|
||||
],
|
||||
"shortName": "KNB",
|
||||
"slug": "kronobit",
|
||||
"testnet": false,
|
||||
"title": "Kronobit Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -2,7 +2,13 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Rari",
|
||||
"chainId": 1380012617,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "rarichain-explorer",
|
||||
"url": "https://mainnet.explorer.rarichain.org",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
@@ -31,7 +37,8 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://1380012617.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.rpc.rarichain.org/http"
|
||||
"https://mainnet.rpc.rarichain.org/http",
|
||||
"https://rari.calderachain.xyz/http"
|
||||
],
|
||||
"shortName": "rari",
|
||||
"slug": "rari",
|
||||
|
||||
@@ -7,6 +7,11 @@ export default {
|
||||
"name": "blockscout",
|
||||
"url": "https://blockscoutapi.hekla.taiko.xyz",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "routescan",
|
||||
"url": "https://hekla.taikoscan.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Titan (TKX)",
|
||||
"chainId": 18888,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Titan Explorer",
|
||||
"url": "https://titan-explorer-light.titanlab.io/Titan",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://titanlab.io",
|
||||
"name": "Titan (TKX)",
|
||||
"nativeCurrency": {
|
||||
"name": "Titan tkx",
|
||||
"symbol": "TKX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 18888,
|
||||
"rpc": [
|
||||
"https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://titan-json-rpc.titanlab.io"
|
||||
],
|
||||
"shortName": "titan_tkx",
|
||||
"slip44": 1,
|
||||
"slug": "titan-tkx",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -2,7 +2,13 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "RARI-T",
|
||||
"chainId": 1918988905,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "rarichain-testnet-explorer",
|
||||
"url": "https://explorer.rarichain.org",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"infoURL": "https://rarichain.org/",
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "X1",
|
||||
"chain": "X Layer",
|
||||
"chainId": 195,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "OKLink",
|
||||
"url": "https://www.oklink.com/x1-test",
|
||||
"url": "https://www.oklink.com/xlayer-test",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://www.okx.com/x1/faucet"
|
||||
"https://www.okx.com/xlayer/faucet"
|
||||
],
|
||||
"features": [],
|
||||
"infoURL": "https://www.okx.com/x1",
|
||||
"name": "X1 Testnet",
|
||||
"infoURL": "https://www.okx.com/xlayer",
|
||||
"name": "X Layer Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "X1 Global Utility Token in testnet",
|
||||
"name": "X Layer Global Utility Token in testnet",
|
||||
"symbol": "OKB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 195,
|
||||
"rpc": [
|
||||
"https://195.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testrpc.x1.tech",
|
||||
"https://x1testrpc.okx.com"
|
||||
"https://testrpc.xlayer.tech",
|
||||
"https://xlayertestrpc.okx.com"
|
||||
],
|
||||
"shortName": "tokb",
|
||||
"slip44": 1,
|
||||
"slug": "x1-testnet",
|
||||
"slug": "x-layer-testnet",
|
||||
"status": "active",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -1,21 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "X1",
|
||||
"chain": "X Layer",
|
||||
"chainId": 196,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "OKLink",
|
||||
"url": "https://www.oklink.com/xlayer",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"infoURL": "https://www.okx.com/x1",
|
||||
"name": "X1 Mainnet",
|
||||
"infoURL": "https://www.okx.com/xlayer",
|
||||
"name": "X Layer Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "X1 Global Utility Token",
|
||||
"name": "X Layer Global Utility Token",
|
||||
"symbol": "OKB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 196,
|
||||
"rpc": [],
|
||||
"rpc": [
|
||||
"https://196.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.xlayer.tech",
|
||||
"https://xlayerrpc.okx.com"
|
||||
],
|
||||
"shortName": "okb",
|
||||
"slug": "x1",
|
||||
"slug": "x-layer",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,33 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "EdgelessTestnet",
|
||||
"chainId": 202,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Edgeless Explorer",
|
||||
"url": "https://testnet.explorer.edgeless.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"infoURL": "https://edgeless.network",
|
||||
"name": "Edgeless Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Edgeless Wrapped Eth",
|
||||
"symbol": "EwEth",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 202,
|
||||
"rpc": [
|
||||
"https://202.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet.rpc.edgeless.network/http"
|
||||
],
|
||||
"shortName": "edgeless-testnet",
|
||||
"slug": "edgeless-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,33 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Edgeless",
|
||||
"chainId": 2026,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Edgeless Explorer",
|
||||
"url": "https://explorer.edgeless.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"infoURL": "https://edgeless.network",
|
||||
"name": "Edgeless Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Edgeless Wrapped Eth",
|
||||
"symbol": "EwEth",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2026,
|
||||
"rpc": [
|
||||
"https://2026.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.edgeless.network/http"
|
||||
],
|
||||
"shortName": "edgeless",
|
||||
"slug": "edgeless-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "HDX",
|
||||
"chainId": 222222,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.evm.hydration.cloud",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://hydradx.io",
|
||||
"name": "HydraDX",
|
||||
"nativeCurrency": {
|
||||
"name": "Wrapped ETH",
|
||||
"symbol": "WETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 222222,
|
||||
"rpc": [
|
||||
"https://222222.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.hydradx.cloud",
|
||||
"wss://rpc.hydradx.cloud"
|
||||
],
|
||||
"shortName": "hdx",
|
||||
"slug": "hydradx",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.opside.network"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmeCyZeibUoHNoYGzy1GkzH2uhxyRHKvH51PdaUMer4VTo",
|
||||
"width": 591,
|
||||
"height": 591,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://opside.network",
|
||||
"name": "Opside Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DreyerX",
|
||||
"chainId": 23451,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "drxscan",
|
||||
"url": "https://scan.dreyerx.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",
|
||||
"width": 4501,
|
||||
"height": 4501,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",
|
||||
"width": 4501,
|
||||
"height": 4501,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://dreyerx.com",
|
||||
"name": "DreyerX Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "DreyerX",
|
||||
"symbol": "DRX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 23451,
|
||||
"rpc": [
|
||||
"https://23451.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.dreyerx.com"
|
||||
],
|
||||
"shortName": "dreyerx",
|
||||
"slug": "dreyerx",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DreyerX",
|
||||
"chainId": 23452,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "drxscan",
|
||||
"url": "https://testnet-scan.dreyerx.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",
|
||||
"width": 4501,
|
||||
"height": 4501,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmTGjVbiSdHYhjzpeqzY6fGwGiLQuEa2hW7irD75sUSx9e",
|
||||
"width": 4501,
|
||||
"height": 4501,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://dreyerx.com",
|
||||
"name": "DreyerX Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "DreyerX",
|
||||
"symbol": "DRX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 23452,
|
||||
"rpc": [
|
||||
"https://23452.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-rpc.dreyerx.com"
|
||||
],
|
||||
"shortName": "dreyerx-testnet",
|
||||
"slug": "dreyerx-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 24010,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "Stealthnet Testing ",
|
||||
"nativeCurrency": {
|
||||
"name": "Stealthnet Testing Token",
|
||||
"symbol": "AVCLDDEV",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 24010,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://24010.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/stealthnet/testnet/rpc"
|
||||
],
|
||||
"shortName": "Stealthnet Testing ",
|
||||
"slug": "stealthnet-testing",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -2,19 +2,7 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "XR Sepolia",
|
||||
"chainId": 2730,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://xr-sepolia-testnet.explorer.caldera.xyz/",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",
|
||||
"width": 300,
|
||||
"height": 300,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
@@ -39,7 +27,7 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xr-sepolia-testnet.rpc.caldera.xyz/http"
|
||||
"https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http"
|
||||
],
|
||||
"shortName": "xr-sepolia",
|
||||
"slug": "xr-sepolia",
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Vizing Mainnet",
|
||||
"chainId": 28518,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.vizing.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://vizing.com",
|
||||
"name": "Vizing Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 28518,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge.vizing.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://28518.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.vizing.com"
|
||||
],
|
||||
"shortName": "Vizing",
|
||||
"slug": "vizing",
|
||||
"testnet": false,
|
||||
"title": "Vizing Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -7,11 +7,6 @@ export default {
|
||||
"name": "Bobascan",
|
||||
"url": "https://bobascan.com",
|
||||
"standard": "none"
|
||||
},
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://blockexplorer.boba.network",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 28882,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Bobascan",
|
||||
"url": "https://testnet.bobascan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://www.l2faucet.com/boba"
|
||||
],
|
||||
"infoURL": "https://boba.network",
|
||||
"name": "Boba Sepolia",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 28882,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://gateway.boba.network"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://28882.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sepolia.boba.network",
|
||||
"https://boba-sepolia.gateway.tenderly.co",
|
||||
"https://gateway.tenderly.co/public/boba-sepolia",
|
||||
"wss://boba-sepolia.gateway.tenderly.co/",
|
||||
"wss://gateway.tenderly.co/public/boba-sepolia"
|
||||
],
|
||||
"shortName": "BobaSepolia",
|
||||
"slug": "boba-sepolia",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -25,6 +25,6 @@ export default {
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "Testnet",
|
||||
"slug": "testnet",
|
||||
"slug": "testnet-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 29386,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QaUser4106 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser4106 Testnet Token",
|
||||
"symbol": "BBS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 29386,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://29386.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser4106 Testnet",
|
||||
"slug": "qauser4106-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "KaiChain",
|
||||
"chainId": 29536,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "KaiChain Explorer",
|
||||
"url": "https://testnet-explorer.kaichain.net",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet.kaichain.net"
|
||||
],
|
||||
"infoURL": "https://kaichain.net",
|
||||
"name": "KaiChain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "KaiChain Testnet Native Token",
|
||||
"symbol": "KEC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 29536,
|
||||
"rpc": [
|
||||
"https://29536.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-rpc.kaichain.net"
|
||||
],
|
||||
"shortName": "tkec",
|
||||
"slug": "kaichain-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -27,5 +27,6 @@ export default {
|
||||
],
|
||||
"shortName": "Bobaopera",
|
||||
"slug": "bobaopera",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "SatoshiVM",
|
||||
"chainId": 3109,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",
|
||||
"width": 940,
|
||||
"height": 941,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.satoshivm.io/",
|
||||
"name": "SatoshiVM Alpha Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "BTC",
|
||||
"symbol": "BTC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3109,
|
||||
"rpc": [
|
||||
"https://3109.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://alpha-rpc-node-http.svmscan.io"
|
||||
],
|
||||
"shortName": "SAVM",
|
||||
"slug": "satoshivm-alpha",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "SatoshiVM",
|
||||
"chainId": 3110,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmdXnQw9YwzEBZnciSe42MMwnH1SqhfY3FcVbseyM4k7Th",
|
||||
"width": 940,
|
||||
"height": 941,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.satoshivm.io/",
|
||||
"name": "SatoshiVM Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "BTC",
|
||||
"symbol": "BTC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3110,
|
||||
"rpc": [
|
||||
"https://3110.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://test-rpc-node-http.svmscan.io"
|
||||
],
|
||||
"shortName": "tSAVM",
|
||||
"slug": "satoshivm-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "EVO",
|
||||
"chainId": 3424,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Evolve Mainnet Explorer",
|
||||
"url": "https://evoexplorer.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVxtpYYzc5214CB7BgsMC4mRNRHCD8fpbNMzZguBWyRwa",
|
||||
"width": 600,
|
||||
"height": 600,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://evolveblockchain.io",
|
||||
"name": "EVOLVE Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Evolve",
|
||||
"symbol": "EVO",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3424,
|
||||
"rpc": [
|
||||
"https://3424.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.evolveblockchain.io"
|
||||
],
|
||||
"shortName": "EVOm",
|
||||
"slug": "evolve",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,33 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "KingdomChain",
|
||||
"chainId": 39916801,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "TravelSong",
|
||||
"url": "https://www.beastkingdom.io/travelsong",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"infoURL": "https://www.beastkingdom.io/",
|
||||
"name": "Kingdom Chain",
|
||||
"nativeCurrency": {
|
||||
"name": "Kozi",
|
||||
"symbol": "KOZI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 39916801,
|
||||
"rpc": [
|
||||
"https://39916801.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://kingdomchain.observer/rpc"
|
||||
],
|
||||
"shortName": "kchain",
|
||||
"slug": "kingdom-chain",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://sepoliafaucet.com/"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://qmxhs7fvjanzwm14vjpbnmklre32gsiy9chsarrnbtfa1n",
|
||||
"width": 1280,
|
||||
"height": 1280,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.apexlayer.xyz/",
|
||||
"name": "APEX Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "SYNDR",
|
||||
"chainId": 404,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Syndr L3 Explorer",
|
||||
"url": "https://explorer.syndr.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreibsl7iuxeibovp7uddigbus3lyse2f7n4s2lomgvf33fmgyxjwq5i",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://syndr.com",
|
||||
"name": "Syndr L3",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 404,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-42161",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge.syndr.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://404.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.syndr.com",
|
||||
"wss://rpc.syndr.com/ws"
|
||||
],
|
||||
"shortName": "syndr-l3",
|
||||
"slug": "syndr-l3",
|
||||
"testnet": false,
|
||||
"title": "Syndr L3 Rollup"
|
||||
} as const satisfies Chain;
|
||||
@@ -28,5 +28,6 @@ export default {
|
||||
"shortName": "BobaoperaTestnet",
|
||||
"slip44": 1,
|
||||
"slug": "bobaopera-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -25,6 +25,6 @@ export default {
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "Testnet",
|
||||
"slug": "testnet-testnet",
|
||||
"slug": "testnet-testnet-41604",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 41720,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QR0409s1 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QR0409s1 Testnet Token",
|
||||
"symbol": "ZSP",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 41720,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://41720.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr0409s1/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR0409s1 Testnet",
|
||||
"slug": "qr0409s1-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -36,5 +36,6 @@ export default {
|
||||
"shortName": "BobaFujiTestnet",
|
||||
"slip44": 1,
|
||||
"slug": "bobafuji-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -27,5 +27,6 @@ export default {
|
||||
],
|
||||
"shortName": "bobaavax",
|
||||
"slug": "boba-avax",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 45979,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QaUser5277 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser5277 Testnet Token",
|
||||
"symbol": "LWR",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 45979,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://45979.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser5277 Testnet",
|
||||
"slug": "qauser5277-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 47157,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "Avaland Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Avaland Testnet Token",
|
||||
"symbol": "AVA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 47157,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://47157.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/avalandtes/testnet/rpc"
|
||||
],
|
||||
"shortName": "Avaland Testnet",
|
||||
"slug": "avaland-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 51435,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QR0410s1d Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QR0410s1d Testnet Token",
|
||||
"symbol": "CWV",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 51435,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://51435.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr0410s1d/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR0410s1d Testnet",
|
||||
"slug": "qr0410s1d-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DoCoin",
|
||||
"chainId": 526916,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "DoCoin Community Chain Explorer",
|
||||
"url": "https://explorer.docoin.shop",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docoin.network",
|
||||
"name": "DoCoin Community Chain",
|
||||
"nativeCurrency": {
|
||||
"name": "DO",
|
||||
"symbol": "DCT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 526916,
|
||||
"rpc": [
|
||||
"https://526916.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.docoin.shop"
|
||||
],
|
||||
"shortName": "DoCoin",
|
||||
"slug": "docoin-community-chain",
|
||||
"testnet": false,
|
||||
"title": "DoCoin Community Chain"
|
||||
} as const satisfies Chain;
|
||||
@@ -7,11 +7,6 @@ export default {
|
||||
"name": "Scroll Sepolia Etherscan",
|
||||
"url": "https://sepolia.scrollscan.com",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "Scroll Sepolia Blockscout",
|
||||
"url": "https://sepolia-blockscout.scroll.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
|
||||
@@ -7,11 +7,6 @@ export default {
|
||||
"name": "Scrollscan",
|
||||
"url": "https://scrollscan.com",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://blockscout.scroll.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -35,7 +30,6 @@ export default {
|
||||
"rpc": [
|
||||
"https://534352.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.scroll.io",
|
||||
"https://rpc-scroll.icecreamswap.com",
|
||||
"https://rpc.ankr.com/scroll",
|
||||
"https://scroll-mainnet.chainstacklabs.com"
|
||||
],
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 53687,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QI0409s1 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QI0409s1 Testnet Token",
|
||||
"symbol": "QCE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 53687,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://53687.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QI0409s1 Testnet",
|
||||
"slug": "qi0409s1-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Flow",
|
||||
"chainId": 545,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Flow Diver",
|
||||
"url": "https://testnet.flowdiver.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://testnet-faucet.onflow.org"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQFugEvsfU3ARjjJ7YRLJwSxMfTk54WWzrofekTRBKFaC",
|
||||
"width": 2000,
|
||||
"height": 2000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://developers.flow.com/evm/about",
|
||||
"name": "Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "FLOW",
|
||||
"symbol": "FLOW",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 545,
|
||||
"rpc": [
|
||||
"https://545.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet.evm.nodes.onflow.org"
|
||||
],
|
||||
"shortName": "flow-testnet",
|
||||
"slug": "testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://t.me/vexfaucetbot"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM",
|
||||
"width": 451,
|
||||
"height": 446,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://vexanium.com",
|
||||
"name": "VEX EVM TESTNET",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -2,9 +2,19 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 555666,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "ECLIPSE Explorer",
|
||||
"url": "https://subnets-test.avax.network/eclipsecha",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Boba BNB block explorer",
|
||||
"url": "https://blockexplorer.bnb.boba.network",
|
||||
"url": "https://bobascan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "QIE",
|
||||
"chainId": 5656,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "QIE Explorer",
|
||||
"url": "https://mainnet.qiblockchain.online",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",
|
||||
"width": 600,
|
||||
"height": 600,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://qiblockchain.online/",
|
||||
"name": "QIE Blockchain",
|
||||
"nativeCurrency": {
|
||||
"name": "QIE Blockchain",
|
||||
"symbol": "QIE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5656,
|
||||
"rpc": [
|
||||
"https://5656.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-main1.qiblockchain.online/",
|
||||
"https://rpc-main2.qiblockchain.online/"
|
||||
],
|
||||
"shortName": "QIE",
|
||||
"slug": "qie-blockchain",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Filenova",
|
||||
"chainId": 5675,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "filenova testnet explorer",
|
||||
"url": "https://scantest.filenova.org",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://filenova.org",
|
||||
"name": "Filenova Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Test Filecoin",
|
||||
"symbol": "tFIL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5675,
|
||||
"rpc": [
|
||||
"https://5675.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpctest.filenova.org"
|
||||
],
|
||||
"shortName": "tfilenova",
|
||||
"slug": "filenova-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Filenova",
|
||||
"chainId": 579,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "filenova explorer",
|
||||
"url": "https://scan.filenova.org",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmc4KSKiAChhtN7ZNE5gvkLTRbvtLreKU9xaQFG8BKM8RE",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://filenova.org",
|
||||
"name": "Filenova Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Filecoin",
|
||||
"symbol": "FIL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 579,
|
||||
"rpc": [
|
||||
"https://579.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.filenova.org"
|
||||
],
|
||||
"shortName": "filenova",
|
||||
"slug": "filenova",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Tangle",
|
||||
"chainId": 5845,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Tangle EVM Explorer",
|
||||
"url": "https://explorer.tangle.tools",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",
|
||||
"width": 1600,
|
||||
"height": 1600,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmbxMNBTeQgch8t9GpWdLiS2R3wPYCzVRaX5kCQ4o5QU3w",
|
||||
"width": 1600,
|
||||
"height": 1600,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.tangle.tools",
|
||||
"name": "Tangle",
|
||||
"nativeCurrency": {
|
||||
"name": "Tangle",
|
||||
"symbol": "TNT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 5845,
|
||||
"rpc": [
|
||||
"https://5845.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.tangle.tools",
|
||||
"wss://rpc.tangle.tools"
|
||||
],
|
||||
"shortName": "tangle",
|
||||
"slug": "tangle",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 58474,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QI0408s4 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QI0408s4 Testnet Token",
|
||||
"symbol": "QCE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 58474,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://58474.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QI0408s4 Testnet",
|
||||
"slug": "qi0408s4-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://linea.build",
|
||||
"name": "Linea Testnet",
|
||||
"name": "Linea Goerli",
|
||||
"nativeCurrency": {
|
||||
"name": "Linea Ether",
|
||||
"symbol": "ETH",
|
||||
@@ -59,9 +59,9 @@ export default {
|
||||
"https://linea-goerli.infura.io/v3/${INFURA_API_KEY}",
|
||||
"wss://linea-goerli.infura.io/ws/v3/${INFURA_API_KEY}"
|
||||
],
|
||||
"shortName": "linea-testnet",
|
||||
"shortName": "linea-goerli",
|
||||
"slip44": 1,
|
||||
"slug": "linea-testnet",
|
||||
"slug": "linea-goerli",
|
||||
"status": "active",
|
||||
"testnet": true,
|
||||
"title": "Linea Goerli Testnet"
|
||||
|
||||
@@ -3,6 +3,28 @@ export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 59141,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Etherscan",
|
||||
"url": "https://sepolia.lineascan.build",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",
|
||||
"width": 97,
|
||||
"height": 102,
|
||||
"format": "svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://explorer.sepolia.linea.build",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmURjritnHL7a8TwZgsFwp3f272DJmG5paaPtWDZ98QZwH",
|
||||
"width": 97,
|
||||
"height": 102,
|
||||
"format": "svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.sepolia.linea.build/",
|
||||
@@ -39,10 +61,15 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://59141.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.sepolia.linea.build"
|
||||
"https://linea-sepolia.infura.io/v3/${INFURA_API_KEY}",
|
||||
"wss://linea-sepolia.infura.io/ws/v3/${INFURA_API_KEY}",
|
||||
"https://rpc.sepolia.linea.build",
|
||||
"wss://rpc.sepolia.linea.build"
|
||||
],
|
||||
"shortName": "linea-sepolia",
|
||||
"slip44": 1,
|
||||
"slug": "linea-sepolia",
|
||||
"status": "active",
|
||||
"testnet": true,
|
||||
"title": "Linea Sepolia Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 59932,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "Insomnia Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Insomnia Testnet Token",
|
||||
"symbol": "TECH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 59932,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://59932.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/instest/testnet/rpc"
|
||||
],
|
||||
"shortName": "Insomnia Testnet",
|
||||
"slug": "insomnia-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "BounceBit",
|
||||
"chainId": 6001,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "BBScan Mainnet Explorer",
|
||||
"url": "https://bbscan.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://bouncebit.io",
|
||||
"name": "BounceBit Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "BounceBit",
|
||||
"symbol": "BB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 6001,
|
||||
"rpc": [
|
||||
"https://6001.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://fullnode-mainnet.bouncebitapi.com/"
|
||||
],
|
||||
"shortName": "bouncebit-mainnet",
|
||||
"slug": "bouncebit",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 60808,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://gobob.xyz",
|
||||
"name": "BOB",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 60808,
|
||||
"rpc": [],
|
||||
"shortName": "bob",
|
||||
"slug": "bob",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -3,6 +3,11 @@ export default {
|
||||
"chain": "KEC",
|
||||
"chainId": 61406,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "KaiChain Explorer",
|
||||
"url": "https://explorer.kaichain.net",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "KEC SCAN",
|
||||
"url": "https://explorer.kaichain.net/",
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 64092,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QaUser3186 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser3186 Testnet Token",
|
||||
"symbol": "KII",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 64092,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://64092.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser3186 Testnet",
|
||||
"slug": "qauser3186-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FlowEVM",
|
||||
"chain": "Flow",
|
||||
"chainId": 646,
|
||||
"explorers": [
|
||||
{
|
||||
@@ -19,7 +19,7 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://developers.flow.com/evm/about",
|
||||
"name": "FlowEVM PreviewNet",
|
||||
"name": "Previewnet",
|
||||
"nativeCurrency": {
|
||||
"name": "FLOW",
|
||||
"symbol": "FLOW",
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
"https://646.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://previewnet.evm.nodes.onflow.org"
|
||||
],
|
||||
"shortName": "flowevm-preview",
|
||||
"slug": "flowevm-previewnet",
|
||||
"shortName": "flow-previewnet",
|
||||
"slug": "previewnet",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPko9BJhR5FWTsThcwUFnnnjgLjrXVDm1n98dCuaQNW59",
|
||||
"width": 506,
|
||||
"height": 652,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://bstchain.io",
|
||||
"name": "BST Chain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "GuapcoinX Explorer",
|
||||
"url": "http://explorer.guapcoinx.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",
|
||||
"width": 800,
|
||||
"height": 800,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcDTR7982VQKDDz2Mh4fZbnE9hn67MuFPWQv1MimCqPvB",
|
||||
"width": 800,
|
||||
"height": 800,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://guapcoin.org/",
|
||||
"name": "GuapcoinX",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FlowEVM",
|
||||
"chain": "Flow",
|
||||
"chainId": 747,
|
||||
"explorers": [
|
||||
{
|
||||
@@ -17,7 +17,7 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://developers.flow.com/evm/about",
|
||||
"name": "FlowEVM Mainnet",
|
||||
"name": "Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "FLOW",
|
||||
"symbol": "FLOW",
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
"https://747.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.evm.nodes.onflow.org"
|
||||
],
|
||||
"shortName": "flowevm-mainnet",
|
||||
"slug": "flowevm",
|
||||
"shortName": "flow-mainnet",
|
||||
"slug": "flow-mainnet",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreic6tcc6swh5kzljwqnswj6rlemcm7n6ra7xkgttwv5v3fv7ozj5zu",
|
||||
"width": 1500,
|
||||
"height": 1500,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://miexs.com",
|
||||
"name": "Miexs Smartchain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 77576,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QaUser6624 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser6624 Testnet Token",
|
||||
"symbol": "WVN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 77576,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://77576.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser6624 Testnet",
|
||||
"slug": "qauser6624-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.vention.network"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcNepHmbmHW1BZYM3MFqJW4awwhmDqhUPRXXmRnXwg1U4",
|
||||
"width": 250,
|
||||
"height": 250,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ventionscan.io",
|
||||
"name": "Vention Smart Chain Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "DTBX",
|
||||
"chainId": 7923,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.dotblox.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZy2TMY881ghRxXJA7VyRA8Zhj2LJJ86DpHRZs3VQZqoJ",
|
||||
"width": 53,
|
||||
"height": 53,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://explorer.dotblox.io",
|
||||
"name": "Dot Blox",
|
||||
"nativeCurrency": {
|
||||
"name": "Dot Blox",
|
||||
"symbol": "DTBX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 7923,
|
||||
"rpc": [
|
||||
"https://7923.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.dotblox.io"
|
||||
],
|
||||
"shortName": "DTBX",
|
||||
"slug": "dot-blox",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -30,7 +30,10 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-amoy.polygon.technology"
|
||||
"https://rpc-amoy.polygon.technology",
|
||||
"https://https://rpc-amoy.polygon.technology",
|
||||
"https://polygon-amoy-bor-rpc.publicnode.com",
|
||||
"wss://polygon-amoy-bor-rpc.publicnode.com"
|
||||
],
|
||||
"shortName": "polygonamoy",
|
||||
"slip44": 1,
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 810181,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "zkLink Nova Block Explorer",
|
||||
"url": "https://sepolia.explorer.zklink.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://zklink.io",
|
||||
"name": "zkLink Nova Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 810181,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-59141",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://sepolia.portal.zklink.io"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://810181.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sepolia.rpc.zklink.io",
|
||||
"wss://sepolia.rpc.zklink.io"
|
||||
],
|
||||
"shortName": "zklink-nova-sepolia",
|
||||
"slip44": 1,
|
||||
"slug": "zklink-nova-sepolia-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "REXX",
|
||||
"chainId": 888882,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "REXX Mainnet Explorer",
|
||||
"url": "https://rexxnetwork.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://rexxnetwork.com",
|
||||
"name": "REXX Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "REXX",
|
||||
"symbol": "REXX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 888882,
|
||||
"rpc": [
|
||||
"https://888882.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.rexxnetwork.com"
|
||||
],
|
||||
"shortName": "REXX",
|
||||
"slug": "rexx",
|
||||
"testnet": false,
|
||||
"title": "REXX Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "PTCE",
|
||||
"chainId": 889910246,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "PTCESCAN Explorer",
|
||||
"url": "https://ptcscan.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://ptcscan.io",
|
||||
"name": "PTCESCAN Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "PTCE",
|
||||
"symbol": "PTCE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 889910246,
|
||||
"rpc": [
|
||||
"https://889910246.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.ptcscan.io"
|
||||
],
|
||||
"shortName": "POLYTECH",
|
||||
"slug": "ptcescan",
|
||||
"testnet": false,
|
||||
"title": "PTCESCAN Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Fxcore",
|
||||
"chainId": 90001,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmauD5hzc5q1VgEU1nT4AGLCeV79CB8GgfnXXeeLmBZVHf",
|
||||
"width": 36,
|
||||
"height": 36,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://functionx.io/",
|
||||
"name": "F(x)Core Testnet Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Function X",
|
||||
"symbol": "FX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 90001,
|
||||
"rpc": [
|
||||
"https://90001.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-fx-json-web3.functionx.io:8545"
|
||||
],
|
||||
"shortName": "dhobyghaut",
|
||||
"slug": "f-x-core-testnet-network",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,44 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 90354,
|
||||
"ens": {
|
||||
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
|
||||
},
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Block Explorer",
|
||||
"url": "https://explorerl2new-camp-network-4xje7wy105.t.conduit.xyz",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 83,
|
||||
"height": 82,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
},
|
||||
"name": "Camp Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 90354,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-camp-network-4xje7wy105.t.conduit.xyz/"
|
||||
],
|
||||
"shortName": "campaign-l2",
|
||||
"slug": "camp-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Boba BNB Testnet block explorer",
|
||||
"url": "https://blockexplorer.testnet.bnb.boba.network",
|
||||
"url": "https://testnet.bobascan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 9789,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Tabi Testnet Explorer",
|
||||
"url": "https://testnet.tabiscan.com/",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"name": "Tabichain",
|
||||
"nativeCurrency": {
|
||||
"name": "TABI",
|
||||
"symbol": "TABI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 9789,
|
||||
"redFlags": [],
|
||||
"rpc": [],
|
||||
"shortName": "tabichain",
|
||||
"slug": "tabichain",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 98857,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "Thetan Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Thetan Testnet Token",
|
||||
"symbol": "THG",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 98857,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://98857.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/thetantest/testnet/rpc"
|
||||
],
|
||||
"shortName": "Thetan Testnet",
|
||||
"slug": "thetan-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/chains",
|
||||
"version": "0.1.91",
|
||||
"version": "0.1.94",
|
||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||
"exports": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,35 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.69
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1)]:
|
||||
- @thirdweb-dev/chains@0.1.94
|
||||
- @thirdweb-dev/sdk@4.0.63
|
||||
- @thirdweb-dev/wallets@2.5.3
|
||||
- @thirdweb-dev/auth@4.1.61
|
||||
|
||||
## 0.13.68
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc), [`9453f74`](https://github.com/thirdweb-dev/js/commit/9453f74bbfd53372fcfd942bcce6c6bfc8c00a2c), [`c4d51e0`](https://github.com/thirdweb-dev/js/commit/c4d51e0b80e2d66fb85b8032dcc286f9cd164cd1), [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e)]:
|
||||
- @thirdweb-dev/wallets@2.5.2
|
||||
- @thirdweb-dev/sdk@4.0.62
|
||||
- @thirdweb-dev/chains@0.1.93
|
||||
- @thirdweb-dev/auth@4.1.60
|
||||
|
||||
## 0.13.67
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d836889`](https://github.com/thirdweb-dev/js/commit/d836889f464a4fc9617839f30e2cc780b3bcca78), [`d65713a`](https://github.com/thirdweb-dev/js/commit/d65713a7af67bf20e5b88b72f5d43dfba9172b3b)]:
|
||||
- @thirdweb-dev/sdk@4.0.61
|
||||
- @thirdweb-dev/chains@0.1.92
|
||||
- @thirdweb-dev/wallets@2.5.1
|
||||
- @thirdweb-dev/auth@4.1.59
|
||||
|
||||
## 0.13.66
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/cli",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.66",
|
||||
"version": "0.13.69",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-nocheck
|
||||
// ADAPTED FROM https://github.com/merkletreejs/merkletreejs
|
||||
|
||||
import { Buffer } from "buffer";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-nocheck
|
||||
// ADAPTED FROM https://github.com/merkletreejs/merkletreejs
|
||||
|
||||
import { Buffer } from "buffer";
|
||||
|
||||
@@ -1,5 +1,89 @@
|
||||
# @thirdweb-dev/react-core
|
||||
|
||||
## 4.6.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1)]:
|
||||
- @thirdweb-dev/chains@0.1.94
|
||||
- @thirdweb-dev/sdk@4.0.63
|
||||
- @thirdweb-dev/wallets@2.5.3
|
||||
- @thirdweb-dev/auth@4.1.61
|
||||
|
||||
## 4.6.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc), [`9453f74`](https://github.com/thirdweb-dev/js/commit/9453f74bbfd53372fcfd942bcce6c6bfc8c00a2c), [`c4d51e0`](https://github.com/thirdweb-dev/js/commit/c4d51e0b80e2d66fb85b8032dcc286f9cd164cd1), [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e)]:
|
||||
- @thirdweb-dev/wallets@2.5.2
|
||||
- @thirdweb-dev/sdk@4.0.62
|
||||
- @thirdweb-dev/chains@0.1.93
|
||||
- @thirdweb-dev/auth@4.1.60
|
||||
|
||||
## 4.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#2579](https://github.com/thirdweb-dev/js/pull/2579) [`d836889`](https://github.com/thirdweb-dev/js/commit/d836889f464a4fc9617839f30e2cc780b3bcca78) Thanks [@ElasticBottle](https://github.com/ElasticBottle)! - Adds "buy with crypto" Hooks, Here's an example of how you can use it to build a UI for Swapping tokens
|
||||
|
||||
```tsx
|
||||
function Component() {
|
||||
const signer = useSigner();
|
||||
// 1. get a quote for swapping tokens
|
||||
const quoteQuery = useBuyWithCryptoQuote(swapParams);
|
||||
|
||||
const [buyTxHash, setBuyTxHash] = useState<string | undefined>();
|
||||
const statusQuery = useBuyWithCryptoStatus(
|
||||
buyTxHash
|
||||
? {
|
||||
clientId: "YOUR_CLIENT_ID",
|
||||
transactionHash: buyTxHash,
|
||||
}
|
||||
: undefined,
|
||||
);
|
||||
|
||||
async function handleBuyWithCrypto() {
|
||||
if (!quoteQuery.data || !signer) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 2. if approval is required
|
||||
if (quoteQuery.data.approval) {
|
||||
const approveTx = await signer.sendTransaction(
|
||||
quoteQuery.data.approval,
|
||||
);
|
||||
await approveTx.wait();
|
||||
}
|
||||
|
||||
// 3. send the transaction to buy crypto
|
||||
const buyTx = await signer.sendTransaction(
|
||||
quoteQuery.data.transactionRequest,
|
||||
);
|
||||
await buyTx.wait();
|
||||
|
||||
// set buyTx.transactionHash to poll the status of the swap transaction
|
||||
setBuyTxHash(buyTx.hash);
|
||||
}
|
||||
|
||||
// 4. wait for the status of the transaction
|
||||
if (statusQuery.data) {
|
||||
console.log("swap status:", statusQuery.data);
|
||||
}
|
||||
|
||||
return <button onClick={handleBuyWithCrypto}>Swap</button>;
|
||||
}
|
||||
```
|
||||
|
||||
For more information, check out the [pay documentation](https://portal.thirdweb.com/connect/pay/buy-with-crypto) for purchases with crypto
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d836889`](https://github.com/thirdweb-dev/js/commit/d836889f464a4fc9617839f30e2cc780b3bcca78), [`d65713a`](https://github.com/thirdweb-dev/js/commit/d65713a7af67bf20e5b88b72f5d43dfba9172b3b)]:
|
||||
- @thirdweb-dev/[email protected]
|
||||
- @thirdweb-dev/[email protected]
|
||||
- @thirdweb-dev/[email protected]
|
||||
- @thirdweb-dev/[email protected]
|
||||
|
||||
## 4.5.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-core",
|
||||
"version": "4.5.0",
|
||||
"version": "4.6.2",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
import {
|
||||
useQuery,
|
||||
type UseQueryOptions,
|
||||
type UseQueryResult,
|
||||
} from "@tanstack/react-query";
|
||||
import {
|
||||
BuyWithCryptoHistoryData,
|
||||
BuyWithCryptoHistoryParams,
|
||||
getBuyWithCryptoHistory,
|
||||
} from "@thirdweb-dev/sdk";
|
||||
|
||||
type BuyWithCryptoHistoryQueryOptions = Omit<
|
||||
UseQueryOptions<BuyWithCryptoHistoryData>,
|
||||
"queryFn" | "queryKey" | "enabled"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Hook to get the history of purchases a given wallet has performed.
|
||||
*
|
||||
* This hook is a React Query wrapper of the [`getBuyWithCryptoHistory`](https://portal.thirdweb.com/references/typescript/v4/getBuyWithCryptoHistory) function.
|
||||
* You can also use that function directly
|
||||
* @param params - object of type [`BuyWithCryptoHistoryParams`](https://portal.thirdweb.com/references/typescript/v4/BuyWithCryptoHistoryParams)
|
||||
* @param queryParams - options to configure the react query
|
||||
* @returns A React Query object which contains the data of type [`BuyWithCryptoHistoryData`](https://portal.thirdweb.com/references/typescript/v4/BuyWithCryptoHistoryData)
|
||||
* @example
|
||||
* ```tsx
|
||||
* import { useBuyWithCryptoHistory } from "@thirdweb-dev/react";
|
||||
*
|
||||
* function Component() {
|
||||
* const buyWithCryptoHistory = useBuyWithCryptoHistory(params);
|
||||
* console.log(buyWithCryptoHistory.data);
|
||||
* return <div> ... </div>;
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export function useBuyWithCryptoHistory(
|
||||
params?: BuyWithCryptoHistoryParams,
|
||||
queryParams?: BuyWithCryptoHistoryQueryOptions,
|
||||
): UseQueryResult<BuyWithCryptoHistoryData> {
|
||||
return useQuery<BuyWithCryptoHistoryData>({
|
||||
...queryParams,
|
||||
queryKey: ["buyWithCryptoHistory", params] as const,
|
||||
queryFn: () => {
|
||||
if (!params) {
|
||||
throw new Error("Swap params are required");
|
||||
}
|
||||
return getBuyWithCryptoHistory(params);
|
||||
},
|
||||
enabled: !!params,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
import {
|
||||
useQuery,
|
||||
type UseQueryResult,
|
||||
type UseQueryOptions,
|
||||
} from "@tanstack/react-query";
|
||||
import {
|
||||
BuyWithCryptoQuote,
|
||||
getBuyWithCryptoQuote,
|
||||
GetBuyWithCryptoQuoteParams,
|
||||
} from "@thirdweb-dev/sdk";
|
||||
|
||||
type BuyWithCryptoQuoteQueryOptions = Omit<
|
||||
UseQueryOptions<BuyWithCryptoQuote>,
|
||||
"queryFn" | "queryKey" | "enabled"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Hook to get a quote of type [`BuyWithCryptoQuote`](https://portal.thirdweb.com/references/typescript/v4/BuyWithCryptoQuote) for buying tokens with crypto.
|
||||
* This quote contains the information about the purchase such as token amounts, processing fees, estimated time etc.
|
||||
*
|
||||
* This hook is a React Query wrapper of the [`getBuyWithCryptoQuote`](https://portal.thirdweb.com/references/typescript/v4/getBuyWithCryptoQuote) function.
|
||||
* You can also use that function directly
|
||||
*
|
||||
* Once you have the quote, you can use the [`useBuyWithCryptoStatus`](https://portal.thirdweb.com/references/react/v4/useBuyWithCryptoStatus) function to get the status of the swap transaction.
|
||||
* @param params - object of type [`GetBuyWithCryptoQuoteParams`](https://portal.thirdweb.com/references/react/v4/GetBuyWithCryptoQuoteParams)
|
||||
* @param queryParams - options to configure the react query
|
||||
* @returns A React Query object which contains the data of type [`BuyWithCryptoQuote`](https://portal.thirdweb.com/references/typescript/v4/BuyWithCryptoQuote)
|
||||
* @example
|
||||
* ```tsx
|
||||
* import { useSigner, useBuyWithCryptoQuote, useBuyWithCryptoStatus } from "@thirdweb-dev/react";
|
||||
*
|
||||
* function Component() {
|
||||
* const buyWithCryptoQuoteQuery = useBuyWithCryptoQuote* (swapParams);
|
||||
* const signer = useSigner();
|
||||
* const [buyTxHash, setBuyTxHash] = useState<string | undefined>();
|
||||
* const buyWithCryptoStatusQuery = useBuyWithCryptoStatus* (buyTxHash ? {
|
||||
* clientId: "YOUR_CLIENT_ID",
|
||||
* transactionHash: buyTxHash,
|
||||
* }: undefined);
|
||||
*
|
||||
* async function handleBuyWithCrypto() {
|
||||
* if (!buyWithCryptoQuoteQuery.data || !signer) {
|
||||
* return;
|
||||
* }
|
||||
*
|
||||
* // if approval is required
|
||||
* if (buyWithCryptoQuoteQuery.data.approval) {
|
||||
* const approveTx = await signer.sendTransaction* (buyWithCryptoQuoteQuery.data.approval);
|
||||
* await approveTx.wait();
|
||||
* }
|
||||
*
|
||||
* // send the transaction to buy crypto
|
||||
* // this promise is resolved when user confirms the transaction * in the wallet and the transaction is sent to the blockchain
|
||||
* const buyTx = await signer.sendTransaction* (buyWithCryptoQuoteQuery.data.transactionRequest);
|
||||
* await buyTx.wait();
|
||||
*
|
||||
* // set buyTx.hash to poll the status of the swap * transaction
|
||||
* setBuyTxHash(buyTx.hash);
|
||||
* }
|
||||
*
|
||||
* if (buyWithCryptoStatusQuery.data) {
|
||||
* console.log('buyWithCryptoStatusQuery.data', * buyWithCryptoStatusQuery.data)
|
||||
* }
|
||||
* return <button onClick={handleBuyWithCrypto}>Swap</button>
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export function useBuyWithCryptoQuote(
|
||||
params?: GetBuyWithCryptoQuoteParams,
|
||||
queryParams?: BuyWithCryptoQuoteQueryOptions,
|
||||
): UseQueryResult<BuyWithCryptoQuote> {
|
||||
return useQuery<BuyWithCryptoQuote>({
|
||||
...queryParams,
|
||||
queryKey: ["buyWithCryptoQuote", params],
|
||||
queryFn: () => {
|
||||
if (!params) {
|
||||
throw new Error("Swap params are required");
|
||||
}
|
||||
if (!params?.clientId) {
|
||||
throw new Error("Client ID is required in swap params");
|
||||
}
|
||||
return getBuyWithCryptoQuote(params);
|
||||
},
|
||||
enabled: !!params,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import {
|
||||
BuyWithCryptoStatus,
|
||||
BuyWithCryptoTransaction,
|
||||
getBuyWithCryptoStatus,
|
||||
} from "@thirdweb-dev/sdk";
|
||||
import { useState } from "react";
|
||||
|
||||
// TODO: use the estimate to vary the polling interval
|
||||
const DEFAULT_POLL_INTERVAL = 5000;
|
||||
|
||||
/**
|
||||
* A hook to get a status of Buy with Crypto transaction.
|
||||
*
|
||||
* This hook is a React Query wrapper of the [`getBuyWithCryptoStatus`](https://portal.thirdweb.com/references/typescript/v4/getBuyWithCryptoStatus) function.
|
||||
* You can also use that function directly.
|
||||
* @param params - object of type [`BuyWithCryptoTransaction`](https://portal.thirdweb.com/references/react/v4/BuyWithCryptoTransaction)
|
||||
* @returns A react query object which contains the data of type [`BuyWithCryptoStatus`](https://portal.thirdweb.com/references/typescript/v4/BuyWithCryptoStatus)
|
||||
* @example
|
||||
* ```tsx
|
||||
* import { useSigner, useBuyWithCryptoQuote, useBuyWithCryptoStatus } from "@thirdweb-dev/react";
|
||||
*
|
||||
* function Component() {
|
||||
* const buyWithCryptoQuoteQuery = useBuyWithCryptoQuote(swapParams);
|
||||
* const signer = useSigner();
|
||||
* const [buyTxHash, setBuyTxHash] = useState<string | undefined>();
|
||||
* const buyWithCryptoStatusQuery = useBuyWithCryptoStatus* (buyTxHash ? {
|
||||
* clientId: "YOUR_CLIENT_ID",
|
||||
* transactionHash: buyTxHash,
|
||||
* }: undefined);
|
||||
*
|
||||
* async function handleBuyWithCrypto() {
|
||||
* if (!buyWithCryptoQuoteQuery.data || !signer) {
|
||||
* return;
|
||||
* }
|
||||
*
|
||||
* // if approval is required
|
||||
* if (buyWithCryptoQuoteQuery.data.approval) {
|
||||
* const approveTx = await signer.sendTransaction(buyWithCryptoQuoteQuery.data.approval);
|
||||
* await approveTx.wait();
|
||||
* }
|
||||
*
|
||||
* // send the transaction to buy crypto
|
||||
* // this promise is resolved when user confirms the transaction * in the wallet and the transaction is sent to the blockchain
|
||||
* const buyTx = await signer.sendTransaction(buyWithCryptoQuoteQuery.data.transactionRequest);
|
||||
* await buyTx.wait();
|
||||
*
|
||||
* // set buyTx.transactionHash to poll the status of the swap * transaction
|
||||
* setBuyTxHash(buyTx.hash);
|
||||
* }
|
||||
*
|
||||
* if (buyWithCryptoStatusQuery.data) {
|
||||
* console.log('buyWithCryptoStatusQuery.data', * buyWithCryptoStatusQuery.data)
|
||||
* }
|
||||
* return <button onClick={handleBuyWithCrypto}>Swap</button>
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
export function useBuyWithCryptoStatus(params?: BuyWithCryptoTransaction) {
|
||||
const [refetchInterval, setRefetchInterval] = useState<number>(
|
||||
DEFAULT_POLL_INTERVAL,
|
||||
);
|
||||
|
||||
return useQuery<BuyWithCryptoStatus, Error>({
|
||||
queryKey: ["swapStatus", params?.transactionHash] as const,
|
||||
queryFn: async () => {
|
||||
if (!params) {
|
||||
throw new Error("Missing swap status params");
|
||||
}
|
||||
if (!params?.clientId) {
|
||||
throw new Error("Missing clientId in swap status params");
|
||||
}
|
||||
|
||||
const swapStatus_ = await getBuyWithCryptoStatus({
|
||||
...params,
|
||||
clientId: params.clientId,
|
||||
});
|
||||
if (
|
||||
swapStatus_.status === "COMPLETED" ||
|
||||
swapStatus_.status === "FAILED"
|
||||
) {
|
||||
setRefetchInterval(0);
|
||||
}
|
||||
return swapStatus_;
|
||||
},
|
||||
enabled: !!params,
|
||||
refetchInterval: refetchInterval,
|
||||
refetchIntervalInBackground: true,
|
||||
retry: true,
|
||||
});
|
||||
}
|
||||
@@ -302,3 +302,8 @@ export { getErcs, getErc1155, getErc721, getErc20 } from "./types";
|
||||
// transaction hooks
|
||||
export { useWatchTransactions } from "./hooks/useTransactions";
|
||||
export type { UseWatchTransactionsParams } from "./hooks/useTransactions";
|
||||
|
||||
// pay hooks
|
||||
export { useBuyWithCryptoHistory } from "./hooks/pay/useBuyWithCryptoHistory";
|
||||
export { useBuyWithCryptoQuote } from "./hooks/pay/useBuyWithCryptoQuote";
|
||||
export { useBuyWithCryptoStatus } from "./hooks/pay/useBuyWithCryptoStatus";
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,11 @@
|
||||
# @thirdweb-dev/react-native-compat
|
||||
|
||||
## 0.7.34
|
||||
|
||||
## 0.7.33
|
||||
|
||||
## 0.7.32
|
||||
|
||||
## 0.7.31
|
||||
|
||||
## 0.7.30
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native-compat",
|
||||
"description": "Shims for Thirdweb in React Native Projects",
|
||||
"version": "0.7.31",
|
||||
"version": "0.7.34",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native-compat",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,37 @@
|
||||
# @thirdweb-dev/react-native
|
||||
|
||||
## 0.7.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1)]:
|
||||
- @thirdweb-dev/chains@0.1.94
|
||||
- @thirdweb-dev/sdk@4.0.63
|
||||
- @thirdweb-dev/react-core@4.6.2
|
||||
- @thirdweb-dev/wallets@2.5.3
|
||||
|
||||
## 0.7.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2745](https://github.com/thirdweb-dev/js/pull/2745) [`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Alias embedded wallet to in-app wallet
|
||||
|
||||
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc), [`9453f74`](https://github.com/thirdweb-dev/js/commit/9453f74bbfd53372fcfd942bcce6c6bfc8c00a2c), [`c4d51e0`](https://github.com/thirdweb-dev/js/commit/c4d51e0b80e2d66fb85b8032dcc286f9cd164cd1), [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e)]:
|
||||
- @thirdweb-dev/wallets@2.5.2
|
||||
- @thirdweb-dev/sdk@4.0.62
|
||||
- @thirdweb-dev/chains@0.1.93
|
||||
- @thirdweb-dev/react-core@4.6.1
|
||||
|
||||
## 0.7.32
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d836889`](https://github.com/thirdweb-dev/js/commit/d836889f464a4fc9617839f30e2cc780b3bcca78), [`d836889`](https://github.com/thirdweb-dev/js/commit/d836889f464a4fc9617839f30e2cc780b3bcca78), [`d65713a`](https://github.com/thirdweb-dev/js/commit/d65713a7af67bf20e5b88b72f5d43dfba9172b3b)]:
|
||||
- @thirdweb-dev/react-core@4.6.0
|
||||
- @thirdweb-dev/sdk@4.0.61
|
||||
- @thirdweb-dev/chains@0.1.92
|
||||
- @thirdweb-dev/wallets@2.5.1
|
||||
|
||||
## 0.7.31
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native",
|
||||
"version": "0.7.31",
|
||||
"version": "0.7.34",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user