Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ coverage/
bin/

dist/

# Account and farm binaries
new-account
new-farm
2 changes: 1 addition & 1 deletion node-registrar/tools/account/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It generates a public-private key pair from a seed and sends a signed request to
```
2. Navigate to the project directory:
```sh
cd node-registrar
cd tfgrid4-sdk-go/node-registrar/tools/account
```
3. Build the application:
```sh
Expand Down
9 changes: 7 additions & 2 deletions node-registrar/tools/farm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ This tool allows users to create a farm account on a specified network.
```
2. Navigate to the project directory:
```sh
cd node-registrar
cd tfgrid4-sdk-go/node-registrar/tools/farm
```
3. Build the application:
```sh
go build -o registrar-tool main.go
go build -o new-farm main.go
```

## Usage
Expand All @@ -31,3 +31,8 @@ This tool allows users to create a farm account on a specified network.
```sh
./new-farm -seed aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899 -network dev -farm_name MyFarm
```
The `FarmID` (e.g., `11`) is returned upon successful farm creation.

## Next Step

Once this is done, you can create a V4 bootstrap image using the V4 Zero-OS Boot Generator: https://v4.bootstrap.grid.tf/.
Loading