Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rari-Capital/fuse-simulations
DappTools project for simulating Fuse parameter changes.
https://github.com/Rari-Capital/fuse-simulations
Last synced: about 2 months ago
JSON representation
DappTools project for simulating Fuse parameter changes.
- Host: GitHub
- URL: https://github.com/Rari-Capital/fuse-simulations
- Owner: Rari-Capital
- License: agpl-3.0
- Created: 2021-07-26T06:49:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T04:05:40.000Z (over 3 years ago)
- Last Synced: 2024-08-05T01:09:36.428Z (5 months ago)
- Language: Solidity
- Homepage:
- Size: 35.2 KB
- Stars: 9
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dapptools - Fuse Simulations
README
# fuse-simulations
DappTools project to simulate Fuse parameter changes.
## Installation
### Toolset
- First, install Nix:
```sh
# User must be in sudoers
curl -L https://nixos.org/nix/install | sh# Run this or login again to use Nix
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
```- Then, install DappTools:
```sh
curl https://dapp.tools/install | sh
```### Project Setup
- First, clone the repo locally:
```sh
git clone https://github.com/rari-capital/fuse-simulations
cd fuse-simulations
```- Then, install the project's dependencies:
```sh
make
```- Finally, rename `.env.example` to `.env` and set `ETH_RPC_URL` to a valid Ethereum RPC URL:
```sh
# Inside .envETH_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/YOUR_ALCHEMY_KEY_HERE
```## Simulating
- First, update `Simulations.t.sol` to perform the actions you want to simulate on a mainnet fork.
- Then, simply run `dapp test` to view the results of your simulation.