This is a playground for the 1inch API. Its a simple node script to interact with the 1inch APIs.
- Clone the repo
- Run
yarn install
- Get an API key from 1inch and put it in src/constants.ts
- Run
yarn start
The script will run and output the results to the console. You can change the parameters in src/index.ts to test different scenarios.
Refer to the 1inch API docs for more information on the APIs.