Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use admin account as payer on all outgoing transactions #152

Closed
psiemens opened this issue Aug 25, 2021 · 1 comment
Closed

Use admin account as payer on all outgoing transactions #152

psiemens opened this issue Aug 25, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@psiemens
Copy link
Collaborator

psiemens commented Aug 25, 2021

This issue was originally opened here by @tehranifar on July 28, 2021: onflow/wallet-api#12

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.

From @uhbif19:

@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?

From @tehranifar:

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

From @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?

@latenssi
Copy link
Member

Closing as duplicate of #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants