This should create a new account locally and display its address and mnemonic:
- name: $ACCOUNT_NAME
type: local
address: game1ep9jyk9kydjz0fhadm7rzy6pc9ga7tdt4d26xn
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ai3obIQZXAmdgDSw7p1awFIPGK9b7cu/SfJM6nbc+hV/"}'
mnemonic: ""
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
some mnemonic words some mnemonic words some mnemonic words some mnemonic words some mnemonic words
Store the shown account address into local env variable and add it as the genesis account to the chain:
Use the faucet to fund your account. It may be possible that your account needs more funds, in which case please reach out to our team on Discord / Telegram.
Verify your balance on the testnet:
gamed q bank balances $ACCOUNT_ADDRESS --node $RPC_ENDPOINT --chain-id $CHAIN_ID
4. Upload & Instantiate Wasm Contract
Store a compiled wasm binary to the Gameluk network:
Note that the '{}' part is the parameters you pass to instantiate the contract. In this example, the contract takes no parameter so '{}' suffices. For any real world contracts, their instantiation parameters would likely be non-empty.
From the output, you can see that your contract was created at address: game1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtqdxfzff. You will need this address for any contract interaction.