paradigmxyz / rivet
- вторник, 29 августа 2023 г. в 00:00:08
Developer Wallet & DevTools for Anvil
Developer wallet & DevTools for Anvil
Rivet is a developer Wallet & DevTools for Anvil (akin to Browser DevTools or React DevTools). It is a browser extension that enables developers to inspect, debug, modify, and manipulate the state of Ethereum: accounts, blocks, contracts & the node itself. Rivet is also compatible with any production dApp, meaning you can simulate any type of action from either an Account attached on the Anvil instance, or by "impersonating" another Account on the network.
By integrating EIP-6963: Multi Injected Provider Discovery, Rivet is designed to be used alongside and with other consumer browser wallets like MetaMask or Rainbow to provide more engrained developer tooling and workflows for Ethereum.
Rivet is currently a work-in-progress prototype, and aimed to be contributor first & friendly. If you would like to contribute, check out the Contributing Guide and good first issues.
* = Planned feature
Clone the repo to your local machine using git:
git clone https://github.com/paradigmxyz/rivet.git
You need to install Node.js v18 or higher and pnpm v8 or higher.
You can run the following commands in your terminal to check your local Node.js and pnpm versions:
node -v
pnpm -v
If the versions are not correct or you don't have Node.js or pnpm installed, download and follow their setup instructions:
Once in the project's root directory, run the following command to install the project's dependencies:
pnpm install
After you have installed dependencies, you are ready to run the dev server for the Extension. To do so, run the following:
pnpm dev
This will run a script that will build the Web Extension and start a dev server for the Test Dapp, it will also open the Test Dapp in a new browser tab.
Once you have your dev server running, you can install the Web Extension in your browser. To do so, follow these steps:
dist/dev
folder in Rivet's root directoryIf you're interested in contributing, please read the contributing docs before submitting a pull request.
MIT License