Compare commits

..
Author SHA1 Message Date
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
85b5a6de6b Version Packages (#3060)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-17 03:19:23 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
9a9ec978f4 chore(chains): update chains (#3056)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-17 01:35:48 -07:00
Jonas DanielsandGitHub 5a40c6a99b fix: CNCT-1176 (#3059) 2024-05-17 01:35:26 -07:00
gregandGitHub 1698c40c37 Prevent MediaRenderer flashing failed state while loading (#3058) 2024-05-17 01:00:59 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
f4508e4f22 Version Packages (#3044)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-17 18:25:39 +12:00
gregandGitHub ff0c9c7a5c Fix sendCallsStatus test types (#3057) 2024-05-16 22:40:22 -07:00
gregandGitHub ce4547501f Cache custom chains internally (#3040) 2024-05-16 20:11:31 -07:00
c417bdaae3 Fix v4 marketplace gas estimate (#3054)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-16 20:11:11 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
02c3eebf2e chore(chains): update chains (#3053)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 18:47:54 -07:00
Jonas DanielsandGitHub ad88eceff6 chore: update size limit for thirdweb (#3055) 2024-05-16 18:47:27 -07:00
gregandGitHub d491a2dd9a Corrections & enhancements to sendCalls jsdoc (#3052) 2024-05-16 18:26:10 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
7ced4cb471 chore(chains): update chains (#3045)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 16:17:42 -07:00
Joaquim VergesandGitHub f006429d7c RN support for v5 (#3037) 2024-05-16 16:17:14 -07:00
FirekeeperandGitHub 338e0ac86f Unity 4.13.1 - avoid iframe when not explicitly disconnected (#3032) 2024-05-16 21:23:02 +00:00
gregandGitHub 462045ecc3 Fix legacy tests (again) (#3050) 2024-05-16 21:06:33 +00:00
gregandGitHub 726618b97a EIP-5792 Support (#3001)
Signed-off-by: greg <[email protected]>
2024-05-16 18:53:53 +00:00
cfe60d22a3 Improve error message for resolveAbiFromBytecode (#3048)
Signed-off-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-16 17:24:41 +00:00
gregandGitHub 12b92b1b1b Fix automatic query invalidation (#3046) 2024-05-16 04:41:11 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
46492bb66e chore(chains): update chains (#3033)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-15 18:56:15 -07:00
Phillip HoandGitHub f5e7272b72 Bump service-utils package (#3042) 2024-05-16 01:26:12 +00:00
175 changed files with 8810 additions and 3784 deletions
+14
View File
@@ -1,5 +1,19 @@
# @thirdweb-dev/auth
## 4.1.83
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.25
## 4.1.82
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.24
## 4.1.81
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "4.1.81",
"version": "4.1.83",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
+12
View File
@@ -1,5 +1,17 @@
# @thirdweb-dev/chains
## 0.1.111
### Patch Changes
- [#3056](https://github.com/thirdweb-dev/js/pull/3056) [`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.110
### Patch Changes
- [#3033](https://github.com/thirdweb-dev/js/pull/3033) [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.109
### Patch Changes
+36
View File
@@ -0,0 +1,36 @@
import type { Chain } from "../src/types";
export default {
"chain": "TAO EVM",
"chainId": 10324,
"explorers": [
{
"name": "TAO Testnet Explorer",
"url": "https://testnet.taoscan.org",
"standard": "EIP3091"
}
],
"faucets": [
"https://faucet.taoevm.io"
],
"icon": {
"url": "ipfs://QmS78hUX5zqYDqoFgyVmtWpCcx7bZW86Nhw5Nqt2GJrLh2",
"width": 256,
"height": 234,
"format": "png"
},
"infoURL": "https://taoevm.io",
"name": "TAO EVM Testnet",
"nativeCurrency": {
"name": "TAO",
"symbol": "TAO",
"decimals": 18
},
"networkId": 10324,
"rpc": [
"https://10324.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet-rpc.taoevm.io"
],
"shortName": "TAOt",
"slug": "tao-evm-testnet",
"testnet": true
} as const satisfies Chain;
+1 -13
View File
@@ -6,22 +6,10 @@ export default {
{
"name": "blockscout",
"url": "https://explorer.re.al",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",
"width": 301,
"height": 302,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",
"width": 301,
"height": 302,
"format": "png"
},
"infoURL": "https://re.al",
"name": "re.al",
"nativeCurrency": {
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",
"width": 500,
"height": 500,
"format": "svg"
},
"infoURL": "https://alphabetnetwork.org",
"name": "Alphabet Mainnet",
"nativeCurrency": {
+5 -11
View File
@@ -6,20 +6,14 @@ export default {
{
"name": "Cyber Testnet Explorer",
"url": "https://testnet.cyberscan.co",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
"width": 551,
"height": 540,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmP61yDNPv7fxY9ZzPs4CjQDbZLoKtF8eWWjszVYbwkabd",
"width": 1000,
"height": 1000,
"url": "ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",
"width": 213,
"height": 212,
"format": "svg"
},
"infoURL": "https://cyber.co/",
@@ -35,7 +29,7 @@ export default {
"chain": "eip155-11155111",
"bridges": [
{
"url": "https://cyber-testnet-bridge.alt.technology/deposit"
"url": "https://cyber-testnet.testnets.rollbridge.app/"
}
]
},
+1 -13
View File
@@ -6,22 +6,10 @@ export default {
{
"name": "shinescan",
"url": "https://shinescan.io",
"standard": "none",
"icon": {
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
"width": 161,
"height": 161,
"format": "png"
}
"standard": "none"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
"width": 161,
"height": 161,
"format": "png"
},
"infoURL": "https://shinechain.tech",
"name": "Shine Chain",
"nativeCurrency": {
-6
View File
@@ -20,12 +20,6 @@ export default {
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",
"width": 256,
"height": 256,
"format": "svg"
},
"infoURL": "https://www.swisstronik.com",
"name": "Swisstronik Testnet",
"nativeCurrency": {
+14 -2
View File
@@ -2,7 +2,19 @@ import type { Chain } from "../src/types";
export default {
"chain": "COTI",
"chainId": 13068200,
"explorers": [],
"explorers": [
{
"name": "coti devnet explorer",
"url": "https://explorer-devnet.coti.io",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmVQidJf4ZXt6whYqZk9atCXLrmterkHrL4wYBCetZbsdj",
"width": 200,
"height": 200,
"format": "png"
}
}
],
"faucets": [
"https://faucet.coti.io"
],
@@ -22,7 +34,7 @@ export default {
"networkId": 13068200,
"rpc": [
"https://13068200.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://devnet.coti.io"
"https://devnet.coti.io/rpc"
],
"shortName": "coti-devnet",
"slug": "coti-devnet",
+1 -13
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "Creditscan",
"url": "https://scan.creditsmartchain.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
"width": 1000,
"height": 1628,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
@@ -24,12 +18,6 @@ export default {
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
"width": 1000,
"height": 1628,
"format": "png"
},
"infoURL": "https://creditsmartchain.com",
"name": "Credit Smart Chain",
"nativeCurrency": {
+1 -13
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "Vitruveo Testnet Explorer",
"url": "https://test-explorer.vitruveo.xyz",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
"width": 1000,
"height": 1000,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [
@@ -23,12 +17,6 @@ export default {
"name": "EIP155"
}
],
"icon": {
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://www.vitruveo.xyz",
"name": "Vitruveo Testnet",
"nativeCurrency": {
+1 -13
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "Vitruveo Explorer",
"url": "https://explorer.vitruveo.xyz",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
"width": 1000,
"height": 1000,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
@@ -21,12 +15,6 @@ export default {
"name": "EIP155"
}
],
"icon": {
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://www.vitruveo.xyz",
"name": "Vitruveo Mainnet",
"nativeCurrency": {
@@ -16,12 +16,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",
"width": 1062,
"height": 1062,
"format": "png"
},
"infoURL": "https://www.plumenetwork.xyz/",
"name": "Plume Testnet",
"nativeCurrency": {
@@ -7,6 +7,11 @@ export default {
"name": "Kakarot Scan",
"url": "https://sepolia.kakarotscan.org",
"standard": "EIP3091"
},
{
"name": "Kakarot Explorer",
"url": "https://sepolia-explorer.kakarot.org",
"standard": "EIP3091"
}
],
"faucets": [],
-6
View File
@@ -12,12 +12,6 @@ export default {
"faucets": [
"https://faucet.condor.systems"
],
"icon": {
"url": "ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",
"width": 752,
"height": 752,
"format": "png"
},
"infoURL": "https://condor.systems",
"name": "Condor Test Network",
"nativeCurrency": {
+13 -1
View File
@@ -6,12 +6,24 @@ export default {
{
"name": "telscan",
"url": "https://telscan.io",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",
"width": 79,
"height": 80,
"format": "svg"
}
}
],
"faucets": [
"https://telcoin.network/faucet"
],
"icon": {
"url": "ipfs://bafkreih4obvrymfdqohzhiafhvpcy6zwqbgpfm26aahrv3qx2dtcei7hk4",
"width": 79,
"height": 80,
"format": "svg"
},
"infoURL": "https://telcoin.network",
"name": "Adiri",
"nativeCurrency": {
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",
"width": 246,
"height": 247,
"format": "png"
},
"infoURL": "https://pego.network",
"name": "Pego Network",
"nativeCurrency": {
+20 -2
View File
@@ -6,17 +6,35 @@ export default {
{
"name": "Taycan Explorer(Blockscout)",
"url": "https://evmscan-test.hupayx.io",
"standard": "none"
"standard": "none",
"icon": {
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
"width": 1000,
"height": 1206,
"format": "png"
}
},
{
"name": "Taycan Cosmos Explorer",
"url": "https://cosmoscan-test.hupayx.io",
"standard": "none"
"standard": "none",
"icon": {
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
"width": 1000,
"height": 1206,
"format": "png"
}
}
],
"faucets": [
"https://ttaycan-faucet.hupayx.io/"
],
"icon": {
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
"width": 1000,
"height": 1206,
"format": "png"
},
"infoURL": "https://hupayx.io",
"name": "Taycan Testnet",
"nativeCurrency": {
+42
View File
@@ -0,0 +1,42 @@
import type { Chain } from "../src/types";
export default {
"chain": "UCHAIN",
"chainId": 2112,
"explorers": [
{
"name": "uchain.info",
"url": "https://uchain.info",
"standard": "EIP3091"
}
],
"faucets": [],
"features": [
{
"name": "EIP155"
},
{
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://QmUz6jimQbYZ43aeQBC6nSy2m7W7U6xR2qG8tCki2Jvj9k",
"width": 344,
"height": 342,
"format": "png"
},
"infoURL": "https://u.cash/",
"name": "UCHAIN Mainnet",
"nativeCurrency": {
"name": "UCASH",
"symbol": "UCASH",
"decimals": 18
},
"networkId": 2112,
"rpc": [
"https://2112.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.uchain.link/"
],
"shortName": "uchain",
"slug": "uchain",
"testnet": false
} as const satisfies Chain;
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",
"width": 458,
"height": 468,
"format": "png"
},
"infoURL": "https://dcpay.io",
"name": "DCpay Mainnet",
"nativeCurrency": {
+20 -2
View File
@@ -6,15 +6,33 @@ export default {
{
"name": "Taycan Explorer(Blockscout)",
"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)",
"url": "https://taycan-cosmoscan.hupayx.io",
"standard": "none"
"standard": "none",
"icon": {
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
"width": 1000,
"height": 1206,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreidvjcc73v747lqlyrhgbnkvkdepdvepo6baj6hmjsmjtvdyhmzzmq",
"width": 1000,
"height": 1206,
"format": "png"
},
"infoURL": "https://hupayx.io",
"name": "Taycan",
"nativeCurrency": {
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 22039,
"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": "QaUser1631",
"nativeCurrency": {
"name": "QaUser1631 Token",
"symbol": "UVA",
"decimals": 18
},
"networkId": 22039,
"redFlags": [],
"rpc": [
"https://22039.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QaUser1631",
"slug": "qauser1631",
"testnet": true
} as const satisfies Chain;
+20 -2
View File
@@ -6,16 +6,34 @@ export default {
{
"name": "explorer",
"url": "https://testnet.meldscan.io",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
}
},
{
"name": "explorer",
"url": "https://subnets-test.avax.network/meld",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
}
}
],
"faucets": [],
"features": [],
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
},
"infoURL": "https://meld.com",
"name": "Kanazawa",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmQnx3j1ZtQ9Br873FuS6612HQfosXsr4Whew8eN4ArYwE",
"width": 400,
"height": 400,
"format": "svg"
},
"infoURL": "https://hydradx.io",
"name": "HydraDX",
"nativeCurrency": {
+6
View File
@@ -12,6 +12,12 @@ export default {
"faucets": [
"https://testnet.hashkeychain/faucet"
],
"icon": {
"url": "ipfs://QmNU11AqYB2htrrSyBSP9ct7bPtuZTP7Hrz21PrEcB9nYE",
"width": 1440,
"height": 448,
"format": "png"
},
"infoURL": "https://www.hashkey.com",
"name": "HashKey Chain Testnet(discard)",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
"width": 2000,
"height": 2000,
"format": "png"
},
"infoURL": "https://docs.oasis.io/dapp/sapphire",
"name": "Oasis Sapphire",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
"width": 2000,
"height": 2000,
"format": "png"
},
"infoURL": "https://docs.oasis.io/dapp/sapphire",
"name": "Oasis Sapphire Testnet",
"nativeCurrency": {
+2 -14
View File
@@ -2,23 +2,11 @@ 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"
}
}
],
"explorers": [],
"faucets": [],
"features": [],
"icon": {
"url": "ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",
"url": "ipfs://Qmd4g9i2VjndV1TuWZySYoBiNt6eVyJMEujov7YtcTyoqq/whalepass_logo_3.png",
"width": 512,
"height": 512,
"format": "png"
@@ -12,12 +12,6 @@ export default {
"faucets": [
"https://faucet.razorscan.io/"
],
"icon": {
"url": "ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",
"width": 900,
"height": 900,
"format": "png"
},
"infoURL": "https://razor.network",
"name": "Razor Skale Chain",
"nativeCurrency": {
+1 -7
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "fsnscan",
"url": "https://fsnscan.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",
"width": 48,
"height": 51,
"format": "svg"
}
"standard": "EIP3091"
}
],
"faucets": [],
+20 -2
View File
@@ -6,16 +6,34 @@ export default {
{
"name": "explorer",
"url": "https://meldscan.io",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
}
},
{
"name": "explorer",
"url": "https://subnets.avax.network/meld",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
}
}
],
"faucets": [],
"features": [],
"icon": {
"url": "ipfs://QmRhB4AbjDrhvwfSAQi2JvKirFiDWxzJvKEvG8S8AdDdED",
"width": 4000,
"height": 4000,
"format": "png"
},
"infoURL": "https://meld.com",
"name": "Meld",
"nativeCurrency": {
+6
View File
@@ -6,6 +6,12 @@ export default {
"faucets": [
"https://faucet.polis.tech"
],
"icon": {
"url": "ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",
"width": 1050,
"height": 1050,
"format": "png"
},
"infoURL": "https://polis.tech",
"name": "Polis Testnet",
"nativeCurrency": {
+6
View File
@@ -6,6 +6,12 @@ export default {
"faucets": [
"https://faucet.polis.tech"
],
"icon": {
"url": "ipfs://QmagWrtyApex28H2QeXcs3jJ2F7p2K7eESz3cDbHdQ3pjG",
"width": 1050,
"height": 1050,
"format": "png"
},
"infoURL": "https://polis.tech",
"name": "Polis Mainnet",
"nativeCurrency": {
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 35641,
"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": "QaUser3338",
"nativeCurrency": {
"name": "QaUser3338 Token",
"symbol": "BQL",
"decimals": 18
},
"networkId": 35641,
"redFlags": [],
"rpc": [
"https://35641.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QaUser3338",
"slug": "qauser3338",
"testnet": true
} as const satisfies Chain;
+46
View File
@@ -0,0 +1,46 @@
import type { Chain } from "../src/types";
export default {
"chain": "crtr-testnet",
"chainId": 37003,
"explorers": [
{
"name": "blockscout",
"url": "https://explorerl2new-crtr-testnet-mev0ni0xlx.t.conduit.xyz",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",
"width": 512,
"height": 512,
"format": "png"
}
}
],
"faucets": [],
"features": [],
"icon": {
"url": "ipfs://QmbYKZ1MuDa1hzwLGjdCZGapuhV7C9uyRDPJWD994qbocY/generic-icon.png",
"width": 512,
"height": 512,
"format": "png"
},
"name": "crtr-testnet",
"nativeCurrency": {
"name": "CRTR",
"symbol": "CRTR",
"decimals": 18
},
"networkId": 37003,
"parent": {
"type": "L3",
"chain": "eip155-1",
"bridges": []
},
"redFlags": [],
"rpc": [
"https://37003.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc-crtr-testnet-mev0ni0xlx.t.conduit.xyz"
],
"shortName": "crtr-testnet-mev0ni0xlx",
"slug": "crtr-testnet",
"testnet": true
} as const satisfies Chain;
-6
View File
@@ -12,12 +12,6 @@ export default {
"faucets": [
"https://faucet.crossbell.io"
],
"icon": {
"url": "ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",
"width": 408,
"height": 408,
"format": "svg"
},
"infoURL": "https://crossbell.io",
"name": "Crossbell",
"nativeCurrency": {
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",
"width": 512,
"height": 512,
"format": "png"
},
"name": "Muster Mainnet",
"nativeCurrency": {
"name": "Ether",
+6
View File
@@ -12,6 +12,12 @@ export default {
"faucets": [
"https://faucet.testnet.oasis.io/"
],
"icon": {
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
"width": 2000,
"height": 2000,
"format": "png"
},
"infoURL": "https://docs.oasis.io/dapp/emerald",
"name": "Oasis Emerald Testnet",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiespupb52akiwrexxg7g72mh7m7h7lum5hmqijmpdh3kmuunzclha",
"width": 2000,
"height": 2000,
"format": "png"
},
"infoURL": "https://docs.oasis.io/dapp/emerald",
"name": "Oasis Emerald",
"nativeCurrency": {
+1 -13
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "Creditscan",
"url": "https://scan.creditsmartchain.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
"width": 1000,
"height": 1628,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
@@ -24,12 +18,6 @@ export default {
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
"width": 1000,
"height": 1628,
"format": "png"
},
"infoURL": "https://creditsmartchain.com",
"name": "Credit Smart Chain Mainnet",
"nativeCurrency": {
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://areon.network",
"name": "Areon Network Testnet",
"nativeCurrency": {
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",
"width": 1000,
"height": 1000,
"format": "png"
},
"infoURL": "https://areon.network",
"name": "Areon Network Mainnet",
"nativeCurrency": {
+1 -7
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "fsnscan",
"url": "https://testnet.fsnscan.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",
"width": 48,
"height": 51,
"format": "svg"
}
"standard": "EIP3091"
}
],
"faucets": [],
-6
View File
@@ -24,12 +24,6 @@ export default {
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",
"width": 1968,
"height": 1968,
"format": "png"
},
"infoURL": "https://blackfort.exchange",
"name": "BlackFort Exchange Network Testnet",
"nativeCurrency": {
-6
View File
@@ -24,12 +24,6 @@ export default {
"name": "EIP1559"
}
],
"icon": {
"url": "ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",
"width": 1968,
"height": 1968,
"format": "png"
},
"infoURL": "https://blackfort.exchange",
"name": "BlackFort Exchange Network",
"nativeCurrency": {
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 55200,
"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": "QaUser5256",
"nativeCurrency": {
"name": "QaUser5256 Token",
"symbol": "UDQ",
"decimals": 18
},
"networkId": 55200,
"redFlags": [],
"rpc": [
"https://55200.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QaUser5256",
"slug": "qauser5256",
"testnet": true
} as const satisfies Chain;
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmRoNxCti6cHrPgZ48YQVSMg9g6ympfXuV8kGQJXrbbmed",
"width": 600,
"height": 600,
"format": "png"
},
"infoURL": "https://qiblockchain.online/",
"name": "QIE Blockchain",
"nativeCurrency": {
+13 -1
View File
@@ -6,10 +6,22 @@ export default {
{
"name": "Genesys Scan",
"url": "https://genesysscan.io",
"standard": "none"
"standard": "none",
"icon": {
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
"width": 512,
"height": 512,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreihgmpaceze7rxpajv7yrlx3cb6daqubippkpvgryzairtaubsjjoe",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://genesyscode.io",
"name": "Genesys Code Mainnet",
"nativeCurrency": {
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 62293,
"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": "QI0516s1dev",
"nativeCurrency": {
"name": "QI0516s1dev Token",
"symbol": "OMF",
"decimals": 18
},
"networkId": 62293,
"redFlags": [],
"rpc": [
"https://62293.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QI0516s1dev",
"slug": "qi0516s1dev",
"testnet": true
} as const satisfies Chain;
-6
View File
@@ -12,12 +12,6 @@ export default {
"faucets": [
"http://faucet.latestchain.io"
],
"icon": {
"url": "ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",
"width": 1115,
"height": 1242,
"format": "png"
},
"infoURL": "https://latestcoin.io",
"name": "Latest Chain Testnet",
"nativeCurrency": {
@@ -19,6 +19,12 @@ export default {
"https://faucet.triangleplatform.com/frame"
],
"features": [],
"icon": {
"url": "ipfs://QmRxeKFwBwrXyDksoN4NzNRp3R35s8pVnTBfBj4AJSCq5g",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://frame.xyz",
"name": "Frame Testnet",
"nativeCurrency": {
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreicepw6yqtmubtpcthecjx47ndwgywartfqnkdhf66k3q57h2hlewm",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://grokchain.dev",
"name": "Grok Chain Mainnet",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
"width": 2000,
"height": 2243,
"format": "png"
},
"infoURL": "https://icb.network",
"name": "ICB Testnet",
"nativeCurrency": {
+6
View File
@@ -10,6 +10,12 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
"width": 2000,
"height": 2243,
"format": "png"
},
"infoURL": "https://icb.network",
"name": "ICB Network",
"nativeCurrency": {
-6
View File
@@ -10,12 +10,6 @@ export default {
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmeknNzGCZXQK7egwfwyxQan7Lw8bLnqYsyoEgEbDNCzJX",
"width": 600,
"height": 529,
"format": "png"
},
"infoURL": "https://www.openvessel.io",
"name": "OpenVessel",
"nativeCurrency": {
+5 -11
View File
@@ -6,20 +6,14 @@ export default {
{
"name": "Cyber Mainnet Explorer",
"url": "https://cyberscan.co",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
"width": 551,
"height": 540,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmP61yDNPv7fxY9ZzPs4CjQDbZLoKtF8eWWjszVYbwkabd",
"width": 1000,
"height": 1000,
"url": "ipfs://QmR8NuaSqALStb95YsMsJRG2BoYkibjS1XE1pZFtvEkAXY",
"width": 213,
"height": 212,
"format": "svg"
},
"infoURL": "https://cyber.co/",
@@ -35,7 +29,7 @@ export default {
"chain": "eip155-1",
"bridges": [
{
"url": "https://cyber-bridge.alt.technology/deposit"
"url": "https://cyber.co/bridge"
}
]
},
+1 -13
View File
@@ -6,13 +6,7 @@ export default {
{
"name": "Vanguard Explorer",
"url": "https://explorer-vanguard.vanarchain.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",
"width": 1000,
"height": 1628,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [
@@ -23,12 +17,6 @@ export default {
"name": "EIP155"
}
],
"icon": {
"url": "ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",
"width": 1000,
"height": 1628,
"format": "png"
},
"infoURL": "https://vanarchain.com",
"name": "Vanguard",
"nativeCurrency": {
+1 -13
View File
@@ -6,22 +6,10 @@ export default {
{
"name": "zkLink Nova Block Explorer",
"url": "https://explorer.zklink.io",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://zklink.io",
"name": "zkLink Nova Mainnet",
"nativeCurrency": {
+1 -13
View File
@@ -6,22 +6,10 @@ export default {
{
"name": "zkLink Nova Block Explorer",
"url": "https://sepolia.explorer.zklink.io",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://zklink.io",
"name": "zkLink Nova Sepolia Testnet",
"nativeCurrency": {
+1 -13
View File
@@ -6,22 +6,10 @@ export default {
{
"name": "zkLink Nova Block Explorer",
"url": "https://goerli.explorer.zklink.io",
"standard": "EIP3091",
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
}
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://zklink.io",
"name": "zkLink Nova Goerli Testnet",
"nativeCurrency": {
+28
View File
@@ -0,0 +1,28 @@
import type { Chain } from "../src/types";
export default {
"chain": "INOAI",
"chainId": 88559,
"explorers": [
{
"name": "inoai live",
"url": "https://inoai.live",
"standard": "none"
}
],
"faucets": [],
"infoURL": "https://inoai.info",
"name": "Inoai Network",
"nativeCurrency": {
"name": "Inoai",
"symbol": "INO",
"decimals": 18
},
"networkId": 88559,
"rpc": [
"https://88559.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://inoai-network.com"
],
"shortName": "INOAI",
"slug": "inoai-network",
"testnet": false
} as const satisfies Chain;
+1
View File
@@ -33,5 +33,6 @@ export default {
"shortName": "chz",
"slip44": 1,
"slug": "chiliz-scoville-testnet",
"status": "deprecated",
"testnet": true
} as const satisfies Chain;
+10 -1
View File
@@ -3,6 +3,11 @@ export default {
"chain": "Spicy",
"chainId": 88882,
"explorers": [
{
"name": "spicy-explorer",
"url": "https://testnet.chiliscan.com",
"standard": "EIP3091"
},
{
"name": "Spicy Explorer",
"url": "http://spicy-explorer.chiliz.com/",
@@ -10,6 +15,8 @@ export default {
}
],
"faucets": [
"https://spicy-faucet.chiliz.com",
"https://tatum.io/faucets/chiliz",
"https://spicy-faucet.chiliz.com/"
],
"features": [],
@@ -30,9 +37,11 @@ export default {
"redFlags": [],
"rpc": [
"https://88882.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://spicy-rpc.chiliz.com/"
"https://spicy-rpc.chiliz.com/",
"https://spicy-rpc.chiliz.com"
],
"shortName": "Spicy",
"slip44": 1,
"slug": "spicy-chain",
"testnet": true
} as const satisfies Chain;
+13 -1
View File
@@ -6,12 +6,24 @@ export default {
{
"name": "mmtscan",
"url": "https://mmtscan.io",
"standard": "EIP3091"
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",
"width": 250,
"height": 250,
"format": "png"
}
}
],
"faucets": [
"https://faucet.mmtscan.io/"
],
"icon": {
"url": "ipfs://QmaF5gi2CbDKsJ2UchNkjBqmWjv8JEDP3vePBmxeUHiaK4",
"width": 250,
"height": 250,
"format": "png"
},
"infoURL": "https://mmtchain.io/",
"name": "Mammoth Mainnet",
"nativeCurrency": {
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 91513,
"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": "Jambon Universe",
"nativeCurrency": {
"name": "Jambon Universe Token",
"symbol": "NIX",
"decimals": 18
},
"networkId": 91513,
"redFlags": [],
"rpc": [
"https://91513.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/jambonuvrs/testnet/rpc"
],
"shortName": "Jambon Universe",
"slug": "jambon-universe",
"testnet": true
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 97370,
"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": "QaUser8236",
"nativeCurrency": {
"name": "QaUser8236 Token",
"symbol": "BPZ",
"decimals": 18
},
"networkId": 97370,
"redFlags": [],
"rpc": [
"https://97370.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QaUser8236",
"slug": "qauser8236",
"testnet": true
} as const satisfies Chain;
+34
View File
@@ -0,0 +1,34 @@
import type { Chain } from "../src/types";
export default {
"chain": "Green Chain",
"chainId": 97531,
"explorers": [
{
"name": "Green Chain Explorer",
"url": "https://explorer.greenchain.app",
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmNWBcc2AtknphNxt4GtTxbWF6vDkf6sh2nvkPn9wqchW6",
"width": 519,
"height": 518,
"format": "png"
},
"infoURL": "https://www.greenchain.app",
"name": "Green Chain Testnet",
"nativeCurrency": {
"name": "GREEN",
"symbol": "GREEN",
"decimals": 18
},
"networkId": 97531,
"rpc": [
"https://97531.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://node.greenchain.app/rpc/"
],
"shortName": "greenchain",
"slug": "green-chain-testnet",
"testnet": true
} as const satisfies Chain;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/chains",
"version": "0.1.109",
"version": "0.1.111",
"main": "dist/thirdweb-dev-chains.cjs.js",
"module": "dist/thirdweb-dev-chains.esm.js",
"exports": {
File diff suppressed because one or more lines are too long
+20
View File
@@ -1,5 +1,25 @@
# thirdweb
## 0.13.91
### Patch Changes
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
- @thirdweb-dev/chains@0.1.111
- @thirdweb-dev/sdk@4.0.85
- @thirdweb-dev/wallets@2.5.25
- @thirdweb-dev/auth@4.1.83
## 0.13.90
### Patch Changes
- Updated dependencies [[`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- @thirdweb-dev/sdk@4.0.84
- @thirdweb-dev/chains@0.1.110
- @thirdweb-dev/wallets@2.5.24
- @thirdweb-dev/auth@4.1.82
## 0.13.89
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/cli",
"main": "dist/cli/index.js",
"version": "0.13.89",
"version": "0.13.91",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+20
View File
@@ -1,5 +1,25 @@
# @thirdweb-dev/react-core
## 4.6.24
### Patch Changes
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
- @thirdweb-dev/chains@0.1.111
- @thirdweb-dev/sdk@4.0.85
- @thirdweb-dev/wallets@2.5.25
- @thirdweb-dev/auth@4.1.83
## 4.6.23
### Patch Changes
- Updated dependencies [[`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- @thirdweb-dev/sdk@4.0.84
- @thirdweb-dev/chains@0.1.110
- @thirdweb-dev/wallets@2.5.24
- @thirdweb-dev/auth@4.1.82
## 4.6.22
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-core",
"version": "4.6.22",
"version": "4.6.24",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+20
View File
@@ -1,5 +1,25 @@
# @thirdweb-dev/react
## 4.6.24
### Patch Changes
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
- @thirdweb-dev/chains@0.1.111
- @thirdweb-dev/sdk@4.0.85
- @thirdweb-dev/react-core@4.6.24
- @thirdweb-dev/wallets@2.5.25
## 4.6.23
### Patch Changes
- Updated dependencies [[`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- @thirdweb-dev/sdk@4.0.84
- @thirdweb-dev/chains@0.1.110
- @thirdweb-dev/react-core@4.6.23
- @thirdweb-dev/wallets@2.5.24
## 4.6.22
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react",
"version": "4.6.22",
"version": "4.6.24",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
Binary file not shown.
+18
View File
@@ -1,5 +1,23 @@
# @thirdweb-dev/sdk
## 4.0.85
### Patch Changes
- Updated dependencies [[`5a40c6a`](https://github.com/thirdweb-dev/js/commit/5a40c6a99b5f4fcafc9c2835f05b41dba8023e4a), [`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549), [`1698c40`](https://github.com/thirdweb-dev/js/commit/1698c40c37a2d9d7e31a8b15d95d87896afab063)]:
- thirdweb@5.22.1
- @thirdweb-dev/chains@0.1.111
## 4.0.84
### Patch Changes
- [#3054](https://github.com/thirdweb-dev/js/pull/3054) [`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fixes gas estimates on marketplace writes
- Updated dependencies [[`cfe60d2`](https://github.com/thirdweb-dev/js/commit/cfe60d22a3eb00241dbc653eba1b7d52c9ce97b1), [`ce45475`](https://github.com/thirdweb-dev/js/commit/ce4547501f9d2c9bd3c6001d39dd6211dbd4e5d6), [`726618b`](https://github.com/thirdweb-dev/js/commit/726618b97a532844c2fede137d7d857deb5e68ec), [`f006429`](https://github.com/thirdweb-dev/js/commit/f006429d7c2415e9f2206e081f6b867854842f0b), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- thirdweb@5.22.0
- @thirdweb-dev/chains@0.1.110
## 4.0.83
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/sdk",
"version": "4.0.83",
"version": "4.0.85",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
"license": "Apache-2.0",
@@ -68,7 +68,7 @@
"generate-docs:evm": "api-extractor run --local --config ./config/api-extractor-evm.json && api-documenter markdown -i ./temp -o ./docs/evm && rm -rf ./temp-evm && mv ./temp ./temp-evm",
"generate-snippets": "node ./scripts/generate-snippets.mjs && node ./scripts/generate-feature-snippets-evm.mjs",
"build": "tsc && preconstruct build",
"test:all": "SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 90000 --parallel './test/evm/**/*.test.ts'",
"test:all": "SWC_NODE_PROJECT=./tsconfig.test.json nyc --reporter lcovonly --report-dir ./coverage/evm mocha --config './test/evm/.mocharc.json' --timeout 180000 --parallel './test/evm/**/*.test.ts'",
"test": "make test-evm",
"test:single": "SWC_NODE_PROJECT=./tsconfig.test.json mocha --config './test/evm/.mocharc.json' --timeout 90000",
"push": "yalc push",
@@ -238,7 +238,7 @@ export class MarketplaceAuction {
listingStartTime = blockTime;
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "createListing",
args: [
@@ -265,6 +265,8 @@ export class MarketplaceAuction {
};
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -289,7 +291,7 @@ export class MarketplaceAuction {
)
).map((tx) => tx.encode());
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "multicall",
args: [data],
@@ -306,6 +308,8 @@ export class MarketplaceAuction {
});
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -396,7 +400,7 @@ export class MarketplaceAuction {
listing.currencyContractAddress,
overrides,
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "offer",
args: [
@@ -408,6 +412,8 @@ export class MarketplaceAuction {
],
overrides,
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -436,7 +442,7 @@ export class MarketplaceAuction {
throw new AuctionAlreadyStartedError(listingId.toString());
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "closeAuction",
args: [
@@ -444,6 +450,8 @@ export class MarketplaceAuction {
await this.contractWrapper.getSignerAddress(),
],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -469,11 +477,13 @@ export class MarketplaceAuction {
}
const listing = await this.validateListing(BigNumber.from(listingId));
try {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "closeAuction",
args: [BigNumber.from(listingId), closeFor],
});
tx.setGasLimitMultiple(1.2);
return tx;
} catch (err: any) {
if (err.message.includes("cannot close auction before it has ended")) {
throw new AuctionHasNotEndedError(
@@ -515,11 +525,13 @@ export class MarketplaceAuction {
listingId,
winningBid.buyerAddress,
]);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "multicall",
args: [closeForSeller, closeForBuyer],
});
tx.setGasLimitMultiple(1.2);
return tx;
} catch (err: any) {
if (err.message.includes("cannot close auction before it has ended")) {
throw new AuctionHasNotEndedError(
@@ -539,7 +551,7 @@ export class MarketplaceAuction {
*/
updateListing = /* @__PURE__ */ buildTransactionFunction(
async (listing: AuctionListing) => {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "updateListing",
args: [
@@ -552,6 +564,8 @@ export class MarketplaceAuction {
listing.endTimeInEpochSeconds,
],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -189,7 +189,7 @@ export class MarketplaceDirect {
listingStartTime = blockTime;
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "createListing",
args: [
@@ -216,6 +216,8 @@ export class MarketplaceDirect {
};
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -240,7 +242,7 @@ export class MarketplaceDirect {
)
).map((tx) => tx.encode());
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "multicall",
args: [data],
@@ -257,6 +259,8 @@ export class MarketplaceDirect {
});
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -330,7 +334,7 @@ export class MarketplaceDirect {
);
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "offer",
args: [
@@ -342,6 +346,8 @@ export class MarketplaceDirect {
],
overrides,
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -373,11 +379,13 @@ export class MarketplaceDirect {
resolvedAddress,
]);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "acceptOffer",
args: [listingId, resolvedAddress, offer.currency, offer.pricePerToken],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -427,7 +435,7 @@ export class MarketplaceDirect {
overrides,
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "buy",
args: [
@@ -439,6 +447,8 @@ export class MarketplaceDirect {
],
overrides,
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -451,7 +461,7 @@ export class MarketplaceDirect {
*/
updateListing = /* @__PURE__ */ buildTransactionFunction(
async (listing: DirectListing) => {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "updateListing",
args: [
@@ -464,6 +474,8 @@ export class MarketplaceDirect {
listing.secondsUntilEnd,
],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -482,11 +494,13 @@ export class MarketplaceDirect {
*/
cancelListing = /* @__PURE__ */ buildTransactionFunction(
async (listingId: BigNumberish) => {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "cancelDirectListing",
args: [listingId],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -366,7 +366,7 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
parsedListing.startTimestamp = BigNumber.from(blockTime);
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "createListing",
args: [
@@ -394,6 +394,8 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
};
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -418,7 +420,7 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
)
).map((tx) => tx.encode());
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this
.contractWrapper as unknown as ContractWrapper<MarketplaceV3>,
method: "multicall",
@@ -436,6 +438,8 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
});
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -498,7 +502,7 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
parsedListing.currencyContractAddress,
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "updateListing",
args: [
@@ -527,6 +531,8 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
};
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -546,11 +552,13 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
*/
cancelListing = /* @__PURE__ */ buildTransactionFunction(
async (listingId: BigNumberish) => {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "cancelListing",
args: [listingId],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -605,7 +613,7 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
overrides,
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "buyFromListing",
args: [
@@ -617,6 +625,8 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
],
overrides,
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -642,11 +652,13 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
const isApproved = await this.isBuyerApprovedForListing(listingId, buyer);
if (!isApproved) {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "approveBuyerForListing",
args: [listingId, buyer, true],
});
tx.setGasLimitMultiple(1.2);
return tx;
} else {
throw new Error(
`Buyer ${buyer} already approved for listing ${listingId}.`,
@@ -678,11 +690,13 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
);
if (isApproved) {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "approveBuyerForListing",
args: [listingId, buyer, false],
});
tx.setGasLimitMultiple(1.2);
return tx;
} else {
throw new Error(
`Buyer ${buyer} not approved for listing ${listingId}.`,
@@ -735,11 +749,13 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
"Currency already approved with this price.",
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "approveCurrencyForListing",
args: [listingId, resolvedCurrencyAddress, pricePerTokenInCurrency],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -776,11 +792,13 @@ export class MarketplaceV3DirectListings<TContract extends DirectListingsLogic>
);
invariant(!currencyPrice.isZero(), "Currency not approved.");
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "approveCurrencyForListing",
args: [listingId, resolvedCurrencyAddress, BigNumber.from(0)],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -357,7 +357,7 @@ export class MarketplaceV3EnglishAuctions<
parsedAuction.startTimestamp = BigNumber.from(blockTime);
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "createAuction",
args: [
@@ -387,6 +387,8 @@ export class MarketplaceV3EnglishAuctions<
};
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -411,7 +413,7 @@ export class MarketplaceV3EnglishAuctions<
)
).map((tx) => tx.encode());
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this
.contractWrapper as unknown as ContractWrapper<MarketplaceV3>,
method: "multicall",
@@ -429,6 +431,8 @@ export class MarketplaceV3EnglishAuctions<
});
},
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -533,12 +537,14 @@ export class MarketplaceV3EnglishAuctions<
overrides,
);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "bidInAuction",
args: [auctionId, normalizedBidAmount],
overrides,
args: [auctionId, normalizedBidAmount],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -565,11 +571,13 @@ export class MarketplaceV3EnglishAuctions<
throw new Error(`Bids already made.`);
}
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "cancelAuction",
args: [auctionId],
});
tx.setGasLimitMultiple(1.2);
return tx;
},
);
@@ -597,11 +605,13 @@ export class MarketplaceV3EnglishAuctions<
}
const auction = await this.validateAuction(BigNumber.from(auctionId));
try {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "collectAuctionTokens",
args: [BigNumber.from(auctionId)],
});
tx.setGasLimitMultiple(1.2);
return tx;
} catch (err: any) {
if (err.message.includes("Marketplace: auction still active.")) {
throw new AuctionHasNotEndedError(
@@ -635,11 +645,13 @@ export class MarketplaceV3EnglishAuctions<
async (auctionId: BigNumberish) => {
const auction = await this.validateAuction(BigNumber.from(auctionId));
try {
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this.contractWrapper,
method: "collectAuctionPayout",
args: [BigNumber.from(auctionId)],
});
tx.setGasLimitMultiple(1.2);
return tx;
} catch (err: any) {
if (err.message.includes("Marketplace: auction still active.")) {
throw new AuctionHasNotEndedError(
@@ -681,12 +693,14 @@ export class MarketplaceV3EnglishAuctions<
const closeForBuyer = this.encoder.encode("collectAuctionTokens", [
auctionId,
]);
return Transaction.fromContractWrapper({
const tx = Transaction.fromContractWrapper({
contractWrapper: this
.contractWrapper as unknown as ContractWrapper<IMulticall>,
method: "multicall",
method: "multicall",
args: [[closeForSeller, closeForBuyer]],
});
tx.setGasLimitMultiple(1.2);
return tx;
} catch (err: any) {
if (err.message.includes("Marketplace: auction still active.")) {
throw new AuctionHasNotEndedError(
Binary file not shown.
@@ -1,5 +1,25 @@
# @thirdweb-dev/unity-js-bridge
## 0.6.34
### Patch Changes
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
- @thirdweb-dev/chains@0.1.111
- @thirdweb-dev/sdk@4.0.85
- @thirdweb-dev/wallets@2.5.25
- @thirdweb-dev/auth@4.1.83
## 0.6.33
### Patch Changes
- Updated dependencies [[`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- @thirdweb-dev/sdk@4.0.84
- @thirdweb-dev/chains@0.1.110
- @thirdweb-dev/wallets@2.5.24
- @thirdweb-dev/auth@4.1.82
## 0.6.32
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/unity-js-bridge",
"version": "0.6.32",
"version": "0.6.34",
"main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0",
@@ -171,7 +171,7 @@ class ThirdwebBridge implements TWBridge {
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
(globalThis as any).X_SDK_PLATFORM = "unity";
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
(globalThis as any).X_SDK_VERSION = "4.13.0";
(globalThis as any).X_SDK_VERSION = "4.13.1";
// biome-ignore lint/suspicious/noExplicitAny: TODO: fix use of any
(globalThis as any).X_SDK_OS = browser?.os ?? "unknown";
}
@@ -291,12 +291,17 @@ class ThirdwebBridge implements TWBridge {
break;
}
case "inAppWallet":
walletInstance = new InAppWallet({
clientId: sdkOptions.clientId,
chain: Ethereum,
dappMetadata,
chains: supportedChains,
});
// if already initialized, skip
if (this.walletMap.has(walletId)) {
walletInstance = this.walletMap.get(walletId) as InAppWallet;
} else {
walletInstance = new InAppWallet({
clientId: sdkOptions.clientId,
chain: Ethereum,
dappMetadata,
chains: supportedChains,
});
}
break;
default:
throw new Error(`Unknown wallet type: ${walletId}`);
@@ -340,100 +345,111 @@ class ThirdwebBridge implements TWBridge {
if (wallet === "inAppWallet") {
const embeddedWallet = walletInstance as InAppWallet;
const authOptionsParsed = JSON.parse(authOptions || "{}");
if (authOptionsParsed.authProvider === 0) {
// EmailOTP
if (!email) {
throw new Error("Email is required for EmailOTP auth provider");
}
const authResult = await embeddedWallet.authenticate({
strategy: "iframe_email_verification",
email,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider < 4) {
// OAuth
let authProvider: InAppWalletOauthStrategy;
switch (authOptionsParsed.authProvider) {
// Google
case 1:
authProvider = "google";
break;
// Apple
case 2:
authProvider = "apple";
break;
// Facebook
case 3:
authProvider = "facebook";
break;
default:
throw new Error(
`Invalid auth provider: ${authOptionsParsed.authProvider}`,
);
}
const popupWindow = this.openPopupWindow();
if (!popupWindow) {
throw new Error("Failed to open login window");
}
const authResult = await embeddedWallet.authenticate({
strategy: authProvider,
openedWindow: popupWindow,
closeOpenedWindow: (openedWindow) => {
openedWindow.close();
},
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 4) {
// JWT
const authResult = await embeddedWallet.authenticate({
strategy: "jwt",
jwt: authOptionsParsed.jwtOrPayload,
encryptionKey: authOptionsParsed.encryptionKey,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 5) {
// AuthEndpoint
const authResult = await embeddedWallet.authenticate({
strategy: "auth_endpoint",
payload: authOptionsParsed.jwtOrPayload,
encryptionKey: authOptionsParsed.encryptionKey,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 6) {
// PhoneOTP
throw new Error(
"PhoneOTP auth provider not implemented yet for WebGL, stay tuned!",
if (
(await embeddedWallet.connector?.isConnected()) &&
((email && (await embeddedWallet.getEmail()) === email) ||
(phoneNumber &&
(await embeddedWallet.getPhoneNumber()) === phoneNumber))
) {
console.log(
"Already connected to InAppWallet, skipping auth. If you meant to re-authenticate, disconnect first.",
);
// if (!phoneNumber) {
// throw new Error(
// "Phone number is required for PhoneOTP auth provider",
// );
// }
// const authResult = await embeddedWallet.authenticate({
// strategy: "iframe_phone_number_verification",
// phoneNumber,
// });
// await embeddedWallet.connect({
// chainId: chainIdNumber,
// authResult,
// });
} else {
throw new Error(
`Invalid auth provider: ${authOptionsParsed.authProvider}`,
);
const authOptionsParsed = JSON.parse(authOptions || "{}");
if (authOptionsParsed.authProvider === 0) {
// EmailOTP
if (!email) {
throw new Error("Email is required for EmailOTP auth provider");
}
const authResult = await embeddedWallet.authenticate({
strategy: "iframe_email_verification",
email,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider < 4) {
// OAuth
let authProvider: InAppWalletOauthStrategy;
switch (authOptionsParsed.authProvider) {
// Google
case 1:
authProvider = "google";
break;
// Apple
case 2:
authProvider = "apple";
break;
// Facebook
case 3:
authProvider = "facebook";
break;
default:
throw new Error(
`Invalid auth provider: ${authOptionsParsed.authProvider}`,
);
}
const popupWindow = this.openPopupWindow();
if (!popupWindow) {
throw new Error("Failed to open login window");
}
const authResult = await embeddedWallet.authenticate({
strategy: authProvider,
openedWindow: popupWindow,
closeOpenedWindow: (openedWindow) => {
openedWindow.close();
},
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 4) {
// JWT
const authResult = await embeddedWallet.authenticate({
strategy: "jwt",
jwt: authOptionsParsed.jwtOrPayload,
encryptionKey: authOptionsParsed.encryptionKey,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 5) {
// AuthEndpoint
const authResult = await embeddedWallet.authenticate({
strategy: "auth_endpoint",
payload: authOptionsParsed.jwtOrPayload,
encryptionKey: authOptionsParsed.encryptionKey,
});
await embeddedWallet.connect({
chainId: chainIdNumber,
authResult,
});
} else if (authOptionsParsed.authProvider === 6) {
// PhoneOTP
throw new Error(
"PhoneOTP auth provider not implemented yet for WebGL, stay tuned!",
);
// if (!phoneNumber) {
// throw new Error(
// "Phone number is required for PhoneOTP auth provider",
// );
// }
// const authResult = await embeddedWallet.authenticate({
// strategy: "iframe_phone_number_verification",
// phoneNumber,
// });
// await embeddedWallet.connect({
// chainId: chainIdNumber,
// authResult,
// });
} else {
throw new Error(
`Invalid auth provider: ${authOptionsParsed.authProvider}`,
);
}
}
} else if (wallet === "smartWallet") {
if (!personalWallet) {
+16
View File
@@ -1,5 +1,21 @@
# @thirdweb-dev/wallets
## 2.5.25
### Patch Changes
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
- @thirdweb-dev/chains@0.1.111
- @thirdweb-dev/sdk@4.0.85
## 2.5.24
### Patch Changes
- Updated dependencies [[`c417bda`](https://github.com/thirdweb-dev/js/commit/c417bdaae3e73184143f937eb253f5d0d04d3732), [`46492bb`](https://github.com/thirdweb-dev/js/commit/46492bb66e5225279b9f2de91e0a42f00a3506d3)]:
- @thirdweb-dev/sdk@4.0.84
- @thirdweb-dev/chains@0.1.110
## 2.5.23
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wallets",
"version": "2.5.23",
"version": "2.5.25",
"main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js",
"browser": {
+1 -1
View File
@@ -12,7 +12,7 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "turbo run test --filter=./packages/*",
"test:legacy": "turbo run test --filter=./legacy_packages/* --filter=!sdk",
"test:legacy": "turbo run test --filter=./legacy_packages/*",
"e2e": "turbo run e2e --filter=./packages/*",
"e2e:legacy": "turbo run e2e --filter=./legacy_packages/*",
"build:packages": "turbo run build --filter=./packages/*",
@@ -0,0 +1,7 @@
# @thirdweb-dev/react-native-adapter
## 1.0.0
### Major Changes
- [#3037](https://github.com/thirdweb-dev/js/pull/3037) [`f006429`](https://github.com/thirdweb-dev/js/commit/f006429d7c2415e9f2206e081f6b867854842f0b) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - initial release
@@ -0,0 +1,62 @@
{
"name": "@thirdweb-dev/react-native-adapter",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"type": "module",
"main": "./dist/cjs/exports/thirdweb.js",
"module": "./dist/esm/exports/thirdweb.js",
"types": "./dist/types/exports/thirdweb.d.ts",
"typings": "./dist/types/exports/thirdweb.d.ts",
"exports": {
".": {
"types": "./dist/types/exports/thirdweb.d.ts",
"import": "./dist/esm/exports/thirdweb.js",
"default": "./dist/cjs/exports/thirdweb.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/*",
"src/*"
],
"dependencies": {
"@walletconnect/react-native-compat": "^2.13.0"
},
"peerDependencies": {
"typescript": ">=5.0.4",
"@react-native-async-storage/async-storage": "*",
"@react-native-community/netinfo": "*",
"expo-application": "*",
"react-native-get-random-values": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"expo-application": {
"optional": true
}
},
"scripts": {
"format": "biome format 'src/**/*' --write",
"lint": "biome check src/",
"fix": "biome check src/ --apply",
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rimraf dist",
"push": "yalc push"
},
"engines": {
"node": ">=18"
}
}
@@ -0,0 +1,2 @@
import "../shims.js";
// nothing else goes here, this is meant to import shims.js only
@@ -0,0 +1,3 @@
import "@walletconnect/react-native-compat";
// additional polyfills go here
@@ -0,0 +1,47 @@
{
// This tsconfig file contains the shared config for the build (tsconfig.build.json) and type checking (tsconfig.json) config.
"include": [],
"compilerOptions": {
// Incremental builds
// NOTE: Enabling incremental builds speeds up `tsc`. Keep in mind though that it does not reliably bust the cache when the `tsconfig.json` file changes.
"incremental": false,
// Type checking
"strict": true,
"useDefineForClassFields": true, // Not enabled by default in `strict` mode unless we bump `target` to ES2022.
"noFallthroughCasesInSwitch": true, // Not enabled by default in `strict` mode.
"noImplicitReturns": true, // Not enabled by default in `strict` mode.
"useUnknownInCatchVariables": true, // TODO: This would normally be enabled in `strict` mode but would require some adjustments to the codebase.
"noImplicitOverride": true, // Not enabled by default in `strict` mode.
"noUnusedLocals": true, // Not enabled by default in `strict` mode.
"noUnusedParameters": true, // Not enabled by default in `strict` mode.
"exactOptionalPropertyTypes": false, // Not enabled by default in `strict` mode.
"noUncheckedIndexedAccess": true, // Not enabled by default in `strict` mode.
// JavaScript support
"allowJs": false,
"checkJs": false,
// Interop constraints
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
"importHelpers": true, // This is only used for build validation. Since we do not have `tslib` installed, this will fail if we accidentally make use of anything that'd require injection of helpers.
// Language and environment
"moduleResolution": "NodeNext",
"module": "NodeNext",
"target": "ES2021", // Setting this to `ES2021` enables native support for `Node v16+`: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping.
"lib": [
"ES2022", // By using ES2022 we get access to the `.cause` property on `Error` instances.
"DOM" // We are adding `DOM` here to get the `fetch`, etc. types. This should be removed once these types are available via DefinitelyTyped.
],
// Skip type checking for node modules
"skipLibCheck": true,
// jsx for "/react" portion
"jsx": "react-jsx"
}
}
@@ -0,0 +1,16 @@
{
"extends": "./tsconfig.base.json",
"include": ["src"],
"exclude": [
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/**/*.test-d.ts",
"src/**/*.bench.ts",
"src/**/*.macro.ts"
],
"compilerOptions": {
"moduleResolution": "node",
"sourceMap": true,
"rootDir": "./src"
}
}
@@ -0,0 +1,13 @@
{
// This configuration is used for local development and type checking.
"extends": "./tsconfig.base.json",
"include": ["src", "test"],
"exclude": [],
// "references": [{ "path": "./scripts/tsconfig.json" }],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~test/*": ["./test/src/*"]
}
}
}

Some files were not shown because too many files have changed in this diff Show More