You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Broken link:
The “Setting up OpenZeppelin confidential contracts” link navigates to a 404 - page not found.
Outdated example code:
When using the latest version of the package ("@openzeppelin/confidential-contracts": "^0.3.0-rc.0"), the import path in the tutorial no longer works.
import {ERC7984} from "@openzeppelin/confidential-contracts/token/ERC7984.sol";
Should be: import {ERC7984} from "@openzeppelin/confidential-contracts/token/ERC7984/ERC7984.sol";
Category
Context / Background
Following the ERC7984 tutorial here: https://docs.zama.ai/protocol/examples/openzeppelin-confidential-contracts/erc7984/erc7984-tutorial
I found a couple of issues:
Broken link:
The “Setting up OpenZeppelin confidential contracts” link navigates to a 404 - page not found.
Outdated example code:
When using the latest version of the package (
"@openzeppelin/confidential-contracts": "^0.3.0-rc.0"), the import path in the tutorial no longer works.import {ERC7984} from "@openzeppelin/confidential-contracts/token/ERC7984.sol";Should be:
import {ERC7984} from "@openzeppelin/confidential-contracts/token/ERC7984/ERC7984.sol";Target Files/Pages
Project Setup
The base smart contract