Giter Site home page Giter Site logo

ozazel / equalizer-smart-contracts-v1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from equalizer-finance/equalizer-smart-contracts-v1

0.0 0.0 0.0 3.6 MB

Equalizer smart-contracts v1

License: Other

Shell 0.08% JavaScript 0.12% TypeScript 57.89% Solidity 41.91%

equalizer-smart-contracts-v1's Introduction

BSL 1.1 License LinkedIn


Logo

Equalizer - Smart Contracts V1

Project Summary

Equalizer Vaults/Flash Loan Contracts
Version: V1
Explore the docs »

Table of Contents
  1. Getting Started
  2. Roadmap
  3. Contributing
  4. License
  5. Contact

Getting Started

In order you get started you have to install NodeJs and Yarn

Installation

  1. Clone the repo
  2. Copy .env.sample file to .env
  3. Fill the variables from .env file: ETHERSCAN_API_KEY, WALLET_PRIV_KEY, RPC_URL
  4. Run yarn install

Build

yarn compile

Deploy

For deployment you have to check the available scripts. The pattern for using a scripts is: npx hardhat run scripts/<script_name>.ts --network <rinkeby/mainnet>

In order to make the deployment process you have to run in order:

  1. deployVaultFactory.ts;
  2. deployFlashLoanProvider.ts;
  3. initializeVaultFactory.ts;
  4. deployTokens.ts
  5. deployVaults.ts;
  6. deployFlashBorrowerTestnet.ts

NOTE In each step you have to check the script you are running and change the config needed. For example deployFlashLoanProvider.ts (step 1) requires the VaultFactory contract address from step 1.

Testing

yarn test

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the BSL 1.1 License. See LICENSE for more information.

Contact

Equalizer - @EqualizerFlash - info (a) equalizer.finance

Project Link: https://github.com/Equalizer-Finance/equalizer-smart-contracts-v1

equalizer-smart-contracts-v1's People

Contributors

abancu avatar valentinbica avatar pablomat 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.