Welcome to the Solidity Foundry template for building plugins for Aragon OSx!
This template is designed to help developers quickly set up and start creating powerful decentralized autonomous organization (DAO) plugins using Solidity and Foundry.
- Pre-configured Foundry Environment: Set up with all necessary dependencies and configurations for Aragon OSx.
- Sample Contracts: Example plugins to demonstrate integration and usage.
- Comprehensive Testing: Pre-written tests to ensure your plugins work as expected.
- Node.js
- Foundry
- Git
To get started, clone this repository and install the required dependencies:
git clone https://github.com/aragon/osx-plugin-template-foundry
cd osx-plugin-template-foundry
foundryup # Install or update Foundry
forge install # Install project dependencies
Create your plugin contract in the src directory. A simple plugin template is provided as MyPlugin.sol
.
-- Additional documentation can be found at Aragon's Developer Portal
Run tests to ensure your plugins are working correctly:
forge test
Deploy your plugin to your preferred network where Aragon is deployed:
source .env
forge script script/Deploy.s.sol:Deploy --broadcast --rpc-url <RPC_URL>
Contributions are welcome! Please read our contributing guidelines to get started.
License 📄 This project is licensed under AGPL-3.0-or-later.
Support 💬 For support, join our Discord server or open an issue in the repository.