{"_id":"@defitrigger/jito-ts","name":"@defitrigger/jito-ts","dist-tags":{"latest":"4.1.2"},"versions":{"4.1.2":{"author":{"name":"Jito Team","email":"team@jito.wtf"},"license":"Apache-2.0","name":"@defitrigger/jito-ts","version":"4.1.2","main":"dist/index.js","types":"dist/index.d.ts","prepublish":"tsc","dependencies":{"@grpc/grpc-js":"^1.8.13","@noble/ed25519":"^1.7.1","@solana/web3.js":"~1.77.3","@types/bs58":"^4.0.4","agentkeepalive":"^4.3.0","bs58":"^6.0.0","dotenv":"^16.0.3","jayson":"^4.0.0","node-fetch":"^2.6.7","rpc-websockets":"7.10.0","superstruct":"^1.0.3"},"devDependencies":{"@types/google-protobuf":"^3.15.6","@types/node":"^14.11.2","@types/node-fetch":"^2.6","grpc-tools":"^1.12.3","gts":"^3.1.1","protoc-gen-ts":"^0.8.5","ts-proto":"~1.138.0","ts-protoc-gen":"~0.15.0","typescript":"^4.9.4"},"scripts":{"gen-block-engine":"./scripts/gen-block-engine-protos submods/mev-protos","gen-geyser":"./scripts/gen-geyser-protos submods/geyser-grpc-plugin/proto/proto","lint":"gts lint","clean":"gts clean","compile":"tsc","fix":"gts fix","prepare":"yarn run compile","pretest":"yarn run compile","posttest":"yarn run lint","run:geyser":"yarn tsc && node dist/examples/geyser/index","run:simple_bundle":"yarn tsc && node dist/examples/simple_bundle/index"},"description":"[![Discord](https://img.shields.io/discord/938287290806042626?label=Discord&logo=discord&style=flat&color=7289DA)](https://discord.gg/jTSmEzaR) [![NPM Version](https://img.shields.io/npm/v/jito-ts)](https://www.npmjs.com/package/jito-ts)","licenseText":"Copyright 2023 Jito Labs.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","_id":"@defitrigger/jito-ts@4.1.2","dist":{"shasum":"4352ca07ed936c15f71110897b0bc8fdea8c8b82","integrity":"sha512-pAZi7vm1Bd63MQKpqBka0Yws04hu3J87URzb5G9zGP3UK6aUCsHLFrXgU0ieNBl0g9HIVaPCFal/UcTBz5dSLg==","tarball":"https://registry.npmjs.org/@defitrigger/jito-ts/-/jito-ts-4.1.2.tgz","fileCount":176,"unpackedSize":1870641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuCP9WBgAPR9fcBsAvhdna4OUbV5RYqqqZi1UrXlimXgIgXzmkWaDJdVIb66a2KLy1HS+tzRR8EuoaaTXZgFhAh7Y="}]},"_npmUser":{"name":"defitrigger","email":"jk@kbzlabs.com"},"directories":{},"maintainers":[{"name":"defitrigger","email":"jk@kbzlabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jito-ts_4.1.2_1732680033659_0.01904313466071983"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-27T04:00:33.570Z","4.1.2":"2024-11-27T04:00:33.863Z","modified":"2024-11-27T04:00:34.140Z"},"maintainers":[{"name":"defitrigger","email":"jk@kbzlabs.com"}],"description":"[![Discord](https://img.shields.io/discord/938287290806042626?label=Discord&logo=discord&style=flat&color=7289DA)](https://discord.gg/jTSmEzaR) [![NPM Version](https://img.shields.io/npm/v/jito-ts)](https://www.npmjs.com/package/jito-ts)","author":{"name":"Jito Team","email":"team@jito.wtf"},"license":"Apache-2.0","readme":"# jito-ts\n\n[![Discord](https://img.shields.io/discord/938287290806042626?label=Discord&logo=discord&style=flat&color=7289DA)](https://discord.gg/jTSmEzaR)\n[![NPM Version](https://img.shields.io/npm/v/jito-ts)](https://www.npmjs.com/package/jito-ts)\n\nWelcome to the Jito Typescript SDK repository! Use this to interact with the block-engine, relayer and future Jito APIs.\n\n## Setup\nUse with yarn `1.22`+ and Node 20.\n```bash\nyarn\n```\n\n### Building Protos\nThe generated proto files have been committed for convenience, but if there's ever a change you'll need to re-generate.\nSteps to regenerate:\n* Make sure you have protoc installed on your system\n* If any new `.proto` files were added, update the appropriate `./scripts/gen-*-protos` script to include it.\n* Run the appropriate `yarn gen-* ${PATH_TO_PROTOS}` and commit!\n\n### Geyser\n\n**Note:** Mac users may run into an error to the effect of \"protoc-gen-js: program not found or is not executable\";\nif this is thrown, run:\n* `brew install protobuf@3`\n* `brew link --overwrite protobuf@3`\n* `yarn gen-block-engine ${PATH_TO_BLOCK_ENGINE_PROTOS}`\n* `yarn gen-geyser ${PATH_TO_GEYSER_PROTOS}`\n\n## Usage\n\n```bash\nexport RPC_URL=\"https://MY_RPC_URL\"\nexport BLOCK_ENGINE_URL=mainnet.block-engine.jito.wtf\nexport AUTH_KEYPAIR_PATH=MY_AUTH_KEYPAIR.json\nexport BUNDLE_TRANSACTION_LIMIT=5\n\nyarn run:simple_bundle\n```\n\nSee other commands in `package.json`\n","readmeFilename":"README.md"}