LambdaHackWeek: Fix Error: You Must Provide a signTransaction Function
#159
Labels
good first issue
Good for newcomers
You Must Provide a signTransaction Function
#159
Please add PRs to the update-P21 branch
Description:
Resolve the error occurring in the
form-pledge
component, where asignTransaction
function must be provided either when callingsignAndSend
or when initializing the Client.Source:
components/molecules/form-pledge/index.tsx
(Line 51:18) @signAndSend
Tasks:
Review Current Implementation:
form-pledge
component.signTransaction
function should be integrated.Provide signTransaction Function:
signTransaction
function.signAndSend
or during Client initialization.Update signAndSend Call:
signAndSend
to include thesignTransaction
function.Test Functionality:
yarn reset
,yarn dev
, and then clicking the "Mint 100 ABND" button.Update Documentation:
form-pledge
component.signAndSend
functionality.Expected Outcome:
signTransaction
function is resolved.form-pledge
component correctly signs and sends transactions without errors.Why This Is Important:
Fixing this error is crucial for ensuring that transactions can be signed and sent correctly within the Soroban Example Dapp. This will enhance the functionality and reliability of the Dapp, providing a smoother user experience.
Code Reference:
The text was updated successfully, but these errors were encountered: