Skip to content

Commit

Permalink
调整目录
Browse files Browse the repository at this point in the history
  • Loading branch information
andOneBasketball committed Oct 22, 2024
1 parent ff83ea3 commit 7292591
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 146 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@

# OpenZeppelin contracts
/contracts/@openzeppelin
/contracts/UniswapV2/*.sol
/contracts/UniswapV2/test
/contracts/UniswapV2/interfaces
/contracts/UniswapV2/libraries

/keystore
/keystore

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion contracts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ solc --abi --bin test.sol
若是想要输出文件则是:
solc --abi --bin -o ./ test.sol
abigen 结合bin和abi编译Golang文件
abigen --bin=Store.bin --abi=Store.abi --pkg=store --out=Store.go
abigen --bin=Store.bin --abi=Store.abi --pkg=store --out=Store.go

## solc-select
solc-select 切换版本
pip install solc-select
solc-select install 0.5.16
solc-select use 0.5.16

0 comments on commit 7292591

Please sign in to comment.