- Fork this repository (Click "Fork" on top of this page)
- Clone repository
git clone https://github.com/kryptoken101/krypt-swap.git
- Use Node 14
(For change Node version on Linux use nvm) (For Windows use nvm for Windows)
nvm install 14
nvm alias default 14
nvm use 14
- Install modules
cd krypt-swap
npm i
(Windows? Use windows-build-tools.)
(Linux? Install build-essential
, g++
, python
and make
)
- Start dev mode
npm run dev
or, if you feel confident
npm run dev:mainnet
The dev server is running! (http://localhost:9001)
To access from other devices on the local network, specify your IP address:
HOST=X.X.X.X npm run dev
- Build for prod
npm run build:mainnet https://mywebsite.com/
(don't forget to add a slash in the end of url)
Remember: you MUST be online for swaps and you can not process more than one exchange at the same time.