Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
6boris committed Oct 12, 2023
1 parent c42ee23 commit cd4f0ae
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 6 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ Holds the contracts that web3 developers use on a daily basis, including etherna
yarn
```

正常安装

```bash
forge install
```

安装指定版本

```bash

git submodule update --init --recursive

# OR
forge install foundry-rs/[email protected] --no-commit

forge install transmissions11/solmate@0384dbaaa4fcb5715738a9254a7c0a4cb62cf458 --no-commit
forge install vectorized/[email protected] --no-commit

Expand Down Expand Up @@ -47,7 +54,7 @@ git submodule add https://github.com/safe-global/safe-contracts foundry/lib/safe



forge install safe-global/safe-contracts@v1.3.0 --no-commit
forge install safe-global/safe-contracts --no-commit

```

Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"url": "https://github.com/6boris"
},
"devDependencies": {
"prettier": "^3.0.0"
"prettier": "^3.0.3",
"solhint": "^3.6.2"
},
"keywords": [
"blockchain",
Expand All @@ -28,8 +29,5 @@
"test": "forge test",
"test:coverage": "forge coverage",
"test:coverage:report": "forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir foundry/coverage"
},
"dependencies": {
"solhint": "^3.6.2"
}
}
Loading

0 comments on commit cd4f0ae

Please sign in to comment.