Compare commits

..
Author SHA1 Message Date
github-actions[bot]GitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
4197d1bf3f Version Packages (#1866)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-27 23:53:04 -07:00
Joaquim VergesandGitHub 3faa9f21ef [SmartWallet] expose data in smart wallet utils (#1867) 2023-10-28 06:21:03 +00:00
Jonas DanielsandGitHub a75e4cc80a chore(chains): sync chains (#1865) 2023-10-28 01:44:02 +00:00
61 changed files with 1251 additions and 30 deletions
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/auth
## 4.1.2
### Patch Changes
- Updated dependencies [[`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/wallets@2.0.10
## 4.1.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "4.1.1",
"version": "4.1.2",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
+6
View File
@@ -1,5 +1,11 @@
# @thirdweb-dev/chains
## 0.1.57
### Patch Changes
- [#1865](https://github.com/thirdweb-dev/js/pull/1865) [`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618) Thanks [@jnsdls](https://github.com/jnsdls)! - sync chains
## 0.1.56
### Patch Changes
+26
View File
@@ -0,0 +1,26 @@
import type { Chain } from "../src/types";
export default {
"chain": "CHI1",
"chainId": 100100,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://bafybeidk4swpgdyqmpz6shd5onvpaujvwiwthrhypufnwr6xh3dausz2dm",
"width": 1800,
"height": 1800,
"format": "png"
},
"infoURL": "https://docs.gnosischain.com",
"name": "Deprecated CHI",
"nativeCurrency": {
"name": "Chiado xDAI",
"symbol": "xDAI",
"decimals": 18
},
"networkId": 100100,
"rpc": [],
"shortName": "chi1",
"slug": "deprecated-chi",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+36
View File
@@ -0,0 +1,36 @@
import type { Chain } from "../src/types";
export default {
"chain": "ShimmerEVM",
"chainId": 1071,
"explorers": [
{
"name": "explorer",
"url": "https://explorer.evm.testnet.shimmer.network",
"standard": "EIP3091"
}
],
"faucets": [
"https://evm-toolkit.evm.testnet.shimmer.network",
"https://evm-faucet.testnet.shimmer.network"
],
"icon": {
"url": "ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",
"width": 720,
"height": 720,
"format": "png"
},
"infoURL": "https://shimmer.network",
"name": "ShimmerEVM Testnet Deprecated",
"nativeCurrency": {
"name": "SMR",
"symbol": "SMR",
"decimals": 18
},
"networkId": 1071,
"rpc": [],
"shortName": "shimmerevm-testnet-deprecated",
"slug": "shimmerevm-testnet-deprecated",
"status": "deprecated",
"testnet": true,
"title": "ShimmerEVM Testnet Deprecated"
} as const satisfies Chain;
+10 -2
View File
@@ -17,6 +17,13 @@ export default {
"faucets": [
"http://fauceth.komputing.org?chain=11155111&address=${ADDRESS}"
],
"features": [],
"icon": {
"url": "ipfs://QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/ethereum/512.png",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://sepolia.otterscan.io",
"name": "Sepolia",
"nativeCurrency": {
@@ -25,15 +32,16 @@ export default {
"decimals": 18
},
"networkId": 11155111,
"redFlags": [],
"rpc": [
"https://sepolia.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://11155111.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://sepolia.infura.io/v3/${INFURA_API_KEY}",
"wss://sepolia.infura.io/v3/${INFURA_API_KEY}",
"https://rpc.sepolia.org",
"https://rpc2.sepolia.org",
"https://rpc-sepolia.rockx.com",
"https://rpc.sepolia.ethpandaops.io",
"https://sepolia.infura.io/v3/${INFURA_API_KEY}",
"wss://sepolia.infura.io/v3/${INFURA_API_KEY}",
"https://sepolia.gateway.tenderly.co",
"wss://sepolia.gateway.tenderly.co",
"https://ethereum-sepolia.publicnode.com",
+26
View File
@@ -0,0 +1,26 @@
import type { Chain } from "../src/types";
export default {
"chain": "DeBank",
"chainId": 115,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",
"width": 400,
"height": 400,
"format": "png"
},
"infoURL": "https://debank.com",
"name": "DeBank Testnet(Deprecated)",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 115,
"rpc": [],
"shortName": "debank-testnet",
"slug": "debank-testnet-deprecated",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+26
View File
@@ -0,0 +1,26 @@
import type { Chain } from "../src/types";
export default {
"chain": "DeBank",
"chainId": 116,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://QmW9pBps8WHRRWmyXhjLZrjZJUe8F48hUu7z98bu2RVsjN",
"width": 400,
"height": 400,
"format": "png"
},
"infoURL": "https://debank.com",
"name": "DeBank Mainnet",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 116,
"rpc": [],
"shortName": "debank-mainnet",
"slug": "debank",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+19
View File
@@ -0,0 +1,19 @@
import type { Chain } from "../src/types";
export default {
"chain": "MOON",
"chainId": 1286,
"explorers": [],
"faucets": [],
"name": "Moonrock old",
"nativeCurrency": {
"name": "Rocs",
"symbol": "ROC",
"decimals": 18
},
"networkId": 1286,
"rpc": [],
"shortName": "mrock-old",
"slug": "moonrock-old",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "Polygon",
"chainId": 1402,
"explorers": [
{
"name": "blockscout",
"url": "https://explorer.public.zkevm-test.net",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://polygon.technology/solutions/polygon-zkevm/",
"name": "Polygon zkEVM Testnet old",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 1402,
"rpc": [],
"shortName": "zkevmtest",
"slug": "polygon-zkevm-testnet-old",
"status": "deprecated",
"testnet": true,
"title": "Polygon zkEVM Testnet"
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "Polygon",
"chainId": 1422,
"explorers": [
{
"name": "Polygon zkEVM explorer",
"url": "https://explorer.public.zkevm-test.net",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://polygon.technology/solutions/polygon-zkevm/",
"name": "Polygon zkEVM Testnet Pre Audit-Upgraded",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 1422,
"rpc": [],
"shortName": "testnet-zkEVM-mango-pre-audit-upgraded",
"slug": "polygon-zkevm-testnet-pre-audit-upgraded",
"status": "deprecated",
"testnet": true,
"title": "Polygon zkEVM Testnet Pre Audit-Upgraded"
} as const satisfies Chain;
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "Yuma",
"chainId": 1662,
"explorers": [],
"faucets": [],
"features": [
{
"name": "EIP155"
},
{
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://QmSFMBk3rMyu45Sy9KQHjgArFj4HdywANNYrSosLMUdcti",
"width": 1213,
"height": 1213,
"format": "png"
},
"infoURL": "https://horizen.io/",
"name": "Horizen Yuma Testnet Deprecated",
"nativeCurrency": {
"name": "Testnet Zen",
"symbol": "tZEN",
"decimals": 18
},
"networkId": 1662,
"rpc": [],
"shortName": "Yuma",
"slip44": 121,
"slug": "horizen-yuma-testnet-deprecated",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+36
View File
@@ -0,0 +1,36 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 167004,
"explorers": [
{
"name": "blockscout",
"url": "https://explorer.a2.taiko.xyz",
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmcHdmVr5VRUJq13jnM6tgah5Ge7hn3Dm14eY6vwivJ5ui",
"width": 288,
"height": 258,
"format": "png"
},
"infoURL": "https://taiko.xyz",
"name": "Taiko (Alpha-2 Testnet)",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 167004,
"rpc": [
"https://taiko-alpha-2-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://167004.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.a2.taiko.xyz"
],
"shortName": "taiko-a2",
"slug": "taiko-alpha-2-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+24
View File
@@ -0,0 +1,24 @@
import type { Chain } from "../src/types";
export default {
"chain": "SOTER",
"chainId": 218,
"explorers": [],
"faucets": [],
"infoURL": "https://www.soterone.com",
"name": "SoterOne Mainnet old",
"nativeCurrency": {
"name": "SoterOne Mainnet Ether",
"symbol": "SOTER",
"decimals": 18
},
"networkId": 218,
"rpc": [
"https://soterone-old.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://218.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.soter.one"
],
"shortName": "SO1-old",
"slug": "soterone-old",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+39
View File
@@ -0,0 +1,39 @@
import type { Chain } from "../src/types";
export default {
"chain": "PlatON",
"chainId": 2203181,
"explorers": [
{
"name": "PlatON explorer",
"url": "https://devnetscan.platon.network",
"standard": "none"
}
],
"faucets": [
"https://devnet2faucet.platon.network/faucet"
],
"icon": {
"url": "ipfs://QmT7PSXBiVBma6E15hNkivmstqLu3JSnG1jXN5pTmcCGRC",
"width": 180,
"height": 180,
"format": "png"
},
"infoURL": "https://www.platon.network",
"name": "PlatON Dev Testnet Deprecated",
"nativeCurrency": {
"name": "LAT",
"symbol": "lat",
"decimals": 18
},
"networkId": 1,
"rpc": [
"https://platon-dev-testnet-deprecated.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://2203181.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://devnetopenapi2.platon.network/rpc",
"wss://devnetopenapi2.platon.network/ws"
],
"shortName": "platondev",
"slug": "platon-dev-testnet-deprecated",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+25
View File
@@ -0,0 +1,25 @@
import type { Chain } from "../src/types";
export default {
"chain": "ASK",
"chainId": 222,
"explorers": [],
"faucets": [],
"infoURL": "https://permission.io/",
"name": "Permission",
"nativeCurrency": {
"name": "ASK",
"symbol": "ASK",
"decimals": 18
},
"networkId": 2221,
"rpc": [
"https://permission.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://222.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://blockchain-api-mainnet.permission.io/rpc"
],
"shortName": "ASK",
"slip44": 2221,
"slug": "permission",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+52
View File
@@ -0,0 +1,52 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 2357,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.sepolia-deprecated.kroma.network",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",
"width": 320,
"height": 320,
"format": "svg"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmVpV2WET6ZrqnvvPfE9hCwoE2y5ygbPuniuugpaRoxrho",
"width": 320,
"height": 320,
"format": "svg"
},
"infoURL": "https://kroma.network",
"name": "(deprecated) Kroma Sepolia",
"nativeCurrency": {
"name": "Sepolia Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 2357,
"parent": {
"type": "L2",
"chain": "eip155-11155111",
"bridges": [
{
"url": "https://kroma.network/bridge"
}
]
},
"rpc": [
"https://deprecated-kroma-sepolia.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://2357.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.sepolia-deprecated.kroma.network"
],
"shortName": "deprecated-kroma-sepolia",
"slug": "deprecated-kroma-sepolia",
"status": "deprecated",
"testnet": true,
"title": "(deprecated) Kroma Testnet Sepolia"
} as const satisfies Chain;
+22
View File
@@ -0,0 +1,22 @@
import type { Chain } from "../src/types";
export default {
"chain": "DPU",
"chainId": 2611555,
"explorers": [],
"faucets": [],
"name": "DPU Chain",
"nativeCurrency": {
"name": "DGS",
"symbol": "DGS",
"decimals": 18
},
"networkId": 2611555,
"rpc": [
"https://dpu-chain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://2611555.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://sc-rpc.dpu.ac.th"
],
"shortName": "DPU",
"slug": "dpu-chain",
"testnet": false
} as const satisfies Chain;
+20
View File
@@ -0,0 +1,20 @@
import type { Chain } from "../src/types";
export default {
"chain": "OGC",
"chainId": 300,
"explorers": [],
"faucets": [],
"infoURL": "https://docs.gnosischain.com",
"name": "(deprecated) Optimism on GC",
"nativeCurrency": {
"name": "xDAI",
"symbol": "xDAI",
"decimals": 18
},
"networkId": 300,
"rpc": [],
"shortName": "ogc",
"slug": "deprecated-optimism-on-gc",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "FIL",
"chainId": 3141,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://filecoin.io",
"name": "Filecoin - Hyperspace testnet",
"nativeCurrency": {
"name": "testnet filecoin",
"symbol": "tFIL",
"decimals": 18
},
"networkId": 3141,
"rpc": [],
"shortName": "filecoin-hyperspace",
"slip44": 1,
"slug": "filecoin-hyperspace-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "FIL",
"chainId": 31415,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://QmS9r9XQkMHVomWcSBNDkKkz9n87h9bH9ssabeiKZtANoU",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://filecoin.io",
"name": "Filecoin - Wallaby testnet",
"nativeCurrency": {
"name": "testnet filecoin",
"symbol": "tFIL",
"decimals": 18
},
"networkId": 31415,
"rpc": [],
"shortName": "filecoin-wallaby",
"slip44": 1,
"slug": "filecoin-wallaby-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+3 -3
View File
@@ -13,9 +13,9 @@ export default {
"https://faucet.securechain.ai"
],
"icon": {
"url": "ipfs://QmVNLDQ7edirox9gAehyen9gLHq64Z5532EXsLvSaVfjWh",
"width": 65,
"height": 65,
"url": "ipfs://Qme2Z8VFYjhHGfLQPBnfseNpEdRfmTDy7VXqrdH4AHETJf",
"width": 150,
"height": 150,
"format": "png"
},
"infoURL": "https://securechain.ai",
+38
View File
@@ -0,0 +1,38 @@
import type { Chain } from "../src/types";
export default {
"chain": "XPLATest",
"chainId": 3701,
"explorers": [
{
"name": "XPLA Explorer",
"url": "https://explorer.xpla.io",
"standard": "none"
}
],
"faucets": [
"https://faucet.xpla.io"
],
"icon": {
"url": "ipfs://Qmf4GoxfpeA5VGqu7KP5eyv1WKaCpNDbvMxq1MjQBwFWxq",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://xpla.io",
"name": "Xpla Testnet",
"nativeCurrency": {
"name": "XPLA",
"symbol": "XPLA",
"decimals": 18
},
"networkId": 3701,
"rpc": [
"https://xpla-testnet-xplatest.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://3701.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://dimension-rpc.xpla.dev"
],
"shortName": "xplatest",
"slug": "xpla-testnet-xplatest",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+3 -3
View File
@@ -34,7 +34,7 @@ export default {
"format": "png"
},
"infoURL": "https://xinfin.org",
"name": "XinFin XDC Network",
"name": "XDC Network",
"nativeCurrency": {
"name": "XinFin",
"symbol": "XDC",
@@ -42,7 +42,7 @@ export default {
},
"networkId": 50,
"rpc": [
"https://xinfin-xdc-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://xdc-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://50.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://erpc.xinfin.network",
"https://rpc.xinfin.network",
@@ -50,6 +50,6 @@ export default {
"https://rpc-xdc.icecreamswap.com"
],
"shortName": "xdc",
"slug": "xinfin-xdc-network",
"slug": "xdc-network",
"testnet": false
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "FIRE",
"chainId": 5290,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://QmYjuztyURb3Fc6ZTLgCbwQa64CcVoigF5j9cafzuSbqgf",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://thefirechain.com",
"name": "Firechain Mainnet Old",
"nativeCurrency": {
"name": "Firechain",
"symbol": "FIRE",
"decimals": 18
},
"networkId": 5290,
"rpc": [
"https://firechain-old.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://5290.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://mainnet.rpc1.thefirechain.com"
],
"shortName": "_old_fire",
"slug": "firechain-old",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+4 -4
View File
@@ -4,13 +4,13 @@ export default {
"chainId": 534352,
"explorers": [
{
"name": "Blockscout",
"url": "https://blockscout.scroll.io",
"name": "Scrollscan",
"url": "https://scrollscan.com",
"standard": "EIP3091"
},
{
"name": "Scrollscan",
"url": "https://scrollscan.com",
"name": "Blockscout",
"url": "https://blockscout.scroll.io",
"standard": "EIP3091"
}
],
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 534353,
"explorers": [
{
"name": "Scroll Alpha Testnet Block Explorer",
"url": "https://alpha-blockscout.scroll.io",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://scroll.io",
"name": "Scroll Alpha Testnet",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 534353,
"parent": {
"type": "L2",
"chain": "eip155-5",
"bridges": []
},
"rpc": [
"https://scroll-alpha-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://534353.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://alpha-rpc.scroll.io/l2"
],
"shortName": "scr-alpha",
"slug": "scroll-alpha-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+20
View File
@@ -0,0 +1,20 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 534354,
"explorers": [],
"faucets": [],
"infoURL": "https://scroll.io",
"name": "Scroll Pre-Alpha Testnet",
"nativeCurrency": {
"name": "Ether",
"symbol": "TSETH",
"decimals": 18
},
"networkId": 534354,
"rpc": [],
"shortName": "scr-prealpha",
"slug": "scroll-pre-alpha-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+39
View File
@@ -0,0 +1,39 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 588,
"explorers": [
{
"name": "blockscout",
"url": "https://stardust-explorer.metis.io",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://www.metis.io",
"name": "Metis Stardust Testnet",
"nativeCurrency": {
"name": "tMetis",
"symbol": "METIS",
"decimals": 18
},
"networkId": 588,
"parent": {
"type": "L2",
"chain": "eip155-4",
"bridges": [
{
"url": "https://bridge.metis.io"
}
]
},
"rpc": [
"https://metis-stardust-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://588.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://stardust.metis.io/?owner=588"
],
"shortName": "metis-stardust",
"slug": "metis-stardust-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+24
View File
@@ -0,0 +1,24 @@
import type { Chain } from "../src/types";
export default {
"chain": "EOS",
"chainId": 59,
"explorers": [],
"faucets": [],
"infoURL": "https://eosargentina.io",
"name": "EOS EVM Legacy",
"nativeCurrency": {
"name": "EOS",
"symbol": "EOS",
"decimals": 18
},
"networkId": 59,
"rpc": [
"https://eos-evm-legacy.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://59.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.eosargentina.io"
],
"shortName": "eos-legacy",
"slug": "eos-evm-legacy",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+24
View File
@@ -0,0 +1,24 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETC",
"chainId": 6,
"explorers": [],
"faucets": [],
"infoURL": "https://explorer.jade.builders/?network=kotti",
"name": "Ethereum Classic Testnet Kotti",
"nativeCurrency": {
"name": "Kotti Ether",
"symbol": "KOT",
"decimals": 18
},
"networkId": 6,
"rpc": [
"https://ethereum-classic-testnet-kotti.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://6.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://www.ethercluster.com/kotti"
],
"shortName": "kot",
"slug": "ethereum-classic-testnet-kotti",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "SIN",
"chainId": 67390,
"explorers": [
{
"name": "siriusnetscan",
"url": "https://siriusnet.tryethernal.com",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://macaucasinolisboa.xyz",
"name": "SiriusNet",
"nativeCurrency": {
"name": "MCD",
"symbol": "MCD",
"decimals": 18
},
"networkId": 67390,
"rpc": [
"https://siriusnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://67390.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://u0tnafcv6j:o2T045sxuCNXL878RDQLp5__Zj-es2cvdjtgkl4etn0@u0v7kwtvtg-u0wj114sve-rpc.us0-aws.kaleido.io/"
],
"shortName": "mcl",
"slug": "siriusnet",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+1 -1
View File
@@ -25,7 +25,7 @@ export default {
"rpc": [
"https://frame-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://68840142.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.testnet.frame.xyz"
"https://rpc.testnet.frame.xyz/http"
],
"shortName": "frame-test",
"slug": "frame-testnet",
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Canto Tesnet",
"chainId": 740,
"explorers": [
{
"name": "Canto Tesnet Explorer (Neobase)",
"url": "https://testnet-explorer.canto.neobase.one",
"standard": "none"
}
],
"faucets": [],
"infoURL": "https://canto.io",
"name": "Canto Testnet",
"nativeCurrency": {
"name": "Canto",
"symbol": "CANTO",
"decimals": 18
},
"networkId": 740,
"rpc": [
"https://canto-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://740.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth.plexnode.wtf/"
],
"shortName": "tcanto",
"slug": "canto-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+41
View File
@@ -0,0 +1,41 @@
import type { Chain } from "../src/types";
export default {
"chain": "TQF",
"chainId": 8194,
"explorers": [
{
"name": "blockscout",
"url": "https://testnet.torusscan.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
"width": 551,
"height": 540,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreidchntjaxmq52cuqqoalpajk5ssk4p77k7n4jgywqmkpldo5qgobm",
"width": 1200,
"height": 1200,
"format": "png"
},
"infoURL": "https://docs.toruschain.com",
"name": "Torus Testnet",
"nativeCurrency": {
"name": "tTQF",
"symbol": "TTQF",
"decimals": 18
},
"networkId": 8194,
"rpc": [
"https://torus-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://8194.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.testnet.toruschain.com"
],
"shortName": "ttqf",
"slug": "torus-testnet",
"testnet": true
} as const satisfies Chain;
+20
View File
@@ -0,0 +1,20 @@
import type { Chain } from "../src/types";
export default {
"chain": "CLO",
"chainId": 821,
"explorers": [],
"faucets": [],
"infoURL": "https://callisto.network",
"name": "Callisto Testnet Deprecated",
"nativeCurrency": {
"name": "Callisto Testnet Ether",
"symbol": "TCLO",
"decimals": 18
},
"networkId": 2,
"rpc": [],
"shortName": "tclo",
"slug": "callisto-testnet-deprecated",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+32
View File
@@ -0,0 +1,32 @@
import type { Chain } from "../src/types";
export default {
"chain": "GWT",
"chainId": 868455272153094,
"explorers": [
{
"name": "GWScan Block Explorer",
"url": "https://v1.aggron.gwscan.com",
"standard": "none"
}
],
"faucets": [
"https://homura.github.io/light-godwoken"
],
"infoURL": "https://www.nervos.org",
"name": "Godwoken Testnet (V1)",
"nativeCurrency": {
"name": "CKB",
"symbol": "CKB",
"decimals": 8
},
"networkId": 868455272153094,
"rpc": [
"https://godwoken-testnet-v1-gw-testnet-v1-deprecated.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://868455272153094.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://godwoken-testnet-web3-v1-rpc.ckbapp.dev"
],
"shortName": "gw-testnet-v1-deprecated",
"slug": "godwoken-testnet-v1-gw-testnet-v1-deprecated",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+28
View File
@@ -0,0 +1,28 @@
import type { Chain } from "../src/types";
export default {
"chain": "FIRE",
"chainId": 9170,
"explorers": [],
"faucets": [
"https://faucet.thefirechain.com"
],
"icon": {
"url": "ipfs://QmRnnw2gtbU9TWJMLJ6tks7SN6HQV5rRugeoyN6csTYHt1",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://thefirechain.com",
"name": "Rinia Testnet Old",
"nativeCurrency": {
"name": "Firechain",
"symbol": "FIRE",
"decimals": 18
},
"networkId": 9170,
"rpc": [],
"shortName": "_old_tfire",
"slug": "rinia-testnet-old",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "tPLS",
"chainId": 940,
"explorers": [],
"faucets": [
"https://faucet.v2.testnet.pulsechain.com/"
],
"infoURL": "https://pulsechain.com/",
"name": "PulseChain Testnet",
"nativeCurrency": {
"name": "Test Pulse",
"symbol": "tPLS",
"decimals": 18
},
"networkId": 940,
"rpc": [
"https://pulsechain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://940.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.v2.testnet.pulsechain.com/",
"wss://rpc.v2.testnet.pulsechain.com/"
],
"shortName": "tpls",
"slug": "pulsechain-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "t2bPLS",
"chainId": 941,
"explorers": [],
"faucets": [
"https://faucet.v2b.testnet.pulsechain.com/"
],
"infoURL": "https://pulsechain.com/",
"name": "PulseChain Testnet v2b",
"nativeCurrency": {
"name": "Test Pulse",
"symbol": "tPLS",
"decimals": 18
},
"networkId": 941,
"rpc": [
"https://pulsechain-testnet-v2b.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://941.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.v2b.testnet.pulsechain.com/",
"wss://rpc.v2b.testnet.pulsechain.com/"
],
"shortName": "t2bpls",
"slug": "pulsechain-testnet-v2b",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+27
View File
@@ -0,0 +1,27 @@
import type { Chain } from "../src/types";
export default {
"chain": "t3PLS",
"chainId": 942,
"explorers": [],
"faucets": [
"https://faucet.v3.testnet.pulsechain.com/"
],
"infoURL": "https://pulsechain.com/",
"name": "PulseChain Testnet v3",
"nativeCurrency": {
"name": "Test Pulse",
"symbol": "tPLS",
"decimals": 18
},
"networkId": 942,
"rpc": [
"https://pulsechain-testnet-v3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://942.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.v3.testnet.pulsechain.com/",
"wss://rpc.v3.testnet.pulsechain.com/"
],
"shortName": "t3pls",
"slug": "pulsechain-testnet-v3",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+26
View File
@@ -0,0 +1,26 @@
import type { Chain } from "../src/types";
export default {
"chain": "Boba BNB Mainnet",
"chainId": 97288,
"explorers": [
{
"name": "Boba BNB block explorer",
"url": "https://blockexplorer.bnb.boba.network",
"standard": "none"
}
],
"faucets": [],
"infoURL": "https://boba.network",
"name": "Boba BNB Mainnet Old",
"nativeCurrency": {
"name": "Boba Token",
"symbol": "BOBA",
"decimals": 18
},
"networkId": 97288,
"rpc": [],
"shortName": "BobaBnbOld",
"slug": "boba-bnb-old",
"status": "deprecated",
"testnet": false
} as const satisfies Chain;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/chains",
"version": "0.1.56",
"version": "0.1.57",
"main": "dist/thirdweb-dev-chains.cjs.js",
"module": "dist/thirdweb-dev-chains.esm.js",
"browser": {
File diff suppressed because one or more lines are too long
+10
View File
@@ -1,5 +1,15 @@
# thirdweb
## 0.13.10
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/wallets@2.0.10
- @thirdweb-dev/sdk@4.0.9
- @thirdweb-dev/auth@4.1.2
## 0.13.9
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "thirdweb",
"main": "dist/cli/index.js",
"version": "0.13.9",
"version": "0.13.10",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/react-core
## 4.0.10
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/wallets@2.0.10
- @thirdweb-dev/sdk@4.0.9
- @thirdweb-dev/auth@4.1.2
## 4.0.9
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-core",
"version": "4.0.9",
"version": "4.0.10",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
@@ -1,5 +1,7 @@
# @thirdweb-dev/react-native-compat
## 0.3.15
## 0.3.14
## 0.3.13
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/react-native-compat",
"description": "Shims for Thirdweb in React Native Projects",
"version": "0.3.14",
"version": "0.3.15",
"author": "thirdweb eng <[email protected]>",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/react-native
## 0.3.15
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/wallets@2.0.10
- @thirdweb-dev/react-core@4.0.10
- @thirdweb-dev/sdk@4.0.9
## 0.3.14
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-native",
"version": "0.3.14",
"version": "0.3.15",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/react
## 4.0.10
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/wallets@2.0.10
- @thirdweb-dev/react-core@4.0.10
- @thirdweb-dev/sdk@4.0.9
## 4.0.9
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react",
"version": "4.0.9",
"version": "4.0.10",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/sdk
## 4.0.9
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618)]:
- @thirdweb-dev/chains@0.1.57
## 4.0.8
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/sdk",
"version": "4.0.8",
"version": "4.0.9",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/sdk",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/unity-js-bridge
## 0.2.96
### Patch Changes
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618), [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/wallets@2.0.10
- @thirdweb-dev/sdk@4.0.9
- @thirdweb-dev/auth@4.1.2
## 0.2.95
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/unity-js-bridge",
"version": "0.2.95",
"version": "0.2.96",
"main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/wallets
## 2.0.10
### Patch Changes
- [#1867](https://github.com/thirdweb-dev/js/pull/1867) [`3faa9f21`](https://github.com/thirdweb-dev/js/commit/3faa9f21efb1ae29a57747d6f0b8fb1151930ab4) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Expose data param for smart wallet util functions
- Updated dependencies [[`a75e4cc8`](https://github.com/thirdweb-dev/js/commit/a75e4cc80a5a36bf6baeeb40e8ae3be485d35618)]:
- @thirdweb-dev/chains@0.1.57
- @thirdweb-dev/sdk@4.0.9
## 2.0.9
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wallets",
"version": "2.0.9",
"version": "2.0.10",
"main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js",
"types": "dist/thirdweb-dev-wallets.cjs.d.ts",
@@ -3,6 +3,7 @@ import {
isContractDeployed,
ThirdwebSDK,
} from "@thirdweb-dev/sdk";
import { BytesLike } from "ethers";
export type AccessibleSmartWallets = {
owned: string;
@@ -81,12 +82,13 @@ export async function isSmartWalletDeployed(
chain: ChainOrRpcUrl,
factoryAddress: string,
personalWalletAddress: string,
data: BytesLike = "0x",
) {
const readOnlySDK = getSDK(chain);
const factoryContract = await readOnlySDK.getContract(factoryAddress);
const accountAddress = await factoryContract.call("getAddress", [
personalWalletAddress,
"0x",
data,
]);
const isDeployed = await isContractDeployed(
accountAddress,
@@ -106,12 +108,13 @@ export async function getSmartWalletAddress(
chain: ChainOrRpcUrl,
factoryAddress: string,
personalWalletAddress: string,
data: BytesLike = "0x",
): Promise<string> {
const readOnlySDK = getSDK(chain);
const factoryContract = await readOnlySDK.getContract(factoryAddress);
const accountAddress = await factoryContract.call("getAddress", [
personalWalletAddress,
"0x",
data,
]);
return accountAddress;
}