Rename connectWithWallet -> connectWithSigner

This commit is contained in:
Simon Warta
2021-01-12 16:14:25 +01:00
parent 4257988e02
commit d754520ce6
14 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ const initData = [
async function main() {
const wallet = await DirectSecp256k1HdWallet.fromMnemonic(alice.mnemonic, undefined, "wasm");
const client = await SigningCosmWasmClient.connectWithWallet(endpoint, wallet);
const client = await SigningCosmWasmClient.connectWithSigner(endpoint, wallet);
const wasm = fs.readFileSync(__dirname + "/contracts/cw3_fixed_multisig.wasm");
const uploadReceipt = await client.upload(