Skip to content

eabz/mock-rpc

Repository files navigation

Mock RPC

Cloudflare worker to mock the Polygon ZkEVM RPC interface to prevent signing and sending forceBatch transactions.

Requirements

Before starting, you must have logged in into cloudflare using wrangler.

Installation

  1. Clone the repository
git clone https://github.com/eabz/mock-rpc && cd mock-rpc
  1. Start de worker in local mode.
yarn start

for production

yarn deploy

Commands

  • start: runs your application on localhost:8787.
  • deploy: deploys the application to production.
  • format: runs the prettier fixes for all the files.
  • lint: runs the linter in all components and pages.

Check package.json for other useful scripts.

Contribution Guidelines

Developers are expected to follow contribution guidelines to keep the codebase efficient, readable, and standardized. Contribution guidelines are clearly laid out so developers and contributors can submit their work without much revision, resulting in faster development and more useful contributions. These guideliness are specified through the eslint modules.

About

Mock RPC server for MetaMask middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published