Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Use admin account as payer on all outgoing transactions #11

Closed
nvdtf opened this issue Jul 28, 2021 · 4 comments
Closed

Use admin account as payer on all outgoing transactions #11

nvdtf opened this issue Jul 28, 2021 · 4 comments

Comments

@nvdtf
Copy link
Member

nvdtf commented Jul 28, 2021

We expect the admin account to contain enough FLOW to compensate for all custodial accounts' transactions.

Some endpoints (like FT withdrawal) use the user account as the payer, thus running into problems when transactions fail and the storage falls below the minimum.

All outgoing transactions from wallet-api should use the admin account as payer.

@uhbif19
Copy link

uhbif19 commented Aug 19, 2021

@tehranifar

It looks to me that all transactions send by hand are paid by user. Flow are taken from account after each transaction. Am I correct?

@nvdtf
Copy link
Member Author

nvdtf commented Aug 19, 2021

Yes, designating the admin account as payer will automatically make it pay for user transactions.

@uhbif19
Copy link

uhbif19 commented Aug 20, 2021

@uhbif19 I am not sure what you mean. 'designating the admin account as payer' - is that something possible in Wallet API? Or your answer is about situation when working with a regular Flow client libruary?

pull bot pushed a commit to SaintPatricks-Github-Coinpot-Club/flow-wallet-api-node-demo that referenced this issue Aug 22, 2021
@psiemens
Copy link
Contributor

Hey @tehranifar, I've moved this issue to the new upstream repository here: flow-hydraulics/flow-wallet-api#152

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants