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

WIP: Bundler chain service #1825

Closed
wants to merge 9 commits into from
Closed

WIP: Bundler chain service #1825

wants to merge 9 commits into from

Conversation

lalexgap
Copy link
Contributor

@lalexgap lalexgap commented Oct 10, 2023

Currently this will connect to the bundler and submit the UserOperation, however it fails with

UserOperation: Sender=0x5FbDB2315678afecb367f032d93F642f64180aa3  Nonce=1 EntryPoint=0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789 Paymaster=undefined
failed:  eth_sendUserOperation error: {"message":"account validation failed: AA23 reverted (or OOG)","code":-32500}

How to run

  • In go-nitro start up anvil and the rpc clients via go run ./cmd/start-rpc-servers/main.go
  • In bundler deploy the contracts and run the bundler by running yarn hardhat-deploy --network localhost && yarn run bundler --unsafe
  • Create a ledger channel to trigger the SendUserOperation call by running go run ./cmd/create-ledger-channel -a 10 -c 0x111A00868581f73AB42FEEF67D235Ca09ca1E8db

@netlify
Copy link

netlify bot commented Oct 10, 2023

Deploy Preview for nitro-payment-demo canceled.

Name Link
🔨 Latest commit 37b0c43
🔍 Latest deploy log https://app.netlify.com/sites/nitro-payment-demo/deploys/6525ffa6069f0d000826fec8

@netlify
Copy link

netlify bot commented Oct 10, 2023

👷 Deploy Preview for nitrodocs processing.

Name Link
🔨 Latest commit 37b0c43
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/6525ffa61142c00008f7334c

@lalexgap lalexgap closed this Nov 14, 2023
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.

1 participant