Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f5a0b796c | ||
|
|
5593037dd2 | ||
|
|
99fa2da05a | ||
|
|
001449de69 | ||
|
|
3c044508ee | ||
|
|
b001d6fa0a | ||
|
|
128a1fa63d | ||
|
|
a8395b4268 | ||
|
|
4d0e941ab1 | ||
|
|
c0755637cf | ||
|
|
6b81db5d0d | ||
|
|
cdfca2b56d | ||
|
|
50441b810b | ||
|
|
c23d8bd4ec | ||
|
|
b8ee2088c9 | ||
|
|
20dd8943ca | ||
|
|
c08a5f298d | ||
|
|
50834640af | ||
|
|
90bb1185ea | ||
|
|
9caa9d7a8d | ||
|
|
eb29adf157 | ||
|
|
e89f36b2b7 | ||
|
|
08855f3714 | ||
|
|
c4299918f2 | ||
|
|
6d36a1498a | ||
|
|
145ff4890f | ||
|
|
dd628cc84e | ||
|
|
d0934b777d | ||
|
|
d34e21bd06 | ||
|
|
7fcd60ec64 | ||
|
|
0006e547a4 | ||
|
|
1ed12557bb | ||
|
|
0ab14075d3 | ||
|
|
cf7b6fc7bc | ||
|
|
523cd1e16f |
@@ -15,6 +15,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"ora": "^6.3.1",
|
"ora": "^6.3.1",
|
||||||
"vite": "^5.2.8"
|
"vite": "^5.2.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,33 @@
|
|||||||
# @thirdweb-dev/auth
|
# @thirdweb-dev/auth
|
||||||
|
|
||||||
|
## 4.1.81
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.5.23
|
||||||
|
|
||||||
|
## 4.1.80
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.5.22
|
||||||
|
|
||||||
|
## 4.1.79
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.5.21
|
||||||
|
|
||||||
|
## 4.1.78
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.5.20
|
||||||
|
|
||||||
## 4.1.77
|
## 4.1.77
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/auth",
|
"name": "@thirdweb-dev/auth",
|
||||||
"version": "4.1.77",
|
"version": "4.1.81",
|
||||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||||
"browser": {
|
"browser": {
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/api-documenter": "^7.24.1",
|
"@microsoft/api-documenter": "^7.24.5",
|
||||||
"@microsoft/api-extractor": "^7.43.0",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@microsoft/tsdoc": "^0.14.2",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@preconstruct/cli": "2.7.0",
|
"@preconstruct/cli": "2.7.0",
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# @thirdweb-dev/chains
|
# @thirdweb-dev/chains
|
||||||
|
|
||||||
|
## 0.1.109
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3003](https://github.com/thirdweb-dev/js/pull/3003) [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||||
|
|
||||||
## 0.1.108
|
## 0.1.108
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",
|
|
||||||
"width": 512,
|
|
||||||
"height": 512,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://www.powergold.tech",
|
"infoURL": "https://www.powergold.tech",
|
||||||
"name": "PowerGold",
|
"name": "PowerGold",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Automata Testnet",
|
||||||
|
"chainId": 1398243,
|
||||||
|
"explorers": [],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmW7ugm31MRdhjGtimzWMK5N4g5L84tSyKMpZQYk6N9KvJ",
|
||||||
|
"width": 1676,
|
||||||
|
"height": 1600,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://ata.network",
|
||||||
|
"name": "Automata Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Ether",
|
||||||
|
"symbol": "ETH",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 1398243,
|
||||||
|
"rpc": [],
|
||||||
|
"shortName": "automatatest",
|
||||||
|
"slug": "automata-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Eclat",
|
||||||
|
"chainId": 165279,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Eclat Mainnet Explorer",
|
||||||
|
"url": "https://eclatscan.com",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",
|
||||||
|
"width": 500,
|
||||||
|
"height": 500,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://eclatscan.com",
|
||||||
|
"name": "Eclat Mainnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Eclat",
|
||||||
|
"symbol": "ECLAT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 165279,
|
||||||
|
"rpc": [
|
||||||
|
"https://165279.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://mainnet-rpc.eclatscan.com"
|
||||||
|
],
|
||||||
|
"shortName": "ECLAT",
|
||||||
|
"slug": "eclat",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -28,10 +28,10 @@ export default {
|
|||||||
"redFlags": [],
|
"redFlags": [],
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
"https://167008.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
"https://rpc.katla.taiko.xyz",
|
|
||||||
"wss://ws.katla.taiko.xyz",
|
|
||||||
"https://taiko-katla.drpc.org",
|
"https://taiko-katla.drpc.org",
|
||||||
"wss://taiko-katla.drpc.org"
|
"wss://taiko-katla.drpc.org",
|
||||||
|
"https://rpc.katla.taiko.xyz",
|
||||||
|
"wss://ws.katla.taiko.xyz"
|
||||||
],
|
],
|
||||||
"shortName": "tko-katla",
|
"shortName": "tko-katla",
|
||||||
"slug": "taiko-katla-l2",
|
"slug": "taiko-katla-l2",
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "dcchain",
|
||||||
|
"chainId": 176,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "dcscan",
|
||||||
|
"url": "https://exp.dcnetio.cloud",
|
||||||
|
"standard": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmQsNtUoaKUHWaxFMBuCQwkX9WmKHz7iNotcZTFkWo7Qgt",
|
||||||
|
"width": 1020,
|
||||||
|
"height": 1022,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://www.dcnetio.cloud",
|
||||||
|
"name": "DC Mainnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "DC Native Token",
|
||||||
|
"symbol": "DCT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 176,
|
||||||
|
"rpc": [
|
||||||
|
"https://176.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc.dcnetio.cloud",
|
||||||
|
"wss://ws.dcnetio.cloud"
|
||||||
|
],
|
||||||
|
"shortName": "dcchain",
|
||||||
|
"slug": "dc",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "ETH",
|
||||||
|
"chainId": 185,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "blockscout",
|
||||||
|
"url": "https://explorer.mintchain.io",
|
||||||
|
"standard": "EIP3091",
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",
|
||||||
|
"width": 96,
|
||||||
|
"height": 96,
|
||||||
|
"format": "png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmVfsiKWkiYzxoq1j2Ri3yLYGvgHJBPybVEPsgyw5kqsMN",
|
||||||
|
"width": 96,
|
||||||
|
"height": 96,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://www.mintchain.io",
|
||||||
|
"name": "Mint Mainnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Ether",
|
||||||
|
"symbol": "ETH",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 185,
|
||||||
|
"rpc": [
|
||||||
|
"https://185.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc.mintchain.io"
|
||||||
|
],
|
||||||
|
"shortName": "mint",
|
||||||
|
"slug": "mint",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -6,24 +6,12 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "telscan",
|
"name": "telscan",
|
||||||
"url": "https://telscan.io",
|
"url": "https://telscan.io",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",
|
|
||||||
"width": 79,
|
|
||||||
"height": 80,
|
|
||||||
"format": "svg"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
"https://telcoin.network/faucet"
|
"https://telcoin.network/faucet"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",
|
|
||||||
"width": 79,
|
|
||||||
"height": 80,
|
|
||||||
"format": "svg"
|
|
||||||
},
|
|
||||||
"infoURL": "https://telcoin.network",
|
"infoURL": "https://telcoin.network",
|
||||||
"name": "Adiri",
|
"name": "Adiri",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,35 +6,17 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "Taycan Explorer(Blockscout)",
|
"name": "Taycan Explorer(Blockscout)",
|
||||||
"url": "https://evmscan-test.hupayx.io",
|
"url": "https://evmscan-test.hupayx.io",
|
||||||
"standard": "none",
|
"standard": "none"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Taycan Cosmos Explorer",
|
"name": "Taycan Cosmos Explorer",
|
||||||
"url": "https://cosmoscan-test.hupayx.io",
|
"url": "https://cosmoscan-test.hupayx.io",
|
||||||
"standard": "none",
|
"standard": "none"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
"https://ttaycan-faucet.hupayx.io/"
|
"https://ttaycan-faucet.hupayx.io/"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://hupayx.io",
|
"infoURL": "https://hupayx.io",
|
||||||
"name": "Taycan Testnet",
|
"name": "Taycan Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,33 +6,15 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "Taycan Explorer(Blockscout)",
|
"name": "Taycan Explorer(Blockscout)",
|
||||||
"url": "https://taycan-evmscan.hupayx.io",
|
"url": "https://taycan-evmscan.hupayx.io",
|
||||||
"standard": "none",
|
"standard": "none"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Taycan Cosmos Explorer(BigDipper)",
|
"name": "Taycan Cosmos Explorer(BigDipper)",
|
||||||
"url": "https://taycan-cosmoscan.hupayx.io",
|
"url": "https://taycan-cosmoscan.hupayx.io",
|
||||||
"standard": "none",
|
"standard": "none"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
|
|
||||||
"width": 1000,
|
|
||||||
"height": 1206,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://hupayx.io",
|
"infoURL": "https://hupayx.io",
|
||||||
"name": "Taycan",
|
"name": "Taycan",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,34 +6,16 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "explorer",
|
"name": "explorer",
|
||||||
"url": "https://testnet.meldscan.io",
|
"url": "https://testnet.meldscan.io",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "explorer",
|
"name": "explorer",
|
||||||
"url": "https://subnets-test.avax.network/meld",
|
"url": "https://subnets-test.avax.network/meld",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"features": [],
|
"features": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://meld.com",
|
"infoURL": "https://meld.com",
|
||||||
"name": "Kanazawa",
|
"name": "Kanazawa",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",
|
|
||||||
"width": 400,
|
|
||||||
"height": 400,
|
|
||||||
"format": "svg"
|
|
||||||
},
|
|
||||||
"infoURL": "https://hydradx.io",
|
"infoURL": "https://hydradx.io",
|
||||||
"name": "HydraDX",
|
"name": "HydraDX",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -12,12 +12,6 @@ export default {
|
|||||||
"faucets": [
|
"faucets": [
|
||||||
"https://testnet.hashkeychain/faucet"
|
"https://testnet.hashkeychain/faucet"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",
|
|
||||||
"width": 1440,
|
|
||||||
"height": 448,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://www.hashkey.com",
|
"infoURL": "https://www.hashkey.com",
|
||||||
"name": "HashKey Chain Testnet(discard)",
|
"name": "HashKey Chain Testnet(discard)",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://docs.oasis.io/dapp/sapphire",
|
"infoURL": "https://docs.oasis.io/dapp/sapphire",
|
||||||
"name": "Oasis Sapphire",
|
"name": "Oasis Sapphire",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://docs.oasis.io/dapp/sapphire",
|
"infoURL": "https://docs.oasis.io/dapp/sapphire",
|
||||||
"name": "Oasis Sapphire Testnet",
|
"name": "Oasis Sapphire Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "WP",
|
||||||
|
"chainId": 260693,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Whalepass Explorer",
|
||||||
|
"url": "https://polkadot.js.org/apps/?rpc=wss://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network",
|
||||||
|
"standard": "EIP3091",
|
||||||
|
"icon": {
|
||||||
|
"url": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMTUgMTUgMTQwIDE0MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTcwIDE3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5iZ3tmaWxsOiByZ2JhKDE2MCwgMTYwLCAxNjAsIDAuMjUpfTwvc3R5bGU+CjxnPjxjaXJjbGUgY2xhc3M9ImJnIiBjeD0iODUiIGN5PSI4NSIgcj0iNzAiLz48L2c+Cjwvc3ZnPgo=",
|
||||||
|
"width": 83,
|
||||||
|
"height": 83,
|
||||||
|
"format": "svg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"features": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",
|
||||||
|
"width": 512,
|
||||||
|
"height": 512,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"name": "Whalepass Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Whalepass",
|
||||||
|
"symbol": "WP",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 260693,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://260693.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://fraa-flashbox-2684-rpc.a.stagenet.tanssi.network"
|
||||||
|
],
|
||||||
|
"shortName": "wptest",
|
||||||
|
"slug": "whalepass-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Eclat",
|
||||||
|
"chainId": 262371,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Eclat Testnet Explorer",
|
||||||
|
"url": "https://testnet-explorer.eclatscan.com",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.eclatscan.com"
|
||||||
|
],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://bafybeigpyvnir6awzgeazkk5xdkvexw7w6ww3yxawszue6zms4a5ygdfky",
|
||||||
|
"width": 500,
|
||||||
|
"height": 500,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://testnet-explorer.eclatscan.com",
|
||||||
|
"name": "Eclat Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Eclat Testnet",
|
||||||
|
"symbol": "ECLAT",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 262371,
|
||||||
|
"rpc": [
|
||||||
|
"https://262371.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://testnet-rpc.eclatscan.com"
|
||||||
|
],
|
||||||
|
"shortName": "tECLAT",
|
||||||
|
"slug": "eclat-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -29,8 +29,9 @@ export default {
|
|||||||
},
|
},
|
||||||
"rpc": [
|
"rpc": [
|
||||||
"https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
"https://2810.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
"https://rpc-holesky.morphl2.io",
|
"https://rpc-quicknode-holesky.morphl2.io",
|
||||||
"https://rpc-quicknode-holesky.morphl2.io"
|
"wss://rpc-quicknode-holesky.morphl2.io",
|
||||||
|
"https://rpc-holesky.morphl2.io"
|
||||||
],
|
],
|
||||||
"shortName": "hmorph",
|
"shortName": "hmorph",
|
||||||
"slip44": 1,
|
"slip44": 1,
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 2864,
|
||||||
|
"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": "QI0613I1",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QI0613I1 Token",
|
||||||
|
"symbol": "NPQ",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 2864,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://2864.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QI0613I1",
|
||||||
|
"slug": "qi0613i1",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Xchain",
|
||||||
|
"chainId": 31753,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Xchain Mainnet Explorer",
|
||||||
|
"url": "https://xchainscan.com",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",
|
||||||
|
"width": 500,
|
||||||
|
"height": 500,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://xchainscan.com",
|
||||||
|
"name": "Xchain Mainnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Intdestcoin",
|
||||||
|
"symbol": "INTD",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 31753,
|
||||||
|
"rpc": [
|
||||||
|
"https://31753.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc.xchainscan.com"
|
||||||
|
],
|
||||||
|
"shortName": "INTD",
|
||||||
|
"slug": "xchain",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Xchain",
|
||||||
|
"chainId": 31754,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Xchain Testnet Explorer",
|
||||||
|
"url": "https://xchaintest.net",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://xchainfaucet.net"
|
||||||
|
],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://bafybeia5n537fj2mkfcwmjfwktkmqrcwef3affdodhxnvmkg2gkvmbv2ke",
|
||||||
|
"width": 500,
|
||||||
|
"height": 500,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://xchaintest.net",
|
||||||
|
"name": "Xchain Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Intdestcoin Testnet",
|
||||||
|
"symbol": "INTD",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 31754,
|
||||||
|
"rpc": [
|
||||||
|
"https://31754.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc.xchaintest.net"
|
||||||
|
],
|
||||||
|
"shortName": "tINTD",
|
||||||
|
"slug": "xchain-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "ETH",
|
||||||
|
"chainId": 31929,
|
||||||
|
"explorers": [],
|
||||||
|
"faucets": [],
|
||||||
|
"features": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmQHysdcSj7FemPm96k6ShNrc7bMcuzcqpD1gcUPY3YjA3/photo_2024-05-13%2017.19.03.jpeg",
|
||||||
|
"width": 512,
|
||||||
|
"height": 512,
|
||||||
|
"format": "jpeg"
|
||||||
|
},
|
||||||
|
"name": "Worlds OP",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Ether",
|
||||||
|
"symbol": "ETH",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 31929,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [],
|
||||||
|
"shortName": "WorldsOP",
|
||||||
|
"slug": "worlds-op",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "NGL",
|
||||||
|
"chainId": 33033,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Entangle Mainnet Explorer",
|
||||||
|
"url": "https://explorer.entangle.fi",
|
||||||
|
"standard": "none"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",
|
||||||
|
"width": 100,
|
||||||
|
"height": 100,
|
||||||
|
"format": "svg"
|
||||||
|
},
|
||||||
|
"infoURL": "https://www.entangle.fi",
|
||||||
|
"name": "Entangle Mainnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Entangle",
|
||||||
|
"symbol": "NGL",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 33033,
|
||||||
|
"rpc": [
|
||||||
|
"https://33033.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://json-rpc.entangle.fi"
|
||||||
|
],
|
||||||
|
"shortName": "ngl",
|
||||||
|
"slug": "entangle",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "NGL",
|
||||||
|
"chainId": 33133,
|
||||||
|
"explorers": [],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmUQiosuH8ib8aXSpYcJRTje9Lro9VeZyd4cNXrXGY5r8D",
|
||||||
|
"width": 100,
|
||||||
|
"height": 100,
|
||||||
|
"format": "svg"
|
||||||
|
},
|
||||||
|
"infoURL": "https://www.entangle.fi",
|
||||||
|
"name": "Entangle Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Entangle",
|
||||||
|
"symbol": "NGL",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 33133,
|
||||||
|
"rpc": [
|
||||||
|
"https://33133.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://evm-testnet.entangle.fi"
|
||||||
|
],
|
||||||
|
"shortName": "tngl",
|
||||||
|
"slug": "entangle-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -6,34 +6,16 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "explorer",
|
"name": "explorer",
|
||||||
"url": "https://meldscan.io",
|
"url": "https://meldscan.io",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "explorer",
|
"name": "explorer",
|
||||||
"url": "https://subnets.avax.network/meld",
|
"url": "https://subnets.avax.network/meld",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"features": [],
|
"features": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
|
|
||||||
"width": 4000,
|
|
||||||
"height": 4000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://meld.com",
|
"infoURL": "https://meld.com",
|
||||||
"name": "Meld",
|
"name": "Meld",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,12 +6,6 @@ export default {
|
|||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet.polis.tech"
|
"https://faucet.polis.tech"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",
|
|
||||||
"width": 1050,
|
|
||||||
"height": 1050,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://polis.tech",
|
"infoURL": "https://polis.tech",
|
||||||
"name": "Polis Testnet",
|
"name": "Polis Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,12 +6,6 @@ export default {
|
|||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet.polis.tech"
|
"https://faucet.polis.tech"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",
|
|
||||||
"width": 1050,
|
|
||||||
"height": 1050,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://polis.tech",
|
"infoURL": "https://polis.tech",
|
||||||
"name": "Polis Mainnet",
|
"name": "Polis Mainnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -2,7 +2,13 @@ import type { Chain } from "../src/types";
|
|||||||
export default {
|
export default {
|
||||||
"chain": "DS2",
|
"chain": "DS2",
|
||||||
"chainId": 363636,
|
"chainId": 363636,
|
||||||
"explorers": [],
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Digit Soul Explorer",
|
||||||
|
"url": "https://dgs-exp.digitsoul.co.th",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
"icon": {
|
||||||
"url": "ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",
|
"url": "ipfs://QmRiAUu3xV5uiX6Nk1iXD5w6qjki5ugGFETRVavzJ2h5QF",
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "TBC",
|
||||||
|
"chainId": 4080,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "tobescan",
|
||||||
|
"url": "https://tobescan.com",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmXARMjJGkXEVEdjUyxkeG4ffsWvEo9vSJpVon3JwRxckS",
|
||||||
|
"width": 512,
|
||||||
|
"height": 512,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"infoURL": "https://tobechain.net",
|
||||||
|
"name": "Tobe Chain",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "Tobe Coin",
|
||||||
|
"symbol": "TBC",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 4080,
|
||||||
|
"rpc": [
|
||||||
|
"https://4080.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc.tobescan.com"
|
||||||
|
],
|
||||||
|
"shortName": "tbc",
|
||||||
|
"slug": "tobe-chain",
|
||||||
|
"testnet": false
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -12,12 +12,6 @@ export default {
|
|||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet.testnet.oasis.io/"
|
"https://faucet.testnet.oasis.io/"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://docs.oasis.io/dapp/emerald",
|
"infoURL": "https://docs.oasis.io/dapp/emerald",
|
||||||
"name": "Oasis Emerald Testnet",
|
"name": "Oasis Emerald Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2000,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://docs.oasis.io/dapp/emerald",
|
"infoURL": "https://docs.oasis.io/dapp/emerald",
|
||||||
"name": "Oasis Emerald",
|
"name": "Oasis Emerald",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ export default {
|
|||||||
"chainId": 43111,
|
"chainId": 43111,
|
||||||
"explorers": [],
|
"explorers": [],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",
|
||||||
|
"width": 1200,
|
||||||
|
"height": 1200,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
"infoURL": "https://hemi.xyz",
|
"infoURL": "https://hemi.xyz",
|
||||||
"name": "Hemi Network",
|
"name": "Hemi Network",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "BTC",
|
||||||
|
"chainId": 50097,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Zytron Explorer",
|
||||||
|
"url": "http://b2-testnet-zytron-blockscout.zypher.game/",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [],
|
||||||
|
"features": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "https://d391b93f5f62d9c15f67142e43841acc.ipfscdn.io/ipfs/bafybeiaav4gyweksnce4asrkqxxjevkpcx7xol6a72kzihrhppb5p5z6aa/zytron_T_white.png",
|
||||||
|
"width": 1420,
|
||||||
|
"height": 400,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
|
"name": "Zytron B2 Testnet",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "BTC",
|
||||||
|
"symbol": "BTC",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 50097,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [],
|
||||||
|
"shortName": "zytron-b2-testnet",
|
||||||
|
"slug": "zytron-b2-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",
|
|
||||||
"width": 600,
|
|
||||||
"height": 600,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://qiblockchain.online/",
|
"infoURL": "https://qiblockchain.online/",
|
||||||
"name": "QIE Blockchain",
|
"name": "QIE Blockchain",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -6,22 +6,10 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "Genesys Scan",
|
"name": "Genesys Scan",
|
||||||
"url": "https://genesysscan.io",
|
"url": "https://genesysscan.io",
|
||||||
"standard": "none",
|
"standard": "none"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
|
|
||||||
"width": 512,
|
|
||||||
"height": 512,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
|
|
||||||
"width": 512,
|
|
||||||
"height": 512,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://genesyscode.io",
|
"infoURL": "https://genesyscode.io",
|
||||||
"name": "Genesys Code Mainnet",
|
"name": "Genesys Code Mainnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -2,7 +2,19 @@ import type { Chain } from "../src/types";
|
|||||||
export default {
|
export default {
|
||||||
"chain": "ETH",
|
"chain": "ETH",
|
||||||
"chainId": 62050,
|
"chainId": 62050,
|
||||||
"explorers": [],
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "optopia-scan",
|
||||||
|
"url": "https://scan.optopia.ai",
|
||||||
|
"standard": "EIP3091",
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://bafkreid3xv3zkuo2cygwt7vwm5c2aqjbyhy5qxn7xkc66ajhu2mjh2ybki",
|
||||||
|
"width": 1000,
|
||||||
|
"height": 1000,
|
||||||
|
"format": "png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"features": [
|
"features": [
|
||||||
{
|
{
|
||||||
@@ -25,11 +37,19 @@ export default {
|
|||||||
"networkId": 62050,
|
"networkId": 62050,
|
||||||
"parent": {
|
"parent": {
|
||||||
"type": "L2",
|
"type": "L2",
|
||||||
"chain": "eip155-1"
|
"chain": "eip155-1",
|
||||||
|
"bridges": [
|
||||||
|
{
|
||||||
|
"url": "https://bridge.optopia.ai"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"rpc": [],
|
"rpc": [
|
||||||
|
"https://62050.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://rpc-mainnet.optopia.ai",
|
||||||
|
"https://rpc-mainnet-2.optopia.ai"
|
||||||
|
],
|
||||||
"shortName": "Optopia",
|
"shortName": "Optopia",
|
||||||
"slug": "optopia",
|
"slug": "optopia",
|
||||||
"status": "incubating",
|
|
||||||
"testnet": false
|
"testnet": false
|
||||||
} as const satisfies Chain;
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 62831,
|
||||||
|
"explorers": [
|
||||||
|
{
|
||||||
|
"name": "Avalanche Subnet Testnet Explorer",
|
||||||
|
"url": "https://subnets-test.avax.network/plyr",
|
||||||
|
"standard": "EIP3091"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"faucets": [
|
||||||
|
"https://faucet.avax.network/?subnet=plyr"
|
||||||
|
],
|
||||||
|
"features": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"format": "svg"
|
||||||
|
},
|
||||||
|
"infoURL": "https://avacloud.io",
|
||||||
|
"name": "PLYR TAU TESTNET",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "PLYR TAU TESTNET Token",
|
||||||
|
"symbol": "PLYR",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 62831,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://62831.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/plyr/testnet/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "PLYR TAU TESTNET",
|
||||||
|
"slip44": 1,
|
||||||
|
"slug": "plyr-tau-testnet",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 68042,
|
||||||
|
"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": "QI0514s1",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QI0514s1 Token",
|
||||||
|
"symbol": "TQA",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 68042,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://68042.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QI0514s1",
|
||||||
|
"slug": "qi0514s1",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -19,12 +19,6 @@ export default {
|
|||||||
"https://faucet.triangleplatform.com/frame"
|
"https://faucet.triangleplatform.com/frame"
|
||||||
],
|
],
|
||||||
"features": [],
|
"features": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",
|
|
||||||
"width": 512,
|
|
||||||
"height": 512,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://frame.xyz",
|
"infoURL": "https://frame.xyz",
|
||||||
"name": "Frame Testnet",
|
"name": "Frame Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2243,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://icb.network",
|
"infoURL": "https://icb.network",
|
||||||
"name": "ICB Testnet",
|
"name": "ICB Testnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -10,12 +10,6 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
|
|
||||||
"width": 2000,
|
|
||||||
"height": 2243,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://icb.network",
|
"infoURL": "https://icb.network",
|
||||||
"name": "ICB Network",
|
"name": "ICB Network",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 73322,
|
||||||
|
"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": "QaUser7831",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QaUser7831 Token",
|
||||||
|
"symbol": "RAN",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 73322,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://73322.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QaUser7831",
|
||||||
|
"slug": "qauser7831",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -5,7 +5,7 @@ export default {
|
|||||||
"explorers": [
|
"explorers": [
|
||||||
{
|
{
|
||||||
"name": "blockscout",
|
"name": "blockscout",
|
||||||
"url": "https://testnet.explorer.hemi.network",
|
"url": "https://testnet.explorer.hemi.xyz",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091",
|
||||||
"icon": {
|
"icon": {
|
||||||
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
|
||||||
@@ -16,6 +16,12 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [],
|
"faucets": [],
|
||||||
|
"icon": {
|
||||||
|
"url": "ipfs://QmfP6GDn5eXFcpWuoiyWn5pjn6PYB7HQhRD8nSko1zR8KD",
|
||||||
|
"width": 1200,
|
||||||
|
"height": 1200,
|
||||||
|
"format": "png"
|
||||||
|
},
|
||||||
"infoURL": "https://hemi.xyz",
|
"infoURL": "https://hemi.xyz",
|
||||||
"name": "Hemi Sepolia",
|
"name": "Hemi Sepolia",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 79466,
|
||||||
|
"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": "QI0513I2",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QI0513I2 Token",
|
||||||
|
"symbol": "YSC",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 79466,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://79466.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QI0513I2",
|
||||||
|
"slug": "qi0513i2",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 87389,
|
||||||
|
"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": "QaUser1804",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QaUser1804 Token",
|
||||||
|
"symbol": "UOA",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 87389,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://87389.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QaUser1804",
|
||||||
|
"slug": "qauser1804",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -6,24 +6,12 @@ export default {
|
|||||||
{
|
{
|
||||||
"name": "mmtscan",
|
"name": "mmtscan",
|
||||||
"url": "https://mmtscan.io",
|
"url": "https://mmtscan.io",
|
||||||
"standard": "EIP3091",
|
"standard": "EIP3091"
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",
|
|
||||||
"width": 250,
|
|
||||||
"height": 250,
|
|
||||||
"format": "png"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"faucets": [
|
"faucets": [
|
||||||
"https://faucet.mmtscan.io/"
|
"https://faucet.mmtscan.io/"
|
||||||
],
|
],
|
||||||
"icon": {
|
|
||||||
"url": "ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",
|
|
||||||
"width": 250,
|
|
||||||
"height": 250,
|
|
||||||
"format": "png"
|
|
||||||
},
|
|
||||||
"infoURL": "https://mmtchain.io/",
|
"infoURL": "https://mmtchain.io/",
|
||||||
"name": "Mammoth Mainnet",
|
"name": "Mammoth Mainnet",
|
||||||
"nativeCurrency": {
|
"nativeCurrency": {
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import type { Chain } from "../src/types";
|
||||||
|
export default {
|
||||||
|
"chain": "Avalanche",
|
||||||
|
"chainId": 958798,
|
||||||
|
"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": "QR0513T1TS",
|
||||||
|
"nativeCurrency": {
|
||||||
|
"name": "QR0513T1TS Token",
|
||||||
|
"symbol": "PME",
|
||||||
|
"decimals": 18
|
||||||
|
},
|
||||||
|
"networkId": 958798,
|
||||||
|
"redFlags": [],
|
||||||
|
"rpc": [
|
||||||
|
"https://958798.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||||
|
"https://subnets.avax.network/qr0513t1ts/testnet/rpc"
|
||||||
|
],
|
||||||
|
"shortName": "QR0513T1TS",
|
||||||
|
"slug": "qr0513t1ts",
|
||||||
|
"testnet": true
|
||||||
|
} as const satisfies Chain;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/chains",
|
"name": "@thirdweb-dev/chains",
|
||||||
"version": "0.1.108",
|
"version": "0.1.109",
|
||||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,44 @@
|
|||||||
# thirdweb
|
# thirdweb
|
||||||
|
|
||||||
|
## 0.13.89
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.83
|
||||||
|
- @thirdweb-dev/wallets@2.5.23
|
||||||
|
- @thirdweb-dev/auth@4.1.81
|
||||||
|
|
||||||
|
## 0.13.88
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3029](https://github.com/thirdweb-dev/js/pull/3029) [`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd) Thanks [@kumaryash90](https://github.com/kumaryash90)! - zksolc publish and deploy fixes
|
||||||
|
|
||||||
|
- Updated dependencies [[`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd), [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237), [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- @thirdweb-dev/sdk@4.0.82
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
- @thirdweb-dev/wallets@2.5.22
|
||||||
|
- @thirdweb-dev/auth@4.1.80
|
||||||
|
|
||||||
|
## 0.13.87
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.81
|
||||||
|
- @thirdweb-dev/wallets@2.5.21
|
||||||
|
- @thirdweb-dev/auth@4.1.79
|
||||||
|
|
||||||
|
## 0.13.86
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.80
|
||||||
|
- @thirdweb-dev/wallets@2.5.20
|
||||||
|
- @thirdweb-dev/auth@4.1.78
|
||||||
|
|
||||||
## 0.13.85
|
## 0.13.85
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/cli",
|
"name": "@thirdweb-dev/cli",
|
||||||
"main": "dist/cli/index.js",
|
"main": "dist/cli/index.js",
|
||||||
"version": "0.13.85",
|
"version": "0.13.89",
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
|
||||||
"author": "thirdweb eng <[email protected]>",
|
"author": "thirdweb eng <[email protected]>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|||||||
@@ -115,10 +115,24 @@ export async function processProject(
|
|||||||
if (
|
if (
|
||||||
compiledResult.contracts.length !== zkCompiledResult.contracts.length
|
compiledResult.contracts.length !== zkCompiledResult.contracts.length
|
||||||
) {
|
) {
|
||||||
logger.error(
|
// Extract common filenames from both contract lists
|
||||||
"Length mismatch: zksolc and solc compiled contracts differ.",
|
const solcFileNames = new Set(
|
||||||
|
compiledResult.contracts.map((c) => c.fileName),
|
||||||
|
);
|
||||||
|
const zkFileNames = new Set(
|
||||||
|
zkCompiledResult.contracts.map((c) => c.fileName),
|
||||||
|
);
|
||||||
|
const commonFileNames = new Set(
|
||||||
|
[...solcFileNames].filter((name) => zkFileNames.has(name)),
|
||||||
|
);
|
||||||
|
|
||||||
|
// Include only those contracts with filenames in the common set above
|
||||||
|
compiledResult.contracts = compiledResult.contracts.filter((c) =>
|
||||||
|
commonFileNames.has(c.fileName),
|
||||||
|
);
|
||||||
|
zkCompiledResult.contracts = zkCompiledResult.contracts.filter((c) =>
|
||||||
|
commonFileNames.has(c.fileName),
|
||||||
);
|
);
|
||||||
process.exit(1);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
zkCompiledResult = { contracts: [] };
|
zkCompiledResult = { contracts: [] };
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export async function execute(
|
|||||||
command: string,
|
command: string,
|
||||||
projectPath: string,
|
projectPath: string,
|
||||||
options = { log: false, cwd: projectPath },
|
options = { log: false, cwd: projectPath },
|
||||||
timeout = 300_000, // 5 minute timeout by default
|
timeout = 1_200_000, // 20 minute timeout by default
|
||||||
): Promise<{ stdout: string; stderr: string }> {
|
): Promise<{ stdout: string; stderr: string }> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const process = exec(command, { ...options }, (err, stdout, stderr) => {
|
const process = exec(command, { ...options }, (err, stdout, stderr) => {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "7.5.0",
|
"@typescript-eslint/eslint-plugin": "7.5.0",
|
||||||
"@typescript-eslint/parser": "7.5.0",
|
"@typescript-eslint/parser": "7.9.0",
|
||||||
"eslint-config-next": "14.2.1",
|
"eslint-config-next": "14.2.1",
|
||||||
"eslint-config-prettier": "9.1.0",
|
"eslint-config-prettier": "9.1.0",
|
||||||
"eslint-config-turbo": "1.13.2",
|
"eslint-config-turbo": "1.13.2",
|
||||||
|
|||||||
@@ -1,5 +1,42 @@
|
|||||||
# @thirdweb-dev/react-core
|
# @thirdweb-dev/react-core
|
||||||
|
|
||||||
|
## 4.6.22
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.83
|
||||||
|
- @thirdweb-dev/wallets@2.5.23
|
||||||
|
- @thirdweb-dev/auth@4.1.81
|
||||||
|
|
||||||
|
## 4.6.21
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd), [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237), [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- @thirdweb-dev/sdk@4.0.82
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
- @thirdweb-dev/wallets@2.5.22
|
||||||
|
- @thirdweb-dev/auth@4.1.80
|
||||||
|
|
||||||
|
## 4.6.20
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.81
|
||||||
|
- @thirdweb-dev/wallets@2.5.21
|
||||||
|
- @thirdweb-dev/auth@4.1.79
|
||||||
|
|
||||||
|
## 4.6.19
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.80
|
||||||
|
- @thirdweb-dev/wallets@2.5.20
|
||||||
|
- @thirdweb-dev/auth@4.1.78
|
||||||
|
|
||||||
## 4.6.18
|
## 4.6.18
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/react-core",
|
"name": "@thirdweb-dev/react-core",
|
||||||
"version": "4.6.18",
|
"version": "4.6.22",
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
||||||
"author": "thirdweb eng <[email protected]>",
|
"author": "thirdweb eng <[email protected]>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-react": "^7.24.1",
|
"@babel/preset-react": "^7.24.1",
|
||||||
"@babel/runtime": "^7.24.5",
|
"@babel/runtime": "^7.24.5",
|
||||||
"@microsoft/api-documenter": "^7.24.1",
|
"@microsoft/api-documenter": "^7.24.5",
|
||||||
"@microsoft/api-extractor": "^7.43.0",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@microsoft/tsdoc": "^0.14.2",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@preconstruct/cli": "2.7.0",
|
"@preconstruct/cli": "2.7.0",
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,42 @@
|
|||||||
# @thirdweb-dev/react
|
# @thirdweb-dev/react
|
||||||
|
|
||||||
|
## 4.6.22
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.83
|
||||||
|
- @thirdweb-dev/react-core@4.6.22
|
||||||
|
- @thirdweb-dev/wallets@2.5.23
|
||||||
|
|
||||||
|
## 4.6.21
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd), [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237), [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- @thirdweb-dev/sdk@4.0.82
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
- @thirdweb-dev/react-core@4.6.21
|
||||||
|
- @thirdweb-dev/wallets@2.5.22
|
||||||
|
|
||||||
|
## 4.6.20
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.81
|
||||||
|
- @thirdweb-dev/react-core@4.6.20
|
||||||
|
- @thirdweb-dev/wallets@2.5.21
|
||||||
|
|
||||||
|
## 4.6.19
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.80
|
||||||
|
- @thirdweb-dev/react-core@4.6.19
|
||||||
|
- @thirdweb-dev/wallets@2.5.20
|
||||||
|
|
||||||
## 4.6.18
|
## 4.6.18
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/react",
|
"name": "@thirdweb-dev/react",
|
||||||
"version": "4.6.18",
|
"version": "4.6.22",
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
|
||||||
"author": "thirdweb eng <[email protected]>",
|
"author": "thirdweb eng <[email protected]>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"sideEffects:": false,
|
"sideEffects:": false,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/runtime": "^7.24.5",
|
"@babel/runtime": "^7.24.5",
|
||||||
"@microsoft/api-documenter": "^7.24.1",
|
"@microsoft/api-documenter": "^7.24.5",
|
||||||
"@microsoft/api-extractor": "^7.43.0",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@microsoft/tsdoc": "^0.14.2",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@preconstruct/cli": "2.7.0",
|
"@preconstruct/cli": "2.7.0",
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,40 @@
|
|||||||
# @thirdweb-dev/sdk
|
# @thirdweb-dev/sdk
|
||||||
|
|
||||||
|
## 4.0.83
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`3c04450`](https://github.com/thirdweb-dev/js/commit/3c044508eee18ca741878da43e199ed4cc0528b7), [`99fa2da`](https://github.com/thirdweb-dev/js/commit/99fa2da05abc32646036a2269f90213c5756a5ba)]:
|
||||||
|
- thirdweb@5.21.0
|
||||||
|
|
||||||
|
## 4.0.82
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3029](https://github.com/thirdweb-dev/js/pull/3029) [`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd) Thanks [@kumaryash90](https://github.com/kumaryash90)! - zksolc publish and deploy fixes
|
||||||
|
|
||||||
|
- [#3025](https://github.com/thirdweb-dev/js/pull/3025) [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237) Thanks [@kumaryash90](https://github.com/kumaryash90)! - Latest versions of drop and token contracts on zksync
|
||||||
|
|
||||||
|
- [#3019](https://github.com/thirdweb-dev/js/pull/3019) [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f) Thanks [@kumaryash90](https://github.com/kumaryash90)! - zksync prebuilt addresses
|
||||||
|
|
||||||
|
- Updated dependencies [[`9caa9d7`](https://github.com/thirdweb-dev/js/commit/9caa9d7a8df173d06ddaf3a8fab929f65adab092), [`eb29adf`](https://github.com/thirdweb-dev/js/commit/eb29adf157103cc277d6787c8427403b2eba8472), [`5083464`](https://github.com/thirdweb-dev/js/commit/50834640af8a8c17483465f308642e266dbac290), [`145ff48`](https://github.com/thirdweb-dev/js/commit/145ff4890fa763288610b2e1af152e7827ec0d8e), [`c08a5f2`](https://github.com/thirdweb-dev/js/commit/c08a5f298d59f0b54b4b941d719911c294b8bf04), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- thirdweb@5.20.0
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
|
||||||
|
## 4.0.81
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`0006e54`](https://github.com/thirdweb-dev/js/commit/0006e547a4425406101ef85c635b83c5c6186d1d)]:
|
||||||
|
- thirdweb@5.19.1
|
||||||
|
|
||||||
|
## 4.0.80
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`0ab1407`](https://github.com/thirdweb-dev/js/commit/0ab14075d37aec27167c5885155f48ea880c9574), [`523cd1e`](https://github.com/thirdweb-dev/js/commit/523cd1e16fd1194ffbf8970150ed6f09d4e01fe9), [`cf7b6fc`](https://github.com/thirdweb-dev/js/commit/cf7b6fc7bc1686f3b4c54515d569d799d5e3ceea)]:
|
||||||
|
- thirdweb@5.19.0
|
||||||
|
|
||||||
## 4.0.79
|
## 4.0.79
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/sdk",
|
"name": "@thirdweb-dev/sdk",
|
||||||
"version": "4.0.79",
|
"version": "4.0.83",
|
||||||
"description": "The main thirdweb SDK.",
|
"description": "The main thirdweb SDK.",
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@aws-sdk/client-secrets-manager": "^3.549.0",
|
"@aws-sdk/client-secrets-manager": "^3.549.0",
|
||||||
"@ethersproject/abstract-provider": "^5.7.0",
|
"@ethersproject/abstract-provider": "^5.7.0",
|
||||||
"@microsoft/api-documenter": "^7.24.1",
|
"@microsoft/api-documenter": "^7.24.5",
|
||||||
"@microsoft/api-extractor": "^7.43.0",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@microsoft/tsdoc": "^0.14.2",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@nomiclabs/hardhat-ethers": "^2.2.3",
|
"@nomiclabs/hardhat-ethers": "^2.2.3",
|
||||||
|
|||||||
@@ -87,35 +87,55 @@ export const IMPLEMENTATIONS: Record<number, Record<string, string>> = {
|
|||||||
|
|
||||||
// ZKSync Era Sepolia Testnet
|
// ZKSync Era Sepolia Testnet
|
||||||
[300]: {
|
[300]: {
|
||||||
DropERC721: "0x0006BC0D8Bf9D91290Df89341F936c612D6978eb",
|
DropERC721: "0x77121698E15e307D40eE1F1C6dF0ec7340F8eE71",
|
||||||
DropERC1155: "0xe0AD48286BF27AE0C5953d4417fB37f3FECABB4a",
|
DropERC1155: "0xFA0D78F98dEf58a4f458e3dCaa59D6778ea32c14",
|
||||||
DropERC20: "0xA77041a7A34A67D7285c8d3550110e441009436e",
|
DropERC20: "0x6026C3b81927f9f3bD943c32F8605C1774Df79f2",
|
||||||
SignatureDrop: "",
|
SignatureDrop: "",
|
||||||
Marketplace: "",
|
Marketplace: "",
|
||||||
MarketplaceV3: "0x58e0F289C7dD2025eBd0696d913ECC0fdc1CC8bc",
|
MarketplaceV3: "0x58e0F289C7dD2025eBd0696d913ECC0fdc1CC8bc",
|
||||||
TokenERC721: "0x9742f5ac11958cFAd151eBF0Fc31302fA409036E",
|
TokenERC721: "0xA2bD9922fE19E441FF799D76B89Fa8495B60CcB3",
|
||||||
TokenERC1155: "0x4027561E163a420c4e5Db46E07EBd581CAa8Bb62",
|
TokenERC1155: "0x99E6dc722AeF030A4F8DCa5d8387b07E66A3991B",
|
||||||
TokenERC20: "0xf3C7d3F0AA374a2D32489929e24D3e9313Aec8bb",
|
TokenERC20: "0xfCA4441848067f8dB83902Da0f177989ecc6328f",
|
||||||
AirdropERC20: "0x4b14569c7B79DBe686Ac3Ba5996131E7EDaB7a93",
|
AirdropERC20: "0x4b14569c7B79DBe686Ac3Ba5996131E7EDaB7a93",
|
||||||
AirdropERC721: "0xDD3E3BBa3bb4edcbbEa9d52Cd1E49289Ef3DfDE3",
|
AirdropERC721: "0xDD3E3BBa3bb4edcbbEa9d52Cd1E49289Ef3DfDE3",
|
||||||
AirdropERC1155: "0x8A4E9034BC6ac77E1408AC878e0603A32B5d4b73",
|
AirdropERC1155: "0x8A4E9034BC6ac77E1408AC878e0603A32B5d4b73",
|
||||||
|
NFTStake: "0x62A032fd158EBC4044F6B4D3F42a0e5EE427803e",
|
||||||
|
TokenStake: "0x364d188b53d5A37732f5e79C33270CAAF8Bf39D0",
|
||||||
|
EditionStake: "0x81ED186CEBcC9428C6cB4859B9827636ff2e053F",
|
||||||
|
VoteERC20: "0x2cf6e5ba0746Eb48B5066947E8C56982D8E4121E",
|
||||||
|
Split: "0x13f25360dd3f9096c3e2cBe60b95c45b11ADB7E4",
|
||||||
|
OpenEditionERC721: "0xA405a38A75194a8ea88bE695Aa8bdc74E905a903",
|
||||||
|
Airdrop: "0x838Dbc16A6bc7B5B6f86B7f4818f6c4d41F31f91",
|
||||||
|
Pack: "0x9Fdf34f552cdA8E2B0cD64e2EddcB732a5Ff8455",
|
||||||
|
LoyaltyCard: "0xD5B1435b359c88FF69979166Cb6EC268Be79C6F7",
|
||||||
|
Multiwrap: "0x5a2524Ca4E4f86a34382C5be871F34f50F014d84",
|
||||||
},
|
},
|
||||||
|
|
||||||
// ZKSync Era Mainnet
|
// ZKSync Era Mainnet
|
||||||
[324]: {
|
[324]: {
|
||||||
DropERC721: "0x9742f5ac11958cFAd151eBF0Fc31302fA409036E",
|
DropERC721: "0x9F92368dD2AbCD1f8067Ea7094f78CCe70bBa944",
|
||||||
DropERC1155: "0x4027561E163a420c4e5Db46E07EBd581CAa8Bb62",
|
DropERC1155: "0xdb73302820d610c26242c9fbD0fCFA5C5acE3866",
|
||||||
DropERC20: "0xf3C7d3F0AA374a2D32489929e24D3e9313Aec8bb",
|
DropERC20: "0x5FC7d4642b37DfCe89A416775d36E023593c7dD5",
|
||||||
SignatureDrop: "",
|
SignatureDrop: "",
|
||||||
Marketplace: "",
|
Marketplace: "",
|
||||||
MarketplaceV3: "0xBc02441a36Bb4029Cd191b20243c2e41B862F118",
|
MarketplaceV3: "0xBc02441a36Bb4029Cd191b20243c2e41B862F118",
|
||||||
MarketplaceV3_aux: "0x5a2524Ca4E4f86a34382C5be871F34f50F014d84",
|
MarketplaceV3_aux: "0x5a2524Ca4E4f86a34382C5be871F34f50F014d84",
|
||||||
TokenERC721: "0x26279882D5E93045D4FA986847CAAC048b2Bac3b",
|
TokenERC721: "0xAE6146cE093FfEED659a8d5f9904b18B770f5215",
|
||||||
TokenERC1155: "0xA8E28D98203848401A4f924358e6c337153D0f04",
|
TokenERC1155: "0xdD60A8002086210e21FC4F7E73Ff0260D0252085",
|
||||||
TokenERC20: "0x56Abb6a3f25DCcdaDa106191053b1CC54C196DEE",
|
TokenERC20: "0x64c4aC19F2173E7c0B6eB922CF05DC410Feb2176",
|
||||||
AirdropERC20: "0xDD3E3BBa3bb4edcbbEa9d52Cd1E49289Ef3DfDE3",
|
AirdropERC20: "0xDD3E3BBa3bb4edcbbEa9d52Cd1E49289Ef3DfDE3",
|
||||||
AirdropERC721: "0x8A4E9034BC6ac77E1408AC878e0603A32B5d4b73",
|
AirdropERC721: "0x8A4E9034BC6ac77E1408AC878e0603A32B5d4b73",
|
||||||
AirdropERC1155: "0xcd3555c6058278E725A5b66d2D89aCc3b211768b",
|
AirdropERC1155: "0xcd3555c6058278E725A5b66d2D89aCc3b211768b",
|
||||||
|
NFTStake: "0x534548302852C9A311b8E74d05f71478a08D5107",
|
||||||
|
TokenStake: "0x73DC91aD22F8d8c1048d9E8da1C055B9Bcc7E0ab",
|
||||||
|
EditionStake: "0xfd8355dB4e86d36Bd06B7d0691C5d440E52F8885",
|
||||||
|
VoteERC20: "0xff0AAe2734625AeF5C006235cb9Ce89aa389B5d2",
|
||||||
|
Split: "0x22c0232257Be71224e668BA7B818395d1d33248F",
|
||||||
|
OpenEditionERC721: "0x282eC3fD1F2650a5CC65300E1aC26A32013e7a81",
|
||||||
|
Airdrop: "0xf74326EC19A0fEd89EE3A2232C7Cc5Fa7E3D8083",
|
||||||
|
Pack: "0x9636a57A7A250C1EB93DfF8Ff21CB424Dec54e88",
|
||||||
|
LoyaltyCard: "0x30995E43c78b92fd4F478A908b30b1e18926f4CE",
|
||||||
|
Multiwrap: "0xffa87d4e9bEb7318199Dada520E9AC3bf897a3d7",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ export async function zkDeployContractFromUri(
|
|||||||
storage,
|
storage,
|
||||||
options?.compilerOptions,
|
options?.compilerOptions,
|
||||||
);
|
);
|
||||||
|
|
||||||
let deterministicDeployment = false;
|
let deterministicDeployment = false;
|
||||||
if (options?.compilerOptions && extendedMetadata?.compilers) {
|
if (options?.compilerOptions && extendedMetadata?.compilers) {
|
||||||
if (options.compilerOptions.compilerType !== "zksolc") {
|
if (options.compilerOptions.compilerType !== "zksolc") {
|
||||||
@@ -147,15 +146,19 @@ export async function zkDeployContractFromUri(
|
|||||||
`implementationInitializerFunction not set'`,
|
`implementationInitializerFunction not set'`,
|
||||||
);
|
);
|
||||||
|
|
||||||
implementationAddress = await zkDeployViaAutoFactory(
|
try {
|
||||||
{ compilerMetadata, extendedMetadata },
|
implementationAddress = await zkDeployViaAutoFactory(
|
||||||
signer,
|
{ compilerMetadata, extendedMetadata },
|
||||||
storage,
|
signer,
|
||||||
options,
|
storage,
|
||||||
clientId,
|
options,
|
||||||
secretKey,
|
clientId,
|
||||||
);
|
secretKey,
|
||||||
} else {
|
);
|
||||||
|
} catch (e) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!implementationAddress) {
|
||||||
implementationAddress = getImplementation(
|
implementationAddress = getImplementation(
|
||||||
chainId,
|
chainId,
|
||||||
compilerMetadata.name,
|
compilerMetadata.name,
|
||||||
|
|||||||
Binary file not shown.
@@ -31,7 +31,7 @@
|
|||||||
"exports": true
|
"exports": true
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/api-documenter": "^7.24.1",
|
"@microsoft/api-documenter": "^7.24.5",
|
||||||
"@microsoft/api-extractor": "^7.43.0",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@microsoft/tsdoc": "^0.14.2",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@preconstruct/cli": "2.7.0",
|
"@preconstruct/cli": "2.7.0",
|
||||||
|
|||||||
Binary file not shown.
@@ -1,5 +1,44 @@
|
|||||||
# @thirdweb-dev/unity-js-bridge
|
# @thirdweb-dev/unity-js-bridge
|
||||||
|
|
||||||
|
## 0.6.32
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.83
|
||||||
|
- @thirdweb-dev/wallets@2.5.23
|
||||||
|
- @thirdweb-dev/auth@4.1.81
|
||||||
|
|
||||||
|
## 0.6.31
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3021](https://github.com/thirdweb-dev/js/pull/3021) [`c429991`](https://github.com/thirdweb-dev/js/commit/c4299918f2f8f77950f1a9b93a549dcb7347c088) Thanks [@0xFirekeeper](https://github.com/0xFirekeeper)! - Unity 4.13.0
|
||||||
|
|
||||||
|
- Updated dependencies [[`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd), [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237), [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- @thirdweb-dev/sdk@4.0.82
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
- @thirdweb-dev/wallets@2.5.22
|
||||||
|
- @thirdweb-dev/auth@4.1.80
|
||||||
|
|
||||||
|
## 0.6.30
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.81
|
||||||
|
- @thirdweb-dev/wallets@2.5.21
|
||||||
|
- @thirdweb-dev/auth@4.1.79
|
||||||
|
|
||||||
|
## 0.6.29
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.80
|
||||||
|
- @thirdweb-dev/wallets@2.5.20
|
||||||
|
- @thirdweb-dev/auth@4.1.78
|
||||||
|
|
||||||
## 0.6.28
|
## 0.6.28
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/unity-js-bridge",
|
"name": "@thirdweb-dev/unity-js-bridge",
|
||||||
"version": "0.6.28",
|
"version": "0.6.32",
|
||||||
"main": "dist/thirdweb-unity-bridge.js",
|
"main": "dist/thirdweb-unity-bridge.js",
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ class ThirdwebBridge implements TWBridge {
|
|||||||
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
||||||
(globalThis as any).X_SDK_PLATFORM = "unity";
|
(globalThis as any).X_SDK_PLATFORM = "unity";
|
||||||
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
||||||
(globalThis as any).X_SDK_VERSION = "4.12.4";
|
(globalThis as any).X_SDK_VERSION = "4.13.0";
|
||||||
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
|
||||||
(globalThis as any).X_SDK_OS = browser?.os ?? "unknown";
|
(globalThis as any).X_SDK_OS = browser?.os ?? "unknown";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,34 @@
|
|||||||
# @thirdweb-dev/wallets
|
# @thirdweb-dev/wallets
|
||||||
|
|
||||||
|
## 2.5.23
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.83
|
||||||
|
|
||||||
|
## 2.5.22
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`cdfca2b`](https://github.com/thirdweb-dev/js/commit/cdfca2b56d6172e06173384ac608df14045bebfd), [`e89f36b`](https://github.com/thirdweb-dev/js/commit/e89f36b2b73f09d49bbffa2f707f8d8f32089237), [`6d36a14`](https://github.com/thirdweb-dev/js/commit/6d36a1498a533c6184c90fff65699465f9786b2f), [`d34e21b`](https://github.com/thirdweb-dev/js/commit/d34e21bd060a2e9c9ee095742ae954a3eadc6a7c)]:
|
||||||
|
- @thirdweb-dev/sdk@4.0.82
|
||||||
|
- @thirdweb-dev/chains@0.1.109
|
||||||
|
|
||||||
|
## 2.5.21
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.81
|
||||||
|
|
||||||
|
## 2.5.20
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/sdk@4.0.80
|
||||||
|
|
||||||
## 2.5.19
|
## 2.5.19
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/wallets",
|
"name": "@thirdweb-dev/wallets",
|
||||||
"version": "2.5.19",
|
"version": "2.5.23",
|
||||||
"main": "dist/thirdweb-dev-wallets.cjs.js",
|
"main": "dist/thirdweb-dev-wallets.cjs.js",
|
||||||
"module": "dist/thirdweb-dev-wallets.esm.js",
|
"module": "dist/thirdweb-dev-wallets.esm.js",
|
||||||
"browser": {
|
"browser": {
|
||||||
@@ -541,7 +541,7 @@
|
|||||||
"@walletconnect/jsonrpc-utils": "^1.0.8",
|
"@walletconnect/jsonrpc-utils": "^1.0.8",
|
||||||
"@walletconnect/modal": "^2.6.2",
|
"@walletconnect/modal": "^2.6.2",
|
||||||
"@walletconnect/types": "^2.12.1",
|
"@walletconnect/types": "^2.12.1",
|
||||||
"@walletconnect/utils": "^2.12.2",
|
"@walletconnect/utils": "^2.13.0",
|
||||||
"@walletconnect/web3wallet": "^1.11.2",
|
"@walletconnect/web3wallet": "^1.11.2",
|
||||||
"asn1.js": "5.4.1",
|
"asn1.js": "5.4.1",
|
||||||
"bn.js": "5.2.1",
|
"bn.js": "5.2.1",
|
||||||
|
|||||||
Binary file not shown.
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
"test": "turbo run test --filter=./packages/*",
|
"test": "turbo run test --filter=./packages/*",
|
||||||
"test:legacy": "turbo run test --filter=./legacy_packages/*",
|
"test:legacy": "turbo run test --filter=./legacy_packages/* --filter=!sdk",
|
||||||
"e2e": "turbo run e2e --filter=./packages/*",
|
"e2e": "turbo run e2e --filter=./packages/*",
|
||||||
"e2e:legacy": "turbo run e2e --filter=./legacy_packages/*",
|
"e2e:legacy": "turbo run e2e --filter=./legacy_packages/*",
|
||||||
"build:packages": "turbo run build --filter=./packages/*",
|
"build:packages": "turbo run build --filter=./packages/*",
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ const usageEventSchema = z.object({
|
|||||||
sdkName: z.string().optional(),
|
sdkName: z.string().optional(),
|
||||||
sdkVersion: z.string().optional(),
|
sdkVersion: z.string().optional(),
|
||||||
sdkPlatform: z.string().optional(),
|
sdkPlatform: z.string().optional(),
|
||||||
|
sdkOS: z.string().optional(),
|
||||||
productName: z.string().optional(),
|
productName: z.string().optional(),
|
||||||
transactionValue: z.string().optional(),
|
transactionValue: z.string().optional(),
|
||||||
pathname: z.string().optional(),
|
pathname: z.string().optional(),
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"name": "thirdweb (esm)",
|
"name": "thirdweb (esm)",
|
||||||
"path": "./dist/esm/exports/thirdweb.js",
|
"path": "./dist/esm/exports/thirdweb.js",
|
||||||
"limit": "40 kB",
|
"limit": "40.1 kB",
|
||||||
"import": "*"
|
"import": "*"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
{
|
{
|
||||||
"name": "thirdweb/react (minimal + tree-shaking)",
|
"name": "thirdweb/react (minimal + tree-shaking)",
|
||||||
"path": "./dist/esm/exports/react.js",
|
"path": "./dist/esm/exports/react.js",
|
||||||
"limit": "16 kB",
|
"limit": "18 kB",
|
||||||
"import": "{ ThirdwebProvider, useConnect }"
|
"import": "{ ThirdwebProvider, useConnect }"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,78 @@
|
|||||||
# thirdweb
|
# thirdweb
|
||||||
|
|
||||||
|
## 5.21.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#3034](https://github.com/thirdweb-dev/js/pull/3034) [`99fa2da`](https://github.com/thirdweb-dev/js/commit/99fa2da05abc32646036a2269f90213c5756a5ba) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds the ability to set a custom logo for the social login modal
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import { inAppWallet } from "thirdweb/wallets";
|
||||||
|
const wallet = inAppWallet({
|
||||||
|
metadata: {
|
||||||
|
image: {
|
||||||
|
src: "https://example.com/logo.png",
|
||||||
|
alt: "My logo",
|
||||||
|
width: 100,
|
||||||
|
height: 100,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3035](https://github.com/thirdweb-dev/js/pull/3035) [`3c04450`](https://github.com/thirdweb-dev/js/commit/3c044508eee18ca741878da43e199ed4cc0528b7) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Export extensions for Pack contract
|
||||||
|
|
||||||
|
## 5.20.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#2912](https://github.com/thirdweb-dev/js/pull/2912) [`9caa9d7`](https://github.com/thirdweb-dev/js/commit/9caa9d7a8df173d06ddaf3a8fab929f65adab092) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Updated Connect Modal UI + Passkey support
|
||||||
|
|
||||||
|
- Passkey is now an auth option for `inAppWallet`
|
||||||
|
- Connect UI component UI refresh
|
||||||
|
|
||||||
|
```ts
|
||||||
|
const wallet = inAppWallet();
|
||||||
|
const hasPasskey = await hasStoredPasskey(client);
|
||||||
|
await wallet.connect({
|
||||||
|
client,
|
||||||
|
strategy: "passkey",
|
||||||
|
type: hasPasskey ? "sign-in" : "sign-up",
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
- [#3018](https://github.com/thirdweb-dev/js/pull/3018) [`5083464`](https://github.com/thirdweb-dev/js/commit/50834640af8a8c17483465f308642e266dbac290) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds support for Core wallet extension
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3024](https://github.com/thirdweb-dev/js/pull/3024) [`eb29adf`](https://github.com/thirdweb-dev/js/commit/eb29adf157103cc277d6787c8427403b2eba8472) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Add BSC mainnet and testnet
|
||||||
|
|
||||||
|
- [#3004](https://github.com/thirdweb-dev/js/pull/3004) [`145ff48`](https://github.com/thirdweb-dev/js/commit/145ff4890fa763288610b2e1af152e7827ec0d8e) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Updates shortenAddress to accept a string
|
||||||
|
|
||||||
|
- [#3027](https://github.com/thirdweb-dev/js/pull/3027) [`c08a5f2`](https://github.com/thirdweb-dev/js/commit/c08a5f298d59f0b54b4b941d719911c294b8bf04) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fixes chain metadata overrides
|
||||||
|
|
||||||
|
## 5.19.1
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3005](https://github.com/thirdweb-dev/js/pull/3005) [`0006e54`](https://github.com/thirdweb-dev/js/commit/0006e547a4425406101ef85c635b83c5c6186d1d) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - - useSendTransaction now switches chain if needed
|
||||||
|
- Fix chain switching with in-app smart accounts
|
||||||
|
- Fix tx simulation for pay modal
|
||||||
|
|
||||||
|
## 5.19.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#2995](https://github.com/thirdweb-dev/js/pull/2995) [`523cd1e`](https://github.com/thirdweb-dev/js/commit/523cd1e16fd1194ffbf8970150ed6f09d4e01fe9) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds shortenAddress util
|
||||||
|
|
||||||
|
- [#2997](https://github.com/thirdweb-dev/js/pull/2997) [`cf7b6fc`](https://github.com/thirdweb-dev/js/commit/cf7b6fc7bc1686f3b4c54515d569d799d5e3ceea) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - added `createWalletAdapter` helper for interop with diff libraries
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#3000](https://github.com/thirdweb-dev/js/pull/3000) [`0ab1407`](https://github.com/thirdweb-dev/js/commit/0ab14075d37aec27167c5885155f48ea880c9574) Thanks [@MananTank](https://github.com/MananTank)! - Fix WalletImage fallback icon
|
||||||
|
|
||||||
## 5.18.1
|
## 5.18.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "thirdweb",
|
"name": "thirdweb",
|
||||||
"version": "5.18.1",
|
"version": "5.21.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
||||||
@@ -181,6 +181,7 @@
|
|||||||
"@google/model-viewer": "2.1.1",
|
"@google/model-viewer": "2.1.1",
|
||||||
"@noble/curves": "1.4.0",
|
"@noble/curves": "1.4.0",
|
||||||
"@noble/hashes": "1.4.0",
|
"@noble/hashes": "1.4.0",
|
||||||
|
"@passwordless-id/webauthn": "^1.6.1",
|
||||||
"@radix-ui/react-dialog": "1.0.5",
|
"@radix-ui/react-dialog": "1.0.5",
|
||||||
"@radix-ui/react-focus-scope": "1.0.4",
|
"@radix-ui/react-focus-scope": "1.0.4",
|
||||||
"@radix-ui/react-icons": "1.3.0",
|
"@radix-ui/react-icons": "1.3.0",
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<rect width="256" height="256" rx="128" fill="black"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M87.6477 203.403C66.6922 203.403 47.0213 198.931 30 191.095L99.2514 127.885C89.6861 120.038 83.5836 108.126 83.5836 94.7884C83.5836 81.2079 89.9104 69.1052 99.7773 61.2668V52.0015H126.08C126.177 52.0008 126.274 52.0005 126.372 52.0005C137.068 52.0005 146.848 55.9254 154.349 62.4136C161.85 55.926 171.629 52.0015 182.325 52.0015H182.389L182.39 52L182.392 52.0015H208.919V61.2679C218.786 69.1062 225.113 81.209 225.113 94.7894C225.113 111.867 215.108 126.608 200.64 133.47C195.467 148.743 185.737 162.479 172.714 173.652V193.398H139.977C124.227 199.801 106.455 203.403 87.6477 203.403ZM126.371 127.703C134.16 127.703 141.317 124.998 146.954 120.475L154.282 136.976L161.645 120.397C167.296 124.967 174.491 127.703 182.325 127.703C200.502 127.703 215.238 112.967 215.238 94.7895C215.238 76.6117 200.502 61.8757 182.325 61.8757C170.513 61.8757 160.155 68.0975 154.348 77.4425C148.541 68.0975 138.183 61.8757 126.371 61.8757C108.193 61.8757 93.4575 76.6117 93.4575 94.7895C93.4575 112.967 108.193 127.703 126.371 127.703ZM126.371 117.829C139.096 117.829 149.411 107.514 149.411 94.7893C149.411 82.0648 139.096 71.7496 126.371 71.7496C113.647 71.7496 103.331 82.0648 103.331 94.7893C103.331 107.514 113.647 117.829 126.371 117.829ZM126.371 107.955C133.642 107.955 139.537 102.06 139.537 94.7893C139.537 87.5182 133.642 81.6238 126.371 81.6238C119.1 81.6238 113.206 87.5182 113.206 94.7893C113.206 102.06 119.1 107.955 126.371 107.955ZM205.364 94.7893C205.364 107.514 195.049 117.829 182.324 117.829C169.6 117.829 159.285 107.514 159.285 94.7893C159.285 82.0648 169.6 71.7496 182.324 71.7496C195.049 71.7496 205.364 82.0648 205.364 94.7893ZM195.49 94.7893C195.49 102.06 189.596 107.955 182.324 107.955C175.053 107.955 169.159 102.06 169.159 94.7893C169.159 87.5182 175.053 81.6238 182.324 81.6238C189.596 81.6238 195.49 87.5182 195.49 94.7893Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -28,5 +28,40 @@
|
|||||||
"native": null,
|
"native": null,
|
||||||
"universal": null
|
"universal": null
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "app.core.extension",
|
||||||
|
"name": "Core",
|
||||||
|
"homepage": "https://core.app/?utm_source=referral&utm_medium=website&utm_campaign=walletconnect",
|
||||||
|
"image_id": "core.svg",
|
||||||
|
"order": 9999999,
|
||||||
|
"app": {
|
||||||
|
"browser": null,
|
||||||
|
"ios": "https://apps.apple.com/us/app/core-crypto-wallet-nfts/id6443685999",
|
||||||
|
"android": "https://play.google.com/store/apps/details?id=com.avaxwallet&hl=en_US&gl=US",
|
||||||
|
"mac": null,
|
||||||
|
"windows": null,
|
||||||
|
"linux": null,
|
||||||
|
"chrome": "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
|
||||||
|
"firefox": null,
|
||||||
|
"safari": null,
|
||||||
|
"edge": null,
|
||||||
|
"opera": null
|
||||||
|
},
|
||||||
|
"injected": [
|
||||||
|
{
|
||||||
|
"injected_id": "isAvalanche",
|
||||||
|
"namespace": "eip155"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rdns": "app.core.extension",
|
||||||
|
"mobile": {
|
||||||
|
"native": null,
|
||||||
|
"universal": null
|
||||||
|
},
|
||||||
|
"desktop": {
|
||||||
|
"native": null,
|
||||||
|
"universal": null
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
import type { Chain } from "../chains/types.js";
|
||||||
|
import type { ThirdwebClient } from "../client/client.js";
|
||||||
|
import type { Account, Wallet } from "../wallets/interfaces/wallet.js";
|
||||||
|
import { createWalletEmitter } from "../wallets/wallet-emitter.js";
|
||||||
|
|
||||||
|
export type AdapterWalletOptions = {
|
||||||
|
client: ThirdwebClient;
|
||||||
|
adaptedAccount: Account;
|
||||||
|
chain: Chain;
|
||||||
|
onDisconnect: () => Promise<void> | void;
|
||||||
|
switchChain: (chain: Chain) => Promise<void> | void;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function createWalletAdapter(
|
||||||
|
options: AdapterWalletOptions,
|
||||||
|
): Wallet<"adapter"> {
|
||||||
|
const emitter = createWalletEmitter<"adapter">();
|
||||||
|
let _chain = options.chain;
|
||||||
|
return {
|
||||||
|
id: "adapter",
|
||||||
|
subscribe: emitter.subscribe,
|
||||||
|
connect: async () => {
|
||||||
|
emitter.emit("onConnect", options);
|
||||||
|
return options.adaptedAccount;
|
||||||
|
},
|
||||||
|
autoConnect: async () => {
|
||||||
|
emitter.emit("onConnect", options);
|
||||||
|
return options.adaptedAccount;
|
||||||
|
},
|
||||||
|
disconnect: async () => {
|
||||||
|
await options.onDisconnect();
|
||||||
|
emitter.emit("disconnect", undefined);
|
||||||
|
},
|
||||||
|
getAccount() {
|
||||||
|
return options.adaptedAccount;
|
||||||
|
},
|
||||||
|
getChain() {
|
||||||
|
return _chain;
|
||||||
|
},
|
||||||
|
getConfig() {
|
||||||
|
return options;
|
||||||
|
},
|
||||||
|
switchChain: async (chain) => {
|
||||||
|
await options.switchChain(chain);
|
||||||
|
_chain = chain;
|
||||||
|
emitter.emit("chainChanged", chain);
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { defineChain } from "../utils.js";
|
||||||
|
|
||||||
|
export const bscTestnet = /* @__PURE__ */ defineChain({
|
||||||
|
id: 97,
|
||||||
|
name: "BNB Smart Chain Testnet",
|
||||||
|
nativeCurrency: {
|
||||||
|
name: "BNB Chain Native Token",
|
||||||
|
symbol: "tBNB",
|
||||||
|
decimals: 18,
|
||||||
|
},
|
||||||
|
blockExplorers: [
|
||||||
|
{
|
||||||
|
name: "bscscan-testnet",
|
||||||
|
url: "https://testnet.bscscan.com",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { defineChain } from "../utils.js";
|
||||||
|
|
||||||
|
export const bsc = /* @__PURE__ */ defineChain({
|
||||||
|
id: 56,
|
||||||
|
name: "BNB Smart Chain Mainnet",
|
||||||
|
nativeCurrency: {
|
||||||
|
name: "BNB Chain Native Token",
|
||||||
|
symbol: "BNB",
|
||||||
|
decimals: 18,
|
||||||
|
},
|
||||||
|
blockExplorers: [
|
||||||
|
{
|
||||||
|
name: "bscscan",
|
||||||
|
url: "https://bscscan.com",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
@@ -308,8 +308,15 @@ function createChainMetadata(
|
|||||||
symbol: nativeCurrency?.symbol || "",
|
symbol: nativeCurrency?.symbol || "",
|
||||||
decimals: nativeCurrency?.decimals || 18,
|
decimals: nativeCurrency?.decimals || 18,
|
||||||
},
|
},
|
||||||
|
icon: chain.icon || data?.icon,
|
||||||
chain: data?.chain || chain.name || "",
|
chain: data?.chain || chain.name || "",
|
||||||
shortName: data?.shortName || chain.name || "",
|
shortName: data?.shortName || chain.name || "",
|
||||||
slug: data?.slug || chain.name || "",
|
slug: data?.slug || chain.name || "",
|
||||||
|
explorers:
|
||||||
|
chain.blockExplorers?.map((e) => ({
|
||||||
|
name: e.name,
|
||||||
|
url: e.url,
|
||||||
|
standard: "EIP3091",
|
||||||
|
})) || data?.explorers,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ import { prepareDeterministicDeployTransaction } from "./deploy-deterministic.js
|
|||||||
describe.runIf(process.env.TW_SECRET_KEY)("deployFromMetadata", () => {
|
describe.runIf(process.env.TW_SECRET_KEY)("deployFromMetadata", () => {
|
||||||
it("should deploy contracts at the same address", async () => {
|
it("should deploy contracts at the same address", async () => {
|
||||||
const tx1 = prepareDeterministicDeployTransaction({
|
const tx1 = prepareDeterministicDeployTransaction({
|
||||||
chain: ANVIL_CHAIN,
|
chain: FORKED_ETHEREUM_CHAIN,
|
||||||
client: TEST_CLIENT,
|
client: TEST_CLIENT,
|
||||||
contractId: "AccountFactory",
|
contractId: "AccountFactory",
|
||||||
constructorParams: [TEST_ACCOUNT_A.address, ENTRYPOINT_ADDRESS_v0_6],
|
constructorParams: [TEST_ACCOUNT_A.address, ENTRYPOINT_ADDRESS_v0_6],
|
||||||
});
|
});
|
||||||
const tx2 = prepareDeterministicDeployTransaction({
|
const tx2 = prepareDeterministicDeployTransaction({
|
||||||
chain: ANVIL_CHAIN,
|
chain: FORKED_ETHEREUM_CHAIN,
|
||||||
client: TEST_CLIENT,
|
client: TEST_CLIENT,
|
||||||
contractId: "AccountFactory",
|
contractId: "AccountFactory",
|
||||||
constructorParams: [TEST_ACCOUNT_A.address, ENTRYPOINT_ADDRESS_v0_6],
|
constructorParams: [TEST_ACCOUNT_A.address, ENTRYPOINT_ADDRESS_v0_6],
|
||||||
|
|||||||
@@ -32,3 +32,5 @@ export { polygon } from "../chains/chain-definitions/polygon.js";
|
|||||||
export { sepolia } from "../chains/chain-definitions/sepolia.js";
|
export { sepolia } from "../chains/chain-definitions/sepolia.js";
|
||||||
export { zoraSepolia } from "../chains/chain-definitions/zora-sepolia.js";
|
export { zoraSepolia } from "../chains/chain-definitions/zora-sepolia.js";
|
||||||
export { zora } from "../chains/chain-definitions/zora.js";
|
export { zora } from "../chains/chain-definitions/zora.js";
|
||||||
|
export { bsc } from "../chains/chain-definitions/bsc.js";
|
||||||
|
export { bscTestnet } from "../chains/chain-definitions/bsc-testnet.js";
|
||||||
|
|||||||
@@ -125,3 +125,25 @@ export {
|
|||||||
tokensMintedWithSignatureEvent,
|
tokensMintedWithSignatureEvent,
|
||||||
type TokensMintedWithSignatureEventFilters,
|
type TokensMintedWithSignatureEventFilters,
|
||||||
} from "../../extensions/erc1155/__generated__/ISignatureMintERC1155/events/TokensMintedWithSignature.js";
|
} from "../../extensions/erc1155/__generated__/ISignatureMintERC1155/events/TokensMintedWithSignature.js";
|
||||||
|
|
||||||
|
// Packs
|
||||||
|
export {
|
||||||
|
packCreatedEvent,
|
||||||
|
type PackCreatedEventFilters,
|
||||||
|
} from "../../extensions/erc1155/__generated__/IPack/events/PackCreated.js";
|
||||||
|
export {
|
||||||
|
packOpenedEvent,
|
||||||
|
type PackOpenedEventFilters,
|
||||||
|
} from "../../extensions/erc1155/__generated__/IPack/events/PackOpened.js";
|
||||||
|
export {
|
||||||
|
packUpdatedEvent,
|
||||||
|
type PackUpdatedEventFilters,
|
||||||
|
} from "../../extensions/erc1155/__generated__/IPack/events/PackUpdated.js";
|
||||||
|
export {
|
||||||
|
createPack,
|
||||||
|
type CreatePackParams,
|
||||||
|
} from "../../extensions/erc1155/__generated__/IPack/write/createPack.js";
|
||||||
|
export {
|
||||||
|
openPack,
|
||||||
|
type OpenPackParams,
|
||||||
|
} from "../../extensions/erc1155/__generated__/IPack/write/openPack.js";
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ export {
|
|||||||
checksumAddress,
|
checksumAddress,
|
||||||
getAddress,
|
getAddress,
|
||||||
isAddress,
|
isAddress,
|
||||||
|
shortenAddress,
|
||||||
type Address,
|
type Address,
|
||||||
type AddressInput,
|
type AddressInput,
|
||||||
} from "../utils/address.js";
|
} from "../utils/address.js";
|
||||||
|
|||||||
@@ -96,3 +96,5 @@ export type {
|
|||||||
|
|
||||||
export { getAllWalletsList } from "../wallets/getAllWalletsList.js";
|
export { getAllWalletsList } from "../wallets/getAllWalletsList.js";
|
||||||
export { getWalletInfo } from "../wallets/__generated__/getWalletInfo.js";
|
export { getWalletInfo } from "../wallets/__generated__/getWalletInfo.js";
|
||||||
|
|
||||||
|
export { createWalletAdapter } from "../adapters/wallet-adapter.js";
|
||||||
|
|||||||
@@ -7,3 +7,5 @@ export {
|
|||||||
getUserPhoneNumber,
|
getUserPhoneNumber,
|
||||||
type GetAuthenticatedUserParams,
|
type GetAuthenticatedUserParams,
|
||||||
} from "../../wallets/in-app/core/authentication/index.js";
|
} from "../../wallets/in-app/core/authentication/index.js";
|
||||||
|
|
||||||
|
export { hasStoredPasskey } from "../../wallets/in-app/implementations/lib/auth/passkeys.js";
|
||||||
|
|||||||
@@ -5,12 +5,17 @@ import { sendTransaction } from "../../../../transaction/actions/send-transactio
|
|||||||
import type { WaitForReceiptOptions } from "../../../../transaction/actions/wait-for-tx-receipt.js";
|
import type { WaitForReceiptOptions } from "../../../../transaction/actions/wait-for-tx-receipt.js";
|
||||||
import type { PreparedTransaction } from "../../../../transaction/prepare-transaction.js";
|
import type { PreparedTransaction } from "../../../../transaction/prepare-transaction.js";
|
||||||
import { resolvePromisedValue } from "../../../../utils/promise/resolve-promised-value.js";
|
import { resolvePromisedValue } from "../../../../utils/promise/resolve-promised-value.js";
|
||||||
|
import type { Account } from "../../../../wallets/interfaces/wallet.js";
|
||||||
import {
|
import {
|
||||||
type GetWalletBalanceResult,
|
type GetWalletBalanceResult,
|
||||||
getWalletBalance,
|
getWalletBalance,
|
||||||
} from "../../../../wallets/utils/getWalletBalance.js";
|
} from "../../../../wallets/utils/getWalletBalance.js";
|
||||||
import { fetchBuySupportedDestinations } from "../../../web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js";
|
import { fetchBuySupportedDestinations } from "../../../web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.js";
|
||||||
import { useActiveAccount } from "../wallets/wallet-hooks.js";
|
import {
|
||||||
|
useActiveAccount,
|
||||||
|
useActiveWallet,
|
||||||
|
useSwitchActiveWalletChain,
|
||||||
|
} from "../wallets/wallet-hooks.js";
|
||||||
|
|
||||||
type ShowModalData = {
|
type ShowModalData = {
|
||||||
tx: PreparedTransaction;
|
tx: PreparedTransaction;
|
||||||
@@ -37,10 +42,21 @@ export function useSendTransactionCore(
|
|||||||
showPayModal?: (data: ShowModalData) => void,
|
showPayModal?: (data: ShowModalData) => void,
|
||||||
gasless?: GaslessOptions,
|
gasless?: GaslessOptions,
|
||||||
): UseMutationResult<WaitForReceiptOptions, Error, PreparedTransaction> {
|
): UseMutationResult<WaitForReceiptOptions, Error, PreparedTransaction> {
|
||||||
const account = useActiveAccount();
|
let _account = useActiveAccount();
|
||||||
|
const wallet = useActiveWallet();
|
||||||
|
const switchChain = useSwitchActiveWalletChain();
|
||||||
|
|
||||||
return useMutation({
|
return useMutation({
|
||||||
mutationFn: async (tx) => {
|
mutationFn: async (tx) => {
|
||||||
|
// switch chain if needed
|
||||||
|
if (wallet && tx.chain.id !== wallet.getChain()?.id) {
|
||||||
|
await switchChain(tx.chain);
|
||||||
|
// in smart wallet case, account may change after chain switch
|
||||||
|
_account = wallet.getAccount();
|
||||||
|
}
|
||||||
|
|
||||||
|
const account = _account;
|
||||||
|
|
||||||
if (!account) {
|
if (!account) {
|
||||||
throw new Error("No active account");
|
throw new Error("No active account");
|
||||||
}
|
}
|
||||||
@@ -90,7 +106,7 @@ export function useSendTransactionCore(
|
|||||||
chain: tx.chain,
|
chain: tx.chain,
|
||||||
client: tx.client,
|
client: tx.client,
|
||||||
}),
|
}),
|
||||||
getTotalTxCostForBuy(tx),
|
getTotalTxCostForBuy(tx, account),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const walletBalanceWei = walletBalance.value;
|
const walletBalanceWei = walletBalance.value;
|
||||||
@@ -122,9 +138,13 @@ export function useSendTransactionCore(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getTotalTxCostForBuy(tx: PreparedTransaction) {
|
export async function getTotalTxCostForBuy(
|
||||||
|
tx: PreparedTransaction,
|
||||||
|
account?: Account,
|
||||||
|
) {
|
||||||
const gasCost = await estimateGasCost({
|
const gasCost = await estimateGasCost({
|
||||||
transaction: tx,
|
transaction: tx,
|
||||||
|
account,
|
||||||
});
|
});
|
||||||
|
|
||||||
const bufferCost = gasCost.wei / 10n;
|
const bufferCost = gasCost.wei / 10n;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export function ConnectButton(props: ConnectButtonProps) {
|
|||||||
wallets: wallets,
|
wallets: wallets,
|
||||||
locale: props.locale || "en_US",
|
locale: props.locale || "en_US",
|
||||||
connectLocale: localeQuery.data,
|
connectLocale: localeQuery.data,
|
||||||
chain: props.chain,
|
chain: props.chain || props.accountAbstraction?.chain,
|
||||||
chains: props.chains,
|
chains: props.chains,
|
||||||
walletConnect: props.walletConnect,
|
walletConnect: props.walletConnect,
|
||||||
accountAbstraction: props.accountAbstraction,
|
accountAbstraction: props.accountAbstraction,
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ export const ConnectedWalletDetails: React.FC<{
|
|||||||
>
|
>
|
||||||
{chainQuery.data ? (
|
{chainQuery.data ? (
|
||||||
<ChainIcon
|
<ChainIcon
|
||||||
chain={chainQuery.data}
|
chainIcon={chainQuery.data?.icon}
|
||||||
size={iconSize.md}
|
size={iconSize.md}
|
||||||
active
|
active
|
||||||
client={client}
|
client={client}
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ export function ConnectEmbed(props: ConnectEmbedProps) {
|
|||||||
wallets: wallets,
|
wallets: wallets,
|
||||||
locale: localeId,
|
locale: localeId,
|
||||||
connectLocale: localeQuery.data,
|
connectLocale: localeQuery.data,
|
||||||
chain: props.chain,
|
chain: props.chain || props.accountAbstraction?.chain,
|
||||||
chains: props.chains,
|
chains: props.chains,
|
||||||
walletConnect: props.walletConnect,
|
walletConnect: props.walletConnect,
|
||||||
accountAbstraction: props.accountAbstraction,
|
accountAbstraction: props.accountAbstraction,
|
||||||
|
|||||||
@@ -692,21 +692,23 @@ export const ChainButton = /* @__PURE__ */ memo(function ChainButton(props: {
|
|||||||
const { chain, confirming, switchingFailed } = props;
|
const { chain, confirming, switchingFailed } = props;
|
||||||
|
|
||||||
const activeChain = useActiveWalletChain();
|
const activeChain = useActiveWalletChain();
|
||||||
const apiChainQuery = useChainQuery(chain);
|
const { data: fetchedChain } = useChainQuery(chain);
|
||||||
|
|
||||||
|
let chainName: React.ReactNode;
|
||||||
|
if (fetchedChain) {
|
||||||
|
chainName = <span>{fetchedChain.name} </span>;
|
||||||
|
} else {
|
||||||
|
chainName = <Skeleton width="150px" height="20px" />;
|
||||||
|
}
|
||||||
|
|
||||||
const chainName = apiChainQuery.data ? (
|
|
||||||
<span>{apiChainQuery.data.name} </span>
|
|
||||||
) : (
|
|
||||||
<Skeleton width="150px" height="20px" />
|
|
||||||
);
|
|
||||||
return (
|
return (
|
||||||
<NetworkButton
|
<NetworkButton
|
||||||
data-active={activeChain?.id === chain.id}
|
data-active={activeChain?.id === chain.id}
|
||||||
onClick={props.onClick}
|
onClick={props.onClick}
|
||||||
>
|
>
|
||||||
{apiChainQuery.data ? (
|
{fetchedChain ? (
|
||||||
<ChainIcon
|
<ChainIcon
|
||||||
chain={apiChainQuery.data}
|
chainIcon={fetchedChain.icon}
|
||||||
size={iconSize.lg}
|
size={iconSize.lg}
|
||||||
active={activeChain?.id === chain.id}
|
active={activeChain?.id === chain.id}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import { LoadingScreen } from "../../wallets/shared/LoadingScreen.js";
|
|||||||
import { Img } from "../components/Img.js";
|
import { Img } from "../components/Img.js";
|
||||||
import { Spacer } from "../components/Spacer.js";
|
import { Spacer } from "../components/Spacer.js";
|
||||||
import { TextDivider } from "../components/TextDivider.js";
|
import { TextDivider } from "../components/TextDivider.js";
|
||||||
import { WalletImage } from "../components/WalletImage.js";
|
|
||||||
import {
|
import {
|
||||||
Container,
|
Container,
|
||||||
Line,
|
Line,
|
||||||
@@ -32,7 +31,9 @@ import { SmartConnectUI } from "./Modal/SmartWalletConnectUI.js";
|
|||||||
import { TOS } from "./Modal/TOS.js";
|
import { TOS } from "./Modal/TOS.js";
|
||||||
import { PoweredByThirdweb } from "./PoweredByTW.js";
|
import { PoweredByThirdweb } from "./PoweredByTW.js";
|
||||||
import { WalletButton, WalletEntryButton } from "./WalletEntryButton.js";
|
import { WalletButton, WalletEntryButton } from "./WalletEntryButton.js";
|
||||||
import { TWIcon } from "./icons/twIcon.js";
|
import { WalletTypeRowButton } from "./WalletTypeRowButton.js";
|
||||||
|
import { compactModalMaxHeight } from "./constants.js";
|
||||||
|
import { genericWalletIcon } from "./icons/dataUris.js";
|
||||||
|
|
||||||
const InAppWalletSelectionUI = /* @__PURE__ */ lazy(
|
const InAppWalletSelectionUI = /* @__PURE__ */ lazy(
|
||||||
() => import("../../wallets/in-app/InAppWalletSelectionUI.js"),
|
() => import("../../wallets/in-app/InAppWalletSelectionUI.js"),
|
||||||
@@ -149,25 +150,7 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
|
|
||||||
const twTitle = (
|
const twTitle = (
|
||||||
<Container gap="xxs" center="y" flex="row">
|
<Container gap="xxs" center="y" flex="row">
|
||||||
{connectModal.titleIcon === undefined ? (
|
{!connectModal.titleIcon ? null : (
|
||||||
<Link
|
|
||||||
color="primaryText"
|
|
||||||
hoverColor="accentText"
|
|
||||||
target="_blank"
|
|
||||||
href="https://thirdweb.com/connect?utm_source=cw"
|
|
||||||
style={{
|
|
||||||
display: "flex",
|
|
||||||
alignItems: "center",
|
|
||||||
}}
|
|
||||||
onClick={(e) => {
|
|
||||||
if (!enableTWIconLink.current) {
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<TWIcon size={iconSize.md} />
|
|
||||||
</Link>
|
|
||||||
) : connectModal.titleIcon === "" ? null : (
|
|
||||||
<Img
|
<Img
|
||||||
src={connectModal.titleIcon}
|
src={connectModal.titleIcon}
|
||||||
width={iconSize.md}
|
width={iconSize.md}
|
||||||
@@ -188,31 +171,14 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const connectAWallet = (
|
const connectAWallet = (
|
||||||
<Button
|
<WalletTypeRowButton
|
||||||
fullWidth
|
client={client}
|
||||||
variant="outline"
|
icon={genericWalletIcon}
|
||||||
style={{
|
|
||||||
display: "flex",
|
|
||||||
justifyContent: "center",
|
|
||||||
gap: spacing.sm,
|
|
||||||
padding: spacing.md,
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIsWalletGroupExpanded(true);
|
setIsWalletGroupExpanded(true);
|
||||||
}}
|
}}
|
||||||
>
|
title={locale.connectAWallet}
|
||||||
<Container flex="row" gap="xxs">
|
/>
|
||||||
{eoaWallets.slice(0, 2).map((w) => (
|
|
||||||
<WalletImage
|
|
||||||
key={w.id}
|
|
||||||
id={w.id}
|
|
||||||
size={iconSize.sm}
|
|
||||||
client={client}
|
|
||||||
/>
|
|
||||||
))}
|
|
||||||
</Container>
|
|
||||||
{locale.connectAWallet}
|
|
||||||
</Button>
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const newToWallets = (
|
const newToWallets = (
|
||||||
@@ -283,7 +249,7 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
bottomSection = (
|
bottomSection = (
|
||||||
<>
|
<>
|
||||||
<Line />
|
<Line />
|
||||||
<Container flex="column" p="lg" gap="lg">
|
<Container flex="column" p="md" gap="md">
|
||||||
{newToWallets}
|
{newToWallets}
|
||||||
{continueAsGuest}
|
{continueAsGuest}
|
||||||
</Container>
|
</Container>
|
||||||
@@ -346,7 +312,13 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
// social login + More than 1 eoa wallets
|
// social login + More than 1 eoa wallets
|
||||||
if (eoaWallets.length > 1) {
|
if (eoaWallets.length > 1) {
|
||||||
bottomSection = (
|
bottomSection = (
|
||||||
<Container flex="column" gap="sm">
|
<Container
|
||||||
|
flex="column"
|
||||||
|
style={{ position: "relative" }}
|
||||||
|
gap="sm"
|
||||||
|
>
|
||||||
|
<GradientDiv />
|
||||||
|
|
||||||
<Container px="lg" flex="column" gap="md">
|
<Container px="lg" flex="column" gap="md">
|
||||||
{connectAWallet}
|
{connectAWallet}
|
||||||
{continueAsGuest}
|
{continueAsGuest}
|
||||||
@@ -421,17 +393,13 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
animate="fadein"
|
animate="fadein"
|
||||||
fullHeight
|
fullHeight
|
||||||
style={{
|
style={{
|
||||||
maxHeight: connectModal.size === "compact" ? "550px" : undefined,
|
maxHeight:
|
||||||
|
connectModal.size === "compact" ? compactModalMaxHeight : undefined,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
{!isEmbed && (
|
{!isEmbed && (
|
||||||
<Container
|
<Container p="lg">
|
||||||
p="lg"
|
|
||||||
style={{
|
|
||||||
paddingBottom: spacing.md,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{isWalletGroupExpanded ? (
|
{isWalletGroupExpanded ? (
|
||||||
<ModalHeader
|
<ModalHeader
|
||||||
title={twTitle}
|
title={twTitle}
|
||||||
@@ -491,7 +459,11 @@ const WalletSelectorInner: React.FC<WalletSelectorProps> = (props) => {
|
|||||||
|
|
||||||
{bottomSection}
|
{bottomSection}
|
||||||
{isCompact && connectModal.showThirdwebBranding !== false && (
|
{isCompact && connectModal.showThirdwebBranding !== false && (
|
||||||
<Container py="md">
|
<Container
|
||||||
|
style={{
|
||||||
|
paddingBottom: spacing.md,
|
||||||
|
}}
|
||||||
|
>
|
||||||
<PoweredByThirdweb />
|
<PoweredByThirdweb />
|
||||||
</Container>
|
</Container>
|
||||||
)}
|
)}
|
||||||
@@ -640,3 +612,17 @@ const WalletList = /* @__PURE__ */ StyledUl({
|
|||||||
marginBottom: 0,
|
marginBottom: 0,
|
||||||
paddingBottom: spacing.lg,
|
paddingBottom: spacing.lg,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const GradientDiv = /* @__PURE__ */ StyledDiv(() => {
|
||||||
|
const theme = useCustomTheme();
|
||||||
|
theme.colors.modalBg;
|
||||||
|
return {
|
||||||
|
height: spacing.lg,
|
||||||
|
position: "absolute",
|
||||||
|
top: `-${spacing.lg}`,
|
||||||
|
left: 0,
|
||||||
|
width: "100%",
|
||||||
|
background: `linear-gradient(to bottom, transparent 0%, ${theme.colors.modalBg} 80%)`,
|
||||||
|
pointerEvents: "none",
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
import type { ThirdwebClient } from "../../../../client/client.js";
|
||||||
|
import { Text } from "../../ui/components/text.js";
|
||||||
|
import { Img } from "../components/Img.js";
|
||||||
|
import { Container } from "../components/basic.js";
|
||||||
|
import { Button } from "../components/buttons.js";
|
||||||
|
import { iconSize, radius, spacing } from "../design-system/index.js";
|
||||||
|
|
||||||
|
type WalletTypeRowProps = {
|
||||||
|
client: ThirdwebClient;
|
||||||
|
onClick: () => void;
|
||||||
|
title: string;
|
||||||
|
icon: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export function WalletTypeRowButton(props: WalletTypeRowProps) {
|
||||||
|
return (
|
||||||
|
<Button
|
||||||
|
fullWidth
|
||||||
|
variant="outline"
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
justifyContent: "flex-start",
|
||||||
|
padding: spacing.md,
|
||||||
|
}}
|
||||||
|
onClick={() => {
|
||||||
|
props.onClick();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Container flex="row" gap="md" center="y" color="accentText">
|
||||||
|
<Img
|
||||||
|
client={props.client}
|
||||||
|
src={props.icon}
|
||||||
|
width={iconSize.md}
|
||||||
|
height={iconSize.md}
|
||||||
|
loading="eager"
|
||||||
|
style={{
|
||||||
|
borderRadius: radius.md,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
<Text color="primaryText">{props.title}</Text>
|
||||||
|
</Container>
|
||||||
|
</Button>
|
||||||
|
);
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user