Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 530 Bytes

File metadata and controls

36 lines (24 loc) · 530 Bytes

Ultra API - Sweeper Script

This script demonstrates how to get swap all tokens to JUP using the Ultra API.

Prerequisites

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

Usage

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