Giter VIP home page Giter VIP logo

proposal143-7's Introduction

Compound Proposal 143 simulation 🕵️‍♂️

Foundry Installation

Note: Install rust first

Run the command below to get foundryup, the Foundry toolchain installer:

curl -L https://foundry.paradigm.xyz | bash

Then, in a new terminal session or after reloading your PATH, run it to get the latest forge and cast binaries:

foundryup

Advanced ways to use foundryup, and other documentation, can be found in the foundryup package

Getting Started

git clone https://github.com/OpenZeppelin/proposal143.git
cd proposal143
forge build

Instructions

forge test -f https://eth-mainnet.alchemyapi.io/v2/[YOUR_KEY] 

Note:The test will fail if it is run after the proposal goes into an active state, but if you want to run it, try adding block 16392065 to the command and adding the "--fork-block-number" flag.

Features

Testing Utilities

Includes a Utilities.sol contract with common testing methods (like creating users with an initial balance), as well as various other utility contracts.

Linting

Pre-configured solhint and prettier-plugin-solidity. Can be run by

yarn lint
yarn format

Default Configuration

Including .gitignore, .vscode, remappings.txt, foundry.toml and .prettierignore

Project Configuration

Forge can be configured using a configuration file called foundry.toml, which is placed in the root of your project. For more information, visit this link: https://onbjerg.github.io/foundry-book/reference/config.html

proposal143-7's People

Contributors

nicolasgarcia214 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.