Check out the live deployment of this repository: Dex Widget Demo
This project is a React application that integrates the OKX DEX Widget, providing a seamless and user-friendly interface for swapping and bridging tokens.
Before you begin, ensure you have met the following requirements:
Fork the Repository
Install the dependencies
npm install
Run the project:
Run
button provided by Replit to start the application.Clone the repository:
git clone https://github.com/Julian-dev28/dex-widget-demo.git
Navigate to the project directory:
cd okx-dex-widget-app
Install the dependencies:
npm install
Run the project:
npm run dev
This will start the development server. Open http://localhost:5173 to view it in your browser.
src/App.tsx
: The main application componentsrc/Navigation.tsx
: The navigation componentsrc/LandingPage.tsx
: The home page componentsrc/WidgetPage.tsx
: The page containing the OKX DEX Widgetsrc/index.css
: Global styles and theme variablesYou can customize the application by modifying the following:
src/index.css
navItems
array in src/Navigation.tsx
params
object in src/WidgetPage.tsx
Contributions to this project are welcome. Please follow these steps:
git checkout -b feature-branch-name
git commit -m 'Add some feature'
git push origin feature-branch-name
This project is licensed under the MIT License - see the LICENSE.md file for details.
If you have any questions or feedback, please open an issue in this repository. You can also contact us via the OKX OS Discord Channel.