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 Call and Approve to reduce staking txs #674

Open
theref opened this issue Dec 4, 2023 · 0 comments
Open

Use Call and Approve to reduce staking txs #674

theref opened this issue Dec 4, 2023 · 0 comments
Assignees

Comments

@theref
Copy link
Member

theref commented Dec 4, 2023

image
Stake deposit says this requires 2 TXs:

  • Use approveAndCall if possible to reduce it to 1 TX
  • Hint that there will be more TXs later

This is a good place to start for using approveAndCall https://github.com/threshold-network/token-dashboard/blob/main/src/web3/hooks/useStakeTransaction.ts

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.

2 participants