Cloudflare worker to mock the Polygon ZkEVM RPC interface to prevent signing and sending forceBatch transactions.
Before starting, you must have logged in into cloudflare using wrangler.
- Clone the repository
git clone https://github.com/eabz/mock-rpc && cd mock-rpc
- Start de worker in local mode.
yarn start
for production
yarn deploy
start
: runs your application onlocalhost: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.
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.