@clonegod/ttd-sol-common 2.0.58 → 2.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,7 +115,7 @@ const sendBundleWithJito = async (mainTxBase64, tipTxBase64) => {
115
115
  exports.sendBundleWithJito = sendBundleWithJito;
116
116
  const sendBundleWithJitoMultiIps = async (mainTxHash, mainTxBase64, tipTxBase64) => {
117
117
  let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',');
118
- let urls = ips.map(ip => `http://${ip}:10001/solana/send_tx`);
118
+ let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`);
119
119
  const body = {
120
120
  trace_id: '',
121
121
  txid: mainTxHash,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "2.0.58",
3
+ "version": "2.0.59",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -104,7 +104,7 @@ export const sendBundleWithJito = async (mainTxBase64: string, tipTxBase64: stri
104
104
 
105
105
  export const sendBundleWithJitoMultiIps = async (mainTxHash: string, mainTxBase64: string, tipTxBase64: string): Promise<string> => {
106
106
  let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',')
107
- let urls = ips.map(ip => `http://${ip}:10001/solana/send_tx`)
107
+ let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`)
108
108
 
109
109
  // Bundle 顺序: [mainTx, tipTx]
110
110
  // 与 sendBundleWithJito 保持一致,符合 Jito Sandwich Mitigation 规则