diff --git a/README.md b/README.md index a58a1fa29..2f894a39e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,28 @@ You can also send an email to [security@morpho.xyz](mailto:security@morpho.xyz) --- +## Importing package + +Using npm: + +```bash +npm install @morpho-dao/morpho-v1 +``` + +Using forge: + +```bash +forge install @morpho-dao/morpho-v1@v2.0.0 +``` + +Using git submodules: + +```bash +git submodule add @morpho-dao/morpho-v1@v2.0.0 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. diff --git a/package.json b/package.json index 924e9f73d..07de2015c 100644 --- a/package.json +++ b/package.json @@ -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",