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

Renew Instruction #7

Closed
alecchendev opened this issue Mar 7, 2022 · 0 comments · Fixed by #19
Closed

Renew Instruction #7

alecchendev opened this issue Mar 7, 2022 · 0 comments · Fixed by #19
Assignees

Comments

@alecchendev
Copy link
Member

alecchendev commented Mar 7, 2022

Need to add two more accounts to the list - the current mint token account of the payer and the payer themselves - you want to mint the next token to the current owner of the subscription, which is denoted by the possession of a token in a token account matching the mint specified in the subscription metadata

In the case that it's the first time a subscription is being paid, the client can pass in either an arbitrary account as the mint token account, or we can define the instruction to make this account optionally. The payer is necessary for all renewals for the creation of the new mint token account.

Also buffer for renewing before expiry??

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

Successfully merging a pull request may close this issue.

1 participant