The swap dApp to interact with Symphony's stablecoins.
To set up this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/Orchestra-Labs/stablecoin-swap.git
- Navigate to the project directory:
cd <project-directory>
- Install dependencies with Yarn:
yarn install
You can run the application in development or production mode:
- Development mode:
This command runs the app in development mode with hot reloading.
yarn dev
- Production build and preview:
First, build the application for production, then preview the build on a local server. This will require opening a browser window to localhost
yarn build yarn preview
Regularly update dependencies to keep the application secure and efficient:
yarn upgrade
Ensure code quality and consistency by running the linter:
yarn lint
Format the code to maintain consistency across the codebase:
yarn prettier --write .
For more details on how to use Vite (the main tool of this codebase), visit the Mantine Vite Guide.