GithubHelp home page GithubHelp logo

mev-bot's Issues

No mempool... now, what?

Hi everybody. I am writing in regard of the recent removal of the jito pseudo-mempool, which makes a significant part of the code in this repo unusable; is there any other feasable way of getting anticipated access to the newest Solana transactions without it, apart from running our own validators (which is quite expensive)? Do you think running our own relayers could be an option?

Thanks for your support, and have a good day :)

Stream error: 13 INTERNAL: Response message parsing error: Value is larger than Number.MAX_SAFE_INTEGER

ERROR (local/21421): Stream error: 13 INTERNAL: Response message parsing error: Value is larger than Number.MAX_SAFE_INTEGER
err: {
"type": "Error",
"message": "Stream error: 13 INTERNAL: Response message parsing error: Value is larger than Number.MAX_SAFE_INTEGER",
"stack":
Error: Stream error: 13 INTERNAL: Response message parsing error: Value is larger than Number.MAX_SAFE_INTEGER
at ClientReadableStreamImpl. (/Users/shanmugha/testspace/mevbotjito/node_modules/jito-ts/dist/sdk/geyser/geyser.js:67:47)
at ClientReadableStreamImpl.emit (node:events:513:28)
at Object.onReceiveStatus (/Users/shanmugha/testspace/mevbotjito/node_modules/@grpc/grpc-js/build/src/client.js:357:28)
at Object.onReceiveStatus (/Users/shanmugha/testspace/mevbotjito/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:320:181)
at /Users/shanmugha/testspace/mevbotjito/node_modules/@grpc/grpc-js/build/src/resolving-call.js:94:78
at processTicksAndRejections (node:internal/process/task_queues:78:11)
}

Not working

Error: 12 UNIMPLEMENTED: subscribe_mempool is deprecated
at callErrorFromStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/call.ts:82:17)
at Object.onReceiveStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client.ts:611:51)
at Object.onReceiveStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48)
at /mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24
at processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at ServiceClientImpl.makeServerStreamRequest (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client.ts:594:42)
at ServiceClientImpl.subscribeMempool (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/make-client.ts:189:15)
at SearcherClient.programUpdates (/mnt/c/Users/bhupe/jito-mev/node_modules/jito-ts/src/sdk/block-engine/searcher.ts:171:19)
at programUpdates.next ()
at /mnt/c/Users/bhupe/jito-mev/src/index.ts:27:31
at Generator.next ()
at /mnt/c/Users/bhupe/jito-mev/src/index.ts:8:71
at new Promise ()
at __awaiter (/mnt/c/Users/bhupe/jito-mev/src/index.ts:4:12)
at main (/mnt/c/Users/bhupe/jito-mev/src/index.ts:27:12) {
code: 12,
details: 'subscribe_mempool is deprecated',
metadata: Metadata {
internalRepr: Map(5) {
'content-type' => [Array],
'content-length' => [Array],
'date' => [Array],
'x-envoy-upstream-service-time' => [Array],
'server' => [Array]
},
options: {}
}
}
AbortError: The operation was aborted
at Object.destroyer (node:internal/streams/destroy:327:11)
at createAsyncIterator (node:internal/streams/readable:1399:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SearcherClient.programUpdates (/mnt/c/Users/bhupe/jito-mev/node_modules/jito-ts/src/sdk/block-engine/searcher.ts:181:22) {
code: 'ABORT_ERR'
}
/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/call.ts:82
const error = new Error(message);
^
Error: 12 UNIMPLEMENTED: subscribe_mempool is deprecated
at callErrorFromStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/call.ts:82:17)
at Object.onReceiveStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client.ts:611:51)
at Object.onReceiveStatus (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48)
at /mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24
at processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at ServiceClientImpl.makeServerStreamRequest (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/client.ts:594:42)
at ServiceClientImpl.subscribeMempool (/mnt/c/Users/bhupe/jito-mev/node_modules/@grpc/grpc-js/src/make-client.ts:189:15)
at SearcherClient.programUpdates (/mnt/c/Users/bhupe/jito-mev/node_modules/jito-ts/src/sdk/block-engine/searcher.ts:171:19)
at programUpdates.next ()
at /mnt/c/Users/bhupe/jito-mev/src/index.ts:27:31
at Generator.next ()
at /mnt/c/Users/bhupe/jito-mev/src/index.ts:8:71
at new Promise ()
at __awaiter (/mnt/c/Users/bhupe/jito-mev/src/index.ts:4:12)
at main (/mnt/c/Users/bhupe/jito-mev/src/index.ts:27:12) {
code: 12,
details: 'subscribe_mempool is deprecated',
metadata: Metadata {
internalRepr: Map(5) {
'content-type' => [Array],
'content-length' => [Array],
'date' => [Array],
'x-envoy-upstream-service-time' => [Array],
'server' => [Array]
},
options: {}
}
}

auth.json payer.json field format

What is the field format in the auth.json payer.json file? Can you provide a sample file or explanation? I put the private key in and run an error message

throw new Error('bad secret key size');
auth.json payer.json

The endpoint can only be paired with an `https.Agent`. You have, instead, supplied an `http.Agent` through `httpAgent`

When I run yarn start, I'm facing this error:

/Users/rajdeep/dev/jito-mev-bot/node_modules/jito-ts/node_modules/@solana/web3.js/lib/index.cjs.js:6192
          throw new Error('The endpoint `' + url + '` can only be paired with an `https.Agent`. You have, instead, supplied an ' + '`http.Agent` through `httpAgent`.');
                ^

Error: The endpoint `https://frankfurt.mainnet.rpc.jito.wtf` can only be paired with an `https.Agent`. You have, instead, supplied an `http.Agent` through `httpAgent`.
    at createRpcClient (/Users/rajdeep/dev/jito-mev-bot/node_modules/jito-ts/node_modules/@solana/web3.js/lib/index.cjs.js:6192:17)
    at new Connection (/Users/rajdeep/dev/jito-mev-bot/node_modules/jito-ts/node_modules/@solana/web3.js/lib/index.cjs.js:7132:23)
    at new JitoRpcConnection (/Users/rajdeep/dev/jito-mev-bot/node_modules/jito-ts/dist/sdk/rpc/connection.js:258:9)
    at file:///Users/rajdeep/dev/jito-mev-bot/build/src/clients/rpc.js:122:18
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.