Compare commits

...
Author SHA1 Message Date
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>Joaquim VergesGitHub Action
aad5f9f221 Version Packages (#2954)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
2024-05-10 13:13:26 +12:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7a7a904d73 build(deps-dev): bump next from 13.5.6 to 14.1.1 in the npm_and_yarn group (#2977)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 00:42:38 +00:00
d660b6ce32 React tests & deterministic deploy cleanup (#2969)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-10 11:58:20 +12:00
Joaquim VergesandGitHub c744935ced fix: jsdoc in generated extension functions (#2975) 2024-05-10 11:44:51 +12:00
24c1670e70 feat: smartAccount option for in-app wallets (#2931)
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-09 23:15:57 +00:00
gregandGitHub b1ca05ec12 Allow nonce to be zero on toSerializableTransaction (#2972) 2024-05-09 22:56:01 +00:00
Joaquim VergesandGitHub 3847cca5bc fix: linter for tests (#2974) 2024-05-10 10:55:35 +12:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
99a91709a6 chore(chains): update chains (#2963)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-09 11:12:31 -07:00
ae1077656f [React] Add Arweave URI support to <MediaRenderer /> (#2965)
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-09 11:12:04 -07:00
3887b76689 chore: pin all deps for RN v4 (#2968)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-09 11:09:12 -07:00
Jonas DanielsandGitHub ce1f2dff0d build: Install node-gyp globally (#2971) 2024-05-09 10:30:07 -07:00
Jonas DanielsandGitHub 22dae7fe2e chore(lock): fix lockfile (#2970) 2024-05-09 10:16:28 -07:00
Joaquim VergesandGitHub 33ed260ce1 chore: pnpm lockfile (#2967) 2024-05-09 21:25:37 +12:00
gregandGitHub 4de8802435 Fix(CLI): hardhat hanging process (#2966) 2024-05-09 06:18:16 +00:00
fd1bd7e7ef Add resolve method for Arweave URIs (#2955)
Co-authored-by: Kien Ngo <[email protected]>
2024-05-09 01:02:38 +00:00
gregandGitHub 5b6b241334 Fix(deployPublishedContract): Miscellaneous bug fixes (#2962) 2024-05-08 22:22:47 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8d1aaffb68 chore(chains): update chains (#2961)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-08 12:18:39 -07:00
gregandGitHub 02a0ca9727 Fix(getContractEvents): properly offset when using blockRange (#2958) 2024-05-08 11:32:02 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2bfaafcc10 chore(chains): update chains (#2925)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-08 11:29:29 -07:00
Manan TankandGitHub 3377fc9882 Fix custom details button not opening the details modal (#2959) 2024-05-08 18:12:20 +00:00
YashandGitHub 0e45f24fd6 Update zksync addresses (#2960) 2024-05-08 18:06:44 +00:00
Joaquim VergesandGitHub 5a39c049c7 fix: React native v4 dependencies (#2956) 2024-05-08 03:02:10 +00:00
gregandGitHub d4808fd7e8 Feature(InApp Wallets): Export getUserPhoneNumber and getAuthenticatedUser (#2950) 2024-05-08 00:23:18 +00:00
gregandGitHub 1d79fb00f3 Setup React Testing Library (#2947) 2024-05-07 21:02:12 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
149160bec6 Version Packages (#2930)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-08 08:53:44 +12:00
gregandGitHub 55d519b537 Remove faulty test check to fix typedoc (#2952) 2024-05-08 08:31:40 +12:00
gregandGitHub 49d4494008 Fix(Marketplace): Increase gas on writes (#2951) 2024-05-07 19:37:32 +00:00
gregandGitHub 44680c65c1 Adds extraGas override for transaction preparation (#2948) 2024-05-07 18:13:18 +00:00
0e19911668 Docs: Fix typos + add code snippet (#2949)
Co-authored-by: Kien Ngo <[email protected]>
2024-05-07 17:10:22 +00:00
gregandGitHub ec149f3834 Read RPC on Viem chain adapter (#2946) 2024-05-07 11:02:47 +00:00
gregandGitHub b64c8e7b6e Remove old CLI templates (#2945) 2024-05-07 02:06:30 +00:00
gregandGitHub 795a59e436 Feature: Adds blockRange option to getContractEvents (#2941) 2024-05-07 00:02:29 +00:00
82e89116af feat: show auth provider icon when connected to inapp wallet (#2944)
Co-authored-by: Manan Tank <[email protected]>
2024-05-06 23:28:47 +00:00
gregandGitHub bdb919f32a Update CLI to v5 templates (#2934) 2024-05-06 21:13:36 +00:00
Manan TankandGitHub a692154924 Fix OTP input entered by clicking on “from messages” option in iOS safari (#2936) 2024-05-06 20:23:18 +00:00
Manan TankandGitHub 1d327b6bb7 Fix radix warning for switch network button ref (#2935) 2024-05-06 19:36:12 +00:00
Manan TankandGitHub 8e0a3cea1e Integrate Pay Modal with TransactionButton, disable Pay Modal for gasless (#2933) 2024-05-06 18:17:31 +00:00
86105c9d91 TransactionButton: Throw error on reverted txn (#2932)
Co-authored-by: Joaquim Verges <[email protected]>
2024-05-06 05:17:46 +00:00
gregandGitHub cea736c7e4 Filter out invalid listings with invalid currencies (#2928) 2024-05-06 10:41:56 +12:00
Joaquim VergesandGitHub 9f817cf812 feat: tweak connected modal UI layout (#2929) 2024-05-05 09:35:59 +00:00
gregandGitHub b3dd90b886 Improve useReadContract example (#2924) 2024-05-04 06:16:02 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
bb80b1d758 Version Packages (#2909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-04 15:28:53 +12:00
Joaquim VergesandGitHub 5b0c37a0d9 feat: default account factory for smart accounts + switch chain support (#2917) 2024-05-03 20:03:28 -07:00
gregandGitHub d77b6f67ad Adds use client directives (#2921) 2024-05-03 19:33:45 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2c4af9a85d chore(chains): update chains (#2920)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 18:25:16 -07:00
Jonas DanielsandGitHub 47de345b60 chore(wallets): add support for several new wallets (#2919) 2024-05-03 18:25:01 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
7485f6bb41 chore(chains): update chains (#2918)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 16:33:27 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
c280112bba chore(chains): update chains (#2910)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 12:15:06 -07:00
Joaquim VergesandGitHub 664082e5e6 feat: prepareDeployDeterministicTransaction (#2915) 2024-05-03 01:50:10 +00:00
Joaquim VergesandGitHub 24a3ee49d1 fix: legacy transactions with in-app wallet (#2914) 2024-05-03 13:44:55 +12:00
gregandGitHub 5525a0e336 Filter invalid auction listings on getAllAuctions (#2913) 2024-05-02 13:53:57 -07:00
gregandGitHub 35acbcd10e Update mintWithSignature ABIs with proper return types (#2911) 2024-05-02 16:05:35 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
83d1d6f397 chore(chains): update chains (#2908)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-02 09:16:38 +12:00
gregandGitHub 1f3e5c4726 Create wallet ID constants file (#2900) 2024-05-01 16:29:01 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
6bf1dad28b Version Packages (#2896)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-01 21:55:20 +12:00
Joaquim VergesandGitHub 75e66b189d fix: signTypedData verification for smart accounts (#2906) 2024-05-01 21:37:58 +12:00
Joaquim VergesandGitHub d2541e5d2c chore: update to cb wallet rc2 (#2907) 2024-05-01 21:25:15 +12:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
0bce535094 chore(chains): update chains (#2902)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-01 20:39:11 +12:00
88886acd76 Adds overrides to extension functions (#2898)
Co-authored-by: Joaquim Verges <[email protected]>
2024-05-01 14:00:29 +12:00
YashandGitHub 1d669547fb Contracts version 3.15.0 (#2904) 2024-05-01 01:38:03 +00:00
Joaquim VergesandGitHub 9a031bb19f chore: bump timeout for userop receipts to 2 mins (#2905) 2024-05-01 01:17:19 +00:00
gregandGitHub e6fce1f2e6 Fix event duplication in useContractEvents (#2899) 2024-04-30 20:12:25 +00:00
Joaquim VergesandGitHub 3c13fe4423 fix: switch to base sepolia for sw legacy integration tests (#2901) 2024-04-30 21:19:01 +12:00
gregandGitHub f916d7a453 Fix TransactionButton loading state layout (#2897) 2024-04-30 04:57:07 +00:00
Joaquim VergesandGitHub 7882b22306 feat: coinbase wallet sdk v4 with SW support (#2875) 2024-04-30 00:52:35 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
429f2d3291 Version Packages (#2868)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-30 10:21:33 +12:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27ef292377 build(deps-dev): bump @babel/runtime from 7.24.4 to 7.24.5 (#2889)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 14:23:40 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9962f99ecf build(deps): bump @walletconnect/utils from 2.12.1 to 2.12.2 (#2891)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 21:14:49 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bdeb6734ce chore(chains): update chains (#2895)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 14:09:00 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fdbc2cc9a7 build(deps): bump turbo from 1.13.2 to 1.13.3 (#2893)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 13:59:12 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
91af89349f build(deps-dev): bump @biomejs/biome from 1.7.0 to 1.7.1 (#2894)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 13:59:00 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
7f2ec9c2dc chore(chains): update chains (#2865)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 13:57:57 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c05e2a325b build(deps): bump @walletconnect/web3wallet from 1.11.1 to 1.11.2 (#2884)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 20:49:36 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
913a801111 build(deps): bump @walletconnect/react-native-compat from 2.12.1 to 2.12.2 (#2886)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 20:49:12 +00:00
Manan TankandGitHub 597900bdcc Add onConnect prop on AutoConnect (#2879) 2024-04-29 18:06:29 +00:00
gregandGitHub bfdfc23e3a Better error message on failed predictAddress (#2882) 2024-04-29 10:57:35 -07:00
gregandGitHub 48e6427d65 Small improvement to verifySignature docs example (#2883) 2024-04-29 10:40:45 -07:00
7f4caf0627 Fix nonce value for ethers5 adapter (#2881)
Co-authored-by: Kien Ngo <[email protected]>
2024-04-29 10:11:07 -07:00
8ae8e6a702 Cleanup TransactionButton loading state (#2870)
Co-authored-by: Manan Tank <[email protected]>
2024-04-29 09:55:17 -07:00
d2aead486e Docs: update incorrect code snippet for viem adapter (#2874)
Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-29 09:54:59 -07:00
Manan TankandGitHub 62c799d348 Fix exception on chain with unknown chainId (#2866) 2024-04-29 14:41:54 +00:00
Joaquim VergesandGitHub 99298b397c Add optional icon in ChainOptions (#2872) 2024-04-29 04:59:06 +00:00
Joaquim VergesandGitHub e98405e676 fix: jsDoc import for viem adapter (#2873) 2024-04-28 20:30:55 +12:00
Joaquim VergesandGitHub 272e0ebf05 fix: ENS jsDocs exports (#2871) 2024-04-28 17:32:24 +12:00
gregandGitHub fa4bd436e0 Adds disabled prop to TransactionButton (#2869) 2024-04-26 22:09:29 +00:00
gregandGitHub 674fcc7e95 Enable single phase drop compatibility (#2867) 2024-04-26 14:18:02 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
faf65e31b7 Version Packages (#2864)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-26 11:09:43 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5a87891d16 chore(chains): update chains (#2862)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-26 10:59:36 -07:00
84487d0d78 fix(legacy_packages): fix onAuthSuccess not being passed through to… (#2863)
Co-authored-by: Manan Tank <[email protected]>
2024-04-26 17:52:54 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
ddfdfc5a02 Version Packages (#2856)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-25 15:32:29 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
dbdafa2b01 chore(chains): update chains (#2852)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 15:05:38 -07:00
77c2a8ae0c Update code snippet for ERC20 getBalance; fix typos (#2857)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 14:27:01 -07:00
5c1f4db356 Fix: Use 127.0.0.1 on anvil rpc (#2860)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 14:26:42 -07:00
YashandGitHub 5b83353237 Export airdrop extensions (#2861) 2024-04-25 21:19:22 +00:00
56c139c5a2 feat: Add account abstraction options to useConnect (#2853)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-25 21:06:41 +00:00
Jonas DanielsandGitHub 03d8d6c15b feat(TransactionButton): add gasless prop (#2859) 2024-04-25 20:10:21 +00:00
gregandGitHub f12f9bbdcf Cleanup getUniswapV3Pool docs and internal naming (#2855) 2024-04-25 19:59:17 +00:00
FirekeeperandGitHub 82ee42d667 Unity 4.12.4 (#2858) 2024-04-25 19:50:05 +00:00
FirekeeperandGitHub 81c297faeb Unity 4.12.3 (#2854) 2024-04-25 07:44:08 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
20fb0d2300 Version Packages (#2847)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-24 16:48:07 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
637c510f59 chore(chains): update chains (#2838)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-24 16:02:15 -07:00
YashandGitHub 2ae9a13b01 feat: add new airdrop extension (#2841) 2024-04-24 22:24:15 +00:00
Manan TankandGitHub 8d91e55eac Add missing lang for JSDoc code examples (#2851) 2024-04-24 21:24:30 +00:00
Manan TankandGitHub aa0b8c4465 Fix All Wallets UI in Connect (#2850) 2024-04-24 20:37:25 +00:00
Jonas DanielsandGitHub 41be954bd0 feat: Add celo chains to known op stack chains (#2848) 2024-04-24 11:55:40 -07:00
e8e3368fde Add extension: isERC20 (#2846)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-24 10:06:03 -07:00
Jonas DanielsandGitHub e1cd07c3e0 Version Packages (#2840) 2024-04-24 08:42:51 -07:00
Jonas DanielsandGitHub 8683449abb fix: Fix exportLocalWallet component rendering issue (#2845) 2024-04-23 22:16:13 -07:00
cfff7e838a Fix custom chain not used in wallet connection (#2768)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-24 04:48:23 +00:00
948f155e7c feat(transactions): add support for gasless transactions (#2818)
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-23 21:56:19 -07:00
Joaquim VergesandGitHub d7e6671c0a fix: handle signature mint with price and currency (#2842) 2024-04-23 23:01:21 +00:00
560d8adafa feat: Add sign-in with Phone number in in-app wallet (#2679)
Signed-off-by: Winston Yeo <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-23 22:57:06 +00:00
Manan TankandGitHub 3be61ddc52 Enable Buy Modal by default with useSendTransaction hook (#2839) 2024-04-23 13:58:14 -07:00
gregandGitHub a0e26a8c4f Contributing guide updates (#2833) 2024-04-23 12:54:38 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
2c8bdfd493 Version Packages (#2835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-23 11:50:27 -07:00
Jonas DanielsandGitHub 3810df57aa feat: add missing events for erc721, erc1155 and erc20 (#2836) 2024-04-23 18:00:22 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
45677ad620 chore(chains): update chains (#2821)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-23 11:03:22 -07:00
Jonas DanielsandGitHub 0b5bb015f9 chore: Add @gregfromstl as code owner (#2837) 2024-04-23 11:00:10 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
20d73bf0eb build(deps): bump @walletconnect/ethereum-provider from 2.12.1 to 2.12.2 (#2825)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 16:51:45 +00:00
Farhan KhwajaandGitHub 773b70aa1c Update: Added httpMethod to usage-tracker (#2832) 2024-04-23 16:27:41 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e77488217b build(deps): bump @thirdweb-dev/contracts from 3.13.0 to 3.14.0 (#2826)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 16:26:35 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
b62dc4abb3 Version Packages (#2820)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-23 21:58:09 +12:00
Joaquim VergesandGitHub be8541054e fix: erc1155 sigmint with additional supply (#2834) 2024-04-23 21:11:12 +12:00
Manan TankandGitHub 38f3b2eb21 Fix Smart Wallet + In-app wallet connection (#2831) 2024-04-22 21:33:12 +00:00
Joaquim VergesandGitHub 493bf8d2db fix: jsdoc for useConnect (#2830) 2024-04-23 08:21:23 +12:00
a919b27c7a Add extension: multicall3 (#2822)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-22 17:46:01 +00:00
FirekeeperandGitHub 0ca69a9234 Unity 4.12.2 (#2824) 2024-04-22 17:17:57 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6d6e0ac694 chore(chains): update chains (#2819)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-20 12:38:18 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
8516fc11f9 Version Packages (#2817)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-19 14:36:14 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
b4e7c74ce5 chore(chains): update chains (#2812)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-19 11:11:44 -07:00
Jonas DanielsandGitHub d6646475e2 refactor(viem): explicitly type walletClient return type (#2816) 2024-04-19 17:30:13 +00:00
Jonas DanielsandGitHub 4dbcbd13db feat(react): initial auth for <ConnectButton /> (#2793)
Co-authored-by: Manan Tank <[email protected]>
2024-04-19 10:36:11 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
4eb628363a Version Packages (#2808)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-19 21:00:12 +12:00
Joaquim VergesandGitHub 381b669cd1 fix: react query invalidation (#2815) 2024-04-19 20:42:24 +12:00
Jonas DanielsandGitHub bebcf46c3a feat: Add support for updating metadata for ERC1155 contracts (#2814) 2024-04-18 14:43:22 -07:00
1b2bfc83d7 feat: add ERC20 and ERC1155 signature mint extensions (#2811)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-18 21:22:03 +00:00
Jonas DanielsandGitHub 576bb579f6 refactor: Refactor test code for ERC721 and ERC1155 direct listings (#2813) 2024-04-18 11:01:19 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
23680d19cb chore(chains): update chains (#2809)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-18 09:10:29 -07:00
Jonas DanielsandGitHub 94e354aad3 feat(marketplace/offers): implement extensions for marketplace offers (#2806)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-18 01:54:56 -07:00
Jonas DanielsandGitHub e18606e034 chore: update stale issue settings (#2810) 2024-04-17 23:43:45 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ca2576f818 chore(chains): update chains (#2802)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-17 22:55:46 -07:00
FirekeeperandGitHub ec35f32d2b Unity 4.12.1 (#2805) 2024-04-18 05:45:13 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
b4df56f40f Version Packages (#2786)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-17 14:20:16 -07:00
Jonas DanielsandGitHub 4a6eed5d99 chore: update release-artifacts timeout (#2804) 2024-04-17 14:15:25 -07:00
Jonas DanielsandGitHub a54c745977 feat: Added new extensions for English Auctions (#2803) 2024-04-17 14:13:55 -07:00
Jonas DanielsandGitHub 0c95e80665 feat(marketplace): add more english auction extensions (#2794)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-17 13:28:45 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
31b6a4ffe1 chore(chains): update chains (#2791)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-17 12:17:45 -07:00
Jonas DanielsandGitHub 4f2a3fb1f1 docs: Update terminology in useSendTransaction.tsx (#2800) 2024-04-17 12:16:39 -07:00
Jonas DanielsandGitHub 37bd0e42a5 fix(cli): fix spawn issue on windows (#2799) 2024-04-17 11:52:17 -07:00
Joaquim VergesandGitHub f5abbe8b54 feat: Add deployPublishedContract deploy extension (#2788) 2024-04-17 18:12:27 +00:00
Jonas DanielsandGitHub b1d9e4aa97 chore: Remove unused code from LocalWallet (#2798) 2024-04-17 17:35:32 +00:00
EimanandGitHub 5398d6813e fixed mintAdditionalSupplyTo example (#2796) 2024-04-17 09:39:53 -07:00
FirekeeperandGitHub bf0509e746 Unity 4.12 - Engine Relayer Support (#2792) 2024-04-17 15:53:00 +00:00
Joaquim VergesandGitHub 7c178923f9 fix: claim with price and no allowlists (#2795) 2024-04-17 22:03:16 +12:00
300e4c8a51 feat: Integrate Buy Modal with useSendTransaction hook (#2767)
Signed-off-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-16 15:14:44 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8cb8a74002 chore(chains): update chains (#2789)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-16 13:50:01 -07:00
Manan TankandGitHub dc7ea82f8a show email selection by default for in-app wallet in Connect UI (#2790) 2024-04-16 13:02:08 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8541709359 chore(chains): update chains (#2787)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-15 22:40:56 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
76f93a4346 chore(chains): update chains (#2777)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-15 18:46:12 -07:00
Jonas DanielsandGitHub 4c7153c95d chore: update dependencies (#2785) 2024-04-15 18:45:47 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2fd9c92c49 build(deps): bump eslint-config-next from 13.4.12 to 14.2.1 (#2780)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 01:39:01 +00:00
Jonas DanielsandGitHub 2de2b69934 chore(tests): add test for gas cost for native token (#2783) 2024-04-15 15:27:37 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
9cb51536b4 Version Packages (#2762)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-15 15:05:59 -07:00
Joaquim VergesandGitHub 9b0a3df709 fix: deploy WETH9 infra contract for marketplace deploys (#2775) 2024-04-14 23:44:17 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Jonas Daniels
0c9376ff17 chore(chains): update chains (#2772)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-13 16:22:48 +00:00
Jonas DanielsandGitHub df338f5f75 feat(extensions/erc20): add claimTo and claim condition extensions (#2771) 2024-04-13 09:16:18 -07:00
Jonas DanielsandGitHub ea0dedcb6e test: Update chain definition in isEIP155Enforced test (#2773) 2024-04-12 22:58:47 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
50bbc7c053 chore(chains): update chains (#2763)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 16:42:36 -07:00
Jonas DanielsandGitHub ff354a6ae1 Jd/cleanups (#2770) 2024-04-12 13:33:15 -07:00
8197b3ced2 [SDK] Adds serializeTransaction function (#2760)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-12 13:29:54 -07:00
65e4ddc8e0 feat: add erc721 claim conditions + override list support (#2766)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-12 18:55:38 +00:00
Jonas DanielsandGitHub 955a20737a chore: temporarily move the bridge to legacy_packages until it is switched to v5 SDK (#2769) 2024-04-12 16:17:49 +00:00
FirekeeperandGitHub f0fe1fdb1b Unity 4.11.0, EmbeddedWallet -> InAppWallet + fix 4.10 regression (#2765) 2024-04-12 00:10:11 +00:00
Jonas DanielsandGitHub b22a572d8a fix: Update package dependencies versions (#2764) 2024-04-11 17:08:52 -07:00
Jonas DanielsandGitHub 9d46fce50f extensions(permissions): add support for initial permissions (#2757) 2024-04-11 16:47:30 -07:00
Manan TankandGitHub a18fc8e1b7 Connect UI context cleanup (#2761) 2024-04-11 23:34:14 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6574e4da99 chore(chains): update chains (#2755)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-11 15:39:02 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
5781dac184 Version Packages (#2751)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:50:17 -07:00
db05717803 feat: 1155 extensions (#2744)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-11 13:15:02 -07:00
Joaquim VergesandGitHub cb2a7e964a [v4] Alias embeddedWallet to inAppWallet (#2745) 2024-04-11 18:51:13 +00:00
07f98a5b92 feat: Update Swap UI in ConnectButton (#2759)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-11 17:33:00 +00:00
Manan TankandGitHub 007770cd63 feat: add alias for inApp wallet, show ENS in Connect (#2748) 2024-04-11 16:47:39 +00:00
Manan TankandGitHub a92311a53d [v4] Fix window popup blocked for social login in iOS Safari when using useEmbeddedWallet hook (#2758) 2024-04-11 16:25:28 +00:00
Jonas DanielsandGitHub e6b5d9cc5d fix: ens avatar resolution (#2756) 2024-04-11 15:28:34 +00:00
Jonas DanielsandGitHub c4d51e0b80 refactor: Update optional properties input in schema (#2754) 2024-04-10 22:26:23 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
259ff7c07c chore(chains): update chains (#2753)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 21:42:22 -07:00
Jonas DanielsandGitHub 39c6fbc552 feat(extensions): add generated is<Ext>Supported and encode<Ext> calls, add concatHex util fn (#2752) 2024-04-10 17:14:16 -07:00
9453f74bbf Custom gas settings for any evm deployments (#2678)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-10 17:13:21 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bf6a8e0cab chore(chains): update chains (#2746)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 17:12:37 -07:00
Jonas DanielsandGitHub eb919ed49d implement extensions for royalty, platformfee and primarysale (#2749) 2024-04-10 22:04:15 +00:00
Jonas DanielsandGitHub 4d7ecc24b7 add the ability to define async value overrides in contract call (#2747) 2024-04-10 19:44:24 +00:00
Jonas DanielsandGitHub 758cbdde0a Version Packages (#2743) 2024-04-10 08:44:09 -07:00
github-actions[bot]andGitHub d65713a7af chore(chains): update chains (#2740) 2024-04-10 08:32:45 -07:00
ce144ff521 [SDK] Add test cases for sign-transaction types (#2737)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-09 23:32:50 +00:00
d836889f46 [v4] Add Buy with Crypto APIs and UI in ConnectWallet component (#2579)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-09 23:07:32 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
1f6ee22fb9 Version Packages (#2742)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-09 12:28:38 -07:00
Manan TankandGitHub 900e7d0324 fix: Remove duplicated entry for MetaMask in MM browser (#2741) 2024-04-09 19:06:00 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
031eccbab1 Version Packages (#2713)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-09 02:23:28 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
9e8cca2da5 chore(chains): update chains (#2739)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 02:03:38 -07:00
FirekeeperandGitHub 8d81b686f2 Unity 4.10.1 (#2733) 2024-04-09 08:57:23 +00:00
Jonas DanielsandGitHub d9cd6f5c2a implement additional extensions (#2735) 2024-04-09 08:51:13 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2a5c7d0ebc chore(chains): update chains (#2734)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-09 01:03:26 -07:00
gregandGitHub 3847617f8e [SDK] fromGwei helper function (#2736) 2024-04-08 23:18:07 -07:00
Jonas DanielsandGitHub 1d4fdd6753 feat: Add chain Metadata type (#2731) 2024-04-08 16:42:03 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
c98112445c chore(chains): update chains (#2732)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 16:32:15 -07:00
f6a30c0371 feat: add phone login for embedded wallet (#2366)
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-04-08 23:08:43 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b1013fc302 build(deps-dev): bump knip from 5.8.0 to 5.9.1 (#2720)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 15:30:24 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
f2b5d4ba56 chore(chains): update chains (#2730)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 15:30:03 -07:00
Joaquim VergesandGitHub 6961e09a4c [SDK] simulate inner transactions before bundling user ops (#2714) 2024-04-08 21:48:44 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
49354c6cc3 chore(chains): update chains (#2727)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 14:07:17 -07:00
Jonas DanielsandGitHub 51502596d9 chore: remove unused dependency (#2726) 2024-04-08 20:54:19 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jonas Daniels
df5eba9aff build(deps): bump octokit/request-action from 2.2.0 to 2.3.0 (#2715)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-08 13:25:53 -07:00
Jonas DanielsandGitHub 64c03ab378 chore: Update .gitignore and add VSCode configuration files (#2716) 2024-04-08 13:18:12 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
53e56f4bf8 chore(chains): update chains (#2708)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 13:05:45 -07:00
Jonas DanielsandGitHub 02583f857e fix(rpc): Fix issue with block number polling (#2712) 2024-04-08 19:45:47 +00:00
14cecc9c75 feat: expose useSendBatchTransaction for smart accounts (#2711)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-08 18:54:55 +00:00
Joaquim VergesandGitHub 30e6385dea chore: remove log (#2710) 2024-04-08 17:15:40 +02:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
37c3224a78 Version Packages (#2705)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-07 16:30:37 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ebdfb571c9 chore(chains): update chains (#2707)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-07 13:58:06 -07:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Jonas Daniels
48c1d60382 chore(chains): update chains (#2702)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-07 19:26:20 +00:00
Jonas DanielsandGitHub 584d68e6f6 fix: update test command in package.json files (#2706) 2024-04-07 12:10:06 -07:00
Jonas DanielsandGitHub 703cb6ae3c chore: update dependencies (#2701) 2024-04-07 10:09:20 -07:00
7a9a086cdc Export ERC721 event: TokensLazyMintedEvent (#2704)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-07 16:05:16 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
90571a0a5c Version Packages (#2680)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-06 08:50:49 -07:00
Jonas DanielsandGitHub f709f136a7 feat(extensions/ens): add support for more ens features (#2700) 2024-04-06 02:33:42 +00:00
c2eba49112 refactor: rename embeddedWallet to inAppWallet (#2697)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-06 02:13:57 +00:00
github-actions[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
0ebd2204a6 chore(chains): update chains (#2699)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-05 15:30:26 -07:00
6c64102314 chore(chains): update chains (#2696)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-05 11:11:33 -07:00
Jonas DanielsandGitHub b583ebb7df chore(chains): sync from db (#2698) 2024-04-05 11:02:00 -07:00
fda0c1d01b chore(chains): update chains (#2694)
Co-authored-by: GitHub Action <[email protected]>
2024-04-05 04:13:13 -07:00
Jonas DanielsandGitHub 5dd4ff1b38 feat: Update dependencies and size limitThe commit updates dependenci… (#2695) 2024-04-05 04:12:53 -07:00
97556c4d5d chore(chains): update chains (#2692)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-05 03:18:14 -07:00
Jonas DanielsandGitHub 5be3c22df6 Update README.md (#2693)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-05 03:15:48 -07:00
Jonas DanielsandGitHub 740a675a40 feat(extensions): add initial marketplace extensions (#2689) 2024-04-05 03:09:37 -07:00
5f41412027 chore(chains): update chains (#2690)
Co-authored-by: GitHub Action <[email protected]>
2024-04-05 02:30:29 -07:00
87cf5de8e8 chore(chains): update chains (#2688)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 18:16:37 -07:00
FirekeeperandGitHub 4e19c2f1be Unity 4.10.0 - Phone EWS, Native Only (#2687) 2024-04-05 00:41:56 +00:00
0e479e2082 fix: Added 50k overhead to userOps estimation (#2677)
Co-authored-by: Joaquim Verges <[email protected]>
2024-04-05 00:20:53 +00:00
c38584825f chore(chains): update chains (#2685)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 13:03:16 -07:00
Manan TankandGitHub b3d01402dd [v4 wallets] Start new session for walletConnect on connect method call (#2683) 2024-04-04 19:18:42 +00:00
Manan TankandGitHub a2423cac70 feat: Add modalSize prop on ConnectEmbed (#2686) 2024-04-04 18:53:45 +00:00
e5e3347c3e chore(chains): update chains (#2682)
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 09:30:46 -07:00
Manan TankandGitHub 4504a8d170 [test] Fix sourcemap warnings in CRA (#2684) 2024-04-04 16:18:26 +00:00
github-actions[bot]andGitHub e9309bfc70 chore(chains): update chains (#2681) 2024-04-03 22:01:14 -07:00
github-actions[bot]andGitHub 83ecf67c4b chore(chains): update chains (#2676) 2024-04-03 21:34:54 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
57b1f5839d Version Packages (#2669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-04 00:48:19 +02:00
Joaquim VergesandGitHub 97a31f57ce feat: add useSendAndConfirmTransaction hook (#2674) 2024-04-03 19:17:14 +00:00
github-actions[bot]andGitHub 319435a331 chore(chains): update chains (#2673) 2024-04-03 12:19:41 -07:00
69ee97981c chore: add more adapter tests (#2672)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 18:35:36 +00:00
44d96309d5 feat: Add provider and signTypedData to ethers5 signer adapter (#2667)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 18:09:54 +00:00
367576ca00 feat: always use new session when calling connect method for WC (#2637)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 17:51:31 +00:00
Jonas DanielsandGitHub 6fc9afa58f test: Update contract deployment tests (#2671) 2024-04-03 17:40:47 +00:00
b4a71d5d5b chore(chains): update chains (#2670)
Co-authored-by: GitHub Action <[email protected]>
2024-04-03 10:03:33 -07:00
127c476cff Fix getAddresses call for accounts converted to viem (#2666)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 09:14:00 -07:00
b3fca9509f chore(chains): update chains (#2668)
Co-authored-by: GitHub Action <[email protected]>
2024-04-03 09:02:15 -07:00
Jonas DanielsandGitHub 2108af7cf3 Version Packages (#2633) 2024-04-02 22:58:28 -07:00
Jonas DanielsandGitHub e4d243ef34 fix(adapters): sendTransaction within viemAdapter.walletClient.toViem() (#2662) 2024-04-02 19:41:42 -07:00
Jonas DanielsandGitHub 421ffa024c chore: Add job name for build step (#2665) 2024-04-02 19:38:04 -07:00
Jonas DanielsandGitHub 286b9f1e0b build: Add build:packages and build:legacy_packages scripts (#2664) 2024-04-02 19:32:57 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46e880d9e2 build(deps): bump expo-file-system from 15.9.0 to 16.0.8 (#2658)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:28:04 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7116ae0ce6 build(deps): bump @google-cloud/kms from 3.0.1 to 4.2.0 (#2653)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:27:56 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1042b5538a build(deps-dev): bump @tanstack/eslint-plugin-query from 5.28.6 to 5.28.11 (#2654)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 02:13:09 +00:00
Jonas DanielsandGitHub 9d319f462c chore: Update lint script in package.json (#2663) 2024-04-02 18:48:06 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ed19f73fae build(deps): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.5.0 (#2650)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 18:42:50 -07:00
8718354e69 chore(chains): update chains (#2640)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-03 00:23:19 +00:00
Jonas DanielsandGitHub 945ea1d9ad chore(CI/tests): update workflows (#2660) 2024-04-02 17:12:27 -07:00
Jonas DanielsandGitHub 02c8d51b84 chore(CI): Update CI configuration for packages and legacy packages (#2659) 2024-04-02 16:36:41 -07:00
Jonas DanielsandGitHub 47f7b4df39 test: run "Account Permissions" only if TW_SECRET_KEY is defined (#2657) 2024-04-02 16:32:22 -07:00
Jonas DanielsandGitHub 891fde539d chore: Update linting script (#2656) 2024-04-02 16:21:47 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9666940fed build(deps): bump peter-evans/create-pull-request from 3 to 6 (#2648)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:18:16 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b7b5ad2c11 build(deps): bump octokit/request-action from 2.1.0 to 2.2.0 (#2647)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:14:53 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5de549c5d2 build(deps): bump actions/checkout from 2 to 4 (#2646)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 16:14:32 -07:00
Jonas DanielsandGitHub 1de78fb2f3 chore(ci): Add concurrency control to CI workflow (#2644) 2024-04-02 16:13:32 -07:00
Jonas DanielsandGitHub 603ea56c54 chore: Remove legacy e2e tests workflow (#2643) 2024-04-02 15:35:57 -07:00
Jonas DanielsandGitHub 7365634c0a chore: Update CI configuration (#2642) 2024-04-02 15:33:42 -07:00
Jonas DanielsandGitHub b76d89dbb2 chore(workflows): cleanup workflows (#2641) 2024-04-02 15:16:37 -07:00
Jonas DanielsandGitHub de7f7d701c update workflows (#2639) 2024-04-02 14:58:54 -07:00
32fa0c6aa8 chore(chains): update chains (#2638)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 14:10:32 -07:00
Joaquim VergesandGitHub c508751f38 refactor: optimize encode with async params (#2636) 2024-04-02 20:52:49 +00:00
fbf4556d48 chore(chains): update chains (#2635)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 13:53:06 -07:00
FirekeeperandGitHub c9f290a1d4 Unity 4.9.1 (#2634) 2024-04-02 17:54:19 +00:00
5fb92c0a98 chore(chains): update chains (#2630)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 09:56:18 -07:00
9af8561284 [SDK] ZkSync deterministic deployments (#2592)
Signed-off-by: Yash <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-02 16:45:05 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
2e12c769f9 Version Packages (#2600)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 18:18:07 +02:00
Manan TankandGitHub d89f009f14 feat: Wallet connection improvements (#2632) 2024-04-02 16:04:34 +00:00
Joaquim VergesandGitHub 1c29556f14 refactor: get userOp gas prices from bundler (#2631) 2024-04-02 15:15:01 +00:00
15697ae741 chore(chains): update chains (#2629)
Co-authored-by: GitHub Action <[email protected]>
2024-04-02 02:01:58 -07:00
Jonas DanielsandGitHub d2ffb82071 refactor: Update import statement for AutoConnect in ConnectWallet.tsx (#2628) 2024-04-02 00:58:10 -07:00
Jonas DanielsandGitHub e8063936c9 fix(WalletConnectConnection): fix wallet connect uri parsing (#2626) 2024-04-01 22:38:20 -07:00
0394eb22bf feat: add ERC4337 account / factory extensions (#2606)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-02 01:38:38 +00:00
+2 7234e6bc10 [SDK] Native privateKeyAccount implementation (#2525)
Signed-off-by: Joaquim Verges <[email protected]>
Signed-off-by: jxom  <[email protected]>
Signed-off-by: greg <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: jxom <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: iketw <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
2024-04-01 18:27:35 -07:00
Jonas DanielsandGitHub 26a50b1e05 chore: update depdendencies (#2623) 2024-04-01 15:41:52 -07:00
Joaquim VergesandGitHub 00be583b89 chore(v4): get gas price from bundler for userOps (#2622) 2024-04-01 22:19:38 +00:00
Jonas DanielsandGitHub 8c9def769c feat: add turbo build and update-version commands to release script (#2621) 2024-04-01 13:47:06 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Jonas Daniels
213f313034 build(deps): bump viem from 2.9.5 to 2.9.6 (#2610)
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-01 13:22:41 -07:00
3aaad1e9bf [SDK] generateWallet utility function (#2602)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-01 09:59:01 -07:00
55848db4ea chore(chains): update chains (#2605)
Co-authored-by: GitHub Action <[email protected]>
2024-04-01 09:58:37 -07:00
Jonas DanielsandGitHub 0c83897f62 test: add erc20 approve test (#2596) 2024-03-30 18:12:12 -07:00
Jonas DanielsandGitHub b6a6eae3cc chore(tests): skip tests that will fail without secret key set (#2604) 2024-03-30 16:58:28 -07:00
f7b45fa04e chore(chains): update chains (#2601)
Co-authored-by: GitHub Action <[email protected]>
2024-03-30 16:57:35 -07:00
82e5f53bc4 chore(chains): update chains (#2597)
Co-authored-by: GitHub Action <[email protected]>
2024-03-30 06:34:10 -07:00
Joaquim VergesandGitHub 13c3083ac4 Update README.md (#2599)
Signed-off-by: Joaquim Verges <[email protected]>
2024-03-29 21:12:36 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
755cffe590 Version Packages (#2589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 16:17:16 -07:00
Manan TankandGitHub dd1141f9af fix: Do not open wallet uri when connected using official WC modal (#2595) 2024-03-29 23:00:55 +00:00
Joaquim VergesandGitHub 968fdc3ebe chore: add smart wallet exports for user op types (#2594) 2024-03-29 22:29:21 +00:00
2ef20589b7 chore(chains): update chains (#2593)
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 15:07:03 -07:00
Manan TankandGitHub 6d63920c0a feat: add walletConnect, Fix WC connection issues (#2591) 2024-03-29 21:58:03 +00:00
3ef378659e chore(chains): update chains (#2590)
Co-authored-by: GitHub Action <[email protected]>
2024-03-29 14:24:29 -07:00
Joaquim VergesandGitHub eba8f1c198 fix: 721/1155 claimTo with custom currency (#2588) 2024-03-29 19:45:02 +00:00
1899 changed files with 87987 additions and 35449 deletions
+39 -15
View File
@@ -2,28 +2,52 @@
# Platform team owns everything by default
* @thirdweb-dev/platform
- @jnsdls @joaquim-verges @MananTank @gregfromstl
# Devrel owns all markdown files (README etc.)
# legacy packages
*.md @thirdweb-dev/devrel
.changeset/
legacy_packages/auth/ @jnsdls
legacy_packages/chains/ @jnsdls
legacy_packages/cli/ @jnsdls
legacy_packages/contracts-js/ @jnsdls
legacy_packages/crypto/ @jnsdls
legacy_packages/generated-abis/ @jnsdls
legacy_packages/merkletree/ @jnsdls
legacy_packages/pay/ @jnsdls
legacy_packages/payments/ @jnsdls
legacy_packages/react/ @MananTank @jnsdls
legacy_packages/react-core/ @MananTank @jnsdls
legacy_packages/react-native/ @jnsdls
legacy_packages/react-native-compat/ @jnsdls
legacy_packages/sdk/ @joaquim-verges @jnsdls
legacy_packages/storage/ @jnsdls
legacy_packages/wallets/ @MananTank @jnsdls
# Shared ownership of the react and react-core packages
# legacy e2e
packages/react/ @thirdweb-dev/product @thirdweb-dev/platform
packages/react-core/ @thirdweb-dev/product @thirdweb-dev/platform
legacy_e2e/ @jnsdls
# Shared ownership of the CLI
# packages
packages/cli/ @thirdweb-dev/product @thirdweb-dev/platform
## specific thirdweb pieces
# Chains is owned specifically by jonas for now
packages/thirdweb/src/react/ @MananTank
packages/thirdweb/src/reactive/ @MananTank
packages/thirdweb/src/gas/ @joaquim-verges
packages/thirdweb/src/pay/ @MananTank @IDubuque
packages/chains/ @jnsdls
packages/typedoc-gen/ @MananTank
# .github folder + .changeset + turbo config is owned by joaquim and jonas for now
# owned by phil for now
.github/ @jnsdls @joaquim-verges
.changeset/config.json @jnsdls @joaquim-verges
turbo.json @joaquim-verges @jnsdls
packages/service-utils/ @arcoraven
packages/eslint-config-thirdweb/ @jnsdls
packages/tw-tsconfig/ @jnsdls
packages/unity-js-bridge/ @joaquim-verges @0xFirekeeper
# .github folder + .changeset + turbo config is owned by jonas for now
scripts/ @jnsdls
.github/ @jnsdls
.changeset/config.json @jnsdls
turbo.json @jnsdls
@@ -4,6 +4,12 @@ description: "Sets up Node.js and runs install"
runs:
using: composite
steps:
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
# pnpm for our dependencies
- uses: pnpm/action-setup@v3
with:
version: 8
@@ -11,8 +17,12 @@ runs:
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install node-gyp globally
shell: bash
run: pnpm install -g node-gyp node-gyp-build
- name: Install dependencies
shell: bash
+50 -40
View File
@@ -1,9 +1,5 @@
# Contributing to thirdweb
You can find a full video tutorial on how to contribute to thirdweb below:
https://www.youtube.com/watch?v=TXsQ3qok3B0
## Getting Started
To get started, read the [How this repo works](#how-this-repo-works) section below to learn about the structure of this repo.
@@ -12,23 +8,19 @@ From there, you can take a look at our [Good First Issues](https://github.com/th
If you have any questions about the issue, feel free to ask on our [Discord server](https://discord.gg/thirdweb) in the `#contributors` channel; where you'll be able to get help from our team and other contributors.
<br/>
<br />
## How this repo works
[@thirdweb-dev/js](https://github.com/thirdweb-dev/js) is a monorepo, meaning it contains many projects within it.
We use [Turborepo](https://turbo.build/repo/docs) to manage the repository, and help speed up the [CI/CD](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment) pipeline to ship to production faster 🚢. Turborepo is a project dependency, and doesn't need to be installed separately.
We use [Turborepo](https://turborepo.org/docs/getting-started) to manage the monorepo, and help speed up the [CI/CD](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment) pipeline to ship to production faster 🚢.
We use [pnpm](https://pnpm.io) for package management across the repo. `pnpm` is similar to `npm` or `yarn` but with more efficient disk space usage.
You can see a quick outline of each of the projects within this repo below, each living within the [/packages](/packages) directory:
**With the v5 SDK, we've consolidated everything into a single project at [/packages/thirdweb](./packages/thirdweb). You can still find the legacy packages at [/legacy_packages](./legacy_packages).**
| Package | Description | Latest Version |
| ------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [/sdk](./legacy_packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/react](./legacy_packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/auth](./legacy_packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/storage](./legacy_packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/cli](./legacy_packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
This single package provides a performant & lightweight SDK to interact with any EVM chain across Node, React, and React Native. Learn more about how to use the thirdweb SDK in our [documentation](https://portal.thirdweb.com/typescript/v5).
<br />
## How to contribute
@@ -36,7 +28,7 @@ Let's explore how you can set up the repo on your local machine and start contri
This section requires some existing knowledge of [Git](https://git-scm.com/), [Node.js](https://nodejs.org/en/) and [pnpm](https://pnpm.io/).
<br/>
<br />
### Getting the repo
@@ -50,26 +42,50 @@ To begin:
3. Create a new branch on your fork to start working on your changes:
```
git checkout -b MY_BRANCH_NAME
```bash
git checkout -b <YOUR BRANCH NAME>
```
4. Install the dependencies:
```
```bash
pnpm install
```
If you are on windows, use the `--ignore-scripts` flag
```
```bash
pnpm install --ignore-scripts
```
Now you have got the repo on your local machine, and you're ready to start making your changes!
Now you have the repo on your local machine, and you're ready to start making your changes!
<br/>
### Test Your Changes
We use [yalc](https://github.com/wclr/yalc) to test changes locally.
#### Writing Unit Tests
Try to include unit test coverage with your changes where appropriate. We use `vitest` for testing, look for files with the `.test.ts` extension for examples of how to structure your unit tests.
To run your tests, run the following from the package directory (most likely /packages/thirdweb):
```bash
pnpm test:dev <YOUR TEST FILE PATH>
```
> Specifying your test file path is optional, but will save time by only running specific tests each time. Before opening your PR, run `pnpm test` from the monorepo root (without specifying your test file) to ensure your changes didn't break any existing tests.
#### Linting
We use a linter to maintain best practices across projects. Once your changes are complete (or periodically while making changes), run the linter with the following command from the repo root:
```bash
pnpm lint
```
If there are errors, try running `pnpm fix` to auto-fix any basic errors. Other linter errors, like missing documentation, will need to be fixed manually. See existing files for examples of inline documentation.
#### Creating a Local Test Project
You can use [yalc](https://github.com/wclr/yalc) to test changes on a local project.
Install the yalc CLI globally:
@@ -77,40 +93,35 @@ Install the yalc CLI globally:
pnpm add yalc -g
```
First, create a test project where you can experiment with your changes:
First, create a test project where you can experiment with your changes. This can be any node project that uses your changes.
You can create a basic starter project with the `sdk` and `react` packages installed using the CLI:
Push your local version to your `yalc` store with:
```bash
npx thirdweb create --app
pnpm build && pnpm push
```
Use `yalc` to link your local changes in the monorepo to the test project, by running the following command from your test repo:
Link your local changes in the monorepo to the test project by running the following command from your test repo:
```bash
yalc add @thirdweb-dev/react # Link the react package
yalc add @thirdweb-dev/sdk # Link the sdk package
# etc...
yalc add thirdweb
```
From the monorepo, run the following command to publish your local changes to the test project:
Now, each time you make a change to the monorepo, you can run `pnpm push` from the monorepo then `yalc update thirdweb` from your test project to publish your latest changes to the test project.
```bash
pnpm push
```
If your changes modify dependencies, you may need to reinstall dependencies on your test project with `pnpm install`
Now, each time you make a change to the monorepo, you can run `pnpm push` to publish your changes to the test project.
To make sure your latest changes are used, in your test project you may need to:
In your test project, you need to:
1. Delete the dependencies cache. If you're using Next.js, that is the `.next` directory, and if you're using CRA, that is the `node_modules/.cache` directory.
1. Delete the dependencies cache. If you're using Next.js, that's the `.next` directory, and if you're using CRA, that's the `node_modules/.cache` directory.
2. Restart the development server.
#### Testing from npm
You can also test your changes by publishing a dev package to npm and adding your package as you normally do in your projects.
Once you have your PR up you can add a comment with the text: `/release-pr`. This will trigger a GitHub action that will publish a dev version to npm.
**Once you have your PR up** you can add a comment with the text: `/release-pr`. This will trigger a GitHub action that will publish a dev version to npm.
You can see the action progress in GitHub's `Actions` tab, look for the workflow: `release-pr`.
@@ -154,9 +165,8 @@ git commit -am "My commit message"
3. Push your changes to the SDK:
```
git push origin MY_BRANCH_NAME
git push origin <YOUR BRANCH NAME>
```
4. Create a [pull request](https://www.atlassian.com/git/tutorials/making-a-pull-request) to the `main` branch of the official (not your fork) SDK repo.
It's helpful to tag PRs with `[SDK]`, `[REACT]`, `[AUTH]`, (the name of the package you're modifying) to indicate the package that you are engaging with.
+5
View File
@@ -9,3 +9,8 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
+1 -1
View File
@@ -1,5 +1,5 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
+144
View File
@@ -0,0 +1,144 @@
name: CI
on:
push:
branches: ["main"]
paths:
- "packages/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "packages/**"
- "package.json"
- ".github/**"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
name: Build Packages
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:packages
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- run: pnpm lint
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
directory: packages/
flags: packages
verbose: true
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
# TODO actually run e2e tests
benchmark:
# cannot run benchmarks on merge group
if: github.event_name != 'merge_group'
timeout-minutes: 15
name: "Benchmarks"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: "pnpm bench"
size:
# only run on pull requests
if: github.event_name == 'pull_request'
timeout-minutes: 15
name: "Size"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Report bundle size
uses: andresz1/size-limit-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: pnpm
directory: packages/thirdweb
+98
View File
@@ -0,0 +1,98 @@
name: CI (Legacy Packages)
on:
push:
branches: ["main"]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest-16
name: Build Packages
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:legacy_packages
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm lint:legacy
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm test:legacy
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
directory: legacy_packages/
flags: legacy_packages
verbose: true
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run e2e tests
run: pnpm e2e:legacy
env:
NODE_OPTIONS: "--max_old_space_size=4096"
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
-231
View File
@@ -1,231 +0,0 @@
name: Build, Lint & Test & Benchmark
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
jobs:
build:
timeout-minutes: 15
name: Build
runs-on: ubuntu-latest-16
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 25
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- name: Install
uses: ./.github/composite-actions/install
- run: pnpm build
# We use week in the turbo cache key to keep the cache from infinitely growing
- id: get-week
run: echo "WEEK=$(date +%U)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
timeout-minutes: 5
id: cache-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v4
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- run: pnpm lint
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v4
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./packages/thirdweb/coverage/lcov.info
test_legacy:
timeout-minutes: 15
name: Unit Tests (Legacy)
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v4
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- run: pnpm test:legacy
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./legacy_packages/sdk/coverage/evm/lcov.info
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
# we use bun for some test suites
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v4
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run e2e tests
run: pnpm e2e
env:
NODE_OPTIONS: "--max_old_space_size=4096"
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
benchmark:
# only run if is not merge_group
if: github.event_name != 'merge_group'
timeout-minutes: 15
name: "Benchmark"
runs-on: ubuntu-latest-16
needs: build
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache@v4
timeout-minutes: 5
id: restore-build
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: "pnpm bench"
+7 -3
View File
@@ -20,6 +20,10 @@ on:
schedule:
- cron: "37 9 * * 3"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
@@ -42,7 +46,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +59,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,4 +72,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
+1 -1
View File
@@ -20,7 +20,7 @@ env:
jobs:
release-artifacts:
timeout-minutes: 15
timeout-minutes: 60
runs-on: ubuntu-latest-16
steps:
- name: Checkout branch
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
steps:
- name: get pull request ref
id: get_pull_request_ref
uses: octokit/request-action@v2.1.0
uses: octokit/request-action@v2.3.0
with:
route: GET /repos/{owner}/{repository}/pulls/{issue_id}
owner: ${{ github.repository_owner }}
+4 -4
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v1
@@ -42,14 +42,14 @@ jobs:
- name: Commit Changes
if: env.CHANGES_FOUND == 'true'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit -m "chore(chains): sync from db"
- name: Create or Update Pull Request
if: env.CHANGES_FOUND == 'true'
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
title: "chore(chains): update chains"
branch: "sync-chains"
+4 -2
View File
@@ -16,8 +16,10 @@ public/dist
yalc.lock
build/
playwright-report/
.vscode/
.env/
# Artifacts
legacy_packages/cli/artifacts/
legacy_packages/cli/artifacts/
# codecov binary
codecov
+7
View File
@@ -0,0 +1,7 @@
{
"recommendations": ["biomejs.biome"],
"unwantedRecommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
+15
View File
@@ -0,0 +1,15 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"typescript.preferences.importModuleSpecifier": "relative",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
+4 -20
View File
@@ -8,8 +8,8 @@
<h1 align="center"><a href='https://thirdweb.com/'>thirdweb</a> TypeScript SDK</h1>
<p align="center">
<a href="https://github.com/thirdweb-dev/js/actions/workflows/build-test-lint.yml">
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/build-test-lint.yml/badge.svg"/>
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
</a>
<a href="https://discord.gg/thirdweb">
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
@@ -18,9 +18,6 @@
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
> [!IMPORTANT]
> We rewrote the thirdweb SDK from scratch for performance! Head over to the [v5 SDK](https://github.com/thirdweb-dev/js/tree/main/packages/thirdweb).
## Features
- Support for React & React-Native
@@ -53,19 +50,6 @@
| React Native Hooks | ✅ | ❌ | ❌ | ❌ |
| React Native UI Components | ✅ | ❌ | ❌ | ❌ |
## Packages
| Package | Description |
| ----------------------------------------------- | --------------------------------------------------------------------------- |
| [/sdk](./legacy_packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps |
| [/wallets](./legacy_packages/wallets) | Unified web3 Wallet library to integrate any wallet into your applications. |
| [/react](./legacy_packages/react) | Ultimate collection of React hooks for your web3 apps |
| [/react-native](./legacy_packages/react-native) | Ultimate collection of React hooks for your native mobile web3 apps |
| [/auth](./legacy_packages/auth) | Best in class wallet authentication for Node backends |
| [/storage](./legacy_packages/storage) | Best in class decentralized storage SDK for Browser and Node |
| [/cli](./legacy_packages/cli) | Publish and deploy smart contracts without dealing with private keys |
| [/chains](./legacy_packages/chains) | All EVM chain information as JS objects for easy handling |
## Contributing
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
@@ -74,9 +58,9 @@ See our [open source page](https://thirdweb.com/open-source) for more informatio
## Additional Resources
- [SDK Documentation](https://portal.thirdweb.com/typescript/v5)
- [Documentation](https://portal.thirdweb.com/typescript/v5)
- [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb_)
- [YouTube](https://www.youtube.com/c/thirdweb)
## Support
+40
View File
@@ -0,0 +1,40 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"files": {
"ignore": [
"legacy_packages/**",
"packages/thirdweb/src/crypto/aes/lib/md5.ts",
"packages/thirdweb/src/utils/promise/p-limit.ts",
"packages/thirdweb/src/utils/bytecode/cbor-decode.ts",
"packages/thirdweb/src/**/__generated__/**"
]
},
"overrides": [
{
"include": ["packages/thirdweb/src/**"],
"linter": {
"rules": {
"style": {
"noRestrictedGlobals": {
"options": { "deniedGlobals": ["Buffer"] },
"level": "error"
}
}
}
}
}
]
}
+30
View File
@@ -0,0 +1,30 @@
coverage:
status:
project:
default:
target: auto
patch:
packages:
target: auto
flags:
- packages
legacy_packages:
target: auto
flags:
- legacy_packages
github_checks:
annotations: true
flag_management:
default_rules:
carryforward: true
comment:
layout: "newheader, diff, flags, files"
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [yes :: must have a base report to post]
require_head: true # [yes :: must have a head report to post]
show_carryforward_flags: true
hide_comment_details: true #collapse all the "detailed info" for the PR comment
@@ -15,7 +15,7 @@
},
"devDependencies": {
"@swc/cli": "0.3.10",
"@swc/core": "^1.4.11",
"@swc/core": "^1.4.12",
"ora": "^6.3.1"
}
}
@@ -15,6 +15,6 @@
},
"devDependencies": {
"ora": "^6.3.1",
"vite": "^5.2.6"
"vite": "^5.2.8"
}
}
+170
View File
@@ -1,5 +1,175 @@
# @thirdweb-dev/auth
## 4.1.75
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.17
## 4.1.74
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.16
## 4.1.73
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.15
## 4.1.72
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.14
## 4.1.71
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.13
## 4.1.70
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.12
## 4.1.69
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.11
## 4.1.68
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.10
## 4.1.67
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.9
## 4.1.66
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.8
## 4.1.65
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.7
## 4.1.64
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.6
## 4.1.63
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.5
## 4.1.62
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.4
## 4.1.61
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.3
## 4.1.60
### Patch Changes
- Updated dependencies [[`cb2a7e9`](https://github.com/thirdweb-dev/js/commit/cb2a7e964a78b9fc8670392f1b033936dae696dc)]:
- @thirdweb-dev/wallets@2.5.2
## 4.1.59
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.5.1
## 4.1.58
### Patch Changes
- Updated dependencies [[`6961e09`](https://github.com/thirdweb-dev/js/commit/6961e09a4cec4c276b233285e721dc0505792be5), [`f6a30c0`](https://github.com/thirdweb-dev/js/commit/f6a30c037197391ef0a514570931775b18927f17), [`5150259`](https://github.com/thirdweb-dev/js/commit/51502596d9f165a5316ce08da8a04b3e5c5e4eba)]:
- @thirdweb-dev/wallets@2.5.0
## 4.1.57
### Patch Changes
- [#2701](https://github.com/thirdweb-dev/js/pull/2701) [`703cb6a`](https://github.com/thirdweb-dev/js/commit/703cb6ae3cc51fa4b0ba7c87f09f8e84dab8ed3f) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies
- Updated dependencies [[`703cb6a`](https://github.com/thirdweb-dev/js/commit/703cb6ae3cc51fa4b0ba7c87f09f8e84dab8ed3f)]:
- @thirdweb-dev/wallets@2.4.35
## 4.1.56
### Patch Changes
- Updated dependencies [[`0e479e2`](https://github.com/thirdweb-dev/js/commit/0e479e2082fd685c9b8cae7d1cad53cade65de18), [`b3d0140`](https://github.com/thirdweb-dev/js/commit/b3d01402dd93c24f6b16aaa55674c2c10eb33be5)]:
- @thirdweb-dev/wallets@2.4.34
## 4.1.55
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.33
## 4.1.54
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.32
## 4.1.53
### Patch Changes
- Updated dependencies [[`00be583`](https://github.com/thirdweb-dev/js/commit/00be583b8902a1a0e5382ffdaafa6b9e31316075)]:
- @thirdweb-dev/wallets@2.4.31
## 4.1.52
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.30
## 4.1.51
### Patch Changes
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "4.1.51",
"version": "4.1.75",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
@@ -58,10 +58,10 @@
"scripts": {
"build": "preconstruct build",
"format": "prettier --write 'src/**/*'",
"lint": "eslint src/ && bunx publint --strict --level warning",
"lint": "eslint src/",
"fix": "eslint src/ --fix",
"clean": "rm -rf dist/ && rm -rf node_modules/",
"test": "vitest",
"test": "vitest run",
"push": "yalc push"
},
"preconstruct": {
@@ -85,14 +85,14 @@
"@microsoft/tsdoc": "^0.14.2",
"@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.9.0",
"@swc/core": "^1.4.11",
"@swc/core": "^1.4.12",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/cookie": "^0.6.0",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^4.17.21",
"@types/uuid": "^9.0.8",
"cookie-parser": "^1.4.6",
"eslint": "^8.57.0",
"eslint": "8.57.0",
"eslint-config-thirdweb": "workspace:*",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-inclusive-language": "^2.2.1",
@@ -101,9 +101,9 @@
"ethers": "^5.7.2",
"express": "^4.19.2",
"fastify": "^4.26.2",
"next": "^13.5.6",
"next": "^14.1.1",
"next-auth": "^4.24.7",
"typescript": "5.4.3"
"typescript": "5.4.4"
},
"peerDependencies": {
"cookie-parser": "^1.4.6",
+1 -1
View File
@@ -6,7 +6,7 @@ import { describe, it, beforeAll, beforeEach, expect } from "vitest";
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("dotenv-mono").load();
describe(
describe.runIf(process.env.TW_SECRET_KEY)(
"Wallet Authentication - EVM",
{
timeout: 60000,
+71 -30
View File
@@ -7,18 +7,15 @@ import { describe, it, beforeEach, beforeAll, expect } from "vitest";
// eslint-disable-next-line @typescript-eslint/no-var-requires
require("dotenv-mono").load();
describe(
describe.runIf(process.env.TW_SECRET_KEY)(
"Wallet Authentication - EVM - Smart Wallet",
{
timeout: 60000,
},
async () => {
let adminWallet: any, signerWallet: any, attackerWallet: any;
let auth: ThirdwebAuth;
beforeAll(async () => {
const factoryAddress = "0xbf1C9aA4B1A085f7DA890a44E82B0A1289A40052";
const chain = 421614;
const factoryAddress = "0x7b5ba9D46b53aae55e2c2E9b38d9AfF9a0b158F8";
const chain = 84532;
const localWallet = new LocalWallet();
await localWallet.generate();
const smartWallet = new SmartWallet({
@@ -42,7 +39,9 @@ describe(
auth.updateWallet(signerWallet);
});
it("Should verify logged in wallet", async () => {
it("Should verify logged in wallet", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -51,21 +50,25 @@ describe(
expect(address).to.equal(await signerWallet.getAddress());
});
it("Should verify logged in wallet with chain ID and expiration", async () => {
it("Should verify logged in wallet with chain ID and expiration", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
expirationTime: new Date(Date.now() + 1000 * 60 * 5),
chainId: "421614",
chainId: "84532",
});
auth.updateWallet(adminWallet);
const address = await auth.verify(payload, {
chainId: "421614",
chainId: "84532",
});
expect(address).to.equal(await signerWallet.getAddress());
});
it("Should verify payload with resources", async () => {
it("Should verify payload with resources", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
resources: ["https://example.com", "https://test.com"],
});
@@ -78,7 +81,9 @@ describe(
expect(address).to.equal(await signerWallet.getAddress());
});
it("Should reject payload without necessary resources", async () => {
it("Should reject payload without necessary resources", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
resources: ["https://example.com"],
});
@@ -96,7 +101,9 @@ describe(
}
});
it("Should verify payload with customized statement", async () => {
it("Should verify payload with customized statement", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
statement: "Please sign!",
});
@@ -109,7 +116,9 @@ describe(
expect(address).to.equal(await signerWallet.getAddress());
});
it("Should reject payload with incorrect statement", async () => {
it("Should reject payload with incorrect statement", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
statement: "Please sign!",
});
@@ -127,7 +136,9 @@ describe(
}
});
it("Should reject invalid nonce", async () => {
it("Should reject invalid nonce", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -145,7 +156,9 @@ describe(
}
});
it("Should accept valid nonce", async () => {
it("Should accept valid nonce", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -160,7 +173,9 @@ describe(
expect(address).to.equal(await signerWallet.getAddress());
});
it("Should reject payload with incorrect domain", async () => {
it("Should reject payload with incorrect domain", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -174,7 +189,9 @@ describe(
}
});
it("Should reject expired login payload", async () => {
it("Should reject expired login payload", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
expirationTime: new Date(Date.now() - 1000 * 60 * 5),
});
@@ -188,7 +205,9 @@ describe(
}
});
it("Should reject payload with incorrect chain ID", async () => {
it("Should reject payload with incorrect chain ID", {
timeout: 240000,
}, async () => {
const payload = await auth.login({
chainId: "1",
});
@@ -206,7 +225,9 @@ describe(
}
});
it("Should reject payload with incorrect signer", async () => {
it("Should reject payload with incorrect signer", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
payload.payload.address = await attackerWallet.getAddress();
@@ -219,7 +240,9 @@ describe(
}
});
it("Should generate valid authentication token", async () => {
it("Should generate valid authentication token", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -229,7 +252,9 @@ describe(
expect(user.address).to.equal(await signerWallet.getAddress());
});
it("Should reject token with incorrect domain", async () => {
it("Should reject token with incorrect domain", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -245,7 +270,9 @@ describe(
}
});
it("Should reject token before invalid before", async () => {
it("Should reject token before invalid before", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -261,7 +288,9 @@ describe(
}
});
it("Should reject expired authentication token", async () => {
it("Should reject expired authentication token", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -277,7 +306,9 @@ describe(
}
});
it("Should reject if admin address is not connected wallet address", async () => {
it("Should reject if admin address is not connected wallet address", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -294,7 +325,9 @@ describe(
}
});
it("Should accept token with valid token ID", async () => {
it("Should accept token with valid token ID", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -313,7 +346,9 @@ describe(
expect(user.address).to.equal(await signerWallet.getAddress());
});
it("Should reject token with invalid token ID", async () => {
it("Should reject token with invalid token ID", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -335,7 +370,9 @@ describe(
}
});
it("Should propagate session on token", async () => {
it("Should propagate session on token", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -349,7 +386,9 @@ describe(
expect(user.session).to.deep.equal({ role: "admin" });
});
it("Should call session callback function", async () => {
it("Should call session callback function", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
@@ -368,7 +407,9 @@ describe(
});
});
it("Should authenticate with issuer address", async () => {
it("Should authenticate with issuer address", {
timeout: 240000,
}, async () => {
const payload = await auth.login();
auth.updateWallet(adminWallet);
+134
View File
@@ -1,5 +1,139 @@
# @thirdweb-dev/chains
## 0.1.106
### Patch Changes
- [#2925](https://github.com/thirdweb-dev/js/pull/2925) [`2bfaafc`](https://github.com/thirdweb-dev/js/commit/2bfaafcc10fcdff000025011a81e885b1a9fdef8) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.105
### Patch Changes
- [#2908](https://github.com/thirdweb-dev/js/pull/2908) [`83d1d6f`](https://github.com/thirdweb-dev/js/commit/83d1d6f397982dfda87a835743a2ef1fecd5d919) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.104
### Patch Changes
- [#2902](https://github.com/thirdweb-dev/js/pull/2902) [`0bce535`](https://github.com/thirdweb-dev/js/commit/0bce5350946d0ce231a65dbad2493d1fbe0c1376) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.103
### Patch Changes
- [#2865](https://github.com/thirdweb-dev/js/pull/2865) [`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.102
### Patch Changes
- [#2862](https://github.com/thirdweb-dev/js/pull/2862) [`5a87891`](https://github.com/thirdweb-dev/js/commit/5a87891d16f654b28779e76d23ea335bdb26718d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.101
### Patch Changes
- [#2852](https://github.com/thirdweb-dev/js/pull/2852) [`dbdafa2`](https://github.com/thirdweb-dev/js/commit/dbdafa2b01148b13d05fd75803926d9d37396668) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.100
### Patch Changes
- [#2838](https://github.com/thirdweb-dev/js/pull/2838) [`637c510`](https://github.com/thirdweb-dev/js/commit/637c510f59c2504bd29cedbdf4bda694719681dc) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.99
### Patch Changes
- [#2821](https://github.com/thirdweb-dev/js/pull/2821) [`45677ad`](https://github.com/thirdweb-dev/js/commit/45677ad62012c63e3443f2e236311eb9a2bad094) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.98
### Patch Changes
- [#2819](https://github.com/thirdweb-dev/js/pull/2819) [`6d6e0ac`](https://github.com/thirdweb-dev/js/commit/6d6e0ac69453d5a448ab771084976928313662ab) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.97
### Patch Changes
- [#2812](https://github.com/thirdweb-dev/js/pull/2812) [`b4e7c74`](https://github.com/thirdweb-dev/js/commit/b4e7c74ce5ddc88a1aa3169ea89ff139d185a648) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.96
### Patch Changes
- [#2802](https://github.com/thirdweb-dev/js/pull/2802) [`ca2576f`](https://github.com/thirdweb-dev/js/commit/ca2576f8180b6b5b9fe47087a53d1f13665c5028) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.95
### Patch Changes
- [#2777](https://github.com/thirdweb-dev/js/pull/2777) [`76f93a4`](https://github.com/thirdweb-dev/js/commit/76f93a4346bc7627a6b0e4e49d212e245ad91be0) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.94
### Patch Changes
- [#2755](https://github.com/thirdweb-dev/js/pull/2755) [`6574e4d`](https://github.com/thirdweb-dev/js/commit/6574e4da9938fe7eb862a0ae779b02561967abf1) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.93
### Patch Changes
- [#2746](https://github.com/thirdweb-dev/js/pull/2746) [`bf6a8e0`](https://github.com/thirdweb-dev/js/commit/bf6a8e0cab2a02a34d2ca8fbdf9d034ac176b61e) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.92
### Patch Changes
- [#2740](https://github.com/thirdweb-dev/js/pull/2740) [`d65713a`](https://github.com/thirdweb-dev/js/commit/d65713a7af67bf20e5b88b72f5d43dfba9172b3b) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.91
### Patch Changes
- [#2708](https://github.com/thirdweb-dev/js/pull/2708) [`53e56f4`](https://github.com/thirdweb-dev/js/commit/53e56f4bf8d3fbe7e2d5252b561bcef5927762e6) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.90
### Patch Changes
- [#2701](https://github.com/thirdweb-dev/js/pull/2701) [`703cb6a`](https://github.com/thirdweb-dev/js/commit/703cb6ae3cc51fa4b0ba7c87f09f8e84dab8ed3f) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies
- [#2702](https://github.com/thirdweb-dev/js/pull/2702) [`48c1d60`](https://github.com/thirdweb-dev/js/commit/48c1d6038272284f8942e1fb3635283b48945a68) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.89
### Patch Changes
- [#2676](https://github.com/thirdweb-dev/js/pull/2676) [`83ecf67`](https://github.com/thirdweb-dev/js/commit/83ecf67c4b973b17fbc57eeaa03d7a8176ff5d39) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.88
### Patch Changes
- [#2668](https://github.com/thirdweb-dev/js/pull/2668) [`b3fca95`](https://github.com/thirdweb-dev/js/commit/b3fca9509feb0ac6e0ded816f08570b2954f6521) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.87
### Patch Changes
- [#2635](https://github.com/thirdweb-dev/js/pull/2635) [`fbf4556`](https://github.com/thirdweb-dev/js/commit/fbf4556d489b3be7c0c0ff85736e803573f55228) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.86
### Patch Changes
- [#2597](https://github.com/thirdweb-dev/js/pull/2597) [`82e5f53`](https://github.com/thirdweb-dev/js/commit/82e5f53bc49208cbc43ef3eb64e3a4b6ef6c7cf6) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.85
### Patch Changes
- [#2590](https://github.com/thirdweb-dev/js/pull/2590) [`3ef3786`](https://github.com/thirdweb-dev/js/commit/3ef378659e83341663dfaded417e33b5af29bbbc) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.84
### Patch Changes
+4
View File
@@ -70,7 +70,11 @@ export default {
"https://mainnet.gateway.tenderly.co",
"wss://mainnet.gateway.tenderly.co",
"https://rpc.blocknative.com/boost",
"https://rpc.flashbots.net",
"https://rpc.flashbots.net/fast",
"https://rpc.mevblocker.io",
"https://rpc.mevblocker.io/fast",
"https://rpc.mevblocker.io/noreverts",
"https://rpc.mevblocker.io/fullprivacy",
"https://eth.drpc.org",
"wss://eth.drpc.org"
+10 -6
View File
@@ -4,8 +4,13 @@ export default {
"chainId": 1001,
"explorers": [
{
"name": "klaytnscope",
"url": "https://scope.klaytn.com",
"name": "Klaytnscope",
"url": "https://baobab.klaytnscope.com",
"standard": "EIP3091"
},
{
"name": "Klaytnfinder",
"url": "https://baobab.klaytnfinder.io",
"standard": "EIP3091"
}
],
@@ -13,7 +18,7 @@ export default {
"https://baobab.wallet.klaytn.com/access?next=faucet"
],
"features": [],
"infoURL": "https://www.klaytn.com/",
"infoURL": "https://klaytn.foundation",
"name": "Klaytn Testnet Baobab",
"nativeCurrency": {
"name": "KLAY",
@@ -24,9 +29,8 @@ export default {
"redFlags": [],
"rpc": [
"https://1001.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.baobab.klaytn.net:8651",
"https://klaytn-baobab.drpc.org",
"wss://klaytn-baobab.drpc.org"
"https://public-en-baobab.klaytn.net",
"https://api.baobab.klaytn.net:8651"
],
"shortName": "Baobab",
"slip44": 1,
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 10036,
"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": "Innovo Markets Mainnet",
"nativeCurrency": {
"name": "Innovo Markets Mainnet Token",
"symbol": "INN",
"decimals": 18
},
"networkId": 10036,
"redFlags": [],
"rpc": [
"https://10036.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/innovo/mainnet/rpc"
],
"shortName": "Innovo Markets Mainnet",
"slug": "innovo-markets",
"testnet": false
} as const satisfies Chain;
+34
View File
@@ -0,0 +1,34 @@
import type { Chain } from "../src/types";
export default {
"chain": "Jumbo",
"chainId": 1009,
"explorers": [
{
"name": "Jumboscan",
"url": "https://jumboscan.jumbochain.org",
"standard": "EIP3091"
}
],
"faucets": [],
"features": [
{
"name": "EIP155"
}
],
"infoURL": "https://jumbochain.org",
"name": "Jumbochain Mainnet",
"nativeCurrency": {
"name": "JNFTC",
"symbol": "JNFTC",
"decimals": 18
},
"networkId": 1009,
"rpc": [
"https://1009.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpcpriv.jumbochain.org"
],
"shortName": "Jumboscan",
"slip44": 1,
"slug": "jumbochain",
"testnet": false
} as const satisfies Chain;
+52
View File
@@ -0,0 +1,52 @@
import type { Chain } from "../src/types";
export default {
"chain": "REBUS",
"chainId": 1011,
"explorers": [
{
"name": "Rebus EVM Explorer (Blockscout)",
"url": "https://evm.rebuschain.com",
"standard": "none",
"icon": {
"url": "ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",
"width": 512,
"height": 512,
"format": "png"
}
},
{
"name": "Rebus Cosmos Explorer (ping.pub)",
"url": "https://cosmos.rebuschain.com",
"standard": "none",
"icon": {
"url": "ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",
"width": 512,
"height": 512,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreifzag46dhp33vb2uldg4htqbqipuqrapjga6ml6pnhn5yibbvb4gq",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://www.rebuschain.com",
"name": "Rebus Mainnet",
"nativeCurrency": {
"name": "Rebus",
"symbol": "REBUS",
"decimals": 18
},
"networkId": 1011,
"rpc": [
"https://1011.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://apievm.rebuschain.com/rpc"
],
"shortName": "rebus",
"slug": "rebus",
"testnet": false,
"title": "Rebuschain Mainnet"
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 10154,
"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": "QIM2405023 Interop",
"nativeCurrency": {
"name": "QIM2405023 Interop Token",
"symbol": "UZP",
"decimals": 18
},
"networkId": 10154,
"redFlags": [],
"rpc": [
"https://10154.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
],
"shortName": "QIM2405023 Interop",
"slug": "qim2405023-interop",
"testnet": true
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 10255,
"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": "Coqnet Testnet",
"nativeCurrency": {
"name": "Coqnet Testnet Token",
"symbol": "COQ",
"decimals": 18
},
"networkId": 10255,
"redFlags": [],
"rpc": [
"https://10255.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/coqnet/testnet/rpc"
],
"shortName": "Coqnet Testnet",
"slug": "coqnet-testnet",
"testnet": true
} as const satisfies Chain;
+3 -2
View File
@@ -17,7 +17,7 @@ export default {
"format": "png"
},
"infoURL": "https://worldland.foundation",
"name": "Worldland Mainnet",
"name": "WorldLand Mainnet",
"nativeCurrency": {
"name": "Worldland",
"symbol": "WLC",
@@ -26,7 +26,8 @@ export default {
"networkId": 103,
"rpc": [
"https://103.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://seoul.worldland.foundation"
"https://seoul.worldland.foundation",
"https://seoul2.worldland.foundation"
],
"shortName": "WLC",
"slug": "worldland",
+1 -1
View File
@@ -17,7 +17,7 @@ export default {
"format": "png"
},
"infoURL": "https://worldland.foundation",
"name": "Worldland Testnet",
"name": "WorldLand Testnet",
"nativeCurrency": {
"name": "Worldland",
"symbol": "WLC",
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "KaspaClassic",
"chainId": 104566,
"explorers": [
{
"name": "KaspaClassic Explorer",
"url": "https://explorer.kaspaclassic.world",
"standard": "none"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",
"width": 400,
"height": 400,
"format": "png"
},
"infoURL": "https://kaspaclassic.com/",
"name": "KaspaClassic Mainnet",
"nativeCurrency": {
"name": "KaspaClassic",
"symbol": "CAS",
"decimals": 18
},
"networkId": 104566,
"rpc": [
"https://104566.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.kaspaclassic.world/",
"http://80.178.101.118:8000/"
],
"shortName": "cas",
"slug": "kaspaclassic",
"testnet": false
} as const satisfies Chain;
@@ -11,7 +11,7 @@ export default {
"format": "png"
},
"infoURL": "https://kakarot.org",
"name": "Kakarot Sepolia",
"name": "Kakarot Sepolia Deprecated",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
@@ -24,7 +24,7 @@ export default {
"bridges": []
},
"rpc": [],
"shortName": "kkrt-sepolia",
"slug": "kakarot-sepolia",
"shortName": "kkrt-sepolia-deprecated",
"slug": "kakarot-sepolia-deprecated",
"testnet": false
} as const satisfies Chain;
+1 -1
View File
@@ -24,7 +24,7 @@ export default {
"nativeCurrency": {
"name": "SMR",
"symbol": "SMR",
"decimals": 6
"decimals": 18
},
"networkId": 1073,
"rpc": [
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "IOTA EVM",
"chainId": 1075,
"explorers": [
{
"name": "explorer",
"url": "https://explorer.evm.testnet.iotaledger.net",
"standard": "EIP3091"
}
],
"faucets": [
"https://evm-toolkit.evm.testnet.iotaledger.net"
],
"icon": {
"url": "ipfs://bafkreibky2sy6qhi6arktayvologkrgu5kudpgdxfkx4uosbvmstz7v4di",
"width": 720,
"height": 720,
"format": "png"
},
"infoURL": "https://www.iota.org",
"name": "IOTA EVM Testnet",
"nativeCurrency": {
"name": "IOTA",
"symbol": "IOTA",
"decimals": 18
},
"networkId": 1075,
"rpc": [
"https://1075.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://json-rpc.evm.testnet.iotaledger.net"
],
"shortName": "iotaevm-testnet",
"slug": "iota-evm-testnet",
"testnet": true,
"title": "IOTA EVM Testnet"
} as const satisfies Chain;
+2 -1
View File
@@ -46,7 +46,8 @@ export default {
"https://evm.humans.stakepool.dev.br",
"https://mainnet-humans-evm.konsortech.xyz",
"https://evm-rpc.mainnet.humans.zone",
"https://json-rpc.humans.bh.rocks"
"https://json-rpc.humans.bh.rocks",
"https://evm-rpc.humans.huginn.tech"
],
"shortName": "humans",
"slug": "humans-ai",
+41
View File
@@ -0,0 +1,41 @@
import type { Chain } from "../src/types";
export default {
"chain": "NetMind",
"chainId": 1100789,
"explorers": [
{
"name": "NetMind Testnet Explorer",
"url": "https://testbrower.protago-dev.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",
"width": 500,
"height": 500,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmQNipd6uen7sm7HZXGbqhcSVkUXxu3Tp6c3BoeFpvmywp",
"width": 500,
"height": 500,
"format": "png"
},
"infoURL": "https://netmind.ai",
"name": "Netmind Chain Testnet",
"nativeCurrency": {
"name": "NMT",
"symbol": "NMT",
"decimals": 18
},
"networkId": 1100789,
"rpc": [
"https://1100789.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testblock.protago-dev.com"
],
"shortName": "nmtTest",
"slug": "netmind-chain-testnet",
"testnet": true,
"title": "NetMind Chain Testnet"
} as const satisfies Chain;
-1
View File
@@ -50,7 +50,6 @@ export default {
"shortName": "re-al",
"slip44": 60,
"slug": "re-al",
"status": "incubating",
"testnet": false,
"title": "re.al Real-World Assets network"
} as const satisfies Chain;
+40
View File
@@ -0,0 +1,40 @@
import type { Chain } from "../src/types";
export default {
"chain": "BSQ",
"chainId": 1113,
"explorers": [
{
"name": "B2 Hub Habitat Testnet Explorer",
"url": "https://testnet-hub-explorer.bsquared.network",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
"width": 640,
"height": 640,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
"width": 640,
"height": 640,
"format": "png"
},
"infoURL": "https://www.bsquared.network",
"name": "B2 Hub Testnet",
"nativeCurrency": {
"name": "BSquared Token",
"symbol": "B2",
"decimals": 18
},
"networkId": 1113,
"rpc": [
"https://1113.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet-hub-rpc.bsquared.network"
],
"shortName": "B2Hub-testnet",
"slug": "b2-hub-testnet",
"testnet": true
} as const satisfies Chain;
@@ -0,0 +1,52 @@
import type { Chain } from "../src/types";
export default {
"chain": "Cyber",
"chainId": 111557560,
"explorers": [
{
"name": "Cyber Testnet Explorer",
"url": "https://testnet.cyberscan.co",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
"width": 551,
"height": 540,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmP61yDNPv7fxY9ZzPs4CjQDbZLoKtF8eWWjszVYbwkabd",
"width": 1000,
"height": 1000,
"format": "svg"
},
"infoURL": "https://cyber.co/",
"name": "Cyber Testnet",
"nativeCurrency": {
"name": "Sepolia Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 111557560,
"parent": {
"type": "L2",
"chain": "eip155-11155111",
"bridges": [
{
"url": "https://cyber-testnet-bridge.alt.technology/deposit"
}
]
},
"rpc": [
"https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://cyber-testnet.alt.technology/",
"wss://cyber-testnet.alt.technology/ws",
"https://rpc.testnet.cyber.co/",
"wss://rpc.testnet.cyber.co/"
],
"shortName": "cysep",
"slug": "cyber-testnet",
"testnet": true
} as const satisfies Chain;
+40
View File
@@ -0,0 +1,40 @@
import type { Chain } from "../src/types";
export default {
"chain": "SC20",
"chainId": 11221,
"explorers": [
{
"name": "shinescan",
"url": "https://shinescan.io",
"standard": "none",
"icon": {
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
"width": 161,
"height": 161,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
"width": 161,
"height": 161,
"format": "png"
},
"infoURL": "https://shinechain.tech",
"name": "Shine Chain",
"nativeCurrency": {
"name": "Shine",
"symbol": "SC20",
"decimals": 18
},
"networkId": 11221,
"rpc": [
"https://11221.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.shinescan.io"
],
"shortName": "SC20",
"slug": "shine-chain",
"testnet": false
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 11227,
"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": "Jiritsu Testnet",
"nativeCurrency": {
"name": "Jiritsu Testnet Token",
"symbol": "TZW",
"decimals": 18
},
"networkId": 11227,
"redFlags": [],
"rpc": [
"https://11227.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/jiritsutes/testnet/rpc"
],
"shortName": "Jiritsu Testnet",
"slug": "jiritsu-testnet",
"testnet": true
} as const satisfies Chain;
+45
View File
@@ -0,0 +1,45 @@
import type { Chain } from "../src/types";
export default {
"chain": "Habitat",
"chainId": 1123,
"explorers": [
{
"name": "blockscout",
"url": "https://testnet-explorer.bsquared.network",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
"width": 640,
"height": 640,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmPV6ASrQDEkEW3g3ni7p2rJMPeciRLpEpvrAc1QfzVkx9",
"width": 640,
"height": 640,
"format": "png"
},
"infoURL": "https://www.bsquared.network",
"name": "B2 Testnet",
"nativeCurrency": {
"name": "Bitcoin",
"symbol": "BTC",
"decimals": 18
},
"networkId": 1123,
"parent": {
"type": "L2",
"chain": "eip155-1113"
},
"rpc": [
"https://1123.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://b2-testnet.alt.technology"
],
"shortName": "B2-testnet",
"slug": "b2-testnet",
"testnet": true,
"title": "B2 Testnet"
} as const satisfies Chain;
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 1135,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.lisk.com",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmYtUimyqHkkFxYdbXXRbUqNg2VLPUg6Uu2C2nmFWowiZM",
"width": 551,
"height": 540,
"format": "png"
}
}
],
"faucets": [],
"infoURL": "https://lisk.com",
"name": "Lisk",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 1135,
"rpc": [
"https://1135.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.api.lisk.com"
],
"shortName": "lisk",
"slip44": 134,
"slug": "lisk",
"testnet": false
} as const satisfies Chain;
+40
View File
@@ -0,0 +1,40 @@
import type { Chain } from "../src/types";
export default {
"chain": "MOS",
"chainId": 1188,
"explorers": [
{
"name": "mosscan",
"url": "https://www.mosscan.com",
"standard": "none",
"icon": {
"url": "ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",
"width": 51,
"height": 50,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmczQf61mZmg3NmmGnwseDxzH1AqapA252KCTT85GuNG96",
"width": 51,
"height": 50,
"format": "png"
},
"infoURL": "https://www.mosscan.com",
"name": "ClubMos Mainnet",
"nativeCurrency": {
"name": "ClubMos",
"symbol": "MOS",
"decimals": 18
},
"networkId": 1188,
"rpc": [
"https://1188.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://mainnet.mosscan.com"
],
"shortName": "MOS",
"slug": "clubmos",
"testnet": false
} as const satisfies Chain;

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