- Install packages
yarn
- Fill out the
.env
as the format in.env.example
API_KEY=(This is the API Key for Gud Engine, for ETHVietnam, use: ETHVietnam2025)
PRIVATE_KEY=(your private key, with 0x prefix)
- Modify
./scripts/trade.js
, modify theQUOTE_REQUEST
so that the transaction you execute is what you intended. - Execute
yarn node ./scripts/trade.js