Giter VIP home page Giter VIP logo

paymaster-examples's Introduction

Paymaster Examples Repository ๐Ÿ“

Welcome to the world of Paymasters!! ๐ŸŽ‰ ๐ŸŒ ๐ŸŽ‰

โš ๏ธ Work in Progress: Please note that none of the contracts in this repository have been fully audited or extensively tested. These contracts are examples and, therefore, are not designed for production use.

This repository houses a variety of example Paymaster Contracts demonstrating different use cases. Plus, a user-friendly, configurable frontend to interact with these examples, developed using React and Next.js.

Repository structure ๐Ÿ—๏ธ

The repository is divided into two main sections:

  • /contracts: This directory contains the smart contracts, where each sub-directory represents a unique Paymaster use case.

  • /frontend: This directory hosts the frontend developed using React and Next.js. The frontend allows you to interact with the various Paymaster contracts provided.

Commands ๐Ÿ’ป

Here are some useful commands to get started:

  • yarn compile:contracts: Compiles the contracts.
  • yarn deploy:contracts: This command deploys contracts. Scripts for deployment can be found in the /contracts/deploy directory.
  • yarn test:contracts: Runs contract tests. Please ensure to check the test requirements in /contracts directory.
  • yarn serve:ui: Serves up frontend on localhost:3000
  • yarn format: Runs prettier formatter.

Have a request? ๐Ÿ™‹โ€โ™€๏ธ

Do you want to see a specific type of Paymaster contract included in this repository? Head over to the zkync-developers/discussions and tell us about it! We highly value your feedback and are always open to new ideas for showcasing different use-cases and techniques.

Contributing ๐Ÿ™‹โ€โ™‚๏ธ

We welcome all contributors! If you're interested in contributing to this project, please review the CONTRIBUTING guide but for a quick summary:

  1. Fork the repository
  2. Create a new branch for your changes
  3. Implement your changes and commit them
  4. Push your changes to your fork
  5. Submit a pull request to the main repository

Your contribution will be reviewed and, if it's beneficial to the project, merged into the main branch. Thank you for your interest in our project!

Official links ๐Ÿ”—

paymaster-examples's People

Contributors

albionahoti avatar dutterbutter avatar idea404 avatar martinkong1990 avatar mexicanace avatar uf4no 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.