Skip to content

Commit 653f6c7

Browse files
Merge pull request #63 from morpho-org/docs/deployment
Add tuto deploy oracle
2 parents ebfef65 + 45fd262 commit 653f6c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ In a `.env` file, set `ETH_RPC_URL` to the URL of an Ethereum provider.
2626

2727
Run test: `forge test`
2828

29+
## Deploy an Oracle
30+
31+
For example, to deploy a `ChainlinkOracle` on the Ethereum mainnet, for the sDAI/USDC market:
32+
33+
```bash
34+
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
35+
``````
36+
2937
## Audits
3038

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

0 commit comments

Comments
 (0)