React
📄️ Quickstart
Quickly set up and integrate Garden into your react project.
📄️ Hooks
The useGarden hook is a comprehensive, pre-packaged React hook that simplifies the integration of Garden SDK into your dApp. It encapsulates the functionality of both useOrderbook and useSecretManager while exposing a unified API to handle all core interactions, from order management to secret handling.
📄️ Settle order
Auto Redeems provide a seamless way to handle the settlement of funds on the destination chain without developers having to manually intervene. The system is designed to work autonomously, relying on the GardenProvider and our Gasless API to ensure that the settlement is handled securely and efficiently.
📄️ Get order
Tracking the status of swaps is crucial for providing users with real-time updates about their transactions. The SDK provides tools to monitor and fetch details of orders efficiently.