<aside> 🚧 Attempt to make an updated tutorial, based on https://gno.land/r/boards:gnolang/1
</aside>
gnokeyRepo, official docs:
https://github.com/gnolang/gno
Dependencies:
A terminal, the Golang toolchain (go), the make utility
# download the repo
$> git clone <https://github.com/gnolang/gno/>
$> cd gno
# compile the gnokey binary
$> make gnokey
# verify that the binary works
$> ./build/gnokey --help
$> ./build/gnokey generate
choice flip soccer wall pelican oxygen inspire violin gap entry hour hidden snack share idle sustain garlic decade casino popular scrap debris idea dinner
<aside> ℹ️ Note: nothing special here, you can use an alternative method to generate your 24 words (bip39)
</aside>
# you can change 'myaccount' to whatever you want, it's your local account identifier
$> ./build/gnokey add myaccount --recover
# verify that you can see your account
$> ./build/gnokey list
0. myaccount (local) - addr: g13c0s84mjmddnf9cdd58pjst68q9le3828xrgwx pub: gpub1pgfj7ard9eg82cjtv4u4xetrwqer2dntxyfzxz3pqvxk5x4ut9p66r8aypl2awla8nnnnax3znph8ydusc8r7jt0776hzlc5qjp, path: <nil>
<aside>
ℹ️ Note: be careful that by default, gnokey will store its configuration/state files in a path relative to your current working directory. Make sure to always run the command from the same dir.
</aside>
Go to: https://gno.land/faucet
<aside> ℹ️ Note: If the server is down AND you’re a closed friend of ‘moul’, you can contact him to get some tokens.
</aside>
# check that your account is known by the blockchain
$> ./build/gnokey query auth/accounts/g13c0s84mjmddnf9cdd58pjst68q9le3828xrgwx --remote gno.land:36657
If you have data: null, then your account is not known by the blockchain yet and needs a transaction to be known (i.e., step 4)