Skip to main content
Odette Taylor's user avatar
Odette Taylor's user avatar
Odette Taylor's user avatar
Odette Taylor
  • Member for 6 months
  • Last seen more than a month ago
comment
"failed: An account required by the instruction is missing" transfer within contract
Yes, my idea is to transfer the deposited SOL directly to the two receiving addresses defined in the contract
comment
"failed: An account required by the instruction is missing" transfer within contract
How can I achieve this requirement, or do I need to write a withdrawal method?
comment
"failed: An account required by the instruction is missing" transfer within contract
Thank you for your help . The expectation of the contract is that the user recharges SOL to the contract, and in the recharge method, the received SOL is transferred to the two addresses defined in the contract based on comparison. Do these two receiving addresses also need to be set as parameters when calling the contract?
Loading…
awarded