Skip to content

Commit c61578f

Browse files
authored
Improve readme for Forge. (#116)
1 parent 58edfe9 commit c61578f

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,40 @@ It is based on Umee's Gravity Bridge implementation, [Peggo](https://github.com/
2222

2323
### Dependencies
2424

25-
Building requires [Go 1.17+](https://golang.org/dl/).
26-
2725
Initialize git submodules, needed for Forge dependencies:
2826

2927
```sh
3028
git submodule init
3129
git submodule update
3230
```
3331

34-
To regenerate the Go ABI wrappers with `make gen`, you need the `abigen` tool. Install it with:
32+
To regenerate the Go ABI wrappers with `make gen`, you need the `abigen` tool.
33+
Building requires [Go 1.17+](https://golang.org/dl/).
34+
Install `abigen` with:
3535

3636
```sh
3737
git clone https://github.com/ethereum/go-ethereum.git
3838
cd go-ethereum
3939
make devtools
4040
```
4141

42-
### Building
42+
### Build and Test Contracts
43+
44+
Build with:
45+
46+
```sh
47+
forge build
48+
```
49+
50+
Test with:
51+
52+
```sh
53+
forge test
54+
```
55+
56+
### Regenerate Go Wrappers
57+
58+
Go wrappers can be regenerated with:
4359

4460
```sh
4561
make

0 commit comments

Comments
 (0)