We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ee153 commit cd4dcf3Copy full SHA for cd4dcf3
examples/create-contract-with-value.js
@@ -13,7 +13,7 @@ import dotenv from "dotenv";
13
dotenv.config();
14
15
// Import the compiled contract
16
-import payableContract from "./payable.json" assert { type: "json" };
+import payableContract from "./payable.json" with { type: "json" };
17
18
async function main() {
19
if (
@@ -126,7 +126,7 @@ async function main() {
126
.freezeWithSigner(wallet);
127
await contractDeleteTransaction.signWithSigner(wallet);
128
const contractDeleteResult =
129
- await transaction.executeWithSigner(wallet);
+ await contractDeleteTransaction.executeWithSigner(wallet);
130
131
// Delete the contract
132
// Note: The admin key of the contract needs to sign the transaction
0 commit comments