Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions smart_contract/scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const main = async () => {
const transactionsFactory = await hre.ethers.getContractFactory("Transactions");
const transactionsContract = await transactionsFactory.deploy();

await transactionsContract.deployed();
await transactionsContract.waitForDeployment();

console.log("Transactions address: ", transactionsContract.address);
console.log("Transactions address: ", transactionsContract.target);
};

const runMain = async () => {
Expand All @@ -17,4 +17,4 @@ const runMain = async () => {
}
};

runMain();
runMain();