Closed irisdv closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 16, 2024 0:53am |
sepolia-app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 16, 2024 0:53am |
The changes primarily involve a transition from using the useContractWrite
hook to the useSendTransaction
hook across multiple components and hooks within the application. This modification reflects a shift in the transaction handling mechanism, impacting how components interact with the blockchain. Additionally, several components have updated method names from writeAsync
to sendAsync
, enhancing consistency in transaction execution.
Files | Change Summary |
---|---|
components/UI/modalProfilePic.tsx , components/discount/freeRenewalCheckout.tsx , components/discount/registerDiscount.tsx , components/domains/autorenewal.tsx , components/domains/externalDomainActions.tsx , components/domains/externalDomainTransferModal.tsx , components/domains/steps/checkoutCard.tsx , components/identities/actions/addEvmModal.tsx , components/identities/actions/changeAddressModal.tsx , components/identities/actions/clickable/clickablePersonhoodIcon.tsx , components/identities/actions/identityActions.tsx , components/identities/actions/subdomainModal.tsx , components/identities/actions/transferFormModal.tsx , components/solana/changeAddressModal.tsx , components/solana/domainActions.tsx |
Replaced useContractWrite with useSendTransaction and changed method names from writeAsync to sendAsync . |
hooks/contracts.ts , hooks/naming.ts , hooks/paymaster.tsx , hooks/useAllowanceCheck.tsx , hooks/useBalances.tsx , hooks/useHasClaimSolSubdomain.ts , hooks/useNeedAllowances.tsx , hooks/useWhitelistedNFTs.tsx |
Updated useContractRead to useReadContract and changed address types to HexString . |
package.json |
Updated versions of dependencies: @starknet-react/chains , @starknet-react/core , and starknetkit . |
pages/_app.tsx , pages/discord.tsx , pages/github.tsx , pages/identities.tsx , pages/solana.tsx , pages/twitter.tsx |
Replaced useContractWrite with useSendTransaction and changed method names from writeAsync to sendAsync . |
utils/connectorWrapper.ts |
Refactored ArgentMobileConnector initialization and simplified WebWalletConnector URL configuration. |
Objective | Addressed | Explanation |
---|---|---|
Update to starknet-react version for compatibility (Issue #759) |
✅ |
TransactionModal
component relate to transaction handling, similar to the updates in the ModalProfilePic
component where the transaction handling mechanism was modified.AutoRenewalDomainsBox
and autorenewal.tsx
components both involve changes to transaction handling, indicating a broader update in how transactions are managed across components.starknet.js
may impact transaction handling methods, which aligns with the changes made in the main PR regarding transaction execution.FreeRegisterCheckout.tsx
to improve user feedback during loading states relate to transaction handling, similar to the changes in the ModalProfilePic
component.🔥 Ready for review
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Close #759
Summary by CodeRabbit
Release Notes
New Features
useSendTransaction
hook for improved transaction management.Bug Fixes
Documentation
HexString
in various hooks for better clarity and error prevention.Chores