Conversation
|
@gboigwe is attempting to deploy a commit to the IOV Labs Team on Vercel. A member of the Team first needs to authorize it. |
ezequiel-rodriguez
left a comment
There was a problem hiding this comment.
Great work @gboigwe!
The new Foundry verification guide is clear, well-structured, and fully aligned with the requirements:
- proper forge verify-contract usage for Testnet/Mainnet
- automated script (Verify.s.sol)
- env/RPC setup
- troubleshooting
- CI/CD examples
Overall, excellent addition, thanks!
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| @@ -0,0 +1,951 @@ | |||
| # Advanced Smart Contract Development and Deployment with Foundry on Rootstock | |||
|
|
|||
| --- | |||
There was a problem hiding this comment.
@gboigwe Metadata is not formatted properly: https://devportal-rootstock-git-fork-gboigwe-feat-f-74737b-iov-labs-mkt.vercel.app/developers/smart-contracts/foundry/advanced-development-patterns/
Kindly refer to existing pages for the right metadata values, and remove location in the metadata
|
|
||
| ### 2. Multi-Contract System with Factory Pattern | ||
|
|
||
| Complex DApps often require multiple interacting contracts. This pattern demonstrates a factory-vault system: |
There was a problem hiding this comment.
| Complex DApps often require multiple interacting contracts. This pattern demonstrates a factory-vault system: | |
| Complex dApps often require multiple interacting contracts. This pattern demonstrates a factory-vault system: |
|
|
||
| ## Testing Advanced Contracts | ||
|
|
||
| ### Comprehensive Test Suite |
|
|
||
| ## Integration with Verification System | ||
|
|
||
| This advanced smart contract system integrates seamlessly with the verification workflow documented in [Verify Smart Contracts Using Foundry Script](/developers/smart-contracts/foundry/verify-smart-contracts/). Key integration points include: |
There was a problem hiding this comment.
| This advanced smart contract system integrates seamlessly with the verification workflow documented in [Verify Smart Contracts Using Foundry Script](/developers/smart-contracts/foundry/verify-smart-contracts/). Key integration points include: | |
| This advanced smart contract system integrates seamlessly with the verification workflow documented in [Verify Smart Contracts Using Foundry Script](/developers/smart-contracts/foundry/verify-smart-contracts/). | |
| Key integration points include: |
|
|
||
| ### 1. Automated Verification Integration | ||
|
|
||
| The deployment scripts generate verification commands automatically, as demonstrated in the `_generateVerificationCommands()` function. This ensures that complex multi-contract systems are properly verified. |
There was a problem hiding this comment.
Hyper link to Comprehensive Deployment Script with Verification section
| - **Constructor Arguments**: Documentation of all constructor parameters used during deployment | ||
| - **Environment Setup**: Properly configured `.env` file with necessary API keys and RPC URLs | ||
|
|
||
| > **Important**: This guide assumes familiarity with Foundry basics. For foundational knowledge, review the [Foundry Project Creation](/developers/smart-contracts/foundry/create-foundry-project/) and [Smart Contract Development](/developers/smart-contracts/foundry/smart-contracts/) guides. |
There was a problem hiding this comment.
Use the admonition components for TIP or Info: https://dev.rootstock.io/components/#admonitions
| - **Testing Knowledge**: Experience with [Testing Smart Contracts](/developers/smart-contracts/foundry/test-smart-contracts/) | ||
| - **Deployment Experience**: Successful completion of [Deploy Smart Contracts](/developers/smart-contracts/foundry/deploy-smart-contracts/) | ||
|
|
||
| > **Note**: This guide assumes intermediate to advanced Solidity knowledge. For basic Solidity concepts, refer to the [Solidity Documentation](https://docs.soliditylang.org/). |
There was a problem hiding this comment.
Use the admonition component for Note or Info: https://dev.rootstock.io/components/#admonitions
Add Comprehensive Foundry Smart Contract Verification Documentation
Title
Description
Purpose: Resolves GitHub Issue Add Documentation for Verifying Smart Contracts Using Foundry Script on Rootstock #308 by providing complete documentation for smart contract verification using Foundry scripts on Rootstock Explorer and Blockscout.
Issue Resolved: GitHub Issue Add Documentation for Verifying Smart Contracts Using Foundry Script on Rootstock #308 - "Verify Smart Contract Using Foundry Script" - addresses the gap in scripted verification documentation for Rootstock developers.
Specific Changes Made:
docs/02-developers/05-smart-contracts/05-foundry/verify-smart-contracts.md- Comprehensive verification guide with CLI commands, automated scripts, constructor argument handling, error troubleshooting, and CI/CD integrationdocs/02-developers/05-smart-contracts/05-foundry/advanced-smart-contracts.md- Advanced smart contract development patterns including upgradeable contracts, factory patterns, multi-contract systems, and comprehensive testing strategiesKey Features:
Screenshots/GIFs
Testing
Checklist
Refs
/docs/02-developers/05-smart-contracts/05-foundry/