PLEASE BE CAREFUL, THIS SCRIPT IS FOR EDUCATION ONLY AND IT'S NOT PRODUCTION READY
This script uses ParaSwap's SDK, you can find more infos here https://www.npmjs.com/paraswap
yarn install
or
npm install
Create a .env file with this content:
HTTP_PROVIDER==URL_TO_INFURA_OR_HTTP_PROVIDER
TEST_PK=YOUR_TEST_PRIVATE_KEY
TEST_USER_ADDRESS=YOUR_TEST_WALLET_ADDRESS
TEST_REFERRER=ANY_RANDOM_STRING_FOR_OUR_STATS_:)
yarn start
or
npm start