├── .env.example ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── Dockerfile ├── README.md ├── bin └── run ├── eslint.config.mjs ├── package.json ├── pnpm-lock.yaml ├── scripts └── copy-lists.ts ├── src ├── commands │ ├── balance.ts │ ├── createWallet.ts │ └── start.ts ├── connectors │ ├── jupiter │ │ ├── README.md │ │ ├── index.ts │ │ ├── jupiter.controller.ts │ │ └── routes │ │ │ ├── executeSwap.ts │ │ │ └── quoteSwap.ts │ ├── meteora │ │ ├── README.md │ │ ├── index.ts │ │ ├── meteora.controller.ts │ │ └── routes │ │ │ ├── addLiquidity.ts │ │ │ ├── closePosition.ts │ │ │ ├── collectFees.ts │ │ │ ├── executeSwap.ts │ │ │ ├── getActiveBin.ts │ │ │ ├── getFeesQuote.ts │ │ │ ├── getLbPairs.ts │ │ │ ├── getPositionsOwnedBy.ts │ │ │ ├── getSwapQuote.ts │ │ │ ├── openPosition.ts │ │ │ └── removeLiquidity.ts │ ├── orca │ │ ├── README.md │ │ ├── index.ts │ │ ├── orca.controller.ts │ │ └── routes │ │ │ ├── addLiquidity.ts │ │ │ ├── addLiquidityInBundle.ts │ │ │ ├── addLiquidityQuote.ts │ │ │ ├── closePosition.ts │ │ │ ├── closePositionsInBundle.ts │ │ │ ├── collectFeeRewards.ts │ │ │ ├── collectFees.ts │ │ │ ├── createPositionBundle.ts │ │ │ ├── deletePositionBundle.ts │ │ │ ├── executeSwap.ts │ │ │ ├── getBundlesOwnedBy.ts │ │ │ ├── getFeeRewardsQuote.ts │ │ │ ├── getFeesQuote.ts │ │ │ ├── getPoolInfo.ts │ │ │ ├── getPositionInfo.ts │ │ │ ├── getPositionsInBundle.ts │ │ │ ├── getPositionsOwnedBy.ts │ │ │ ├── openPosition.ts │ │ │ ├── openPositionsInBundle.ts │ │ │ ├── quoteSwap.ts │ │ │ ├── removeLiquidity.ts │ │ │ ├── removeLiquidityInBundle.ts │ │ │ └── temp.json │ ├── raydium │ │ ├── README.md │ │ ├── amm-routes │ │ │ └── getPoolInfo.ts │ │ ├── index.ts │ │ └── raydium.controller.ts │ └── solana │ │ ├── README.md │ │ ├── index.ts │ │ ├── lists │ │ ├── devnet-tokenlist.json │ │ └── mainnet-tokenlist.json │ │ ├── routes │ │ ├── getAddressInfo.ts │ │ ├── getBalance.ts │ │ ├── getSymbolInfo.ts │ │ └── listTokens.ts │ │ └── solana.controller.ts ├── index.ts ├── logo-command.ts ├── server.ts └── utils │ ├── getSignature.ts │ └── transactionSender.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/README.md -------------------------------------------------------------------------------- /bin/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../dist/index.js'); -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/copy-lists.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/scripts/copy-lists.ts -------------------------------------------------------------------------------- /src/commands/balance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/commands/balance.ts -------------------------------------------------------------------------------- /src/commands/createWallet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/commands/createWallet.ts -------------------------------------------------------------------------------- /src/commands/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/commands/start.ts -------------------------------------------------------------------------------- /src/connectors/jupiter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/jupiter/README.md -------------------------------------------------------------------------------- /src/connectors/jupiter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/jupiter/index.ts -------------------------------------------------------------------------------- /src/connectors/jupiter/jupiter.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/jupiter/jupiter.controller.ts -------------------------------------------------------------------------------- /src/connectors/jupiter/routes/executeSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/jupiter/routes/executeSwap.ts -------------------------------------------------------------------------------- /src/connectors/jupiter/routes/quoteSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/jupiter/routes/quoteSwap.ts -------------------------------------------------------------------------------- /src/connectors/meteora/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/README.md -------------------------------------------------------------------------------- /src/connectors/meteora/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/index.ts -------------------------------------------------------------------------------- /src/connectors/meteora/meteora.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/meteora.controller.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/addLiquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/addLiquidity.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/closePosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/closePosition.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/collectFees.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/collectFees.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/executeSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/executeSwap.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/getActiveBin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/getActiveBin.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/getFeesQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/getFeesQuote.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/getLbPairs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/getLbPairs.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/getPositionsOwnedBy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/getPositionsOwnedBy.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/getSwapQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/getSwapQuote.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/openPosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/openPosition.ts -------------------------------------------------------------------------------- /src/connectors/meteora/routes/removeLiquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/meteora/routes/removeLiquidity.ts -------------------------------------------------------------------------------- /src/connectors/orca/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/README.md -------------------------------------------------------------------------------- /src/connectors/orca/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/index.ts -------------------------------------------------------------------------------- /src/connectors/orca/orca.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/orca.controller.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/addLiquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/addLiquidity.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/addLiquidityInBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/addLiquidityInBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/addLiquidityQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/addLiquidityQuote.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/closePosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/closePosition.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/closePositionsInBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/closePositionsInBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/collectFeeRewards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/collectFeeRewards.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/collectFees.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/collectFees.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/createPositionBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/createPositionBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/deletePositionBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/deletePositionBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/executeSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/executeSwap.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getBundlesOwnedBy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getBundlesOwnedBy.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getFeeRewardsQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getFeeRewardsQuote.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getFeesQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getFeesQuote.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getPoolInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getPoolInfo.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getPositionInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getPositionInfo.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getPositionsInBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getPositionsInBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/getPositionsOwnedBy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/getPositionsOwnedBy.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/openPosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/openPosition.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/openPositionsInBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/openPositionsInBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/quoteSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/quoteSwap.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/removeLiquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/removeLiquidity.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/removeLiquidityInBundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/removeLiquidityInBundle.ts -------------------------------------------------------------------------------- /src/connectors/orca/routes/temp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/orca/routes/temp.json -------------------------------------------------------------------------------- /src/connectors/raydium/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/raydium/README.md -------------------------------------------------------------------------------- /src/connectors/raydium/amm-routes/getPoolInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/raydium/amm-routes/getPoolInfo.ts -------------------------------------------------------------------------------- /src/connectors/raydium/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/raydium/index.ts -------------------------------------------------------------------------------- /src/connectors/raydium/raydium.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/raydium/raydium.controller.ts -------------------------------------------------------------------------------- /src/connectors/solana/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/README.md -------------------------------------------------------------------------------- /src/connectors/solana/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/index.ts -------------------------------------------------------------------------------- /src/connectors/solana/lists/devnet-tokenlist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/lists/devnet-tokenlist.json -------------------------------------------------------------------------------- /src/connectors/solana/lists/mainnet-tokenlist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/lists/mainnet-tokenlist.json -------------------------------------------------------------------------------- /src/connectors/solana/routes/getAddressInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/routes/getAddressInfo.ts -------------------------------------------------------------------------------- /src/connectors/solana/routes/getBalance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/routes/getBalance.ts -------------------------------------------------------------------------------- /src/connectors/solana/routes/getSymbolInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/routes/getSymbolInfo.ts -------------------------------------------------------------------------------- /src/connectors/solana/routes/listTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/routes/listTokens.ts -------------------------------------------------------------------------------- /src/connectors/solana/solana.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/connectors/solana/solana.controller.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/logo-command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/logo-command.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/utils/getSignature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/utils/getSignature.ts -------------------------------------------------------------------------------- /src/utils/transactionSender.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/src/utils/transactionSender.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hummingbot/larp/HEAD/tsconfig.json --------------------------------------------------------------------------------