Compare commits
63
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8516fc11f9 | ||
|
|
b4e7c74ce5 | ||
|
|
d6646475e2 | ||
|
|
4dbcbd13db | ||
|
|
4eb628363a | ||
|
|
381b669cd1 | ||
|
|
bebcf46c3a | ||
|
|
1b2bfc83d7 | ||
|
|
576bb579f6 | ||
|
|
23680d19cb | ||
|
|
94e354aad3 | ||
|
|
e18606e034 | ||
|
|
ca2576f818 | ||
|
|
ec35f32d2b | ||
|
|
b4df56f40f | ||
|
|
4a6eed5d99 | ||
|
|
a54c745977 | ||
|
|
0c95e80665 | ||
|
|
31b6a4ffe1 | ||
|
|
4f2a3fb1f1 | ||
|
|
37bd0e42a5 | ||
|
|
f5abbe8b54 | ||
|
|
b1d9e4aa97 | ||
|
|
5398d6813e | ||
|
|
bf0509e746 | ||
|
|
7c178923f9 | ||
|
|
300e4c8a51 | ||
|
|
8cb8a74002 | ||
|
|
dc7ea82f8a | ||
|
|
8541709359 | ||
|
|
76f93a4346 | ||
|
|
4c7153c95d | ||
|
|
2fd9c92c49 | ||
|
|
2de2b69934 | ||
|
|
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 |
+1
-1
@@ -1,5 +1,5 @@
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 60
|
||||
daysUntilStale: 14
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 7
|
||||
# Issues with these labels will never be considered stale
|
||||
|
||||
@@ -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,8 @@ jobs:
|
||||
|
||||
- name: Set up foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
cache: false
|
||||
|
||||
- run: pnpm test
|
||||
|
||||
@@ -101,7 +103,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 +111,11 @@ jobs:
|
||||
- name: Setup & Install
|
||||
uses: ./.github/composite-actions/install
|
||||
|
||||
- name: Set up foundry
|
||||
uses: foundry-rs/foundry-toolchain@v1
|
||||
with:
|
||||
cache: false
|
||||
|
||||
- name: Run benchmarks
|
||||
uses: CodSpeedHQ/action@v2
|
||||
with:
|
||||
@@ -120,7 +127,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
|
||||
|
||||
@@ -20,7 +20,7 @@ env:
|
||||
|
||||
jobs:
|
||||
release-artifacts:
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest-16
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
|
||||
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,40 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.64
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.6
|
||||
|
||||
## 4.1.63
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.5
|
||||
|
||||
## 4.1.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.4
|
||||
|
||||
## 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.59",
|
||||
"version": "4.1.64",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
|
||||
@@ -1,5 +1,35 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.97
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2812](https://github.com/thirdweb-dev/js/pull/2812) [`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.96
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2802](https://github.com/thirdweb-dev/js/pull/2802) [`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.95
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2777](https://github.com/thirdweb-dev/js/pull/2777) [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 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
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "IOTA EVM",
|
||||
"chainId": 1075,
|
||||
"explorers": [],
|
||||
"faucets": [
|
||||
"https://evm-toolkit.evm.testnet.iotaledger.net"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.iota.org",
|
||||
"name": "IOTA EVM Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "IOTA",
|
||||
"symbol": "IOTA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1075,
|
||||
"rpc": [
|
||||
"https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://json-rpc.evm.testnet.iotaledger.net"
|
||||
],
|
||||
"shortName": "iotaevm-testnet",
|
||||
"slug": "iota-evm-testnet",
|
||||
"testnet": true,
|
||||
"title": "IOTA EVM Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,50 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Cyber",
|
||||
"chainId": 111557560,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Cyber Testnet Explorer",
|
||||
"url": "https://testnet.cyberscan.co",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmP61yDNPv7fxY9ZzPs4CjQDbZLoKtF8eWWjszVYbwkabd",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://cyber.co/",
|
||||
"name": "Cyber Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Sepolia Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 111557560,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-11155111",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://op-bridge.alt.technology/deposit?id=111557560"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://cyber-testnet.alt.technology/",
|
||||
"wss://cyber-testnet.alt.technology/ws"
|
||||
],
|
||||
"shortName": "cysep",
|
||||
"slug": "cyber-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MOS",
|
||||
"chainId": 1188,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "mosscan",
|
||||
"url": "https://www.mosscan.com",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",
|
||||
"width": 51,
|
||||
"height": 50,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",
|
||||
"width": 51,
|
||||
"height": 50,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.mosscan.com",
|
||||
"name": "ClubMos Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "ClubMos",
|
||||
"symbol": "MOS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1188,
|
||||
"rpc": [
|
||||
"https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://mainnet.mosscan.com"
|
||||
],
|
||||
"shortName": "MOS",
|
||||
"slug": "clubmos",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 11881,
|
||||
"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": "QaUser2353 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser2353 Testnet Token",
|
||||
"symbol": "ODB",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 11881,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://11881.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser2353 Testnet",
|
||||
"slug": "qauser2353-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 1221,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmeC4mKGbBpwmLfFxUSsareWkSWJomevUmex8ajjxo1zHx",
|
||||
"width": 500,
|
||||
"height": 500,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.cyclenetwork.io/",
|
||||
"name": "Cycle Network Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1221,
|
||||
"rpc": [
|
||||
"https://1221.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-testnet.cyclenetwork.io"
|
||||
],
|
||||
"shortName": "Cycle",
|
||||
"slug": "cycle-network-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,46 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "MagApe",
|
||||
"chainId": 141319,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "etherscan",
|
||||
"url": "http://testnet-api.magape.io:81",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPsxWMvnxnZ9dZcRJJMaE24o34dQsnsAMCJh3kVDrE1aB",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://magape.io",
|
||||
"name": "MagApe Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "MagApe",
|
||||
"symbol": "MAG",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 141319,
|
||||
"rpc": [
|
||||
"https://141319.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-api.magape.io/chain/"
|
||||
],
|
||||
"shortName": "mag",
|
||||
"slug": "magape-testnet",
|
||||
"testnet": true,
|
||||
"title": "MagApeChain"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "PLAY",
|
||||
"chainId": 161212,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.playfi.ai/",
|
||||
"name": "PlayFi Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Play",
|
||||
"symbol": "PLAY",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 161212,
|
||||
"rpc": [],
|
||||
"shortName": "playfi",
|
||||
"slug": "playfi",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 1612127,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "PlayFi Block Explorer",
|
||||
"url": "https://albireo-explorer.playfi.ai",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://www.playfi.ai/",
|
||||
"name": "PlayFi Albireo Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 1612127,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://portal.playfi.ai/bridge"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://1612127.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://albireo-rpc.playfi.ai"
|
||||
],
|
||||
"shortName": "alberio",
|
||||
"slip44": 1,
|
||||
"slug": "playfi-albireo-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 167000,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",
|
||||
"width": 288,
|
||||
"height": 258,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://taiko.xyz",
|
||||
"name": "Taiko Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 167000,
|
||||
"rpc": [
|
||||
"https://167000.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.taiko.xyz",
|
||||
"wss://ws.taiko.xyz"
|
||||
],
|
||||
"shortName": "tko-mainnet",
|
||||
"slug": "taiko",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -29,7 +29,7 @@ export default {
|
||||
"rpc": [
|
||||
"https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.katla.taiko.xyz",
|
||||
"wss://rpc.katla.taiko.xyz",
|
||||
"wss://ws.katla.taiko.xyz",
|
||||
"https://taiko-katla.drpc.org",
|
||||
"wss://taiko-katla.drpc.org"
|
||||
],
|
||||
|
||||
@@ -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": [],
|
||||
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Titan Explorer",
|
||||
"url": "https://titan-explorer-light.titanlab.io/Titan",
|
||||
"url": "https://tkxscan.io/Titan",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreicyvc7t55zsejv6vwaxbmhvea5vdfkkbgqkmn65rhyyifpg3mq3ua",
|
||||
@@ -32,7 +32,10 @@ export default {
|
||||
"networkId": 18888,
|
||||
"rpc": [
|
||||
"https://18888.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://titan-json-rpc.titanlab.io"
|
||||
"https://titan-json-rpc.titanlab.io",
|
||||
"https://titan-json-rpc-tokyo.titanlab.io",
|
||||
"https://titan-json-rpc-seoul.titanlab.io",
|
||||
"https://titan-json-rpc-hongkong.titanlab.io"
|
||||
],
|
||||
"shortName": "titan_tkx",
|
||||
"slip44": 1,
|
||||
|
||||
@@ -26,6 +26,6 @@ export default {
|
||||
],
|
||||
"shortName": "okb",
|
||||
"slug": "x-layer",
|
||||
"status": "incubating",
|
||||
"status": "active",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "VANAR",
|
||||
"chainId": 2040,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmbx25iq4Vn4zLooPit9bbguXJzdiogwtVQWtSseyQPuSC",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://vanarchain.com",
|
||||
"name": "Vanar Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "VANRY",
|
||||
"symbol": "VANRY",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2040,
|
||||
"rpc": [
|
||||
"https://2040.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.vanarchain.com",
|
||||
"wss://ws.vanarchain.com"
|
||||
],
|
||||
"shortName": "Vanar",
|
||||
"slug": "vanar",
|
||||
"testnet": false,
|
||||
"title": "Vanarchain"
|
||||
} as const satisfies Chain;
|
||||
@@ -2,9 +2,22 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 2121,
|
||||
"explorers": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "catenascan",
|
||||
"url": "https://catenascan.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
@@ -22,7 +35,8 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://2121.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b"
|
||||
"https://subnets.avacloud-dev.io/cb82eb40-2d0d-4188-905b-d50c4b09b40b",
|
||||
"https://rpc1.catenarpc.com"
|
||||
],
|
||||
"shortName": "M TEST 1103-2",
|
||||
"slug": "m-test-1103-2",
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "B2",
|
||||
"chainId": 213,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "B2 Hub Mainnet Explorer",
|
||||
"url": "https://hub-explorer.bsquared.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
|
||||
"width": 640,
|
||||
"height": 640,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
|
||||
"width": 640,
|
||||
"height": 640,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.bsquared.network",
|
||||
"name": "B2 Hub Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "BSquared Token",
|
||||
"symbol": "B2",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 213,
|
||||
"rpc": [
|
||||
"https://213.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://hub-rpc.bsquared.network"
|
||||
],
|
||||
"shortName": "B2Hub-mainnet",
|
||||
"slug": "b2-hub",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "BIGSB Testnet",
|
||||
"chainId": 2136,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Polkadot.js",
|
||||
"url": "https://polkadot.js.org/apps/?rpc=wss://test-market.bigsb.network#/explorer",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://bigshortbets.com/",
|
||||
"name": "BigShortBets Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Dolarz",
|
||||
"symbol": "Dolarz",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2136,
|
||||
"rpc": [
|
||||
"https://2136.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://test-market.bigsb.io",
|
||||
"wss://test-market.bigsb.io"
|
||||
],
|
||||
"shortName": "bigsb_testnet",
|
||||
"slug": "bigshortbets-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,51 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "B2",
|
||||
"chainId": 223,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.bsquared.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
|
||||
"width": 640,
|
||||
"height": 640,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
|
||||
"width": 640,
|
||||
"height": 640,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.bsquared.network",
|
||||
"name": "B2 Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Bitcoin",
|
||||
"symbol": "BTC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 223,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-213",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://www.bsquared.network/bridge"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://223.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.bsquared.network",
|
||||
"https://b2-mainnet.alt.technology"
|
||||
],
|
||||
"shortName": "B2-mainnet",
|
||||
"slug": "b2",
|
||||
"testnet": false,
|
||||
"title": "B2 Mainnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Atleta Testnet Explorer",
|
||||
"url": "http://185.234.69.18/?rpc=wss%3A%2F%2Fatleta-testnet-rpc.quark.blue%3A9944#/explorer",
|
||||
"url": "https://polkadot-explorer.atleta.network/#/explorer",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://QmV2JVr4FCcb6aRiUoA3wS5erLoxtLBLonQ1Nvz8fNuEcR",
|
||||
@@ -33,8 +33,7 @@ export default {
|
||||
},
|
||||
"networkId": 2340,
|
||||
"rpc": [
|
||||
"https://2340.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://atleta-testnet-rpc.quark.blue:9944"
|
||||
"wss://testnet-rpc.atleta.network:9944"
|
||||
],
|
||||
"shortName": "atla",
|
||||
"slip44": 1,
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Nexis Network",
|
||||
"chainId": 2370,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Nexis Testnet Explorer",
|
||||
"url": "https://evm-testnet.nexscan.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://evm-faucet.nexis.network"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmdJwWuMgbhoZhgFM4zWrZne6qs5ktcL1vBLKX12VGgALM",
|
||||
"width": 1892,
|
||||
"height": 1892,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://nexis.network/",
|
||||
"name": "Nexis Network Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Nexis",
|
||||
"symbol": "NZT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2370,
|
||||
"rpc": [
|
||||
"https://2370.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://evm-testnet.nexis.network"
|
||||
],
|
||||
"shortName": "nzt",
|
||||
"slug": "nexis-network-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,8 +2,33 @@ import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "NEURA",
|
||||
"chainId": 267,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.neura-testnet.ankr.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ankrscan-neura",
|
||||
"url": "https://testnet.explorer.neuraprotocol.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmWdpK5WFKrosaCSpJRCvU7uXeKk2qVeCckTxh6Zw2JrK8",
|
||||
"width": 600,
|
||||
"height": 600,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://testnet.neuraprotocol.io/faucet"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
@@ -26,11 +51,14 @@ export default {
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 267,
|
||||
"rpc": [],
|
||||
"rpc": [
|
||||
"https://267.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.ankr.com/neura_testnet"
|
||||
],
|
||||
"shortName": "tneura",
|
||||
"slip44": 1,
|
||||
"slug": "neura-testnet",
|
||||
"status": "incubating",
|
||||
"status": "active",
|
||||
"testnet": true,
|
||||
"title": "Neura Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,42 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "KLAOS Nova",
|
||||
"chainId": 27181,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://blockscout.klaosnova.laosfoundation.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",
|
||||
"width": 580,
|
||||
"height": 580,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmW26eoxJeyUfikZ4DUT1Gfk78sBkvydEo8QzHa1BXjUUL",
|
||||
"width": 580,
|
||||
"height": 580,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.laosfoundation.io/",
|
||||
"name": "KLAOS Nova",
|
||||
"nativeCurrency": {
|
||||
"name": "KLAOS",
|
||||
"symbol": "KLAOS",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 27181,
|
||||
"rpc": [
|
||||
"https://27181.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.klaosnova.laosfoundation.io",
|
||||
"wss://rpc.klaosnova.laosfoundation.io"
|
||||
],
|
||||
"shortName": "klaosnova",
|
||||
"slug": "klaos-nova",
|
||||
"testnet": true,
|
||||
"title": "KLAOS Nova Test Chain"
|
||||
} as const satisfies Chain;
|
||||
@@ -4,19 +4,26 @@ export default {
|
||||
"chainId": 2730,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://xr-sepolia-testnet.explorer.caldera.xyz/",
|
||||
"name": "XR Sepolia Explorer",
|
||||
"url": "https://xr-sepolia-testnet.explorer.caldera.xyz",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",
|
||||
"width": 300,
|
||||
"height": 300,
|
||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||
"width": 551,
|
||||
"height": 540,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmRdBsZF2sgWitedT5qAtBZwrYwY1xecHN9u5fgddqA1eL/xr-sepolia.png",
|
||||
"width": 300,
|
||||
@@ -39,9 +46,12 @@ export default {
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://2730.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://xr-sepolia-testnet.rpc.caldera.xyz/infra-partner-http",
|
||||
"https://xr-sepolia-testnet.rpc.caldera.xyz/http"
|
||||
],
|
||||
"shortName": "xr-sepolia",
|
||||
"slip44": 60,
|
||||
"slug": "xr-sepolia",
|
||||
"status": "active",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,39 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 2810,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Morph Holesky Testnet Explorer",
|
||||
"url": "https://explorer-holesky.morphl2.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"infoURL": "https://morphl2.io",
|
||||
"name": "Morph Holesky",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2810,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://bridge-holesky.morphl2.io"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-holesky.morphl2.io"
|
||||
],
|
||||
"shortName": "hmorph",
|
||||
"slip44": 1,
|
||||
"slug": "morph-holesky",
|
||||
"testnet": true,
|
||||
"title": "Morph Holesky Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -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;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 313310,
|
||||
"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": "LT10",
|
||||
"nativeCurrency": {
|
||||
"name": "LT10 Token",
|
||||
"symbol": "LT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 313310,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://313310.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/lt10/testnet/rpc"
|
||||
],
|
||||
"shortName": "LT10",
|
||||
"slug": "lt10",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 31338,
|
||||
"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": "LT8 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "LT8 Testnet Token",
|
||||
"symbol": "LT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 31338,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://31338.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/lt8/testnet/rpc"
|
||||
],
|
||||
"shortName": "LT8 Testnet",
|
||||
"slug": "lt8-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 31339,
|
||||
"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": "LT9",
|
||||
"nativeCurrency": {
|
||||
"name": "LT9 Token",
|
||||
"symbol": "LT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 31339,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://31339.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/lt9/testnet/rpc"
|
||||
],
|
||||
"shortName": "LT9",
|
||||
"slug": "lt9",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,47 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "UPchain",
|
||||
"chainId": 336655,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "UPchain Testnet Explorer",
|
||||
"url": "https://explorer-testnet.uniport.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet-testnet.uniport.network"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://uniport.network",
|
||||
"name": "UPchain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "UBTC",
|
||||
"symbol": "UBTC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 336655,
|
||||
"rpc": [
|
||||
"https://336655.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-testnet.uniport.network"
|
||||
],
|
||||
"shortName": "UPchain-testnet",
|
||||
"slug": "upchain-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,45 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "UPchain",
|
||||
"chainId": 336666,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "UPchain Mainnet Explorer",
|
||||
"url": "https://explorer.uniport.network",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmNMqcPyQnaaFfUDsmsnu2T6agZfoWij3zFYebCNUPkfAH",
|
||||
"width": 320,
|
||||
"height": 320,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://uniport.network",
|
||||
"name": "UPchain Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "UBTC",
|
||||
"symbol": "UBTC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 336666,
|
||||
"rpc": [
|
||||
"https://336666.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.uniport.network"
|
||||
],
|
||||
"shortName": "UPchain-mainnet",
|
||||
"slug": "upchain",
|
||||
"testnet": false
|
||||
} 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,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "AIE",
|
||||
"chainId": 413413,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "aiescan-testnet",
|
||||
"url": "https://testnet.aiescan.io",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",
|
||||
"width": 3481,
|
||||
"height": 3500,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihok46mhn5yf7b5jgmq7tiyw2fw76wklvj4frpc3gbswgfxzerhhm",
|
||||
"width": 3481,
|
||||
"height": 3500,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://testnet.aiescan.io",
|
||||
"name": "AIE Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "AIE",
|
||||
"symbol": "tAIE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 413413,
|
||||
"rpc": [
|
||||
"https://413413.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc1-testnet.aiechain.io"
|
||||
],
|
||||
"shortName": "aiet",
|
||||
"slug": "aie-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 48795,
|
||||
"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": "Space",
|
||||
"nativeCurrency": {
|
||||
"name": "Space Token",
|
||||
"symbol": "FUEL",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 48795,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://48795.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/space/testnet/rpc"
|
||||
],
|
||||
"shortName": "Space",
|
||||
"slug": "space",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 504441,
|
||||
"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": "Playdapp Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Playdapp Network Token",
|
||||
"symbol": "PDA",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 504441,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://504441.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/playdappne/mainnet/rpc"
|
||||
],
|
||||
"shortName": "Playdapp Network",
|
||||
"slug": "playdapp-network",
|
||||
"testnet": false
|
||||
} 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,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,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Photon",
|
||||
"chainId": 54555,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "photon_testnet_explorer",
|
||||
"url": "https://testnet.photonchain.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://photonchain.io/airdrop"
|
||||
],
|
||||
"infoURL": "https://photonchain.io",
|
||||
"name": "Photon Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Photon",
|
||||
"symbol": "PTON",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 54555,
|
||||
"rpc": [
|
||||
"https://54555.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-test.photonchain.io"
|
||||
],
|
||||
"shortName": "pton",
|
||||
"slug": "photon-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -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,
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 58316,
|
||||
"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": "QaUser1943 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser1943 Testnet Token",
|
||||
"symbol": "JAI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 58316,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://58316.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser1943 Testnet",
|
||||
"slug": "qauser1943-testnet",
|
||||
"testnet": true
|
||||
} 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,35 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "ETH",
|
||||
"chainId": 62050,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://optopia.ai",
|
||||
"name": "Optopia Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 62050,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1"
|
||||
},
|
||||
"rpc": [],
|
||||
"shortName": "Optopia",
|
||||
"slug": "optopia",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -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;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Safe(AnWang)",
|
||||
"chainId": 6666665,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Safe(AnWang) Explorer",
|
||||
"url": "http://safe4.anwang.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",
|
||||
"width": 768,
|
||||
"height": 768,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",
|
||||
"width": 768,
|
||||
"height": 768,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.anwang.com",
|
||||
"name": "Safe(AnWang) Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "SAFE(AnWang)",
|
||||
"symbol": "SAFE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 6666665,
|
||||
"rpc": [
|
||||
"https://6666665.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc.anwang.com"
|
||||
],
|
||||
"shortName": "SafeMainnet",
|
||||
"slug": "safe-anwang",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,40 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Safe(AnWang)",
|
||||
"chainId": 6666666,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Safe(AnWang) Testnet Explorer",
|
||||
"url": "http://safe4-testnet.anwang.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",
|
||||
"width": 768,
|
||||
"height": 768,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmahJhdaLfGwBStQ9q9K4Mc73vLNqFV1otWCsT2ZKsMavv",
|
||||
"width": 768,
|
||||
"height": 768,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.anwang.com",
|
||||
"name": "Safe(AnWang) Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "SAFE(AnWang)",
|
||||
"symbol": "SAFE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 6666666,
|
||||
"rpc": [
|
||||
"https://6666666.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-testnet.anwang.com"
|
||||
],
|
||||
"shortName": "SafeTestnet",
|
||||
"slug": "safe-anwang-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 68688,
|
||||
"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": "Haku Chain Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Haku Chain Testnet Token",
|
||||
"symbol": "HAKU",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 68688,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://68688.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/hakuchain/testnet/rpc"
|
||||
],
|
||||
"shortName": "Haku Chain Testnet",
|
||||
"slug": "haku-chain-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,28 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Planq",
|
||||
"chainId": 7077,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmWEy9xK5BoqxPuVs7T48WM4exJrxzkEFt45iHcxWqUy8D",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://planq.network",
|
||||
"name": "Planq Atlas Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Planq",
|
||||
"symbol": "tPLQ",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 7077,
|
||||
"rpc": [
|
||||
"https://7077.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://evm-rpc-atlas.planq.network"
|
||||
],
|
||||
"shortName": "planq-atlas-testnet",
|
||||
"slug": "planq-atlas-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 73277,
|
||||
"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": "QaUser9250 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser9250 Testnet Token",
|
||||
"symbol": "UDU",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 73277,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://73277.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser9250 Testnet",
|
||||
"slug": "qauser9250-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Cyber",
|
||||
"chainId": 7560,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmP61yDNPv7fxY9ZzPs4CjQDbZLoKtF8eWWjszVYbwkabd",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://cyber.co/",
|
||||
"name": "Cyber Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 7560,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1"
|
||||
},
|
||||
"rpc": [],
|
||||
"shortName": "cyeth",
|
||||
"slug": "cyber",
|
||||
"status": "incubating",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 77572,
|
||||
"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": "QaUser0993 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser0993 Testnet Token",
|
||||
"symbol": "JOE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 77572,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://77572.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser0993 Testnet",
|
||||
"slug": "qauser0993-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -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;
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
"name": "Vanguard",
|
||||
"nativeCurrency": {
|
||||
"name": "Vanguard Vanry",
|
||||
"symbol": "VG",
|
||||
"symbol": "VANRY",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 78600,
|
||||
|
||||
@@ -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;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 79490,
|
||||
"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": "QaUser2672 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QaUser2672 Testnet Token",
|
||||
"symbol": "ENU",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 79490,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://79490.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QaUser2672 Testnet",
|
||||
"slug": "qauser2672-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -31,7 +31,6 @@ export default {
|
||||
"rpc": [
|
||||
"https://80002.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"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"
|
||||
],
|
||||
|
||||
@@ -34,5 +34,6 @@ export default {
|
||||
],
|
||||
"shortName": "karak-sepolia",
|
||||
"slug": "karak-sepolia",
|
||||
"testnet": false
|
||||
"testnet": true,
|
||||
"title": "Karak Testnet Sepolia"
|
||||
} as const satisfies Chain;
|
||||
@@ -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,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://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
},
|
||||
"name": "Camp Network Testnet",
|
||||
"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-test",
|
||||
"slug": "camp-network-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 90663,
|
||||
"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": "QI0416s1 Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "QI0416s1 Testnet Token",
|
||||
"symbol": "ZKE",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 90663,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://90663.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QI0416s1 Testnet",
|
||||
"slug": "qi0416s1-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -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.92",
|
||||
"version": "0.1.97",
|
||||
"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,57 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.72
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648)]:
|
||||
- @thirdweb-dev/chains@0.1.97
|
||||
- @thirdweb-dev/sdk@4.0.66
|
||||
- @thirdweb-dev/wallets@2.5.6
|
||||
- @thirdweb-dev/auth@4.1.64
|
||||
|
||||
## 0.13.71
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028)]:
|
||||
- @thirdweb-dev/chains@0.1.96
|
||||
- @thirdweb-dev/sdk@4.0.65
|
||||
- @thirdweb-dev/wallets@2.5.5
|
||||
- @thirdweb-dev/auth@4.1.63
|
||||
|
||||
## 0.13.70
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2785](https://github.com/thirdweb-dev/js/pull/2785) [`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61) Thanks [@jnsdls](https://github.com/jnsdls)! - update dependencies
|
||||
|
||||
- Updated dependencies [[`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61), [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0)]:
|
||||
- @thirdweb-dev/sdk@4.0.64
|
||||
- @thirdweb-dev/chains@0.1.95
|
||||
- @thirdweb-dev/wallets@2.5.4
|
||||
- @thirdweb-dev/auth@4.1.62
|
||||
|
||||
## 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
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/cli",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.67",
|
||||
"version": "0.13.72",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
@@ -16,7 +16,7 @@
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/inquirer": "^8.2.10",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "20.12.5",
|
||||
"@types/node": "20.12.7",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/tar": "^6.1.12",
|
||||
"@types/update-notifier": "^6.0.8",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "7.5.0",
|
||||
"@typescript-eslint/parser": "7.5.0",
|
||||
"eslint-config-next": "13.4.12",
|
||||
"eslint-config-next": "14.2.1",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-config-turbo": "1.13.2",
|
||||
"eslint-plugin-react": "7.34.1"
|
||||
|
||||
@@ -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,55 @@
|
||||
# @thirdweb-dev/react-core
|
||||
|
||||
## 4.6.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648)]:
|
||||
- @thirdweb-dev/chains@0.1.97
|
||||
- @thirdweb-dev/sdk@4.0.66
|
||||
- @thirdweb-dev/wallets@2.5.6
|
||||
- @thirdweb-dev/auth@4.1.64
|
||||
|
||||
## 4.6.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028)]:
|
||||
- @thirdweb-dev/chains@0.1.96
|
||||
- @thirdweb-dev/sdk@4.0.65
|
||||
- @thirdweb-dev/wallets@2.5.5
|
||||
- @thirdweb-dev/auth@4.1.63
|
||||
|
||||
## 4.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61), [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0)]:
|
||||
- @thirdweb-dev/sdk@4.0.64
|
||||
- @thirdweb-dev/chains@0.1.95
|
||||
- @thirdweb-dev/wallets@2.5.4
|
||||
- @thirdweb-dev/auth@4.1.62
|
||||
|
||||
## 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-core",
|
||||
"version": "4.6.0",
|
||||
"version": "4.6.5",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,19 @@
|
||||
# @thirdweb-dev/react-native-compat
|
||||
|
||||
## 0.7.37
|
||||
|
||||
## 0.7.36
|
||||
|
||||
## 0.7.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2785](https://github.com/thirdweb-dev/js/pull/2785) [`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61) Thanks [@jnsdls](https://github.com/jnsdls)! - update dependencies
|
||||
|
||||
## 0.7.34
|
||||
|
||||
## 0.7.33
|
||||
|
||||
## 0.7.32
|
||||
|
||||
## 0.7.31
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native-compat",
|
||||
"description": "Shims for Thirdweb in React Native Projects",
|
||||
"version": "0.7.32",
|
||||
"version": "0.7.37",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native-compat",
|
||||
"license": "Apache-2.0",
|
||||
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@thirdweb-dev/tsconfig": "workspace:*",
|
||||
"@types/node": "20.12.5",
|
||||
"@types/node": "20.12.7",
|
||||
"babel-plugin-module-resolver": "^5.0.0",
|
||||
"eslint-config-thirdweb": "workspace:*",
|
||||
"ethers": "^5.7.2",
|
||||
|
||||
@@ -1,5 +1,57 @@
|
||||
# @thirdweb-dev/react-native
|
||||
|
||||
## 0.7.37
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648)]:
|
||||
- @thirdweb-dev/chains@0.1.97
|
||||
- @thirdweb-dev/sdk@4.0.66
|
||||
- @thirdweb-dev/react-core@4.6.5
|
||||
- @thirdweb-dev/wallets@2.5.6
|
||||
|
||||
## 0.7.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028)]:
|
||||
- @thirdweb-dev/chains@0.1.96
|
||||
- @thirdweb-dev/sdk@4.0.65
|
||||
- @thirdweb-dev/react-core@4.6.4
|
||||
- @thirdweb-dev/wallets@2.5.5
|
||||
|
||||
## 0.7.35
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61), [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0)]:
|
||||
- @thirdweb-dev/sdk@4.0.64
|
||||
- @thirdweb-dev/chains@0.1.95
|
||||
- @thirdweb-dev/react-core@4.6.3
|
||||
- @thirdweb-dev/wallets@2.5.4
|
||||
|
||||
## 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native",
|
||||
"version": "0.7.32",
|
||||
"version": "0.7.37",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -16,7 +16,9 @@ export { smartWallet } from "./wallets/wallets/smart-wallet";
|
||||
export { localWallet } from "./wallets/wallets/local-wallet";
|
||||
export { LocalWallet } from "./wallets/wallets/LocalWallet";
|
||||
export { EmbeddedWallet } from "./wallets/wallets/embedded/EmbeddedWallet";
|
||||
export { EmbeddedWallet as InAppWallet } from "./wallets/wallets/embedded/EmbeddedWallet";
|
||||
export { embeddedWallet } from "./wallets/wallets/embedded/embedded-wallet";
|
||||
export { embeddedWallet as inAppWallet } from "./wallets/wallets/embedded/embedded-wallet";
|
||||
export * from "./wallets/wallets/wallet-connect/WalletConnectBase";
|
||||
export { WalletConnect } from "./wallets/wallets/wallet-connect/WalletConnect";
|
||||
export { walletConnect } from "./wallets/wallets/wallet-connect/wallet-connect";
|
||||
@@ -27,6 +29,7 @@ export { useMetaMaskWallet } from "./wallets/hooks/useMetaMaskWallet";
|
||||
export { useRainbowWallet } from "./wallets/hooks/useRainbowWallet";
|
||||
export { useTrustWallet } from "./wallets/hooks/useTrustWallet";
|
||||
export { useEmbeddedWallet } from "./wallets/hooks/useEmbeddedWallet";
|
||||
export { useEmbeddedWallet as useInAppWallet } from "./wallets/hooks/useEmbeddedWallet";
|
||||
export { useSmartWallet } from "./wallets/hooks/useSmartWallet";
|
||||
export { useEmbeddedWalletSendVerificationEmail } from "./wallets/hooks/useEmbeddedWalletSendVerificationEmail";
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,63 @@
|
||||
# @thirdweb-dev/react
|
||||
|
||||
## 4.6.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648)]:
|
||||
- @thirdweb-dev/chains@0.1.97
|
||||
- @thirdweb-dev/sdk@4.0.66
|
||||
- @thirdweb-dev/react-core@4.6.5
|
||||
- @thirdweb-dev/wallets@2.5.6
|
||||
|
||||
## 4.6.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028)]:
|
||||
- @thirdweb-dev/chains@0.1.96
|
||||
- @thirdweb-dev/sdk@4.0.65
|
||||
- @thirdweb-dev/react-core@4.6.4
|
||||
- @thirdweb-dev/wallets@2.5.5
|
||||
|
||||
## 4.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2790](https://github.com/thirdweb-dev/js/pull/2790) [`dc7ea82`](https://github.com/thirdweb-dev/js/commit/dc7ea82f8ab3d19dc66675e3df3de4cf0901229b) Thanks [@MananTank](https://github.com/MananTank)! - Show email by default and not phone number selection UI for in-app wallet in Connect UI
|
||||
|
||||
- Updated dependencies [[`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61), [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0)]:
|
||||
- @thirdweb-dev/sdk@4.0.64
|
||||
- @thirdweb-dev/chains@0.1.95
|
||||
- @thirdweb-dev/react-core@4.6.3
|
||||
- @thirdweb-dev/wallets@2.5.4
|
||||
|
||||
## 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/react-core@4.6.2
|
||||
- @thirdweb-dev/wallets@2.5.3
|
||||
|
||||
## 4.6.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2758](https://github.com/thirdweb-dev/js/pull/2758) [`a92311a`](https://github.com/thirdweb-dev/js/commit/a92311a53d587a838b7a19ca86e8c088fcc45aa3) Thanks [@MananTank](https://github.com/MananTank)! - Fix window popup blocked for social login in iOS Safari when using `useEmbeddedWallet` hook
|
||||
|
||||
- [#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
|
||||
|
||||
- [#2748](https://github.com/thirdweb-dev/js/pull/2748) [`007770c`](https://github.com/thirdweb-dev/js/commit/007770cd635fba5d38eca5efccc55592c85a106f) Thanks [@MananTank](https://github.com/MananTank)! - Increase max-height for Connect Modal
|
||||
|
||||
- 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
|
||||
|
||||
## 4.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react",
|
||||
"version": "4.6.0",
|
||||
"version": "4.6.5",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
} from "@thirdweb-dev/wallets";
|
||||
import { useCallback } from "react";
|
||||
import { embeddedWallet } from "../../../wallet/wallets/embeddedWallet/embeddedWallet";
|
||||
import { openOauthSignInWindow } from "../../../wallet/utils/openOauthSignInWindow";
|
||||
|
||||
/**
|
||||
* Hook to connect `EmbeddedWallet` which allows users to login via Email or social logins
|
||||
@@ -130,6 +131,18 @@ export function useEmbeddedWallet() {
|
||||
}
|
||||
const wallet = create(embeddedWallet());
|
||||
try {
|
||||
// open window immediately to fix issue in iOS Safari
|
||||
// if not opened immediately, it adds a bit of delay between user click and opening the window which causes the popup to be blocked
|
||||
if (
|
||||
authParams.strategy === "apple" ||
|
||||
authParams.strategy === "facebook" ||
|
||||
authParams.strategy === "google"
|
||||
) {
|
||||
const win = openOauthSignInWindow(authParams.strategy);
|
||||
if (win) {
|
||||
authParams.openedWindow = win;
|
||||
}
|
||||
}
|
||||
const authResult = await wallet.authenticate(authParams);
|
||||
await wallet.connect({ authResult });
|
||||
setWallet(wallet);
|
||||
|
||||
@@ -61,6 +61,12 @@ export {
|
||||
useEmbeddedWalletUserEmail,
|
||||
} from "./hooks/wallets/useEmbeddedWallet";
|
||||
export { useEmbeddedWalletSendVerificationEmail } from "./hooks/useEmbeddedWalletSendVerificationEmail";
|
||||
export {
|
||||
useEmbeddedWallet as useInAppWallet,
|
||||
useEmbeddedWalletUserEmail as useInAppWalletUserEmail,
|
||||
} from "./hooks/wallets/useEmbeddedWallet";
|
||||
export { useEmbeddedWalletSendVerificationEmail as useInAppWalletSendVerificationEmail } from "./hooks/useEmbeddedWalletSendVerificationEmail";
|
||||
|
||||
|
||||
export {
|
||||
usePaperWalletUserEmail,
|
||||
|
||||
@@ -16,7 +16,9 @@ export {
|
||||
type CoinbaseWalletConfigOptions,
|
||||
} from "./wallet/wallets/coinbase/coinbaseWallet";
|
||||
export { embeddedWallet } from "./wallet/wallets/embeddedWallet/embeddedWallet";
|
||||
export { embeddedWallet as inAppWallet } from "./wallet/wallets/embeddedWallet/embeddedWallet";
|
||||
export type { EmbeddedWalletConfigOptions } from "./wallet/wallets/embeddedWallet/types";
|
||||
export type { EmbeddedWalletConfigOptions as InAppWalletConfigOptions } from "./wallet/wallets/embeddedWallet/types";
|
||||
|
||||
export {
|
||||
frameWallet,
|
||||
|
||||
@@ -11,7 +11,7 @@ export const modalMaxWidthWide = wideModalWidth + "px";
|
||||
export const wideModalScreenThreshold = wideModalWidth + 40;
|
||||
|
||||
export const wideModalMaxHeight = "570px";
|
||||
export const compactModalMaxHeight = "600px";
|
||||
export const compactModalMaxHeight = "650px";
|
||||
|
||||
export const defaultTheme = "dark";
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ function getWidthAndHeight(authOption: EmbeddedWalletOauthStrategy) {
|
||||
|
||||
export function openOauthSignInWindow(
|
||||
authOption: EmbeddedWalletOauthStrategy,
|
||||
themeObj: Theme,
|
||||
themeObj?: Theme,
|
||||
) {
|
||||
// open the popup in the center of the screen
|
||||
const { height, width } = getWidthAndHeight(authOption);
|
||||
@@ -39,8 +39,8 @@ export function openOauthSignInWindow(
|
||||
const title = getBodyTitle(authOption);
|
||||
win.document.title = title;
|
||||
win.document.body.innerHTML = spinnerWindowHtml;
|
||||
win.document.body.style.background = themeObj.colors.modalBg;
|
||||
win.document.body.style.color = themeObj.colors.accentText;
|
||||
win.document.body.style.background = themeObj?.colors.modalBg || "black";
|
||||
win.document.body.style.color = themeObj?.colors.accentText || "white";
|
||||
}
|
||||
|
||||
// close it when current window is closed or refreshed
|
||||
|
||||
@@ -23,8 +23,8 @@ import {
|
||||
} from "./types";
|
||||
|
||||
const DEFAULT_AUTH_OPTIONS: AuthOption[] = [
|
||||
"phone",
|
||||
"email",
|
||||
"phone",
|
||||
"google",
|
||||
"apple",
|
||||
"facebook",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,51 @@
|
||||
# @thirdweb-dev/sdk
|
||||
|
||||
## 4.0.66
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`4dbcbd1`](https://github.com/thirdweb-dev/js/commit/4dbcbd13dbd388454993aee7e67b43bb9d9249aa), [`d664647`](https://github.com/thirdweb-dev/js/commit/d6646475e2715c666316174e1c035a035a075ab1), [`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648)]:
|
||||
- thirdweb@5.9.0
|
||||
- @thirdweb-dev/chains@0.1.97
|
||||
|
||||
## 4.0.65
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`381b669`](https://github.com/thirdweb-dev/js/commit/381b669cd1b4c621519636211f47a6910ca048f0), [`94e354a`](https://github.com/thirdweb-dev/js/commit/94e354aad30fc94b4d4c379e01810b0f4e2087bf), [`bebcf46`](https://github.com/thirdweb-dev/js/commit/bebcf46c3a900fcbff6d544b18c7f0140c5ca9be), [`1b2bfc8`](https://github.com/thirdweb-dev/js/commit/1b2bfc83d786d1c7b7d1fefa480dbab559e84c54), [`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028)]:
|
||||
- thirdweb@5.8.0
|
||||
- @thirdweb-dev/chains@0.1.96
|
||||
|
||||
## 4.0.64
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2785](https://github.com/thirdweb-dev/js/pull/2785) [`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61) Thanks [@jnsdls](https://github.com/jnsdls)! - update dependencies
|
||||
|
||||
- Updated dependencies [[`7c17892`](https://github.com/thirdweb-dev/js/commit/7c178923f9072d8f43b0d23f3888fdedae540005), [`a54c745`](https://github.com/thirdweb-dev/js/commit/a54c745977e7806c0339633486eef55f92b02832), [`300e4c8`](https://github.com/thirdweb-dev/js/commit/300e4c8a51581156acdfac431655510f0cdbca21), [`f5abbe8`](https://github.com/thirdweb-dev/js/commit/f5abbe8b54fbd68188c40268ae5707c72f39441f), [`4c7153c`](https://github.com/thirdweb-dev/js/commit/4c7153c95df1962d1e530a3d8227960cd87f6a61), [`37bd0e4`](https://github.com/thirdweb-dev/js/commit/37bd0e42a58cdbe5b04a9871b5fd413ec293d96c), [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0)]:
|
||||
- thirdweb@5.7.0
|
||||
- @thirdweb-dev/chains@0.1.95
|
||||
|
||||
## 4.0.63
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`8197b3c`](https://github.com/thirdweb-dev/js/commit/8197b3ced288597979f27ab88abecadad5dac2cb), [`a18fc8e`](https://github.com/thirdweb-dev/js/commit/a18fc8e1b7d7f351e43367f6a6fd77674998e701), [`65e4ddc`](https://github.com/thirdweb-dev/js/commit/65e4ddc8e02467c170658d29d71dca53737548b7), [`df338f5`](https://github.com/thirdweb-dev/js/commit/df338f5f75545dcf717c39e045e2c7e9f64e5f9d), [`9d46fce`](https://github.com/thirdweb-dev/js/commit/9d46fce50fe7ef5750ddf9fefe8131cf190450db), [`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1)]:
|
||||
- thirdweb@5.6.0
|
||||
- @thirdweb-dev/chains@0.1.94
|
||||
|
||||
## 4.0.62
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2678](https://github.com/thirdweb-dev/js/pull/2678) [`9453f74`](https://github.com/thirdweb-dev/js/commit/9453f74bbfd53372fcfd942bcce6c6bfc8c00a2c) Thanks [@kumaryash90](https://github.com/kumaryash90)! - Custom gas settings for any evm deployments
|
||||
|
||||
- [#2754](https://github.com/thirdweb-dev/js/pull/2754) [`c4d51e0`](https://github.com/thirdweb-dev/js/commit/c4d51e0b80e2d66fb85b8032dcc286f9cd164cd1) Thanks [@jnsdls](https://github.com/jnsdls)! - handle `[[{}]]` values for `properties` / `attributes` fields of NFTs
|
||||
|
||||
- Updated dependencies [[`007770c`](https://github.com/thirdweb-dev/js/commit/007770cd635fba5d38eca5efccc55592c85a106f), [`07f98a5`](https://github.com/thirdweb-dev/js/commit/07f98a5b923166f2e16c9f1759970af2032dbb54), [`e6b5d9c`](https://github.com/thirdweb-dev/js/commit/e6b5d9cc5d1907cbce3aaa895239e0f45b7e880c), [`9453f74`](https://github.com/thirdweb-dev/js/commit/9453f74bbfd53372fcfd942bcce6c6bfc8c00a2c), [`39c6fbc`](https://github.com/thirdweb-dev/js/commit/39c6fbc5521a816c7d9a23933cb41ad76a925d14), [`db05717`](https://github.com/thirdweb-dev/js/commit/db0571780304a7b631646b046522fa15352b5467), [`eb919ed`](https://github.com/thirdweb-dev/js/commit/eb919ed49d57589614ac959cb6cbd7c9c19cac07), [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e)]:
|
||||
- thirdweb@5.5.0
|
||||
- @thirdweb-dev/chains@0.1.93
|
||||
|
||||
## 4.0.61
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/sdk",
|
||||
"version": "4.0.61",
|
||||
"version": "4.0.66",
|
||||
"description": "The main thirdweb SDK.",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
|
||||
"license": "Apache-2.0",
|
||||
@@ -89,7 +89,7 @@
|
||||
"@types/chai": "^4.3.14",
|
||||
"@types/deep-equal-in-any-order": "^1.0.3",
|
||||
"@types/mocha": "^10.0.6",
|
||||
"@types/node": "20.12.5",
|
||||
"@types/node": "20.12.7",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"chai": "^4.4.1",
|
||||
"deep-equal-in-any-order": "^1.1.20",
|
||||
|
||||
@@ -9,6 +9,6 @@ const PropertiesInput = /* @__PURE__ */ (() =>
|
||||
*/
|
||||
export const OptionalPropertiesInput = /* @__PURE__ */ (() =>
|
||||
z
|
||||
.union([z.array(PropertiesInput), PropertiesInput])
|
||||
.union([z.array(z.array(PropertiesInput)).transform(i => i.flat()), z.array(PropertiesInput), PropertiesInput])
|
||||
.optional()
|
||||
.nullable())();
|
||||
|
||||
@@ -19,6 +19,26 @@ export const ERROR_SUBSTRINGS_COMPOSITE = [
|
||||
["wrong", "chainid"],
|
||||
];
|
||||
|
||||
export const CUSTOM_GAS_BINS = [
|
||||
1,
|
||||
1 * 10 ** 9,
|
||||
100 * 10 ** 9,
|
||||
500 * 10 ** 9,
|
||||
1000 * 10 ** 9,
|
||||
2500 * 10 ** 9,
|
||||
5000 * 10 ** 9,
|
||||
7500 * 10 ** 9,
|
||||
10_000 * 10 ** 9,
|
||||
25_000 * 10 ** 9,
|
||||
50_000 * 10 ** 9,
|
||||
75_000 * 10 ** 9,
|
||||
100_000 * 10 ** 9,
|
||||
250_000 * 10 ** 9,
|
||||
500_000 * 10 ** 9,
|
||||
750_000 * 10 ** 9,
|
||||
1_000_000 * 10 ** 9,
|
||||
];
|
||||
|
||||
/* eslint-disable no-useless-computed-key */
|
||||
export const CUSTOM_GAS_FOR_CHAIN: Record<number, CustomChain> = {
|
||||
[5001]: {
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
import { BigNumber, Signer } from "ethers";
|
||||
import { Signer } from "ethers";
|
||||
import invariant from "tiny-invariant";
|
||||
import type { DeployOptions } from "../../types/deploy/deploy-options";
|
||||
import { CUSTOM_GAS_FOR_CHAIN } from "../any-evm-constants";
|
||||
import { COMMON_FACTORY } from "./constants";
|
||||
import { isContractDeployed } from "./isContractDeployed";
|
||||
import { isEIP155Enforced } from "./isEIP155Enforced";
|
||||
import { getCreate2FactoryDeploymentInfo } from "./getCreate2FactoryDeploymentInfo";
|
||||
import { computeCreate2FactoryTransaction } from "./getCreate2FactoryAddress";
|
||||
|
||||
/**
|
||||
* Deploy Nick's Create2 factory on a given network.
|
||||
@@ -21,52 +17,19 @@ export async function deployCreate2Factory(
|
||||
options?: DeployOptions,
|
||||
): Promise<string> {
|
||||
invariant(signer.provider, "No provider");
|
||||
const commonFactoryExists = await isContractDeployed(
|
||||
COMMON_FACTORY,
|
||||
signer.provider,
|
||||
);
|
||||
if (commonFactoryExists) {
|
||||
return COMMON_FACTORY;
|
||||
}
|
||||
|
||||
const enforceEip155 = await isEIP155Enforced(signer.provider);
|
||||
const networkId = (await signer.provider.getNetwork()).chainId;
|
||||
const chainId = enforceEip155 ? networkId : 0;
|
||||
console.debug(`ChainId ${networkId} enforces EIP155: ${enforceEip155}`);
|
||||
const deploymentInfo = CUSTOM_GAS_FOR_CHAIN[networkId]
|
||||
? getCreate2FactoryDeploymentInfo(chainId, {
|
||||
gasPrice: CUSTOM_GAS_FOR_CHAIN[networkId].gasPrice,
|
||||
gasLimit: CUSTOM_GAS_FOR_CHAIN[networkId].gasLimit,
|
||||
})
|
||||
: getCreate2FactoryDeploymentInfo(chainId, {});
|
||||
|
||||
const factoryExists = await isContractDeployed(
|
||||
deploymentInfo.deployment,
|
||||
const deploymentInfo = await computeCreate2FactoryTransaction(
|
||||
signer.provider,
|
||||
);
|
||||
|
||||
// deploy community factory if not already deployed
|
||||
if (!factoryExists) {
|
||||
const gasPrice = CUSTOM_GAS_FOR_CHAIN[networkId]?.gasPrice
|
||||
? CUSTOM_GAS_FOR_CHAIN[networkId].gasPrice
|
||||
: 100 * 10 ** 9;
|
||||
const gasLimit = CUSTOM_GAS_FOR_CHAIN[networkId]?.gasLimit
|
||||
? CUSTOM_GAS_FOR_CHAIN[networkId].gasLimit
|
||||
: 100000;
|
||||
|
||||
invariant(gasLimit, "gasLimit undefined for create2 factory deploy");
|
||||
invariant(gasPrice, "gasPrice undefined for create2 factory deploy");
|
||||
|
||||
if (deploymentInfo.transaction.length > 0) {
|
||||
// send balance to the keyless signer
|
||||
const valueToSend = BigNumber.from(gasPrice).mul(gasLimit);
|
||||
|
||||
if (
|
||||
(await signer.provider.getBalance(deploymentInfo.signer)).lt(valueToSend)
|
||||
(await signer.provider.getBalance(deploymentInfo.signer)).lt(deploymentInfo.valueToSend)
|
||||
) {
|
||||
await (
|
||||
await signer.sendTransaction({
|
||||
to: deploymentInfo.signer,
|
||||
value: valueToSend,
|
||||
value: deploymentInfo.valueToSend,
|
||||
})
|
||||
).wait();
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { providers } from "ethers";
|
||||
import { CUSTOM_GAS_FOR_CHAIN } from "../any-evm-constants";
|
||||
import { BigNumber, providers } from "ethers";
|
||||
import { CUSTOM_GAS_BINS, CUSTOM_GAS_FOR_CHAIN } from "../any-evm-constants";
|
||||
import { COMMON_FACTORY } from "./constants";
|
||||
import { isContractDeployed } from "./isContractDeployed";
|
||||
import { isEIP155Enforced } from "./isEIP155Enforced";
|
||||
import { getCreate2FactoryDeploymentInfo } from "./getCreate2FactoryDeploymentInfo";
|
||||
import { KeylessDeploymentInfo } from "../../types/any-evm/deploy-data";
|
||||
|
||||
/**
|
||||
* Get the CREATE2 Factory address for a network
|
||||
@@ -16,23 +17,78 @@ import { getCreate2FactoryDeploymentInfo } from "./getCreate2FactoryDeploymentIn
|
||||
export async function getCreate2FactoryAddress(
|
||||
provider: providers.Provider,
|
||||
): Promise<string> {
|
||||
const commonFactoryExists = await isContractDeployed(
|
||||
COMMON_FACTORY,
|
||||
provider,
|
||||
);
|
||||
if (commonFactoryExists) {
|
||||
return COMMON_FACTORY;
|
||||
}
|
||||
|
||||
const enforceEip155 = await isEIP155Enforced(provider);
|
||||
const networkId = (await provider.getNetwork()).chainId;
|
||||
const chainId = enforceEip155 ? networkId : 0;
|
||||
const deploymentInfo = CUSTOM_GAS_FOR_CHAIN[networkId]
|
||||
? getCreate2FactoryDeploymentInfo(chainId, {
|
||||
gasPrice: CUSTOM_GAS_FOR_CHAIN[networkId].gasPrice,
|
||||
gasLimit: CUSTOM_GAS_FOR_CHAIN[networkId].gasLimit,
|
||||
})
|
||||
: getCreate2FactoryDeploymentInfo(chainId, {});
|
||||
|
||||
const deploymentInfo = await computeCreate2FactoryTransaction(provider);
|
||||
return deploymentInfo.deployment;
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export async function computeCreate2FactoryTransaction(
|
||||
provider: providers.Provider,
|
||||
): Promise<KeylessDeploymentInfo> {
|
||||
const networkId = (await provider.getNetwork()).chainId;
|
||||
|
||||
// special handling for chains with hardcoded gasPrice and gasLimit
|
||||
if (CUSTOM_GAS_FOR_CHAIN[networkId]) {
|
||||
const enforceEip155 = await isEIP155Enforced(provider);
|
||||
const chainId = enforceEip155 ? networkId : 0;
|
||||
const gasPrice = CUSTOM_GAS_FOR_CHAIN[networkId]?.gasPrice;
|
||||
const gasLimit = CUSTOM_GAS_FOR_CHAIN[networkId]?.gasLimit;
|
||||
|
||||
const deploymentInfo = getCreate2FactoryDeploymentInfo(chainId, {
|
||||
gasPrice: gasPrice ? BigNumber.from(gasPrice) : undefined,
|
||||
gasLimit: gasLimit ? BigNumber.from(gasLimit) : undefined,
|
||||
});
|
||||
|
||||
if (await isContractDeployed(deploymentInfo.deployment, provider)) {
|
||||
deploymentInfo.transaction = "";
|
||||
}
|
||||
|
||||
return deploymentInfo;
|
||||
}
|
||||
|
||||
// default flow
|
||||
const allBinsInfo = [
|
||||
...CUSTOM_GAS_BINS.map((b) =>
|
||||
// to generate EIP-155 transaction
|
||||
getCreate2FactoryDeploymentInfo(networkId, { gasPrice: BigNumber.from(b) }),
|
||||
),
|
||||
// to generate pre-EIP-155 transaction, hence chainId 0
|
||||
...CUSTOM_GAS_BINS.map((b) =>
|
||||
getCreate2FactoryDeploymentInfo(0, { gasPrice: BigNumber.from(b) }),
|
||||
),
|
||||
];
|
||||
|
||||
const allFactories = await Promise.all(
|
||||
allBinsInfo.map((b) => isContractDeployed(b.deployment, provider)),
|
||||
);
|
||||
|
||||
const indexOfCommonFactory = allBinsInfo.findIndex(
|
||||
(b) => b.deployment === COMMON_FACTORY,
|
||||
);
|
||||
if (indexOfCommonFactory && allFactories[indexOfCommonFactory]) {
|
||||
return { ...allBinsInfo[indexOfCommonFactory], transaction: "" };
|
||||
}
|
||||
|
||||
const indexOfExistingDeployment = allFactories.findIndex((b) => b);
|
||||
if (indexOfExistingDeployment && allBinsInfo[indexOfExistingDeployment]) {
|
||||
return { ...allBinsInfo[indexOfExistingDeployment], transaction: "" };
|
||||
}
|
||||
|
||||
const [enforceEip155, gasPriceFetched] = await Promise.all([
|
||||
isEIP155Enforced(provider),
|
||||
provider.getGasPrice(),
|
||||
]);
|
||||
const chainId = enforceEip155 ? networkId : 0;
|
||||
const bin = _getNearestGasPriceBin(gasPriceFetched);
|
||||
|
||||
return getCreate2FactoryDeploymentInfo(chainId, {
|
||||
gasPrice: bin,
|
||||
});
|
||||
}
|
||||
|
||||
function _getNearestGasPriceBin(gasPrice: BigNumber): BigNumber {
|
||||
const bin = CUSTOM_GAS_BINS.find((e) => BigNumber.from(e).gte(gasPrice));
|
||||
return bin ? BigNumber.from(bin) : gasPrice;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user