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
https://developers.paraswap.network
yarn install
or
npm install
Create a .env file with this content:
PROVIDER_URL=URL_TO_INFURA_OR_HTTP_PROVIDER
TEST_ADDRESS=YOUR_TEST_WALLET_ADDRESS
TEST_PKEY=YOUR_TEST_PRIVATE_KEY
yarn start
or
npm start