Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
046603ac54 | ||
|
|
bcfa9463bb | ||
|
|
42bda873b4 | ||
|
|
d2001ca464 | ||
|
|
c8ba5cf863 | ||
|
|
85842c1596 | ||
|
|
0fb2f1fc5e | ||
|
|
497677f359 | ||
|
|
15ae5e7f95 | ||
|
|
5a0283d083 | ||
|
|
9496606964 | ||
|
|
b50e4a41b5 | ||
|
|
e595d4d92f | ||
|
|
3e526d46fa | ||
|
|
a36c7e8331 | ||
|
|
7bb054e45c | ||
|
|
cd87be4a24 | ||
|
|
aefc4cda4c | ||
|
|
cfe81b4432 | ||
|
|
72c0bb10d6 | ||
|
|
ca618ea0c9 | ||
|
|
d20e789856 | ||
|
|
a135857c7a | ||
|
|
34546c24c7 | ||
|
|
61c62b3f07 | ||
|
|
f2390b64e8 | ||
|
|
4ae1cd63bb |
@@ -14,6 +14,7 @@
|
||||
"test": "turbo run test --filter=./packages/*",
|
||||
"e2e": "turbo run e2e",
|
||||
"build": "turbo run build --filter=./packages/*",
|
||||
"typedoc": "turbo run typedoc",
|
||||
"build:release": "turbo run build --force --filter=./packages/*",
|
||||
"dev": "turbo run dev --no-cache --parallel --continue",
|
||||
"fix:repo": "manypkg fix",
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.2.1
|
||||
|
||||
## 4.1.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`94966069`](https://github.com/thirdweb-dev/js/commit/9496606964d65268f8ee6bf9f78b2786e99d33ac), [`15ae5e7f`](https://github.com/thirdweb-dev/js/commit/15ae5e7f95a482a9736923c0e10916a0a6115c3d)]:
|
||||
- @thirdweb-dev/wallets@2.2.0
|
||||
|
||||
## 4.1.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56), [`4ae1cd63`](https://github.com/thirdweb-dev/js/commit/4ae1cd63bb7b471cae48a27bf6554c4953c1dc82), [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5), [`7bb054e4`](https://github.com/thirdweb-dev/js/commit/7bb054e45c75450c8f465809d23eb66371f6ef8e)]:
|
||||
- @thirdweb-dev/wallets@2.1.11
|
||||
|
||||
## 4.1.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.13",
|
||||
"version": "4.1.16",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.61
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2066](https://github.com/thirdweb-dev/js/pull/2066) [`d2001ca4`](https://github.com/thirdweb-dev/js/commit/d2001ca464aa699ac821c97eb37de7409ba865f3) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Updatechains
|
||||
|
||||
## 0.1.60
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -20,20 +20,17 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://shimmer.network",
|
||||
"name": "ShimmerEVM Testnet",
|
||||
"name": "ShimmerEVM Testnet Deprecated 1072",
|
||||
"nativeCurrency": {
|
||||
"name": "SMR",
|
||||
"symbol": "SMR",
|
||||
"decimals": 6
|
||||
},
|
||||
"networkId": 1072,
|
||||
"rpc": [
|
||||
"https://shimmerevm-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://1072.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://json-rpc.evm.testnet.shimmer.network"
|
||||
],
|
||||
"shortName": "shimmerevm-testnet",
|
||||
"slug": "shimmerevm-testnet",
|
||||
"rpc": [],
|
||||
"shortName": "shimmerevm-testnet-deprecated-1072",
|
||||
"slug": "shimmerevm-testnet-deprecated-1072",
|
||||
"status": "deprecated",
|
||||
"testnet": true,
|
||||
"title": "ShimmerEVM Testnet"
|
||||
"title": "ShimmerEVM Testnet Deprecated 1072"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ShimmerEVM",
|
||||
"chainId": 1073,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "explorer",
|
||||
"url": "https://explorer.evm.testnet.shimmer.network",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://evm-toolkit.evm.testnet.shimmer.network",
|
||||
"https://evm-faucet.testnet.shimmer.network"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://shimmer.network",
|
||||
"name": "ShimmerEVM Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "SMR",
|
||||
"symbol": "SMR",
|
||||
"decimals": 6
|
||||
},
|
||||
"networkId": 1073,
|
||||
"rpc": [
|
||||
"https://shimmerevm-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://1073.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://json-rpc.evm.testnet.shimmer.network"
|
||||
],
|
||||
"shortName": "shimmerevm-testnet",
|
||||
"slug": "shimmerevm-testnet",
|
||||
"testnet": true,
|
||||
"title": "ShimmerEVM Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,37 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 11155420,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "opscout",
|
||||
"url": "https://optimism-sepolia.blockscout.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://app.optimism.io/faucet"
|
||||
],
|
||||
"infoURL": "https://optimism.io",
|
||||
"name": "OP Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Sepolia Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 11155420,
|
||||
"rpc": [
|
||||
"https://op-sepolia-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://11155420.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sepolia.optimism.io"
|
||||
],
|
||||
"shortName": "opsep",
|
||||
"slug": "op-sepolia-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,33 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "TILTYARD",
|
||||
"chainId": 1127469,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "TILTYARD Explorer",
|
||||
"url": "http://testnet-explorer.tiltyard.gg",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"name": "Tiltyard Subnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Tiltyard Token",
|
||||
"symbol": "TILTG",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1127469,
|
||||
"rpc": [
|
||||
"https://tiltyard-subnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://1127469.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/tiltyard/testnet/rpc"
|
||||
],
|
||||
"shortName": "tiltyard",
|
||||
"slug": "tiltyard-subnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 12035,
|
||||
"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": "QI M 11272",
|
||||
"nativeCurrency": {
|
||||
"name": "QI M 11272 Token",
|
||||
"symbol": "JZW",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 12035,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://qi-m-11272.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://12035.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"
|
||||
],
|
||||
"shortName": "QI M 11272",
|
||||
"slug": "qi-m-11272",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://wan-red-ain.explorer.mainnet.skalenodes.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmT5KKrpNt6duU8QfwaYw3xf4ifTBPtjahpWsMi3gsFmcS",
|
||||
"width": 440,
|
||||
"height": 600,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "etndscan",
|
||||
"url": "https://scan.etnd.pro",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmd26eRJxPb1jJg5Q4mC2M4kD9Jrs5vmcnr5LczHFMGwSD",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.etnd.pro",
|
||||
"name": "ETND Chain Mainnets",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Immutable zkEVM",
|
||||
"chainId": 13473,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Immutable Testnet explorer",
|
||||
"url": "https://explorer.testnet.immutable.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",
|
||||
"width": 1168,
|
||||
"height": 1168,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://docs.immutable.com/docs/zkEVM/guides/faucet"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",
|
||||
"width": 1168,
|
||||
"height": 1168,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.immutable.com",
|
||||
"name": "Immutable zkEVM Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Test IMX",
|
||||
"symbol": "tIMX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 13473,
|
||||
"rpc": [
|
||||
"https://immutable-zkevm-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://13473.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.testnet.immutable.com"
|
||||
],
|
||||
"shortName": "imx-testnet",
|
||||
"slug": "immutable-zkevm-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,43 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Immutable zkEVM",
|
||||
"chainId": 15003,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Immutable Devnet explorer",
|
||||
"url": "https://explorer.dev.immutable.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",
|
||||
"width": 1168,
|
||||
"height": 1168,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://docs.immutable.com/docs/zkEVM/guides/faucet"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmXFUYFW4e6wifbU9LKVq7owM14bnE6ZbbYq3bn1jBP3Mw",
|
||||
"width": 1168,
|
||||
"height": 1168,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.immutable.com",
|
||||
"name": "Immutable zkEVM Devnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Dev IMX",
|
||||
"symbol": "dIMX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 15003,
|
||||
"rpc": [
|
||||
"https://immutable-zkevm-devnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://15003.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.dev.immutable.com"
|
||||
],
|
||||
"shortName": "imx-devnet",
|
||||
"slug": "immutable-zkevm-devnet",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 17026,
|
||||
"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": "QI1204I3",
|
||||
"nativeCurrency": {
|
||||
"name": "QI1204I3 Token",
|
||||
"symbol": "BHOX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 17026,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://qi1204i3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://17026.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-test.io/e7aeac38-06b2-4aaa-87b4-2c2da10fa43e"
|
||||
],
|
||||
"shortName": "QI1204I3",
|
||||
"slug": "qi1204i3",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
"format": ".png"
|
||||
},
|
||||
"infoURL": "https://tryroll.com/",
|
||||
"name": "Roll Testnet",
|
||||
"name": "Form Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
@@ -20,13 +20,9 @@ export default {
|
||||
},
|
||||
"networkId": 1748,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://roll-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://1748.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://roll.calderachain.xyz/http"
|
||||
],
|
||||
"rpc": [],
|
||||
"shortName": "Roll",
|
||||
"slug": "roll-testnet",
|
||||
"slug": "form-testnet",
|
||||
"testnet": true,
|
||||
"title": "Roll Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmePhfibWz9jnGUqF9Rven4x734br1h3LxrChYTEjbbQvo",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://proofofmemes.org",
|
||||
"name": "Proof Of Memes",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MRK",
|
||||
"chainId": 1909,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://merklescan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZocJpCSLoQqoYFkF1kn7uKDuAiFRNTK8P5PoVeiigDBU",
|
||||
"width": 114,
|
||||
"height": 132,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://merklescan.com",
|
||||
"name": "Merkle Scan",
|
||||
"nativeCurrency": {
|
||||
"name": "Merkle",
|
||||
"symbol": "MRK",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1909,
|
||||
"rpc": [
|
||||
"https://merkle-scan.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://1909.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://marklechain-rpc.merklescan.com"
|
||||
],
|
||||
"shortName": "MRK",
|
||||
"slug": "merkle-scan",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 19683,
|
||||
"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": "ST 12-07 V1",
|
||||
"nativeCurrency": {
|
||||
"name": "ST 12-07 V1 Token",
|
||||
"symbol": "XRL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 19683,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://st-12-07-v1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://19683.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-test.io/d26b972e-1832-4d3a-bf7b-d0ce1f4331c2"
|
||||
],
|
||||
"shortName": "ST 12-07 V1",
|
||||
"slug": "st-12-07-v1",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "X1",
|
||||
"chainId": 202212,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://explorer.x1-devnet.xen.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.xen.network/x1/",
|
||||
"name": "X1 Devnet",
|
||||
"nativeCurrency": {
|
||||
"name": "XN",
|
||||
"symbol": "XN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 202212,
|
||||
"rpc": [
|
||||
"https://x1-devnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://202212.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://x1-devnet.xen.network"
|
||||
],
|
||||
"shortName": "x1-devnet",
|
||||
"slug": "x1-devnet",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "X1",
|
||||
"chainId": 204005,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://explorer.x1-testnet.xen.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.xen.network/go-x1/",
|
||||
"name": "X1 Network",
|
||||
"nativeCurrency": {
|
||||
"name": "XN",
|
||||
"symbol": "XN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 204005,
|
||||
"rpc": [
|
||||
"https://x1-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://204005.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://x1-testnet.xen.network"
|
||||
],
|
||||
"shortName": "x1-testnet",
|
||||
"slug": "x1-network",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "BSL",
|
||||
"chainId": 21912,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "BSL Mainnet Explorer",
|
||||
"url": "https://scan.nftruth.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://bsquarelab.com/",
|
||||
"name": "BSL Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Origin NFT",
|
||||
"symbol": "ONF",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 21912,
|
||||
"rpc": [
|
||||
"https://bsl.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://21912.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"http://rpc-mainnet.nftruth.io:8545",
|
||||
"ws://rpc-mainnet.nftruth.io:8645"
|
||||
],
|
||||
"shortName": "onf",
|
||||
"slug": "bsl",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,23 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ebro",
|
||||
"chainId": 2306,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.ebrochain.com",
|
||||
"name": "Ebro Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Ebro",
|
||||
"symbol": "ebro",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2306,
|
||||
"rpc": [
|
||||
"https://ebro-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2306.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://greendinoswap.com"
|
||||
],
|
||||
"shortName": "ebro",
|
||||
"slug": "ebro-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -14,11 +14,6 @@ export default {
|
||||
"format": "png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "native",
|
||||
"url": "https://devnet.explorer.neon-labs.org",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
"name": "neonscan",
|
||||
"url": "https://devnet.neonscan.org",
|
||||
@@ -35,7 +30,7 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://neon-labs.org",
|
||||
"name": "Neon EVM DevNet",
|
||||
"name": "Neon EVM Devnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Neon",
|
||||
"symbol": "NEON",
|
||||
|
||||
@@ -22,14 +22,18 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://neonevm.org",
|
||||
"name": "Neon EVM MainNet",
|
||||
"name": "Neon EVM Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Neon",
|
||||
"symbol": "NEON",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 245022934,
|
||||
"rpc": [],
|
||||
"rpc": [
|
||||
"https://neon-evm.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://245022934.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://neon-proxy-mainnet.solana.p2p.org"
|
||||
],
|
||||
"shortName": "neonevm-mainnet",
|
||||
"slug": "neon-evm",
|
||||
"testnet": false
|
||||
|
||||
@@ -36,5 +36,6 @@ export default {
|
||||
],
|
||||
"shortName": "neonevm-testnet",
|
||||
"slug": "neon-evm-testnet",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Cronos Explorer",
|
||||
"url": "https://cronoscan.com",
|
||||
"url": "https://explorer.cronos.org",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FRAX",
|
||||
"chainId": 252,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "PNG"
|
||||
},
|
||||
"infoURL": "https://mainnet.frax.com",
|
||||
"name": "Fraxchain Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Frax Ether",
|
||||
"symbol": "frxETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 252,
|
||||
"redFlags": [],
|
||||
"rpc": [],
|
||||
"shortName": "fraxchain",
|
||||
"slug": "fraxchain",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,32 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "FRAX",
|
||||
"chainId": 2522,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQLJk5G7zF8ZDxSxkRcpHqEqcifrJEhGmEKC6zwyPXWAw/fraxchain.png",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "PNG"
|
||||
},
|
||||
"infoURL": "https://testnet.frax.com",
|
||||
"name": "Fraxchain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Frax Ether",
|
||||
"symbol": "frxETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2522,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://fraxchain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2522.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.testnet.frax.com"
|
||||
],
|
||||
"shortName": "fraxchain-testnet",
|
||||
"slug": "fraxchain-testnet",
|
||||
"status": "active",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -4,14 +4,14 @@ export default {
|
||||
"chainId": 2710,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Morphism Testnet Explorer",
|
||||
"url": "https://explorer-testnet.morphism.xyz",
|
||||
"name": "Morph Testnet Explorer",
|
||||
"url": "https://explorer-testnet.morphl2.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://morphism.xyz",
|
||||
"name": "Morphism Testnet",
|
||||
"infoURL": "https://morphl2.io",
|
||||
"name": "Morph Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
@@ -23,16 +23,16 @@ export default {
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge-testnet.morphism.xyz"
|
||||
"url": "https://bridge-testnet.morphl2.io"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://morphism-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://morph-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://2710.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-testnet.morphism.xyz"
|
||||
"https://rpc-testnet.morphl2.io"
|
||||
],
|
||||
"shortName": "tmorph",
|
||||
"slug": "morphism-testnet",
|
||||
"slug": "morph-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -15,17 +15,15 @@ export default {
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://goerli.portal.zksync.io/faucet"
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://era.zksync.io/docs/",
|
||||
"name": "zkSync Era Testnet",
|
||||
"infoURL": "https://zksync.io/",
|
||||
"name": "zkSync Era Goerli Testnet (deprecated)",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
@@ -37,16 +35,17 @@ export default {
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://goerli.portal.zksync.io/bridge"
|
||||
"url": "https://bridge.zksync.io/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://zksync-era-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://zksync-era-goerli-testnet-deprecated.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://280.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet.era.zksync.dev"
|
||||
],
|
||||
"shortName": "zksync-goerli",
|
||||
"slug": "zksync-era-testnet",
|
||||
"slug": "zksync-era-goerli-testnet-deprecated",
|
||||
"status": "deprecated",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -1,20 +1,53 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "OGC",
|
||||
"chain": "ETH",
|
||||
"chainId": 300,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "zkSync Block Explorer",
|
||||
"url": "https://sepolia.explorer.zksync.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.gnosischain.com",
|
||||
"name": "(deprecated) Optimism on GC",
|
||||
"icon": {
|
||||
"url": "ipfs://QmRkhUD6J3B9WhT4hEWLrcFVTrBhx3CQgNC783aJsrwxSN",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://zksync.io/",
|
||||
"name": "zkSync Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "xDAI",
|
||||
"symbol": "xDAI",
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 300,
|
||||
"rpc": [],
|
||||
"shortName": "ogc",
|
||||
"slug": "deprecated-optimism-on-gc",
|
||||
"status": "deprecated",
|
||||
"testnet": false
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge.zksync.io/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redFlags": [
|
||||
"reusedChainId"
|
||||
],
|
||||
"rpc": [
|
||||
"https://zksync-sepolia-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://300.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://sepolia.era.zksync.dev"
|
||||
],
|
||||
"shortName": "zksync-sepolia",
|
||||
"slug": "zksync-sepolia-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -23,7 +23,7 @@ export default {
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://zksync.io/",
|
||||
"name": "zkSync Era Mainnet",
|
||||
"name": "zkSync Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
@@ -40,11 +40,11 @@ export default {
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://zksync-era.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://zksync.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://324.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.era.zksync.io"
|
||||
],
|
||||
"shortName": "zksync",
|
||||
"slug": "zksync-era",
|
||||
"slug": "zksync",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 35730,
|
||||
"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": "QR1129I1",
|
||||
"nativeCurrency": {
|
||||
"name": "QR1129I1 Token",
|
||||
"symbol": "YXAX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 35730,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://qr1129i1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://35730.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr1129i1/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR1129I1",
|
||||
"slug": "qr1129i1",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 36908,
|
||||
"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": "QR1205s1",
|
||||
"nativeCurrency": {
|
||||
"name": "QR1205s1 Token",
|
||||
"symbol": "MDN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 36908,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://qr1205s1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://36908.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr1205s1/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR1205s1",
|
||||
"slug": "qr1205s1",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Firechain",
|
||||
"chainId": 3885,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.thefirechain.com/",
|
||||
"name": "Firechain zkEVM Ghostrider",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 3885,
|
||||
"rpc": [
|
||||
"https://firechain-zkevm-ghostrider.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://3885.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.zkevm.ghostrider.thefirechain.com"
|
||||
],
|
||||
"shortName": "firechain-zkEVM-ghostrider",
|
||||
"slug": "firechain-zkevm-ghostrider",
|
||||
"testnet": false,
|
||||
"title": "Firechain zkEVM Ghostrider"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "X1",
|
||||
"chainId": 4003,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Blockscout",
|
||||
"url": "https://explorer.x1-fastnet.xen.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://docs.xen.network/go-x1/",
|
||||
"name": "X1 Fastnet",
|
||||
"nativeCurrency": {
|
||||
"name": "XN",
|
||||
"symbol": "XN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 4003,
|
||||
"rpc": [
|
||||
"https://x1-fastnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://4003.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://x1-fastnet.xen.network"
|
||||
],
|
||||
"shortName": "x1-fastnet",
|
||||
"slug": "x1-fastnet",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "XFI",
|
||||
"chainId": 4157,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Scan Testnet",
|
||||
"url": "https://scan.testnet.ms/",
|
||||
"standard": "EIP1559"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"name": "CrossFi Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "XFI",
|
||||
"symbol": "XFI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 4157,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://crossfi-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://4157.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.testnet.ms/"
|
||||
],
|
||||
"shortName": "XFI",
|
||||
"slug": "crossfi-testnet",
|
||||
"testnet": true,
|
||||
"title": "https://scan.testnet.ms/"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,49 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 43851,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "ZKFair Testnet Info",
|
||||
"url": "https://testnet-scan.zkfair.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVb682D4mUXkKNP28xxJDNgSYbDLvEc3kVYx7TQxEa6Cw",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://zkfair.io",
|
||||
"name": "ZKFair Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "USDC Token",
|
||||
"symbol": "USDC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 43851,
|
||||
"rpc": [
|
||||
"https://zkfair-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://43851.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-rpc.zkfair.io"
|
||||
],
|
||||
"shortName": "ZKFair-Testnet",
|
||||
"slug": "zkfair-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Areon",
|
||||
"chainId": 463,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "AreonScan",
|
||||
"url": "https://areonscan.com",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://areon.network",
|
||||
"name": "Areon Network Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Areon",
|
||||
"symbol": "AREA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 463,
|
||||
"rpc": [
|
||||
"https://areon-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://463.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet-rpc.areon.network"
|
||||
],
|
||||
"shortName": "area",
|
||||
"slug": "areon-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Scroll Sepolia Etherscan",
|
||||
"url": "https://sepolia.scrollscan.dev",
|
||||
"url": "https://sepolia.scrollscan.com",
|
||||
"standard": "EIP3091"
|
||||
},
|
||||
{
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
"chain": "eip155-11155111",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://scroll.io/bridge"
|
||||
"url": "https://sepolia.scroll.io/bridge"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 56914,
|
||||
"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": "KK1223",
|
||||
"nativeCurrency": {
|
||||
"name": "KK1223 Token",
|
||||
"symbol": "KLK",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 56914,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://kk1223.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://56914.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-dev.io/bf540c23-4601-4768-9e26-f2e5f0f89c18"
|
||||
],
|
||||
"shortName": "KK1223",
|
||||
"slug": "kk1223",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,41 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "GCODE",
|
||||
"chainId": 59971,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Genesys Scan",
|
||||
"url": "https://genesysscan.io",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://genesyscode.io",
|
||||
"name": "Genesys Code Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "GenesysCode",
|
||||
"symbol": "GCODE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 59971,
|
||||
"rpc": [
|
||||
"https://genesys-code.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://59971.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.genesyscode.io/"
|
||||
],
|
||||
"shortName": "gcode",
|
||||
"slug": "genesys-code",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "RTH",
|
||||
"chain": "HYP",
|
||||
"chainId": 622277,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "rethereum",
|
||||
"url": "https://explorer.rethereum.org",
|
||||
"name": "hypra",
|
||||
"url": "https://explorer.hypra.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
@@ -30,22 +30,23 @@ export default {
|
||||
"height": 830,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.rethereum.org",
|
||||
"name": "Rethereum Mainnet",
|
||||
"infoURL": "https://www.hypra.network",
|
||||
"name": "Hypra Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Rethereum",
|
||||
"symbol": "RTH",
|
||||
"name": "Hypra",
|
||||
"symbol": "HYP",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 622277,
|
||||
"rpc": [
|
||||
"https://rethereum.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://hypra.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://622277.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.hypra.network",
|
||||
"https://rpc.rethereum.org",
|
||||
"https://rethereum.rpc.restratagem.com",
|
||||
"https://rpc.rthcentral.org"
|
||||
],
|
||||
"shortName": "rth",
|
||||
"slug": "rethereum",
|
||||
"shortName": "hyp",
|
||||
"slug": "hypra",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "AUT",
|
||||
"chainId": 65010000,
|
||||
"chainId": 65010001,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "autonity-blockscout",
|
||||
@@ -19,20 +19,20 @@ export default {
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://autonity.org/",
|
||||
"name": "Autonity Bakerloo (Thames) Testnet",
|
||||
"name": "Autonity Bakerloo (Barada) Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Bakerloo Auton",
|
||||
"symbol": "ATN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 65010000,
|
||||
"networkId": 65010001,
|
||||
"rpc": [
|
||||
"https://autonity-bakerloo-thames-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://65010000.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://autonity-bakerloo-barada-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://65010001.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc1.bakerloo.autonity.org/",
|
||||
"wss://rpc1.bakerloo.autonity.org/ws/"
|
||||
],
|
||||
"shortName": "bakerloo-0",
|
||||
"slug": "autonity-bakerloo-thames-testnet",
|
||||
"shortName": "bakerloo-01",
|
||||
"slug": "autonity-bakerloo-barada-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Kalichain",
|
||||
"chainId": 653,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "kalichain explorer",
|
||||
"url": "https://explorer.kalichain.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://kalichain.com",
|
||||
"name": "Kalichain Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "kalis",
|
||||
"symbol": "KALIS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 653,
|
||||
"rpc": [
|
||||
"https://kalichain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://653.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.kalichain.com"
|
||||
],
|
||||
"shortName": "kalichain",
|
||||
"slug": "kalichain",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,27 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "OCASH",
|
||||
"chainId": 660868,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://ipfs.io/ipfs/QmbwuoezvkfZBY9nrZ65n3iHGyhJG6yDRyhPjqE6k3uCiM",
|
||||
"width": 350,
|
||||
"height": 350,
|
||||
"format": "PNG"
|
||||
},
|
||||
"infoURL": "https://www.overline.network",
|
||||
"name": "Ocash testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "OCASH",
|
||||
"symbol": "OCASH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 660868,
|
||||
"redFlags": [],
|
||||
"rpc": [],
|
||||
"shortName": "ocash",
|
||||
"slug": "ocash-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 69740,
|
||||
"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": "Will's Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Will's Testnet Token",
|
||||
"symbol": "WLDVNT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 69740,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://will-s-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://69740.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "Will's Testnet",
|
||||
"slug": "will-s-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 70466,
|
||||
"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": "Cohan test3",
|
||||
"nativeCurrency": {
|
||||
"name": "Cohan test3 Token",
|
||||
"symbol": "HYN",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 70466,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://cohan-test3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://70466.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-dev.io/f44b72ee-0574-44d2-a10b-363a74964145"
|
||||
],
|
||||
"shortName": "Cohan test3",
|
||||
"slug": "cohan-test3",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "BLU",
|
||||
"chainId": 727,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.blucrates.com",
|
||||
"name": "Blucrates",
|
||||
"nativeCurrency": {
|
||||
"name": "Blucrates",
|
||||
"symbol": "BLU",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 727,
|
||||
"rpc": [
|
||||
"https://blucrates.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://727.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://data.bluchain.pro"
|
||||
],
|
||||
"shortName": "blu",
|
||||
"slip44": 727,
|
||||
"slug": "blucrates",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 80182,
|
||||
"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": "QI M 12051",
|
||||
"nativeCurrency": {
|
||||
"name": "QI M 12051 Token",
|
||||
"symbol": "VTV",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 80182,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://qi-m-12051.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://80182.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-dev.io/b19c9e32-f359-451f-ad15-7ec784625c04"
|
||||
],
|
||||
"shortName": "QI M 12051",
|
||||
"slug": "qi-m-12051",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Nordek",
|
||||
"chainId": 81041,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "nordek",
|
||||
"url": "https://nordekscan.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://nordekscan.com",
|
||||
"name": "Nordek Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "NRK",
|
||||
"symbol": "NRK",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 81041,
|
||||
"rpc": [
|
||||
"https://nordek.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://81041.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet-rpc.nordekscan.com"
|
||||
],
|
||||
"shortName": "nordek",
|
||||
"slug": "nordek",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Firechain",
|
||||
"chainId": 814,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.thefirechain.com/",
|
||||
"name": "Firechain zkEVM",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 814,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://zkevm.bridge.rpc.thefirechain.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://firechain-zkevm.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://814.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.zkevm.thefirechain.com"
|
||||
],
|
||||
"shortName": "firechan-zkEVM",
|
||||
"slug": "firechain-zkevm",
|
||||
"testnet": false,
|
||||
"title": "Firechain zkEVM"
|
||||
} as const satisfies Chain;
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://testnet.torusscan.com",
|
||||
"url": "https://testnet.toruscan.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 88883,
|
||||
"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": "Proj Orc Testnet Alpha",
|
||||
"nativeCurrency": {
|
||||
"name": "Proj Orc Testnet Alpha Token",
|
||||
"symbol": "STX",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 88883,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://proj-orc-testnet-alpha.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://88883.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/projorctes/testnet/rpc"
|
||||
],
|
||||
"shortName": "Proj Orc Testnet Alpha",
|
||||
"slug": "proj-orc-testnet-alpha",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -29,7 +29,8 @@ export default {
|
||||
"rpc": [
|
||||
"https://jibchain-l1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://8899.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-l1.jibchain.net"
|
||||
"https://rpc-l1.jibchain.net",
|
||||
"https://jib-rpc.inan.in.th"
|
||||
],
|
||||
"shortName": "jbc",
|
||||
"slug": "jibchain-l1",
|
||||
|
||||
@@ -2,12 +2,24 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Oort Mainnet",
|
||||
"chainId": 970,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Oort Mainnet Explorer",
|
||||
"url": "https://mainnet-scan.oortech.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",
|
||||
"width": 1043,
|
||||
"height": 1079,
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://oortech.com",
|
||||
@@ -21,7 +33,7 @@ export default {
|
||||
"rpc": [
|
||||
"https://oort.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://970.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.oortech.com"
|
||||
"https://mainnet-rpc.oortech.com"
|
||||
],
|
||||
"shortName": "ccn",
|
||||
"slug": "oort",
|
||||
|
||||
@@ -2,12 +2,24 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MainnetDev",
|
||||
"chainId": 9700,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Oort MainnetDev Scan",
|
||||
"url": "https://dev-scan.oortech.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",
|
||||
"width": 1043,
|
||||
"height": 1079,
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://oortech.com",
|
||||
@@ -18,7 +30,11 @@ export default {
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 9700,
|
||||
"rpc": [],
|
||||
"rpc": [
|
||||
"https://oort-dev.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://9700.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://dev-rpc.oortech.com"
|
||||
],
|
||||
"shortName": "MainnetDev",
|
||||
"slug": "oort-dev",
|
||||
"testnet": false,
|
||||
|
||||
@@ -2,12 +2,24 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Ascraeus",
|
||||
"chainId": 972,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Oort Ascraeus Explorer",
|
||||
"url": "https://ascraeus-scan.oortech.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmZ1jbxFZcuotj3eZ6iKFrg9ZXnaV8AK6sGRa7ELrceWyD",
|
||||
"width": 1043,
|
||||
"height": 1079,
|
||||
"url": "ipfs://bafkreidrbvklkb52sgmg7cmy42fhf7vqpig7qj7bnrq24ijdwywkzr2tfy",
|
||||
"width": 1440,
|
||||
"height": 1440,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://oortech.com",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/chains",
|
||||
"version": "0.1.60",
|
||||
"version": "0.1.61",
|
||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||
"exports": {
|
||||
|
||||
+152
-20
File diff suppressed because one or more lines are too long
@@ -1,5 +1,34 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`bcfa9463`](https://github.com/thirdweb-dev/js/commit/bcfa9463bbae6bf1d3b6389b7a141f65ef3e1173)]:
|
||||
- @thirdweb-dev/sdk@4.0.21
|
||||
- @thirdweb-dev/wallets@2.2.1
|
||||
- @thirdweb-dev/auth@4.1.16
|
||||
|
||||
## 0.13.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d2001ca4`](https://github.com/thirdweb-dev/js/commit/d2001ca464aa699ac821c97eb37de7409ba865f3), [`85842c15`](https://github.com/thirdweb-dev/js/commit/85842c1596c901e228be1894b6702a8871d9e794), [`e595d4d9`](https://github.com/thirdweb-dev/js/commit/e595d4d92f03e36cbe61e1f00a366e37ede5d814), [`497677f3`](https://github.com/thirdweb-dev/js/commit/497677f3596977fa90ebc0fa76cb5842d46d8dcf), [`94966069`](https://github.com/thirdweb-dev/js/commit/9496606964d65268f8ee6bf9f78b2786e99d33ac), [`15ae5e7f`](https://github.com/thirdweb-dev/js/commit/15ae5e7f95a482a9736923c0e10916a0a6115c3d)]:
|
||||
- @thirdweb-dev/chains@0.1.61
|
||||
- @thirdweb-dev/sdk@4.0.20
|
||||
- @thirdweb-dev/wallets@2.2.0
|
||||
- @thirdweb-dev/auth@4.1.15
|
||||
|
||||
## 0.13.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`cfe81b44`](https://github.com/thirdweb-dev/js/commit/cfe81b443205d84e58128b8d7d5f2dc940b12875), [`72c0bb10`](https://github.com/thirdweb-dev/js/commit/72c0bb10d6d765d1679b2b22ac63d85db101b5c4), [`ca618ea0`](https://github.com/thirdweb-dev/js/commit/ca618ea0c9ac5dc4f65cbfbfd39360e4150c72c7), [`aefc4cda`](https://github.com/thirdweb-dev/js/commit/aefc4cda4c4fad81411d3a9485931e28100b5718), [`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56), [`4ae1cd63`](https://github.com/thirdweb-dev/js/commit/4ae1cd63bb7b471cae48a27bf6554c4953c1dc82), [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5), [`7bb054e4`](https://github.com/thirdweb-dev/js/commit/7bb054e45c75450c8f465809d23eb66371f6ef8e), [`d20e7898`](https://github.com/thirdweb-dev/js/commit/d20e7898562a3914841522f2e09f88ca37dfdd4b)]:
|
||||
- @thirdweb-dev/sdk@4.0.19
|
||||
- @thirdweb-dev/storage@2.0.7
|
||||
- @thirdweb-dev/wallets@2.1.11
|
||||
- @thirdweb-dev/auth@4.1.14
|
||||
|
||||
## 0.13.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "thirdweb",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.21",
|
||||
"version": "0.13.24",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -39,7 +39,14 @@
|
||||
"@types/treeify": "^1.0.2",
|
||||
"benchmark": "^2.1.4",
|
||||
"eslint-config-thirdweb": "workspace:*",
|
||||
"typescript": "^5.1.6"
|
||||
"typescript": "^5.1.6",
|
||||
"circomlibjs": "^0.1.7",
|
||||
"crypto": "0.0.3",
|
||||
"ethereum-cryptography": "^1.0.3",
|
||||
"ethereumjs-util": "^7.0.9",
|
||||
"keccak256": "^1.0.6",
|
||||
"sha1": "^1.1.1",
|
||||
"tape": "^4.9.2"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --write 'src/**/*'",
|
||||
@@ -48,7 +55,7 @@
|
||||
"clean": "rm -rf dist/",
|
||||
"build": "tsc && preconstruct build",
|
||||
"push": "yalc push",
|
||||
"test": "bun test",
|
||||
"test": "bun test && node test/MerkleTree.js",
|
||||
"benchmark:aes-encrypt": "bun benchmark/aes-encrypt.ts",
|
||||
"benchmark:aes-decrypt": "bun benchmark/aes-decrypt.ts",
|
||||
"benchmark:sha256": "bun benchmark/sha256.ts",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,44 @@
|
||||
# @thirdweb-dev/react-core
|
||||
|
||||
## 4.1.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`bcfa9463`](https://github.com/thirdweb-dev/js/commit/bcfa9463bbae6bf1d3b6389b7a141f65ef3e1173)]:
|
||||
- @thirdweb-dev/sdk@4.0.21
|
||||
- @thirdweb-dev/wallets@2.2.1
|
||||
- @thirdweb-dev/auth@4.1.16
|
||||
|
||||
## 4.1.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d2001ca4`](https://github.com/thirdweb-dev/js/commit/d2001ca464aa699ac821c97eb37de7409ba865f3), [`85842c15`](https://github.com/thirdweb-dev/js/commit/85842c1596c901e228be1894b6702a8871d9e794), [`e595d4d9`](https://github.com/thirdweb-dev/js/commit/e595d4d92f03e36cbe61e1f00a366e37ede5d814), [`497677f3`](https://github.com/thirdweb-dev/js/commit/497677f3596977fa90ebc0fa76cb5842d46d8dcf), [`94966069`](https://github.com/thirdweb-dev/js/commit/9496606964d65268f8ee6bf9f78b2786e99d33ac), [`15ae5e7f`](https://github.com/thirdweb-dev/js/commit/15ae5e7f95a482a9736923c0e10916a0a6115c3d)]:
|
||||
- @thirdweb-dev/chains@0.1.61
|
||||
- @thirdweb-dev/sdk@4.0.20
|
||||
- @thirdweb-dev/wallets@2.2.0
|
||||
- @thirdweb-dev/auth@4.1.15
|
||||
|
||||
## 4.1.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2043](https://github.com/thirdweb-dev/js/pull/2043) [`34546c24`](https://github.com/thirdweb-dev/js/commit/34546c24c74f4e9e1f5e94567ebe1017ad63aea5) Thanks [@MananTank](https://github.com/MananTank)! - when user clicks on "Switch to personal wallet" when they are connected to smart wallet and reloads the page, auto-connect to smart wallet
|
||||
|
||||
- [#1842](https://github.com/thirdweb-dev/js/pull/1842) [`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56) Thanks [@MananTank](https://github.com/MananTank)! - JSDoc improvements
|
||||
|
||||
- [#1938](https://github.com/thirdweb-dev/js/pull/1938) [`4ae1cd63`](https://github.com/thirdweb-dev/js/commit/4ae1cd63bb7b471cae48a27bf6554c4953c1dc82) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Add OneKey wallet
|
||||
|
||||
- [#2042](https://github.com/thirdweb-dev/js/pull/2042) [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5) Thanks [@MananTank](https://github.com/MananTank)! - Improved JSDoc comments and Type exports
|
||||
|
||||
- [#2039](https://github.com/thirdweb-dev/js/pull/2039) [`cd87be4a`](https://github.com/thirdweb-dev/js/commit/cd87be4a24a9a3a552fbc4f33da6fcb08b7da88b) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Remove barrel files
|
||||
|
||||
- Updated dependencies [[`cfe81b44`](https://github.com/thirdweb-dev/js/commit/cfe81b443205d84e58128b8d7d5f2dc940b12875), [`72c0bb10`](https://github.com/thirdweb-dev/js/commit/72c0bb10d6d765d1679b2b22ac63d85db101b5c4), [`ca618ea0`](https://github.com/thirdweb-dev/js/commit/ca618ea0c9ac5dc4f65cbfbfd39360e4150c72c7), [`aefc4cda`](https://github.com/thirdweb-dev/js/commit/aefc4cda4c4fad81411d3a9485931e28100b5718), [`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56), [`4ae1cd63`](https://github.com/thirdweb-dev/js/commit/4ae1cd63bb7b471cae48a27bf6554c4953c1dc82), [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5), [`7bb054e4`](https://github.com/thirdweb-dev/js/commit/7bb054e45c75450c8f465809d23eb66371f6ef8e), [`d20e7898`](https://github.com/thirdweb-dev/js/commit/d20e7898562a3914841522f2e09f88ca37dfdd4b)]:
|
||||
- @thirdweb-dev/sdk@4.0.19
|
||||
- @thirdweb-dev/storage@2.0.7
|
||||
- @thirdweb-dev/wallets@2.1.11
|
||||
- @thirdweb-dev/auth@4.1.14
|
||||
|
||||
## 4.1.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-core",
|
||||
"version": "4.1.11",
|
||||
"version": "4.1.14",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
@@ -52,7 +52,8 @@
|
||||
"generate-docs:evm": "api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm",
|
||||
"generate-snippets": "node ./scripts/generate-snippets-evm.mjs && node ./scripts/generate-feature-snippets-evm.mjs",
|
||||
"build": "tsc && preconstruct build",
|
||||
"push": "yalc push"
|
||||
"push": "yalc push",
|
||||
"typedoc": "node scripts/typedoc.mjs"
|
||||
},
|
||||
"sideEffects:": false,
|
||||
"devDependencies": {
|
||||
@@ -83,7 +84,8 @@
|
||||
"ethers": "^5.7.2",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "^18.2.0",
|
||||
"typescript": "^5.1.6"
|
||||
"typescript": "^5.1.6",
|
||||
"typedoc-gen": "workspace:*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-query": "^4.33.0",
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
// @ts-check
|
||||
/* eslint-disable better-tree-shaking/no-top-level-side-effects */
|
||||
|
||||
import { typedoc } from "typedoc-gen";
|
||||
|
||||
typedoc({
|
||||
entryPoints: ["src/index.ts"],
|
||||
exclude: [
|
||||
"**/packages/sdk/**",
|
||||
"**/packages/wallets/**",
|
||||
"**/packages/chains/**",
|
||||
],
|
||||
output: "both", // TODO: change this to 'json' when old portal is fully migrated to new portal
|
||||
});
|
||||
@@ -12,6 +12,7 @@ import type {
|
||||
MagicLink,
|
||||
MetaMaskWallet,
|
||||
OKXWallet,
|
||||
OneKeyWallet,
|
||||
PaperWallet,
|
||||
PhantomWallet,
|
||||
RabbyWallet,
|
||||
@@ -47,6 +48,7 @@ type WalletIdToWalletTypeMap = {
|
||||
phantom: PhantomWallet;
|
||||
walletConnectV1: WalletConnect;
|
||||
okx: OKXWallet;
|
||||
oneKey: OneKeyWallet;
|
||||
cryptoDefiWallet: CryptoDefiWallet;
|
||||
rabby: RabbyWallet;
|
||||
};
|
||||
|
||||
@@ -3,6 +3,9 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { useMemo } from "react";
|
||||
|
||||
export interface QueryClientProviderProps {
|
||||
/**
|
||||
* If you are using React Query and have your own `QueryClient`, you can pass it as the queryClient prop to use that instead of the SDK's default client.
|
||||
*/
|
||||
queryClient?: QueryClient;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,9 @@ export interface ThirdwebProviderCoreProps<TChains extends Chain[]>
|
||||
|
||||
theme?: "light" | "dark";
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
createWalletStorage?: CreateAsyncStorage;
|
||||
|
||||
/**
|
||||
@@ -68,13 +71,19 @@ export interface ThirdwebProviderCoreProps<TChains extends Chain[]>
|
||||
*
|
||||
* If wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect
|
||||
*
|
||||
* @defaultValue 15000
|
||||
* By default, it is set to `15000` milliseconds (15 seconds)
|
||||
*/
|
||||
autoConnectTimeout?: number;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
signerWallet?: WalletConfig<SignerWallet>;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const ThirdwebProviderCore = <TChains extends Chain[]>({
|
||||
createWalletStorage = createAsyncLocalStorage,
|
||||
...props
|
||||
|
||||
@@ -303,12 +303,14 @@ export function ThirdwebWalletProvider(
|
||||
|
||||
// Auto Connect
|
||||
useEffect(() => {
|
||||
// do not auto connect if signerWallet is given
|
||||
if (props.signerWallet) {
|
||||
if (autoConnectTriggered.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (autoConnectTriggered.current) {
|
||||
autoConnectTriggered.current = true;
|
||||
|
||||
// do not auto connect if signerWallet is given
|
||||
if (props.signerWallet) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -329,8 +331,6 @@ export function ThirdwebWalletProvider(
|
||||
return;
|
||||
}
|
||||
|
||||
autoConnectTriggered.current = true;
|
||||
|
||||
async function autoconnect() {
|
||||
const walletInfo = await getLastConnectedWalletInfo();
|
||||
|
||||
@@ -339,7 +339,7 @@ export function ThirdwebWalletProvider(
|
||||
return;
|
||||
}
|
||||
|
||||
let walletObj = props.supportedWallets.find(
|
||||
const walletObj = props.supportedWallets.find(
|
||||
(W) => W.id === walletInfo.walletId,
|
||||
);
|
||||
|
||||
@@ -351,23 +351,15 @@ export function ThirdwebWalletProvider(
|
||||
|
||||
let _personalWalletInfo = walletInfo.connectParams?.personalWallet;
|
||||
|
||||
// when connecting to magicLink with social login, it redirects to other page
|
||||
// before redirecting, we save the walletInfo to local storage so that we can auto connect after redirect back to current page
|
||||
// when using smartWallet + magicLink combination - the walletInfo will only contain info about magicLink and not smartWallet because it was never connected
|
||||
// so if smartWallet + magicLink combination is used, we need to connect magicLink first and then connect smartWallet
|
||||
if (
|
||||
walletInfo.walletId === walletIds.magicLink &&
|
||||
walletInfo.connectParams &&
|
||||
"oauthProvider" in walletInfo.connectParams
|
||||
) {
|
||||
// if the wallet requires a personal wallet (like smartWallet), but the saved data does not have it
|
||||
if (walletObj.personalWallets && !_personalWalletInfo) {
|
||||
// fix the connectParams by adding the personal wallet info
|
||||
_personalWalletInfo = {
|
||||
walletId: walletInfo.walletId,
|
||||
connectParams: walletInfo.connectParams,
|
||||
};
|
||||
}
|
||||
// if the wallet requires a personal wallet (like smartWallet), but the saved data does not have it
|
||||
// this can happen when user clicks on "switch to personal wallet" and reloads the page
|
||||
// OR when user clicks on magic link social login
|
||||
if (walletObj.personalWallets && !_personalWalletInfo) {
|
||||
// fix the connectParams by adding the personal wallet info
|
||||
_personalWalletInfo = {
|
||||
walletId: walletInfo.walletId,
|
||||
connectParams: walletInfo.connectParams,
|
||||
};
|
||||
}
|
||||
|
||||
const personalWalletInfo = _personalWalletInfo;
|
||||
@@ -410,19 +402,6 @@ export function ThirdwebWalletProvider(
|
||||
setConnectionStatus("disconnected");
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
// if walletObj requires a personal wallet, but the saved data does not have it
|
||||
// connect to personal wallet only ( this happens when user switches to personal wallet and reloads the page )
|
||||
if (walletObj.personalWallets) {
|
||||
// connect the personal wallet instead
|
||||
walletObj = walletObj.personalWallets.find(
|
||||
(w) => w.id === walletInfo.walletId,
|
||||
);
|
||||
if (!walletObj) {
|
||||
setConnectionStatus("disconnected");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// create a wallet instance and auto connect it
|
||||
|
||||
@@ -18,6 +18,9 @@ export function neverPersist<TKey extends QueryKey>(key: TKey) {
|
||||
return [...key, NEVER_PERSIST_QUERY_POSTFIX] as const;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function shouldNeverPersistQuery<TKey extends QueryKey>(
|
||||
key: TKey,
|
||||
): boolean {
|
||||
|
||||
@@ -2,7 +2,6 @@ import invariant from "tiny-invariant";
|
||||
|
||||
/**
|
||||
* Makes a parameter required to be passed, but still allows it to be null or undefined.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export type RequiredParam<T> = T | null | undefined;
|
||||
|
||||
@@ -43,13 +43,15 @@ export type WalletConfig<I extends WalletInstance = WalletInstance> = {
|
||||
|
||||
/**
|
||||
* If true, this wallet will be tagged as "recommended" in ConnectWallet Modal and will be shown at the top of the list
|
||||
* @defaultValue false
|
||||
*
|
||||
* By default is set to `false`
|
||||
*/
|
||||
recommended?: boolean;
|
||||
|
||||
/**
|
||||
* If the wallet can sign transactions without user interaction, set this to true.
|
||||
* @defaultValue false
|
||||
*
|
||||
* By default is set to `false`
|
||||
*/
|
||||
isHeadless?: boolean;
|
||||
};
|
||||
|
||||
@@ -5,6 +5,9 @@ export interface IPFSResolverOptions {
|
||||
gatewayUrl: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export async function resolveMimeType(url?: string) {
|
||||
if (!url) {
|
||||
return undefined;
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
import { useQueryClient } from "@tanstack/react-query";
|
||||
import { useWallet } from "../../core/hooks/wallet-hooks";
|
||||
import { WalletData } from "@thirdweb-dev/wallets";
|
||||
import { useLogout } from "../hooks/auth";
|
||||
import { useLogout } from "../hooks/auth/useLogout";
|
||||
import { useSwitchAccount } from "../hooks/auth/useSwitchAccount";
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,9 @@ export const ThirdwebConnectedWalletContext = /* @__PURE__ */ createContext<
|
||||
ThirdwebConnectedWalletContext | undefined
|
||||
>(undefined);
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const ThirdwebConnectedWalletProvider: React.FC<
|
||||
PropsWithChildren<{ signer?: Signer }>
|
||||
> = ({ signer, children }) => {
|
||||
|
||||
@@ -73,6 +73,9 @@ export function useContractType(
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const contractType = {
|
||||
cacheKey: (
|
||||
contractAddress: RequiredParam<ContractAddress>,
|
||||
@@ -121,6 +124,9 @@ export function useCompilerMetadata(
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const compilerMetadata = {
|
||||
cacheKey: (
|
||||
contractAddress: RequiredParam<ContractAddress>,
|
||||
|
||||
-6
@@ -3,12 +3,6 @@ import { useWallet } from "../../../core/hooks/wallet-hooks";
|
||||
import { useThirdwebAuthContext } from "../../contexts/thirdweb-auth";
|
||||
import { useMemo } from "react";
|
||||
|
||||
export { useLogin } from "./useLogin";
|
||||
export { useLogout } from "./useLogout";
|
||||
export type { UserWithData } from "./useUser";
|
||||
export { useUser } from "./useUser";
|
||||
export { useSwitchAccount } from "./useSwitchAccount";
|
||||
|
||||
export function useAuth() {
|
||||
const wallet = useWallet();
|
||||
const authConfig = useThirdwebAuthContext();
|
||||
@@ -1,12 +0,0 @@
|
||||
export { useEditionDrop } from "./useEditionDrop";
|
||||
export { useEdition } from "./useEdition";
|
||||
export { useNFTDrop } from "./useNFTDrop";
|
||||
export { useMarketplace } from "./useMarketplace";
|
||||
export { useNFTCollection } from "./useNFTCollection";
|
||||
export { usePack } from "./usePack";
|
||||
export { useToken } from "./useToken";
|
||||
export { useTokenDrop } from "./useTokenDrop";
|
||||
export { useVote } from "./useVote";
|
||||
export { useSplit } from "./useSplit";
|
||||
export { useMultiwrap } from "./useMultiwrap";
|
||||
export { useSignatureDrop } from "./useSignatureDrop";
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
import { useSDK } from "../useSDK";
|
||||
|
||||
export { useStorageUpload } from "./useStorageUpload";
|
||||
|
||||
/**
|
||||
* Get the configured `ThirdwebStorage` instance
|
||||
* @returns The `storageInterface` configured on the `ThirdwebProvider`
|
||||
@@ -6,6 +6,7 @@ import { useSupportedChains } from "./useSupportedChains";
|
||||
import { useWalletContext } from "../../core/providers/thirdweb-wallet-provider";
|
||||
|
||||
/**
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export function useENS() {
|
||||
|
||||
@@ -219,32 +219,30 @@ export {
|
||||
// thirdweb hooks (work as long as at least `<ThirdwebSdkProvider>` is used)
|
||||
|
||||
// auth hooks
|
||||
export {
|
||||
useLogin,
|
||||
useLogout,
|
||||
useUser,
|
||||
useAuth,
|
||||
useSwitchAccount,
|
||||
} from "./hooks/auth";
|
||||
export type { UserWithData } from "./hooks/auth";
|
||||
export { useAuth } from "./hooks/auth/useAuth";
|
||||
export { useLogin } from "./hooks/auth/useLogin";
|
||||
export { useLogout } from "./hooks/auth/useLogout";
|
||||
export { useUser } from "./hooks/auth/useUser";
|
||||
export { useSwitchAccount } from "./hooks/auth/useSwitchAccount";
|
||||
|
||||
export type { UserWithData } from "./hooks/auth/useUser";
|
||||
|
||||
// contract hooks
|
||||
export {
|
||||
useEditionDrop,
|
||||
useEdition,
|
||||
useNFTDrop,
|
||||
useMarketplace,
|
||||
useNFTCollection,
|
||||
usePack,
|
||||
useToken,
|
||||
useTokenDrop,
|
||||
useVote,
|
||||
useSplit,
|
||||
useMultiwrap,
|
||||
useSignatureDrop,
|
||||
} from "./hooks/contracts";
|
||||
export { useEditionDrop } from "./hooks/contracts/useEditionDrop";
|
||||
export { useEdition } from "./hooks/contracts/useEdition";
|
||||
export { useNFTDrop } from "./hooks/contracts/useNFTDrop";
|
||||
export { useMarketplace } from "./hooks/contracts/useMarketplace";
|
||||
export { useNFTCollection } from "./hooks/contracts/useNFTCollection";
|
||||
export { usePack } from "./hooks/contracts/usePack";
|
||||
export { useToken } from "./hooks/contracts/useToken";
|
||||
export { useTokenDrop } from "./hooks/contracts/useTokenDrop";
|
||||
export { useVote } from "./hooks/contracts/useVote";
|
||||
export { useSplit } from "./hooks/contracts/useSplit";
|
||||
export { useMultiwrap } from "./hooks/contracts/useMultiwrap";
|
||||
export { useSignatureDrop } from "./hooks/contracts/useSignatureDrop";
|
||||
|
||||
export { useStorageUpload, useStorage } from "./hooks/storage";
|
||||
export { useStorage } from "./hooks/storage/useStorage";
|
||||
export { useStorageUpload } from "./hooks/storage/useStorageUpload";
|
||||
export { useNetworkMismatch } from "./hooks/useNetworkMismatch";
|
||||
export { useReadonlySDK } from "./hooks/useReadonlySDK";
|
||||
export { useSigner } from "./hooks/useSigner";
|
||||
|
||||
@@ -265,6 +265,9 @@ export type ClaimTokenParams = {
|
||||
|
||||
// Helpers
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function getErcs(contract: RequiredParam<ValidContractInstance | null>) {
|
||||
return {
|
||||
erc1155: getErc1155(contract),
|
||||
@@ -273,6 +276,9 @@ export function getErcs(contract: RequiredParam<ValidContractInstance | null>) {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function getErc1155(
|
||||
contract: RequiredParam<ValidContractInstance | null>,
|
||||
): Erc1155 | undefined {
|
||||
@@ -289,6 +295,9 @@ export function getErc1155(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function getErc721(
|
||||
contract: RequiredParam<ValidContractInstance | null>,
|
||||
): Erc721 | undefined {
|
||||
@@ -305,6 +314,9 @@ export function getErc721(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function getErc20(
|
||||
contract: RequiredParam<ValidContractInstance | null>,
|
||||
): Erc20 | undefined {
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import { utils } from "ethers";
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function shortenString(str: string, extraShort: boolean = true) {
|
||||
return `${str.substring(0, extraShort ? 4 : 6)}...${str.substring(
|
||||
str.length - (extraShort ? 3 : 4),
|
||||
@@ -36,6 +39,9 @@ export function shortenAddress(
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function shortenIfAddress(
|
||||
address?: string | null | false,
|
||||
extraShort: boolean = true,
|
||||
@@ -46,10 +52,16 @@ export function shortenIfAddress(
|
||||
return address || "";
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function isEnsName(name: string): boolean {
|
||||
return name?.endsWith(".eth");
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export function isPossibleEVMAddress(address?: string, ignoreEns?: boolean) {
|
||||
if (!address) {
|
||||
return false;
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @thirdweb-dev/react-native-compat
|
||||
|
||||
## 0.4.14
|
||||
|
||||
## 0.4.13
|
||||
|
||||
## 0.4.12
|
||||
|
||||
## 0.4.11
|
||||
|
||||
## 0.4.10
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native-compat",
|
||||
"description": "Shims for Thirdweb in React Native Projects",
|
||||
"version": "0.4.11",
|
||||
"version": "0.4.14",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,38 @@
|
||||
# @thirdweb-dev/react-native
|
||||
|
||||
## 0.4.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`bcfa9463`](https://github.com/thirdweb-dev/js/commit/bcfa9463bbae6bf1d3b6389b7a141f65ef3e1173)]:
|
||||
- @thirdweb-dev/sdk@4.0.21
|
||||
- @thirdweb-dev/react-core@4.1.14
|
||||
- @thirdweb-dev/wallets@2.2.1
|
||||
|
||||
## 0.4.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`d2001ca4`](https://github.com/thirdweb-dev/js/commit/d2001ca464aa699ac821c97eb37de7409ba865f3), [`85842c15`](https://github.com/thirdweb-dev/js/commit/85842c1596c901e228be1894b6702a8871d9e794), [`e595d4d9`](https://github.com/thirdweb-dev/js/commit/e595d4d92f03e36cbe61e1f00a366e37ede5d814), [`497677f3`](https://github.com/thirdweb-dev/js/commit/497677f3596977fa90ebc0fa76cb5842d46d8dcf), [`94966069`](https://github.com/thirdweb-dev/js/commit/9496606964d65268f8ee6bf9f78b2786e99d33ac), [`15ae5e7f`](https://github.com/thirdweb-dev/js/commit/15ae5e7f95a482a9736923c0e10916a0a6115c3d)]:
|
||||
- @thirdweb-dev/chains@0.1.61
|
||||
- @thirdweb-dev/sdk@4.0.20
|
||||
- @thirdweb-dev/wallets@2.2.0
|
||||
- @thirdweb-dev/react-core@4.1.13
|
||||
|
||||
## 0.4.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1842](https://github.com/thirdweb-dev/js/pull/1842) [`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56) Thanks [@MananTank](https://github.com/MananTank)! - JSDoc improvements
|
||||
|
||||
- [#2042](https://github.com/thirdweb-dev/js/pull/2042) [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5) Thanks [@MananTank](https://github.com/MananTank)! - Improved JSDoc comments and Type exports
|
||||
|
||||
- Updated dependencies [[`cfe81b44`](https://github.com/thirdweb-dev/js/commit/cfe81b443205d84e58128b8d7d5f2dc940b12875), [`34546c24`](https://github.com/thirdweb-dev/js/commit/34546c24c74f4e9e1f5e94567ebe1017ad63aea5), [`72c0bb10`](https://github.com/thirdweb-dev/js/commit/72c0bb10d6d765d1679b2b22ac63d85db101b5c4), [`ca618ea0`](https://github.com/thirdweb-dev/js/commit/ca618ea0c9ac5dc4f65cbfbfd39360e4150c72c7), [`aefc4cda`](https://github.com/thirdweb-dev/js/commit/aefc4cda4c4fad81411d3a9485931e28100b5718), [`a36c7e83`](https://github.com/thirdweb-dev/js/commit/a36c7e8331744879a169f84e97b66abf0ab44f56), [`4ae1cd63`](https://github.com/thirdweb-dev/js/commit/4ae1cd63bb7b471cae48a27bf6554c4953c1dc82), [`61c62b3f`](https://github.com/thirdweb-dev/js/commit/61c62b3f07a082ffd7620c949e3bcc6b75c104b5), [`7bb054e4`](https://github.com/thirdweb-dev/js/commit/7bb054e45c75450c8f465809d23eb66371f6ef8e), [`cd87be4a`](https://github.com/thirdweb-dev/js/commit/cd87be4a24a9a3a552fbc4f33da6fcb08b7da88b), [`d20e7898`](https://github.com/thirdweb-dev/js/commit/d20e7898562a3914841522f2e09f88ca37dfdd4b)]:
|
||||
- @thirdweb-dev/sdk@4.0.19
|
||||
- @thirdweb-dev/react-core@4.1.12
|
||||
- @thirdweb-dev/storage@2.0.7
|
||||
- @thirdweb-dev/wallets@2.1.11
|
||||
|
||||
## 0.4.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native",
|
||||
"version": "0.4.11",
|
||||
"version": "0.4.14",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
@@ -17,7 +17,7 @@
|
||||
"clean": "rm -rf dist/",
|
||||
"build": "tsc",
|
||||
"push": "yalc push",
|
||||
"typedoc": "rimraf typedoc && node ./scripts/typedoc.js"
|
||||
"typedoc": "node scripts/typedoc.mjs"
|
||||
},
|
||||
"keywords": [
|
||||
"react-native",
|
||||
@@ -83,7 +83,7 @@
|
||||
"react-native-safe-area-context": "4.7.4",
|
||||
"react-native-webview": "12.1.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"typedoc": "^0.25.2",
|
||||
"typedoc-gen": "workspace:*",
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const TypeDoc = require("typedoc");
|
||||
|
||||
async function main() {
|
||||
// Application.bootstrap also exists, which will not load plugins
|
||||
// Also accepts an array of option readers if you want to disable
|
||||
// TypeDoc's tsconfig.json/package.json/typedoc.json option readers
|
||||
const app = await TypeDoc.Application.bootstrapWithPlugins({
|
||||
entryPoints: ["src/index.ts"],
|
||||
excludeInternal: true,
|
||||
externalPattern: [
|
||||
"**/node_modules/**",
|
||||
"**/packages/sdk/**",
|
||||
"**/packages/wallets/**",
|
||||
"**/packages/chains/**",
|
||||
],
|
||||
exclude: [
|
||||
"**/node_modules/**",
|
||||
"**/packages/sdk/**",
|
||||
"**/packages/wallets/**",
|
||||
"**/packages/chains/**",
|
||||
],
|
||||
});
|
||||
|
||||
const project = await app.convert();
|
||||
|
||||
if (project) {
|
||||
// Project may not have converted correctly
|
||||
const outputDir = "typedoc/";
|
||||
|
||||
// Rendered docs
|
||||
await app.generateDocs(project, outputDir);
|
||||
// Alternatively generate JSON output
|
||||
await app.generateJson(project, outputDir + "/documentation.json");
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
@@ -0,0 +1,13 @@
|
||||
// @ts-check
|
||||
import { typedoc } from "typedoc-gen";
|
||||
|
||||
typedoc({
|
||||
entryPoints: ["src/index.ts"],
|
||||
exclude: [
|
||||
"**/packages/sdk/**",
|
||||
"**/packages/wallets/**",
|
||||
"**/packages/react-core/**",
|
||||
"**/packages/chains/**",
|
||||
],
|
||||
output: "both", // TODO: change this to 'json' when old portal is fully migrated to new portal
|
||||
});
|
||||
@@ -33,7 +33,9 @@ export class AsyncLocalStorage implements IAsyncStorage {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export class LocalStorage implements SyncStorage {
|
||||
name: string;
|
||||
asyncStorage: MMKV;
|
||||
@@ -71,6 +73,8 @@ export class noopStorage implements IAsyncStorage {
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* Returns a new instance of AsyncLocalStorage
|
||||
*
|
||||
* @param name - Name to namespace the storage with
|
||||
@@ -81,6 +85,8 @@ export function createAsyncLocalStorage(name: string) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* Returns a new instance of LocalStorage
|
||||
*
|
||||
* @param name - Name to namespace the storage with
|
||||
|
||||
@@ -29,6 +29,7 @@ export class SecureStorage implements ISecureStorage {
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* Returns a new instance of SecureStorage implemented by Expo SecureStore
|
||||
*
|
||||
* @param name - Name to namespace the storage with
|
||||
|
||||
@@ -36,7 +36,7 @@ export type ConnectWalletProps = {
|
||||
/**
|
||||
* Hide option to request testnet funds for testnets in dropdown
|
||||
*
|
||||
* @defaultValue false
|
||||
* The default is `false`
|
||||
*/
|
||||
hideTestnetFaucet?: boolean;
|
||||
|
||||
@@ -47,7 +47,7 @@ export type ConnectWalletProps = {
|
||||
* Please, note that if you support multiple networks in your app this prop should
|
||||
* be set to `false` to allow users to switch between networks.
|
||||
*
|
||||
* @defaultValue false
|
||||
* The default is `false`
|
||||
*/
|
||||
switchToActiveChain?: boolean;
|
||||
|
||||
@@ -73,7 +73,7 @@ export type ConnectWalletProps = {
|
||||
/**
|
||||
* Hide the "switch to Personal wallet" option in the wallet modal which is shown when wallet is connected to a Smart Wallet
|
||||
*
|
||||
* @defaultValue false
|
||||
* The default is `false`
|
||||
*/
|
||||
hideSwitchToPersonalWallet?: boolean;
|
||||
} & ConnectWalletButtonProps;
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ export type ConnectWalletDetailsProps = {
|
||||
/**
|
||||
* Hide the "switch to Personal wallet" option in the dropdown which is shown when wallet is connected to a Smart Wallet
|
||||
*
|
||||
* @defaultValue false
|
||||
* The default is `false`
|
||||
*/
|
||||
hideSwitchToPersonalWallet?: boolean;
|
||||
};
|
||||
|
||||
@@ -13,12 +13,14 @@ export type ConnectWalletButtonProps = {
|
||||
theme?: ThemeProviderProps["theme"];
|
||||
/**
|
||||
* Set a custom title for the button
|
||||
* @defaultValue "Connect Wallet"
|
||||
*
|
||||
* The default is `"Connect Wallet"`
|
||||
*/
|
||||
buttonTitle?: string;
|
||||
/**
|
||||
* Set a custom title for the Connect Wallet modal
|
||||
* @defaultValue "Choose your wallet"
|
||||
*
|
||||
* The default is `"Choose your wallet"`
|
||||
*/
|
||||
modalTitle?: string;
|
||||
/**
|
||||
|
||||
@@ -20,7 +20,7 @@ import { ActivityIndicator, StyleSheet } from "react-native";
|
||||
import invariant from "tiny-invariant";
|
||||
import { useGlobalTheme, useUIContext } from "../providers/ui-context-provider";
|
||||
|
||||
type ActionFn = (contract: SmartContract) => Promise<any>;
|
||||
export type ActionFn = (contract: SmartContract) => Promise<any>;
|
||||
|
||||
interface Web3ButtonProps<TActionFn extends ActionFn> {
|
||||
contractAddress: `0x${string}` | `${string}.eth` | string;
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
import { StyleSheet, View } from "react-native";
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export const ActiveDot = ({
|
||||
width = 28,
|
||||
height = 28,
|
||||
|
||||
@@ -2,6 +2,9 @@ import { Theme } from "../../styles/theme";
|
||||
import { createBox } from "@shopify/restyle";
|
||||
import { TouchableOpacity, TouchableOpacityProps } from "react-native";
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
const BaseButton = createBox<Theme, TouchableOpacityProps>(TouchableOpacity);
|
||||
|
||||
export default BaseButton;
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { Theme } from "../../styles/theme";
|
||||
import { createBox } from "@shopify/restyle";
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
const Box = createBox<Theme>();
|
||||
|
||||
export default Box;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user