/injective-dex

Decentralized Derivatives Trading. Any Market. Anytime. Anywhere.

Primary LanguageHTMLMIT LicenseMIT

🌟 Injective DEX

Decentralized Derivatives Trading. Any Market. Anytime. Anywhere.

Get a taste of the UI

✨ Features

  • Modern and intuitive design
  • Trade with ease and flexibility
  • Latest development and security practices
  • Awesome to use!

📚 Getting Started

  1. Clone the repository
$ git clone git@github.com:InjectiveLabs/injective-dex.git
$ cd injective-dex
$ yarn
  1. Duplicate the .env.example to .env and fill in the values
  2. Compile the app locally
$ yarn dev

📖 Documentation

The injective-dex is built using Nuxt and TailwindCSS and its powered by the injective-ts monorepo.

You can always boot the dex locally on your own laptop without having to set up a relayer. You can use the public network in your APP_NETWORK .env configuration variable and run the yarn run dev command. You can find all of the available networks (i.e - predefined set of endpoints) here. Using these endpoints (from the public) network gives the 40% of the trading fees to the community spend pool.

Deployment

The injective-dex uses AWS for deployment. There is a CD pipeline set in the .github/workflow/deploy.yml file. Deployment to AWS is done to a S3 bucket which is served through Cloudfront to the end user. Using nuxt build && nuxt generate we are generating static html pages that are served through cloud front.

The injective-dex can also be served as a SPA. To do this, you have to have a node server running and serve the dist folder that gets generated when you do the yarn build command.

More details about how to deploy a Nuxt project can be found on their docs.


⛑ Support

Reach out to us at one of the following places!


🔓 License