Skip to content

Commit b01dff6

Browse files
Apply suggestions from code review
Co-authored-by: Nicolás Hussein <[email protected]>
1 parent a451e88 commit b01dff6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

smart-contracts/cookbook/smart-contracts/deploy-erc20/erc20-remix.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To create the ERC-20 contract, you can follow the steps below:
4242
- Contract imports:
4343
4444
- **[`ERC20.sol`]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}/contracts/token/ERC20/ERC20.sol){target=\_blank}**: The base contract for fungible tokens, implementing core functionality like transfers, approvals, and balance tracking.
45-
- **[`ERC20Permit.sol`]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}/contracts/token/ERC20/extensions/ERC20Permit.sol){target=\_blank}**: [EIP-2612](https://eips.ethereum.org/EIPS/eip-2612){target=\_blank} extension for ERC-20 that adds the permit function, allowing approvals via off-chain signatures (no on-chain tx from the holder). Manages nonces and EIP-712 domain separator and updates allowances when a valid signature is presented.
45+
- **[`ERC20Permit.sol`]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}/contracts/token/ERC20/extensions/ERC20Permit.sol){target=\_blank}**: [EIP-2612](https://eips.ethereum.org/EIPS/eip-2612){target=\_blank} extension for ERC-20 that adds the [permit function](https://docs.openzeppelin.com/contracts/5.x/api/token/erc20#ERC20Permit-permit-address-address-uint256-uint256-uint8-bytes32-bytes32-){target=\_blank}, allowing approvals via off-chain signatures (no on-chain tx from the holder). Manages nonces and EIP-712 domain separator and updates allowances when a valid signature is presented.
4646
- **[`Ownable.sol`]({{ dependencies.repositories.open_zeppelin_contracts.repository_url}}/tree/{{ dependencies.repositories.open_zeppelin_contracts.version}}/contracts/access/Ownable.sol){target=\_blank}**: Provides basic authorization control, ensuring only the contract owner can mint new tokens.
4747
4848
- Constructor parameters:
@@ -85,7 +85,7 @@ Deployment is the process of publishing your compiled smart contract to the bloc
8585
8686
1. Select the **Deploy & Run Transactions** plugin from the left panel.
8787
2. Configure the deployment settings.
88-
1. From the **ENVIRONMENT** dropdown, select **Injected Provider - MetaMask** (check the [Deploying Contracts](TODO){target=\_blank} section of the Remix IDE guide for more details).
88+
1. From the **ENVIRONMENT** dropdown, select **Injected Provider - MetaMask** (check the [Deploying Contracts](/smart-contracts/dev-environments/remix/deploy-a-contract/){target=\_blank} section of the Remix IDE guide for more details).
8989
2. (Optional) From the **ACCOUNT** dropdown, select the account you want to use for the deploy.
9090
9191
3. Configure the contract parameters:
@@ -105,7 +105,7 @@ Once deployed, you can interact with your contract through Remix. Find your cont
105105
1. Enter the recipient address and the amount (remember to add 18 zeros for 1 whole token).
106106
2. Click **transact**.
107107
108-
2. Click **Approve** to confirm the transaction in the Talisman popup.
108+
2. Click **Approve** to confirm the transaction in the MetaMask popup.
109109
110110
3. If the transaction succeeds, you will see a green check mark in the terminal.
111111

0 commit comments

Comments
 (0)