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

[Offseter Backend] - Call tx to allow user offset #4

Open
MartianGreed opened this issue Jul 29, 2024 · 0 comments
Open

[Offseter Backend] - Call tx to allow user offset #4

MartianGreed opened this issue Jul 29, 2024 · 0 comments

Comments

@MartianGreed
Copy link
Contributor

Given a quantity of carbon credits available to claim,
backend has to call a Offseter contract to update onchain the available quantity of cc's that a user can claim.

Process is folowing :

  • Binary check every x seconds if quantity is available in db (we will add values by hand at the beginning)
  • Once quantity of cc's can be unlock (quantity is present in db)
  • Backend confirms availability of cc's to Offseter contract
  • Removes the quantity in db
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