From 68958243b3d0c949721eb28a2690f6e05419579f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Hern=C3=A1ndez?= Date: Sat, 30 Jul 2022 03:55:20 +0000 Subject: [PATCH] GitBook: [#15] No subject --- developers/tesnet.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/developers/tesnet.md b/developers/tesnet.md index ddc247a..649e9d2 100644 --- a/developers/tesnet.md +++ b/developers/tesnet.md @@ -30,8 +30,24 @@ make install ### Deploying a contract +1- Create a stars address + +``` + +starsd keys add testnet-key +- name: testnet-key + type: local + address: stars1e9rf2y807g32jv88j9ydpe7082rk9ck8w79xtz + pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Aidseu5Pl9DYHGZpCE2CkqLckQ6KSgC5IJvLL1yc+lpo"}' + mnemonic: "" + + ``` -starsd tx wasm store conctract.wasm --from [key-name] \ + +``` + + +starsd tx wasm store conctract.wasm --from testnet-key \ --gas-prices 0.025ustars --gas-adjustment 1.7 \ --gas auto --chain-id elgafar-1 --node https://rpc.elgafar-1.stargaze-apis.com:443