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

Create a temporary account to be the fee payer when calling Wormhole #489

Open
ruuda opened this issue Dec 22, 2021 · 0 comments
Open

Create a temporary account to be the fee payer when calling Wormhole #489

ruuda opened this issue Dec 22, 2021 · 0 comments
Milestone

Comments

@ruuda
Copy link
Contributor

ruuda commented Dec 22, 2021

When we call wormhole, we need to provide a payer account, which must sign the transaction. The Wormhole program then transfers the fee from that account. The payer in our case is the maintainer’s key.

If the Wormhole program gets upgraded, it might start taking more fee, it could suddenly steal all of the maintainer’s funds. Currently all of the maintainers have at most 2 SOL in their accounts so there is not that much to gain, but still, it would be nicer to:

  • Create a new temporary throwaway account.
  • Transfer just enough SOL to it to pay for the Wormhole transaction fee.
  • Use that as the Wormhole fee payer, instead of the maintainer itself.
@ruuda ruuda added this to the Anker milestone Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant