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 orchestration service for Chain Abstraction #759

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

KannuSingh
Copy link
Collaborator

@KannuSingh KannuSingh commented Nov 1, 2024

  • CA implementation using orchestration service.

  • UserInterface improvement on CA demo app.

Screenshot 2024-11-05 at 4 50 54 PM

Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appkit-react-ethersv5 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
appkit-react-wagmi-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
appkit-solana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
decentralized-relay-wallet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
react-wallet-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
smart-sessions-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
vue-web-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:23pm
10 Skipped Deployments
Name Status Preview Comments Updated (UTC)
decentralized-relay-app ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
malicious-dapp-verify-simulation ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-auth-dapp ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-auth-wallet ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-dapp-v2 ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-dapp-v2-cosmos-provider ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-dapp-v2-with-ethers ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
react-dapp-v2-with-web3js ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
svelte-web3modal ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm
vue-dapp-auth ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:23pm

Added input filed for amount and recipient address
Comment on lines 72 to 78
const gasEstimate = await chainProvider.estimateGas({
from: walletAddress,
to: transaction.to,
value: transaction.value,
data: transaction.data,
gasPrice: gasPrice
})
Copy link
Collaborator

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?

Copy link
Collaborator Author

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({
Copy link
Collaborator

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?

Copy link
Collaborator Author

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).

Copy link
Collaborator Author

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.

@KannuSingh KannuSingh merged commit 6d43004 into main Nov 5, 2024
20 checks passed
@KannuSingh KannuSingh deleted the CA-demo-with-orchestrator-APIs branch November 5, 2024 14:10
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 this pull request may close these issues.

2 participants