Code Monkey home page Code Monkey logo

elyfi's Introduction

Elyfi

This repository contains the smart contracts source code and markets configuration for Elyfi. The repository uses Hardhat as development enviroment for compilation, testing and deployment tasks.

What is Elyfi?

ELYFI is adding real estate to the DEFI concept. This is the expansion of the current crypto-to-crypto applications as ELYFI will introduce traditional assets to the open financial market.

To implment the project, We use same DEFI concepts like Index Model, Kinked Rates Model and Tokenization of Aave protocol

Setup

  • Create an file named .env and fill the next enviroment variables
# Secret key for deploying contracts
ADMIN=

INFURA_API_KEY=

ETHERSCAN_API_KEY=

  • Install dependencies with yarn

Test

For convenience, we assume that waffle's wallets are mapped in order of [deployer, account1, account2, account3 ...]

# Run specific test code
yarn test test/contracts/Index.test.ts

# With no-compile
yarn test:zap test/contracts/Index.test.ts

# Run scenarios. The below script dynamically loads ./scenarios/*.json
yarn test test-suites/scenario.test.ts

# Run script for subgrap testing
yarn hardhat deploy --network ganache
yarn task createWithdraw --network ganache --asset ASSET_ADDRESS --pool POOL_ADDRESS

# Coverage
yarn coverage
open ./coverage/index.html

Deploy

## Deploy local network
yarn deploy:local

## Deploy test network
yarn deploy:testnet

## Deploy main network
yarn deploy:mainnet

elyfi's People

Contributors

jaeboklee-modo avatar donguks 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.