Skip to content

aragon/osx-plugin-template-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fa7c7b Β· Apr 16, 2024

History

34 Commits
Nov 7, 2023
Dec 2, 2023
Oct 14, 2023
Apr 16, 2024
Feb 23, 2024
Feb 23, 2024
Apr 16, 2024
Oct 12, 2023
Oct 12, 2023
Dec 2, 2023
Oct 12, 2023
Oct 28, 2023
Oct 28, 2023
Sep 21, 2023
Apr 16, 2024
Feb 23, 2024
Nov 2, 2023
Oct 28, 2023
Oct 13, 2023

Repository files navigation

Aragon OSx Plugin Foundry Template πŸš€ 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.

Features ✨ 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. Prerequisites πŸ“‹ Node.js Foundry Git Getting Started 🏁 To get started, clone this repository and install the required dependencies:

bash Copy code 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 Usage πŸ›  Building a Plugin Create your plugin contract in the src directory. A simple plugin template is provided as MyPlugin.sol.

Testing Run tests to ensure your plugins are working correctly:

forge test

Deployment Deploy your plugin to a network:

source .env
forge script script/Deploy.s.sol:Deploy --broadcast --rpc-url <RPC_URL> 

Contributing 🀝 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.