Skip to content

Commit 098a9db

Browse files
committed
Add OpenZeppelin Wizard
1 parent cd01be0 commit 098a9db

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

content/evm/solidity-resources.mdx

+42
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,45 @@ This page suggests a minimal set of resources for getting started with building
8383
- **[EVM function signature database](https://www.4byte.directory)**
8484
- **[EVM verified contracts on Etherscan](https://etherscan.io/contractsVerified)**
8585
If you are adventurous: Check the verified contracts on Etherscan directly.
86+
87+
## Using the OpenZeppelin Wizard
88+
89+
OpenZeppelin provides a convenient web-based wizard to create standard contracts. Visit [https://wizard.openzeppelin.com/](https://wizard.openzeppelin.com/) to access it.
90+
91+
The wizard allows you to:
92+
93+
1. Select the contract type (ERC20, ERC721, ERC1155, etc.)
94+
2. Configure settings, features, and access controls
95+
3. Add custom functionality through a user-friendly interface
96+
4. Generate ready-to-use Solidity code
97+
98+
The wizard is perfect for:
99+
100+
- Beginners learning smart contract development
101+
- Quickly bootstrapping standard token contracts
102+
- Exploring different configuration options
103+
- Understanding best practices in contract development
104+
105+
Here's how to use it:
106+
107+
1. Visit [https://wizard.openzeppelin.com/](https://wizard.openzeppelin.com/)
108+
2. Select the type of contract you want to create
109+
3. Configure the settings (name, symbol, features)
110+
4. Add any additional functionality you need
111+
5. Copy the generated code and paste it into your project
112+
6. Customize as needed
113+
114+
## Best Practices & Security Considerations
115+
116+
When developing on Sei V2 EVM with OpenZeppelin contracts, follow these best practices:
117+
118+
1. **Always use the latest version** of OpenZeppelin contracts
119+
2. **Start with existing, audited components** rather than building from scratch
120+
3. **Run comprehensive tests** before deploying to mainnet
121+
4. **Consider upgradeability** for complex applications
122+
5. **Use access controls** like `Ownable` or `AccessControl` for privileged functions
123+
6. **Implement reentrancy guards** where needed
124+
7. **Avoid `transfer()` and `send()`** for ETH transfers, use `call()` with reentrancy protection
125+
8. **Validate all inputs** and check for edge cases
126+
9. **Consider gas optimization**, but not at the expense of security
127+
10. **Consider getting an audit** for high-value contracts

0 commit comments

Comments
 (0)