Skip to content

Commit

Permalink
updat readme for account and farm and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-tf committed Feb 23, 2025
1 parent 2999358 commit 79a729d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
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/.

0 comments on commit 79a729d

Please sign in to comment.