Yield Protocol App UI
yarn && yarn type-contracts && yarn build && yarn global add serve && serve -s build
Using Tenderly Forks for Testing
- Go to settings, and click the Use Tenderly Fork button to activate the tenderly fork testing environment; the app will reload
- Go to settings, click the Fill ETH button to get 100 ETH for the test environment
- Reload the page
- If you don't see the expected new tenderly fork data (i.e.: you don't see new series, assets, or strategies), reload the page
- If data still doesn't load: reset the app by going to settings and clicking Reset App, and try from step 1 above
- Try any action (i.e.: borrow any asset with ETH as collateral)
a. No user interaction is needed after clicking the submit button; the UI will show an automatic approval transaction followed by your action (borrow, lend, pool, etc.)
Dev: Updating Tenderly Fork Environment
- Update the
TENDERLY_JSON_RPC_URL
environment variable within .env.local
to point to the relevant fork; you can find the fork rpc url in the Tenderly UI
- Restart the dev environment to have the new environment variable take effect