Skip to content

little script for pinning up forks at tenderly

License

Notifications You must be signed in to change notification settings

SetProtocol/tenderly-fork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork setup

Installation

  1. copy .env.test to .env and fill your credentials
  2. npm i install dependencies

Getting started

npm run start:mainnet
npm run start:polygon
npm run start:avalanche

This will console log sth like:

localStorage.setItem("polygon_fork_enabled", "true")
localStorage.setItem("forkNetworkId", 3030)
localStorage.setItem("forkRPCUrl", "https://rpc.tenderly.co/fork/<id>")
  1. First copy the 3 statements to your browser console of a running aave app
  2. Setup a metamask fork with networkID 3030 and rpc https://rpc.tenderly.co/fork/<id> -> switch to the network
  3. Reload the metamask

You should now have a custom fork running with an addition of 1000 of the base network currency in your wallet. In addition to that a new market should have appeared on the ui with a small f indicator. This is the market of your fork.

Switch to the market and do whatever you want 🎉

About

little script for pinning up forks at tenderly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%