you can run npm install and then run the command below. Make sure to install deno extension on your IDE.
You can choose which script to run by changing the --watch <script_name.ts> below.
deno serve --allow-net --allow-env --node-modules-dir=auto --watch scripts/doppler.ts
call with inputs in a json format
curl -X POST http://localhost:8000 -H "Content-Type: application/json" -d '{"amountIn": "100", "hookAddress": "0x77bb2a8f1ab2a384918a4c090cd8ae82dc5078e0", "zeroForOne": true}'