Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 539 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 539 Bytes

ParaSwap Example

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

Tech docs:

https://developers.paraswap.network

Run the server:

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