diff --git a/Contract_verification_hardhat/README.md b/Contract_verification_hardhat/README.md index da2db88..d34f3ea 100644 --- a/Contract_verification_hardhat/README.md +++ b/Contract_verification_hardhat/README.md @@ -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 \ No newline at end of file +- 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 diff --git a/Contract_verification_hardhat/scripts/deploy_verify.js b/Contract_verification_hardhat/scripts/deploy_verify.js index e111b9a..9d6f820 100644 --- a/Contract_verification_hardhat/scripts/deploy_verify.js +++ b/Contract_verification_hardhat/scripts/deploy_verify.js @@ -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); } } diff --git a/PERC20_interaction/README.md b/PERC20_interaction/README.md index 6851e4d..b3ac4a7 100644 --- a/PERC20_interaction/README.md +++ b/PERC20_interaction/README.md @@ -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