Rename connectWithWallet -> connectWithSigner
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user