-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
40 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,45 @@ | ||
# An Example Filler App implemented in Go | ||
# An Example Fulfiller App implemented in Go | ||
|
||
## Getting Started | ||
|
||
Navigate to the `go-filler` directory: | ||
|
||
```bash | ||
cd services/go-filler | ||
``` | ||
|
||
Install dependencies: | ||
|
||
```bash | ||
go mod tidy | ||
``` | ||
|
||
Spin up the docker containers: | ||
|
||
```bash | ||
docker-compose up -d | ||
``` | ||
|
||
Create a `.env` file (the rpc urls must be websocket): | ||
|
||
```txt | ||
ARBITRUM_SEPOLIA_RPC= | ||
BASE_SEPOLIA_RPC= | ||
OPTIMISM_SEPOLIA_RPC= | ||
SEPOLIA_RPC= | ||
MONGO_URI= | ||
``` | ||
|
||
### Log Fetcher | ||
|
||
Run the log fetcher: | ||
|
||
```bash | ||
go run ./log-fetcher/cmd | ||
``` | ||
|
||
Run log fetcher unit tests: | ||
|
||
```bash | ||
go test ./log-fetcher/internal/... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters