FAQ
A list of frequently asked questions can be found below. If you still can't find the answer to your question below, please follow up on Discord
Is it possible to create a multisig account?
# Add two accounts to your local keychain
gameid keys add ms1
gameid keys add ms2
# Create a multisig account requiring the above 2 accounts
gameid keys add ms1ms2 --multisig-threshold=2 --multisig=ms1,ms2
# Signing and broadcasting a TX
#1.) Define an unsigned-tx.json file with your unsigned transaction
# {"body":{"messages":[{"@type":"/cosmos.bank.v1beta1.MsgSend","from_address":"MULTI_SIG_ACCOUNT","to_address":"DESIRED_DESTINATION_ADDRESS","amount":[{"denom":"ugame","amount":"10"}]}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[{"denom":"ugame","amount":"100000"}],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]}
#2.) Sign unsigned tx from both signers (see unsigned-tx.json) and output json files of signed tx's
gameid tx sign unsigned-tx.json --multisig=multisigAccountName --from=ms1 --output-document=signer1_signedTx.json --node YOUR_RPC_URL
gameid tx sign unsigned-tx.json --multisig=multisigAccountName --from=ms2 --output-document=signer2_signedTx.json --node YOUR_RPC_URL
# 3.) Sign tx from multisig account and output to json file of signed tx
gameid tx multisign unsigned-tx.json ms1ms2 signer1_signedTx.json signer2_signedTx.json > signedTx.json
# 4.) Broadcast multisig tx
gameid tx broadcast signedTx.jsonWhy did smart contract ran out of gas at 300,000?
How can I create a wallet given a mnemonic seed phrase?
Resolving "ReferenceError: process is not defined"
Last updated