{"id":23274437,"url":"https://github.com/weeaa/jito-go","last_synced_at":"2025-04-05T01:04:35.495Z","repository":{"id":221786544,"uuid":"755380509","full_name":"weeaa/jito-go","owner":"weeaa","description":"🪙 Jito Go SDK [unnoficial]","archived":false,"fork":false,"pushed_at":"2025-02-03T15:08:03.000Z","size":302,"stargazers_count":127,"open_issues_count":0,"forks_count":33,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T00:05:06.558Z","etag":null,"topics":["cryptocurrency","jito","mev"],"latest_commit_sha":null,"homepage":"https://www.jito.wtf","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weeaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-10T02:51:26.000Z","updated_at":"2025-03-28T10:32:43.000Z","dependencies_parsed_at":"2024-03-17T21:36:57.854Z","dependency_job_id":"2f190f7b-1e8b-4ed2-a0c8-d8875e127d75","html_url":"https://github.com/weeaa/jito-go","commit_stats":null,"previous_names":["weeaa/jito-go"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weeaa%2Fjito-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weeaa%2Fjito-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weeaa%2Fjito-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weeaa%2Fjito-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weeaa","download_url":"https://codeload.github.com/weeaa/jito-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271519,"owners_count":20911587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptocurrency","jito","mev"],"created_at":"2024-12-19T20:13:12.705Z","updated_at":"2025-04-05T01:04:35.476Z","avatar_url":"https://github.com/weeaa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jito Go SDK\n[![GoDoc](https://pkg.go.dev/badge/github.com/weeaa/jito-go?status.svg)](https://pkg.go.dev/github.com/weeaa/jito-go?tab=doc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/weeaa/jito-go)](https://goreportcard.com/report/github.com/weeaa/jito-go)\n[![License](https://img.shields.io/badge/license-Apache_2.0-crimson)](https://opensource.org/license/apache-2-0)\n\nThis library contains tooling to interact with **[Jito Labs](https://www.jito.wtf/)** software.\n\nWe currently use [gagliardetto/solana-go](https://github.com/gagliardetto/solana-go) to interact with Solana.  PRs and contributions are welcome.\n\n![jitolabs](https://github.com/weeaa/jito-go/assets/108926252/5751416c-333b-412e-8f3f-f26b2839be98)\n\n## ❇️ Contents\n- [Support](#-support)\n- [Features](#-features)\n- [ToDo](#-todo)\n- [Methods](#-methods)\n- [Installing](#-installing)\n- [Update Proto](#-update-proto)\n- [Keypair Authentication](#-keypair-authentication)\n- [Examples](#-examples)\n- [Common errors](#-common-errors)\n- [Disclaimer](#-disclaimer)\n- [License](#-license)\n\n## 🛟 Support\nIf my work has been useful in building your for-profit services/infra/bots/etc, consider donating at\n`ACPc147BD5SE7Rh2HKLED7nLWJyiNNHM8ruyGNHqcE8U` (Solana address).\n\n## ✨ Features\n- [x] Searcher\n- [x] Block Engine\n- [x] Relayer\n- [x] [Geyser](https://github.com/weeaa/goyser) 🐳\n- [ ] Shredstream\n- [x] JSON RPC API\n- [x] Others\n- [x] API\n\n## 📋 ToDo\n- Implement rest of the data REST API endpoints (arbitrage)\n\n## 📡 Methods\n- `💀* methods which are deprecated by Jito`\n- `most methods have wrappers for ease of use`\n- `both gRPC and JSON-RPC methods are supported`\n\n\n- [x] **Searcher**\n\nSupports a `New` func which authenticates with your private key, and a `NewNoAuth` func which does not require to be whitelisted by Jito. Multiple clients can be created using different proxies to increase request capacity. Please use responsibly.\n  - `SubscribeMempoolAccounts` 💀\n  - `SubscribeMempoolPrograms` 💀\n  - `GetNextScheduledLeader`\n  - `GetRegions`\n  - `GetConnectedLeaders`\n  - `GetConnectedLeadersRegioned`\n  - `GetTipAccounts`\n  - `SimulateBundle`\n  - `SendBundle` (gRPC \u0026 JSON-RPC)\n  - `SendBundleWithConfirmation` (gRPC \u0026 JSON-RPC)\n  - `SubscribeBundleResults`\n  - `GetBundleStatuses` (gRPC \u0026 JSON-RPC)\n- [x] **Block Engine**\n  - Validator\n    - `SubscribePackets`\n    - `SubscribeBundles`\n    - `GetBlockBuilderFeeInfo`\n  - Relayer\n    - `SubscribeAccountsOfInterest`\n    - `SubscribeProgramsOfInterest`\n    - `StartExpiringPacketStream`\n- [ ] **ShredStream**\n  - `SendHeartbeat`\n- [x] **Others** (pkg/util.go \u0026 pkg/convert.go)\n  - `SubscribeTipStream`\n  - Converting functions\n- [x] **API** (api/api.go)\n  - `RetrieveRecentBundles`\n  - `RetrieveBundleIDfromTransactionSignature`\n  - `GetBundleInfo`\n  - `GetDailyMevRewards`\n\n## 💾 Installing\n\nGo 1.22.0 or higher.\n```shell\ngo get github.com/weeaa/jito-go@latest\n```\n\nIf you want to run tests:\n\n1. Install [Task](https://taskfile.dev/installation/).\n2. Initialize your `.env` file by running `task install:\u003cos\u003e` (darwin/linux/windows).\n3. Run tests with `task test`.\n\n## 🔄 Update Proto\n🚨 **Beware that due to duplicate types from jito proto files it will cause an error when building, this issue has been submitted to the team.** 🚨\n\nIn order to get latest proto generated files, make sure you have protobuf \u0026 its plugins installed!\n\nUsing Homebrew (macOS).\n```shell\nbrew install protobuf\ngo install google.golang.org/protobuf/cmd/protoc-gen-go@latest\ngo install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest\n```\n\nEdit perms.\n```shell\nchmod +x ./scripts/generate_protos.sh\n```\n\nRun script.\n```shell\n./scripts/generate_protos.sh\n```\n\n## 🔑 Keypair Authentication\n**[The following isn't mandatory anymore for Searcher access](https://docs.google.com/document/d/e/2PACX-1vRZoiYWNvIdX4r6lf-8E5E0l8SEPKeXXRYRcviwQJjmizeJkeQ_YM4IWGQne-C_8_lFFXv-z6yI6y4K/pub)**.\n\nTo access Jito MEV functionalities, you'll need a whitelisted Public Key obtained from a fresh KeyPair; submit your Public Key [here](https://web.miniextensions.com/WV3gZjFwqNqITsMufIEp).\nIn order to generate a new KeyPair, you can use the following function `GenerateKeypair()` from the `/pkg` package.\n\n## 💻 Examples\n\n- [gRPC Get Regions](./examples/grpc_get_regions)\n- [gRPC Send Bundle](./examples/grpc_send_bundle)\n- [gRPC Send Bundle No Auth](./examples/grpc_send_bundle_no_auth)\n- [gRPC Simulate Bundle](./examples/grpc_simulate_bundle)\n\n## 🐥 Common errors\n\n- `The supplied pubkey is not authorized to generate a token.`\n\nThe public key you supplied is not whitelisted by Jito, you may either use `NewNoAuth` instead of `New`\nto authenticate, or apply for whitelist [here](https://web.miniextensions.com/WV3gZjFwqNqITsMufIEp).\n\n## 🚨 Disclaimer\n\n**This library is not affiliated with Jito Labs**. It is a community project and is not officially supported by Jito Labs. Use at your own risk.\n\n## 📃 License\n\n[Apache-2.0 License](https://github.com/weeaa/jito-go/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweeaa%2Fjito-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweeaa%2Fjito-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweeaa%2Fjito-go/lists"}