Getting your GoLang environment ready to write an application using the Hedera Go SDK.
NOTE: All examples will be written from the context of coding our Zero-to-Micropay demo app on a Mac
- Create a folder for your repo. In terminal:
$> mkdir hedera-z2m $> cd hedera-z2m
- So that you don’t have to build your entire codebase from scratch make sure you have git-lfs installed. In terminal:
$> brew install git-lfs
- Initialise a new module in Go. This allows you to work on your project in the directory of your choice. In terminal:
$> go mod init github.com/<username>/hedera-z2m
- Use your IDE of choice to manipulate source code in subsequent steps. In the Hedera DA team both VSCode and GoLand are commonly used.