What the CLI is trained to do:
- Assist in setting up token accounts for most traded tokens, useful for fee accounts to receive the platform fee
- Convert spill or fee tokens back to desired mint
- Provide the level of hygiene of a wallet
Locate or setup your file system wallet file.
Run npx jupjup help
to see all the commands. You can also run npx . help command
to see what each command is for.
npx jupjup swap-tokens --keypair wallet.json
- Clone the repository
- Install all the dependencies with
pnpm
- Ensure you have a file system wallet as described above
- Run
npx . help
to see all the commands. You will need to runpnpm build
after making any changes to the code, before runningnpx .
again.