Skip to content

Commit

Permalink
feat: add generating .go file in readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkKnight3074 committed Dec 23, 2024
1 parent 6832d5f commit e9e3279
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion sequencer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,14 @@ go run main.go run --mode sync --cfg cfg.toml

```
go run main.go run --mode coord --cfg cfg.toml
```
```
## To generate .go file of the contract
```
npm install [email protected]
```
```
npx solc --bin --abi src/sybil.sol -o build/
```
```
abigen --abi=build/src_mvp_Sybil_sol_Sybil.abi --bin=build/src_mvp_Sybil_sol_Sybil.bin --pkg=main --out=Sybil.go
```

0 comments on commit e9e3279

Please sign in to comment.