Skip to content

Commit 5d9f1af

Browse files
Merge pull request #67 from morpho-org/docs/simple-deployment-ex
Add rETH/WETH deployment example
2 parents 653f6c7 + a184cdf commit 5d9f1af

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@ Run test: `forge test`
2828

2929
## Deploy an Oracle
3030

31-
For example, to deploy a `ChainlinkOracle` on the Ethereum mainnet, for the sDAI/USDC market:
31+
For example, to deploy a `ChainlinkOracle` on the Ethereum mainnet for the sDAI/USDC market, run:
3232

3333
```bash
3434
forge create src/ChainlinkOracle.sol:ChainlinkOracle --constructor-args "0x83F20F44975D03b1b09e64809B757c47f942BEeA" "0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9" "0x0000000000000000000000000000000000000000" "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" "0x0000000000000000000000000000000000000000" "1000000000000000000" "18" "6" --rpc-url https://eth-mainnet.g.alchemy.com/v2/<alchemy-key> --from <deployer-address> --ledger
3535
``````
3636

37+
And for the rETH/WETH market, run:
38+
39+
```bash
40+
forge create src/ChainlinkOracle.sol:ChainlinkOracle --constructor-args "0x0000000000000000000000000000000000000000" "0x536218f9E9Eb48863970252233c8F271f554C2d0" "0x0000000000000000000000000000000000000000" "0x0000000000000000000000000000000000000000" "0x0000000000000000000000000000000000000000" "1" "18" "18" --rpc-url https://eth-mainnet.g.alchemy.com/v2/<alchemy-key> --from <deployer-address> --ledger
41+
```
42+
3743
## Audits
3844

3945
All audits are stored in the [audits](./audits/)' folder.

0 commit comments

Comments
 (0)