-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1614 from morpho-dao/chore/npm-package
Add npm package
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,28 @@ You can also send an email to [[email protected]](mailto:[email protected]) | |
|
||
--- | ||
|
||
## Importing package | ||
|
||
Using npm: | ||
|
||
```bash | ||
npm install @morpho-dao/morpho-v1 | ||
``` | ||
|
||
Using forge: | ||
|
||
```bash | ||
forge install @morpho-dao/[email protected] | ||
``` | ||
|
||
Using git submodules: | ||
|
||
```bash | ||
git submodule add @morpho-dao/[email protected] lib/morpho-v1 | ||
``` | ||
|
||
--- | ||
|
||
## Testing with [Foundry](https://github.com/foundry-rs/foundry) 🔨 | ||
|
||
Tests are run against a forks of real networks, which allows us to interact directly with liquidity pools of Compound or Aave. Note that you need to have an RPC provider that have access to Ethereum or Polygon. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters