Skip to content

Commit 0f9bc5d

Browse files
committed
refactor: Publish final code prior to deployment
1 parent 87a467e commit 0f9bc5d

26 files changed

+2378
-352
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## [Fraxlend Documentation](https://docs.frax.finance/fraxlend/fraxlend-overview)
2+
<br>
3+
4+
# Introduction to Fraxlend
5+
6+
Fraxlend is a lending platform that allows anyone to create a market between a pair of ERC-20 tokens. Any token part of a Chainlink data feed can be lent to borrowers or used as collateral. Each pair is an isolated, permission-less market which allows anyone to create and participate in lending and borrowing activities.
7+
Fraxlend adheres to the EIP-4626: Tokenized Vault Standard, lenders are able to deposit ERC-20 assets into the pair and receive yield-bearing fTokens.
8+
9+
## Overview
10+
11+
![https://github.com/FraxFinance/fraxlend/raw/main/documentation/_images/PairOverview.png](https://github.com/FraxFinance/fraxlend/raw/main/documentation/_images/PairOverview.png)
12+
13+
<br>
14+
<br>
15+
16+
# Building and Testing
17+
18+
- First copy `.env.example` to `.env` and fill in archival node URLs as well as a mnemonic (hardhat only)
19+
- To download needed modules run `npm install`
20+
- This repository contains scripts to compile using both Hardhat and Foundry
21+
- You will need to [install foundry](https://book.getfoundry.sh/getting-started/installation)
22+
- Install foundry submodules `git submodule init && git submodule update`
23+
24+
Compilation
25+
26+
- `forge build`
27+
- `npx hardhat compile`
28+
29+
<br>
30+
<br>
31+
32+
# License
33+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
34+
35+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
195 KB
Loading

0 commit comments

Comments
 (0)