This scripts shows how to use the V1 Trigger API and create an order and execute it.
- Node.js (v16 or higher)
- npm (v10 or higher)
- Solana Wallet Public Address
- Helius RPC API Key
- Solana Wallet Private Key
- Clone the repository
git clone https://github.com/Jupiter-DevRel/typescript-examples.git- Navigate to the
trigger/create-execute-orderdirectory
cd trigger/create-execute-order- Install the dependencies
npm install- Run the script
npm run example