This project implements a state machine for managing cross-chain swaps using XState. It provides a robust and type-safe way to handle the complex flow of swap operations.
- State management for cross-chain swaps
- Integration with external APIs for fetching quotes and submitting swaps
- Support for various asset types and networks
- Error handling and retry mechanisms
To install the project dependencies, run:
pnpm install
Run the following command in your terminal:
pnpm exec playwright install
Run the following command in your terminal:
pnpm run test:inspect
To build the project, run:
pnpm run build
To run the project, start the development server with:
pnpm run dev