Giter Club home page Giter Club logo

particle-bundler-server's Introduction

Particle Bundler RPC Server

GitHub

Particle Bundler RPC completes compatible with ERC4337 standards. It is extremely stable and supports high concurrency requests.

⚡️ Live

👉 We have deployed a server on production: https://docs.particle.network/developers/node-service/evm-chains-api/bundler-rpc

👉 Try the demo: https://scroll-testnet.particle.network/

🔬 Functionalities

  • All standard RPCs supported
  • All can be configured: RPCs, Signers, etc
  • Support any chain
  • UserOp Persistence
  • UserOp Concurrent Handling
  • Built-in gas price oracle
  • Multi Bundler Signers Manager
  • Auto Retry for failed transaction
  • Correct Transaction even when affected by MEV
  • Deploy new chains with one line code

📖 Related articles

ERC-4337: Predicting the Gas Consumption of UserOperation

🔧 Quick Start

💿 Clone the project

git https://github.com/Particle-Network/particle-bundler-server.git
cd particle-bundler-server
yarn

🧷 Setup the environment

Set your configuration in .env.dev. We require the mongodb.

🏄🏻‍♂️ Start the project

npm run start

🖖 Start a gasless transaction

create a new terminal and run the test

npm run test

🧷 Custom the bundler config

Set your configuration in /src/configs/bundler-config.ts.

  • CHAIN_SIGNER_MIN_BALANCE: the minimum balance of the signer, if the signer's balance is less than this value, the payment signer will automatically transfer the token to the signer.
  • CHAIN_VERIFYING_PAYMASTER_MIN_DEPOSIT: the minimum deposit of the paymaster, if the paymaster's deposit is less than this value, the payment signer will automatically transfer the token to the paymaster.

📝 Scripts

deploy AA & Simple Account for a new chain

// set a signer in scripts/deploy-aa.ts

npx ts-node scripts/deploy-aa.ts 11155111

🛀🏽 API doc

Learn more on https://docs.particle.network/developers/node-service/evm-chains-api/bundler-rpc

💼 Feedback

If you got some problems, please report bugs or issues.

You can also join our Discord.

particle-bundler-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

particle-bundler-server's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.