Skip to content

Commit

Permalink
update: update the method to generate sybil.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkKnight3074 committed Jan 7, 2025
1 parent 81f897b commit 2242941
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions sequencer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,9 @@ 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=sybil --out=Sybil.go
```
# Generate .go file from the Sybil contract
Navigate to the contracts folder inside the tokamak-sybil-resistance-mvp directory.

Run the followig command:

```sh sybil_go.sh```

0 comments on commit 2242941

Please sign in to comment.