Skip to content

nova-network-inc/nova-swap

Repository files navigation

⚠ Deprecation Notice

We will no longer offer support for NovaSwap due to the merge with NovaDEX. The code is still free to use and open-source, but we will no longer deploy any updates or bug fixes, so use it at your own risk.

NovaSwap™

NovaSwap™ is a powerful DeFi multichain protocol, that allows users to manage their assets on several different networks. It uses Moralis, and is expected that in the future it will be possible to use it with Solana and other non-EVM networks, but for the time being, you can only use it with EVMs.

Our code is open source, under the MIT Licence, so feel free to fork and make your changes to it.

If you are forking, please use the 'Fork' option on Github, and if you're doing it on any other way, please don't forget to disclose the credits and have some link referring back to our original repository.

# Requirements

Github is only needed if you're using git commands to clone, push, pull, etc.

# Installation

  1. Assuming you already have a Moralis account and server running, before running the app, you will need to create a file in the main folder called '.env' to specify your server's URL and ID. You can use the file 'EXAMPLE.env' as a template, and just delete the 'EXAMPLE' word, leaving only the '.env' extension.

  2. In the '.env' file you will only need the two lines below, spcifying your Moralis Server ID and URL:

REACT_APP_MORALIS_APPLICATION_ID = 'MORALIS SERVER ID'
>REACT_APP_MORALIS_SERVER_URL = 'MORALIS SERVER URL'
  1. After you have created and saved your '.env' file, just run the two commands below in your PowerShell, Command Prompt, Terminal, or whatever IDE you're using:
yarn install
yarn start
  1. Done! You should have your NovaSwap™ up and running in your localhost just like that.

# Moralis Server

If you don't have a Moralis Server, you will need to create one in order to get an ID and URL to make your NovaSwap™ fork to work. Explaining how to set up your Moralis Server falls outside the scope of this repository, but there are several tutorials on the internet you can use to learn how to do it. We recommend you visit their website at https://moralis.io/ and give it a try before even watching or reading any tutorials, because the process is very straight-forward.

# Build & Deploy

Once you have made all the changes you want to the code, you can use the command line below to build your application and have it ready to be deployed.

yarn build

# White-label Solutions

If you need some help to get it up and running, just reach out and we will be happy to help you on setting up your own white-labeled version of NovaSwap™.

About

A fully functional dapp that allows token swaps and portfolio management in multiple blockchain networks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published