-
Notifications
You must be signed in to change notification settings - Fork 0
Swap error when use Albedo wallet in demo app (under frontend folder) #1
Copy link
Copy link
Open
Description
- LOBSTR ✅
- Albedo ❌
@yahyafakhroji I think it’s relate with this section:
stellar-pay/frontend/src/components/swap-form.tsx
Lines 72 to 91 in 94c68ae
const transaction = new TransactionBuilder(source, { fee: BASE_FEE, networkPassphrase: passphrase, }) .addOperation( Operation.invokeContractFunction({ contract: contractAddress, function: "swap", args: args, }) ) .setTimeout(30) .setNetworkPassphrase(passphrase) .build(); // Specific handling for Freighter wallet const signedTx = await kit?.signTransaction(transaction.toXDR(), { address: publicKey, networkPassphrase: passphrase, });
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
