mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Format cosmwasm example
This commit is contained in:
parent
f3227209df
commit
67866dbaa4
@ -23,12 +23,7 @@ async function main(hackatomWasmPath: string) {
|
||||
// Upload contract
|
||||
const wasm = fs.readFileSync(hackatomWasmPath);
|
||||
const uploadFee = calculateFee(1_500_000, gasPrice);
|
||||
const uploadReceipt = await client.upload(
|
||||
alice.address0,
|
||||
wasm,
|
||||
uploadFee,
|
||||
"Upload hackatom contract",
|
||||
);
|
||||
const uploadReceipt = await client.upload(alice.address0, wasm, uploadFee, "Upload hackatom contract");
|
||||
console.info("Upload succeeded. Receipt:", uploadReceipt);
|
||||
|
||||
// Instantiate
|
||||
|
Loading…
x
Reference in New Issue
Block a user