Backend is currently sending TFT to itself #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
We should add the user ledger address as memo text instead
What Needs to be Fixed
1. Change the Destination Account
Current: crates/frontend/src/components/transfer.rs:87
Required: Send to a designated TFT receiving account (treasury/exchange account)
2. Add Hero Ledger Address to Transaction Memo
Current: crates/backend/src/api.rs:213-216
Required: Include Hero Ledger pubkey in transaction via:
Utility::batch_all([transfer_keep_alive(...), remark(hero_ledger_pubkey)])Balances::transfer_with_remark(if available in TFChain)3. Update the Data Flow
Modify
TransferPrepareRequestto include Hero Ledger information.How It Will Work (After Implementation)
Code is merged