-
Notifications
You must be signed in to change notification settings - Fork 362
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 orchestration service for Chain Abstraction #759
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
10 Skipped Deployments
|
Added input filed for amount and recipient address
const gasEstimate = await chainProvider.estimateGas({ | ||
from: walletAddress, | ||
to: transaction.to, | ||
value: transaction.value, | ||
data: transaction.data, | ||
gasPrice: gasPrice | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we do this? isn't this done server side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the server-side value.
gasPrice: gasPrice | ||
}) | ||
|
||
const hash = await chainConnectedWallet.sendTransaction({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we include nonce because we're doing manual nonce calculation backend side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll add the nonce. I encountered an error indicating a "nonce value too high" (Max is working on fixing its nonce calculation).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nonce calculation got resolved. I will add it.
CA implementation using orchestration service.
UserInterface improvement on CA demo app.