Skip to content

Commit

Permalink
Add chainlink-brownie-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
icyfry committed Apr 3, 2024
1 parent 5ad9101 commit cea2dda
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ foundryup

Install OpenZeppelin
```
forge install OpenZeppelin/openzeppelin-contracts
forge remappings > remappings.txt
forge install OpenZeppelin/openzeppelin-contracts --no-commit
forge install smartcontractkit/[email protected] --no-commit
```

If needed, to init remappings use `forge remappings > remappings.txt`

### Add private key to foundry keystore

```bash
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/chainlink-brownie-contracts
8 changes: 5 additions & 3 deletions contracts/remappings.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@std=lib/forge-std/src/
forge-std/=lib/forge-std/src/
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
@chainlink/contracts/=lib/chainlink-brownie-contracts/contracts/
ds-test/=lib/forge-std/lib/ds-test/src/
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/
forge-std/=lib/forge-std/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/

0 comments on commit cea2dda

Please sign in to comment.