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
Copy file name to clipboardExpand all lines: smart-contracts/cookbook/smart-contracts/deploy-erc20/erc20-remix.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ To create the ERC-20 contract, you can follow the steps below:
62
62
- **`allowance(address owner, address spender)`**: Checks how many tokens an address is allowed to spend on behalf of another address.
63
63
64
64
!!! tip
65
-
Use the [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/){target=\_blank} to quickly generate customized smart contracts. Simply configure your contract, copy the generated code, and paste it into Polkadot Remix IDE for deployment. Below is an example of an ERC-20 token contract created with it:
65
+
Use the [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/){target=\_blank} to generate customized smart contracts quickly. Simply configure your contract, copy the generated code, and paste it into the Remix IDE for deployment. Below is an example of an ERC-20 token contract created with it:
66
66
67
67

68
68
@@ -107,16 +107,16 @@ Once deployed, you can interact with your contract through Remix. Find your cont
107
107
108
108
2. Click **Approve** to confirm the transaction in the Talisman popup.
109
109
110
-
3. If the transaction succeeds, you will see the a green check mark in the terminal.
110
+
3. If the transaction succeeds, you will see a green check mark in the terminal.
111
111
112
112
4. You can also call the **balanceOf** function by passing the address of the **mint** call to confirm the new balance.
- **`transfer(address to, uint256 amount)`**: Send tokens to another address.
120
120
- **`approve(address spender, uint256 amount)`**: Allow another address to spend your tokens.
121
121
122
-
Feel free to explore and interact with the contract's other functions using the same approach - selecting the method, providing any required parameters, and confirming the transaction through MetaMask when needed.
122
+
Feel free to explore and interact with the contract's other functions using the same approach: select the method, provide any required parameters, and confirm the transaction in MetaMask when needed.
0 commit comments