|
||
---|---|---|
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
index.js | ||
package-lock.json | ||
package.json |
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