Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 610 Bytes

File metadata and controls

37 lines (25 loc) · 610 Bytes

Trigger API (Limit Order) - Create & Execute Order

This scripts shows how to use the V1 Trigger API and create an order and execute it.

Prerequisites

  • Node.js (v16 or higher)
  • npm (v10 or higher)
  • Solana Wallet Public Address
  • Helius RPC API Key
  • Solana Wallet Private Key

Usage

  1. Clone the repository
git clone https://github.com/Jupiter-DevRel/typescript-examples.git
  1. Navigate to the trigger/create-execute-order directory
cd trigger/create-execute-order
  1. Install the dependencies
npm install
  1. Run the script
npm run example