Claiming your Stargaze Airdrop with your Ledger

Update!

Original Instructions

Getting starsd

a) Download the Pre-Built starsd binary for linux or MacOS (AMD64 or ARM)

b) Pull the stargaze repository and build the application yourself (linux, MacOS or Windows)

→ go version
go version go1.17.6 darwin/amd64
# Clone the stargaze github repositorygit clone https://github.com/public-awesome/stargaze.git# Change directory into the stargaze repocd stargaze# Let's change to the recent branchgit checkout v1.1.2# Build starsdmake build
cd bin./starsd version
1.1.2

Adding a “wallet” for your Ledger

# Add a new "key" pointing to the ledger.  Change <keyname> to anything you want.  ./starsd keys add <keyname> --ledger# Your ledger should show your stars address.  Hit the RIGHT button to get to "OK", then click both buttons to Accept
# You should see an output similar to this:
→ ./starsd keys add ledger --ledger- name: ledger
type: ledger
address: stars1<address>
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A/SdrVJ3zKAbxv6j8/IxPU2cxll334zxhY/Jfa2FAqzC"}'
mnemonic: ""

Claiming the Airdrop

# Stargaze claim command
./starsd tx claim initial-claim --from <keyname> --ledger --chain-id=stargaze-1 --sign-mode amino-json --node https://rpc.stargaze-apis.com:443 --gas-prices 0ustars
tx = Create a transaction
claim initial-claim = a tendermint command to define the transaction type
--from = from what key? Use the same <keyname> you used above!
--ledger = informs starsd that this is a ledger signed transaction
--chain-id = the mainnet chain-id for stargaze, which is stargaze-1
--sign-mode = Ledger requires a slightly different signing mode
--node = Where to send this transaction for processing, we'll use this official API source
--gas-prices = Forcing 0 gas, wheeeee!

About RHINO

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
RHINO

A professionally managed, highly available validator service