AutoSwappr is a StarkNet-based decentralized application designed for automated token swapping, offering a one-stop solution to guard against highly volatile non-stable crypto assets. By leveraging the AVNU Exchange, it simplifies the process of auto-swapping non-stable tokens to stable ones through an upgradeable, ownable contract. AutoSwappr streamlines asset management, ensuring secure and seamless token swap processes with minimal manual intervention.
- Automated Token Swapping: Subscription-based system for automated conversion of assets
- Multi-Route Support: Flexible routing options for complex token swaps
- Real-time Event Tracking: Comprehensive event logging for swaps and subscriptions
- Upgradeable Architecture: OpenZeppelin-based upgradeable contract system
- Secure Fee Management: Configurable fee collection system
- Custom Route Configuration: Support for complex multi-token swap routes
AutoSwappr is built on StarkNet and implements:
- OpenZeppelin standards for upgradeability
- AVNU Exchange integration for swap execution
- Event-driven architecture for transaction tracking
To set up and run the project locally, ensure you have the following installed:
-
Fork the Repository
-
Clone the Repository to your local machine
git clone https://github.com/BlockheaderWeb3-Community/auto-swap
cd auto-swap
-
Set Up Development Environment
To set up development environment:
# Configure Scarb version
asdf local scarb 2.8.5
# Configure StarkNet Foundry
asdf local starknet-foundry 0.31.0
- Build the Project:
scarb build
The project uses Scarb as its build tool. To build the contracts:
scarb build
Run the test suite using StarkNet Foundry:
snforge test
We welcom contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
- Cairo Code: Follow the Cairo documentation and best practices.
- ASDF: Follow the asdf installation instructions
- Testing: Write tests for your code and ensure all tests pass before submitting a PR.
- Ensure your branch is up to date with master
- Include relevant test cases
- Update documentation as needed
- Provide a detailed description of changes
- Request review from maintainers
For support and queries:
- Open an issue in the GitHub repository
- Join our Telegram channel
Built with ❤️ by the BlockheaderWeb3 Community