Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ Video:

Steps:

1. In the code editor, Open the file `hts-ft/script-hts-ft.js`.
1. In the code editor, Open the file `hts/script-hts-ft.js`.
1. In the terminal, run these commands:
- `cd hts-ft`
- `cd hts`
- `./script-hts-ft.js`
1. View the summary statistics (optional)
- The "time to first task completion" displays how long it took
Expand Down Expand Up @@ -218,9 +218,9 @@ Video:

Steps:

1. In the code editor, Open the file `hcs-topic/script-hcs-topic.js`.
1. In the code editor, Open the file `hcs/script-hcs-topic.js`.
1. In the terminal, run these commands:
- `cd hcs-topic`
- `cd hcs`
- `./script-hcs-topic.js`
1. View the summary statistics (optional)
- The "time to first task completion" displays how long it took
Expand Down Expand Up @@ -263,10 +263,10 @@ Video:
Steps:

1. In the code editor, open the files
`hscs-smart-contract/script-hscs-smart-contract.js` and
`hscs-smart-contract/my_contract.sol`.
`hscs/script-hscs-smart-contract.js` and
`hscs/my_contract.sol`.
1. In the terminal, run these commands:
- `cd hscs-smart-contract`
- `cd hscs`
- `npm install`
- `npx solc@0.8.17 --abi --bin my_contract.sol`
- `./script-hscs-smart-contract.js`
Expand Down
2 changes: 1 addition & 1 deletion hscs/script-hscs-smart-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function scriptHscsSmartContract() {
const myContract = await myContractFactory.deploy();
const deployTx = myContract.deployTransaction;
const deploymentTxReceipt = await deployTx.wait();
console.log(
logger.log(
'Smart contract deployment transaction fee',
calculateTransactionFeeFromViem(deploymentTxReceipt),
);
Expand Down