Go to file
Rishi Panthee 6ea2d9b111 Initial commit 2022-10-20 11:14:28 -04:00
.gitattributes Initial commit 2022-10-20 11:14:28 -04:00
.gitignore Initial commit 2022-10-20 11:14:28 -04:00
LICENSE Initial commit 2022-10-20 11:14:28 -04:00
README.md Initial commit 2022-10-20 11:14:28 -04:00
index.js Initial commit 2022-10-20 11:14:28 -04:00
package-lock.json Initial commit 2022-10-20 11:14:28 -04:00
package.json Initial commit 2022-10-20 11:14:28 -04:00

README.md

To setup:

Install Node.JS

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install nodejs -y
sudo apt install npm -y
hash -r
sudo npm install -g npm

Install dependencies:

npm i
npm i -g pm2

Modify swap routes and accounts, index.js variable at line 4 and 110.

Start it up

pm2 start index.js --name autoSwapWithdraw