Skip to content

fix(pt-br): migrate Hardhat tutorial to ethers v6 - #934

Open
vuyua9 wants to merge 1 commit into
AmazingAng:mainfrom
vuyua9:codex/ptbr-tool06-ethers-v6-20260813
Open

vuyua9 wants to merge 1 commit into
AmazingAng:mainfrom
vuyua9:codex/ptbr-tool06-ethers-v6-20260813

Conversation

@vuyua9

@vuyua9 vuyua9 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Migrate the pt-br Hardhat tutorial to @nomicfoundation/hardhat-toolbox v4 and ethers v6 APIs.
  • Replace deployed()/address with waitForDeployment()/target in the deploy script, test, and tutorial snippets.
  • Make the Goerli configuration opt-in through environment variables so placeholder credentials do not break local Hardhat commands.
  • Restore the ERC20 state declarations required by the existing constructor and mint/burn example.

Validation

  • npm ci --ignore-scripts --no-audit --no-fund
  • npx hardhat compile -> Compiled 2 Solidity files successfully
  • npx hardhat test -> 1 passing
  • git diff --check

Hardhat emitted warnings because the environment uses Node.js 22.22.0 and Solidity 0.8.34 is newer than its fully supported compiler range; compilation and the test still completed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant