Skip to content

jito-foundation/jito-tip-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jito Tip Router

Testing Setup

Prerequisites

  1. Set up test-ledger: ./tip-router-operator-cli/scripts/setup-test-ledger.sh
  2. Build the tip router program: cargo build-sbf --manifest-path program/Cargo.toml --sbf-out-dir integration_tests/tests/fixtures
  3. Run tests: SBF_OUT_DIR=integration_tests/tests/fixtures cargo test

To see more info on the Tip Router CLI check out the CLI documentation


📖 Documentation

The comprehensive documentation for Tip Router has moved to jito.network/docs/tiprouter. The source files are maintained in the Jito Omnidocs repository.

To see more info on the Tip Router CLI check out the CLI documentation


📖 Documentation

The comprehensive documentation for Tip Router has moved to jito.network/docs/tiprouter. The source files are maintained in the Jito Omnidocs repository.

Deploy and Upgrade

  • build .so file: cargo-build-sbf

  • create a new keypair: solana-keygen new -o target/tmp/buffer.json

  • Deploy: solana program deploy --use-rpc --buffer target/tmp/buffer.json --with-compute-unit-price 10000 --max-sign-attempts 10000 target/deploy/jito_tip_router_program.so

  • (Pre Upgrade) Write to buffer: solana program write-buffer --use-rpc --buffer target/tmp/buffer.json --with-compute-unit-price 10000 --max-sign-attempts 10000 target/deploy/jito_tip_router_program.so

  • Upgrade: solana program upgrade $(solana address --keypair target/tmp/buffer.json) $(solana address --keypair target/deploy/jito_tip_router_program-keypair.json)

  • Close Buffers: solana program close --buffers

  • Upgrade Program Size: solana program extend $(solana address --keypair target/deploy/jito_tip_router_program-keypair.json) 100000

Security Audits

Group Date Commit
Certora 2025-01-05 ac76352
Offside 2024-10-25 443368a

License

Licensed under either of

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

Languages