Skip to content

Commit

Permalink
Merge pull request #1614 from morpho-dao/chore/npm-package
Browse files Browse the repository at this point in the history
Add npm package
  • Loading branch information
MerlinEgalite authored Dec 20, 2022
2 parents 73490c6 + 69fbf8c commit 6137727
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "morpho-v1",
"version": "1.0.0",
"name": "@morpho-dao/morpho-v1",
"version": "2.0.0",
"description": "Core contracts of the Morpho Protocol V1.",
"scripts": {
"test": "hardhat test test-ts/*.spec.ts",
Expand Down

0 comments on commit 6137727

Please sign in to comment.