Giter VIP home page Giter VIP logo

particle-manual-useroperation's Introduction

Particle Bundler & Paymaster Manual UserOp Construction

โšก๏ธ This Node.js script constructs a manually UserOperation (without library assistance, such as is present within Particle's AA SDK), sponsors it with Particle Network's Omnichain Paymaster, and executes it with Particle Network's Bundler. Specifically, this sample UserOperation contains a 0 value transaction to 0x000000000000000000000000000000000000dEaD alongside a deployment of the associated SimpleAccount instance.

Built using Ethers, axios, permissionless, viem.

๐Ÿ–ฅ๏ธ Particle Bundler

The Particle Bundler is a high-performance, stable bundler implementation (written in TypeScript) that has serviced over 2 million UserOperations across the ecosystem.

๐Ÿ’ฐ Particle Omnichain Paymaster

The Particle Omnichain Paymaster is Particle Network's in-house paymaster capable of accepting deposits of USDT on Ethereum or BNB Chain, then automatically converting this USDT to the native token of any supported EVM chain upon sponsorship.

๐Ÿ‘‰ Try Particle Network's Smart Wallet-as-a-Service: https://core-demo.particle.network

๐Ÿ‘‰ Learn more about Particle Network: https://particle.network

๐Ÿ› ๏ธ Quickstart

Clone this repository

git clone https://github.com/TABASCOatw/particle-manual-useroperation.git

Install dependencies

yarn install

OR

npm install

Set environment variables

This project requires a number of keys from Particle Network to be defined in .env. The following should be defined:

Sources

Credit to Pimlico for their work with permissionless and it's documentation (https://docs.pimlico.io/permissionless), it was a major help in producing this script.

particle-manual-useroperation's People

Contributors

tabascoatw avatar

Stargazers

 avatar

Watchers

 avatar

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.