helius-labs / helius-sdk

135 stars 39 forks source link

feat(txts): Implement Jito Smart Transactions #101

Closed 0xIchigo closed 4 months ago

0xIchigo commented 4 months ago

This PR aims to implement the first version of Jito Smart Transactions, as well as add a whole host of Jito functionality to the SDK. For the first iteration, we allow users to create a single, optimized transaction that pays a Jito tip with the method createSmartTransactionWithTip. We also provide creating, sending, and polling functionality for a single, optimized transaction with a Jito tip with the method sendSmartTransactionWithTip

Note this PR should be merged after #100

0xIchigo commented 4 months ago

@owenventer sounds good! Once all the PRs are merged, I'll open up a final one to update the documentation