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
4 changes: 2 additions & 2 deletions Contract_verification_hardhat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

## Deployment + Verification

You can verify the contract programatically
You can verify the contract programmatically
- Run `npx hardhat run scripts/deploy/deploy_verify.js --network swisstronik`

## Verification using the Hardhat CLI

You can also verify the contract by the CLI
- Run `npx hardhat verify [CONTRACT_ADDRESS] [...constructorArgsParams] --network swisstronik`. Example: `npx hardhat verify 0x0f2846b17D72c1D7679c14e8A2e5c4920b93F2be 1893456010 --network swisstronik`. Check `npx hardhat verify --help` for more info
- Run `npx hardhat verify [CONTRACT_ADDRESS] [...constructorArgsParams] --network swisstronik`. Example: `npx hardhat verify 0x0f2846b17D72c1D7679c14e8A2e5c4920b93F2be 1893456010 --network swisstronik`. Check `npx hardhat verify --help` for more info
2 changes: 1 addition & 1 deletion Contract_verification_hardhat/scripts/deploy_verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main() {
});
console.log("Contract verified to", hre.config.etherscan.customChains[0].urls.browserURL + "/address/" + contract.target);
} catch (err) {
console.error("Error veryfing Contract. Reason:", err);
console.error("Error verifying Contract. Reason:", err);
}
}

Expand Down
2 changes: 1 addition & 1 deletion PERC20_interaction/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example of PERC20 (Private ERC20)

This project demonstrates a basic PERC20 contract without comprensive access-control logic. The main differences between ERC20 and PERC20 are protected `balanceOf` function and disabled `Transfer` and `Approval` events
This project demonstrates a basic PERC20 contract without comprehensive access-control logic. The main differences between ERC20 and PERC20 are protected `balanceOf` function and disabled `Transfer` and `Approval` events

### Build

Expand Down