Skip to content

Commit

Permalink
dumb 7
Browse files Browse the repository at this point in the history
  • Loading branch information
anihamde committed Nov 29, 2024
1 parent 861fc88 commit 57d50c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scripts/dex-router/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,12 @@ const argv = yargs(hideBin(process.argv))
.parseSync();

async function run() {
console.log(`version 7`);
const maxaccs = argv["options-max-accounts-jupiter"].map((maxAccounts) =>
Number(maxAccounts)
);
console.log(`maxaccs: ${maxaccs}`);

const connection = new Connection(argv["endpoint-svm"], "confirmed");
const dexRouter = new DexRouter(
argv["endpoint-express-relay"],
Expand Down
1 change: 0 additions & 1 deletion scripts/dex-router/src/router/jupiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class JupiterRouter implements Router {
console.log(`amountIn: ${amountIn}`);
console.log(`url: ${this.quoteurl.toString()}`);
console.log(`debugging, does this msg show up?`);
console.log(`version 6`);

const string1 = `https://jupiter-swap-api.quiknode.pro/quote?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112&amount=50000000&autoSlippage=true&maxAutoSlippageBps=50&maxAccounts=${this.maxAccounts}`;
const string2 = `https://jupiter-swap-api.quiknode.pro/quote?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112&amount=50000000&autoSlippage=true&maxAutoSlippageBps=50&maxAccounts=10`;
Expand Down

0 comments on commit 57d50c3

Please sign in to comment.