<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Grigorii DEV</title>
    <description>The latest articles on DEV Community by Grigorii DEV (@grigorii__8cb39197).</description>
    <link>https://dev.to/grigorii__8cb39197</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3881343%2F8be2c6cc-a83d-4762-97bc-e6d402109b30.png</url>
      <title>DEV Community: Grigorii DEV</title>
      <link>https://dev.to/grigorii__8cb39197</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/grigorii__8cb39197"/>
    <language>en</language>
    <item>
      <title>How I Built a Solana Token Bundler with Jito MEV BundlesTags: solana, web3, javascript, blockchain</title>
      <dc:creator>Grigorii DEV</dc:creator>
      <pubDate>Wed, 15 Apr 2026 23:15:30 +0000</pubDate>
      <link>https://dev.to/grigorii__8cb39197/title-how-i-built-a-solana-token-bundler-with-jito-mev-bundlestags-solana-web3-javascript-2jd3</link>
      <guid>https://dev.to/grigorii__8cb39197/title-how-i-built-a-solana-token-bundler-with-jito-mev-bundlestags-solana-web3-javascript-2jd3</guid>
      <description>&lt;p&gt;When I started building SolBundler, the main problem I wanted to solve was simple: sniper bots were destroying pump.fun launches. The moment a token goes live, bots buy block 0 and dump immediately. Developers lose control of their own launch.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://solbundler.app" rel="noopener noreferrer"&gt;SolBundler&lt;/a&gt; — a tool that lets you deploy a token and bundle-buy from multiple wallets in the same Jito MEV bundle, atomically, in block 0.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Core Problem
&lt;/h2&gt;

&lt;p&gt;On Solana, transactions are public in the mempool before they land. Sniper bots watch for new token deploys and front-run them instantly. By the time real buyers see the token, bots already hold 20-40% of supply.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Jito Bundles Solve This
&lt;/h2&gt;

&lt;p&gt;Jito is a block engine on Solana that allows atomic transaction bundles. A bundle is a group of transactions that either all land together or none of them do — in the same block.&lt;/p&gt;

&lt;p&gt;This means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Deploy transaction + buy transactions land atomically&lt;/li&gt;
&lt;li&gt;No gap for snipers to front-run&lt;/li&gt;
&lt;li&gt;You control block 0 supply distribution&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Technical Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 16&lt;/strong&gt; with webpack (not Turbopack — had bs58 compatibility issues)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Helius RPC&lt;/strong&gt; for reliable Solana connection with fallback&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Jito multi-endpoint&lt;/strong&gt; for bundle submission&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; for wallet storage and launch history&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt; for deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The bs58 Problem
&lt;/h2&gt;

&lt;p&gt;One early issue: bs58 v6 broke with webpack. The fix was pinning to v4.0.1 and adding a webpack alias:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// next.config.ts&lt;/span&gt;
&lt;span class="nx"&gt;webpack&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;alias&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;bs58&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;require&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;bs58&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Bundle Architecture
&lt;/h2&gt;

&lt;p&gt;Each launch creates a Jito bundle with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Token deploy transaction&lt;/li&gt;
&lt;li&gt;Up to 20 buy transactions from separate wallets&lt;/li&gt;
&lt;li&gt;Fee transaction (separate, after bundle confirms)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The bundle gets submitted to multiple Jito endpoints simultaneously for maximum landing rate.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Building on Solana is fast but unforgiving. Transaction failures are silent, RPC nodes go down, and Jito tips need to be high enough during peak hours or bundles simply don't land.&lt;/p&gt;

&lt;p&gt;The biggest lesson: always have a fallback RPC. Helius + sequential fallback saved me many headaches.&lt;/p&gt;




&lt;p&gt;If you're building on Solana or launching tokens on pump.fun, check out &lt;a href="https://solbundler.app" rel="noopener noreferrer"&gt;SolBundler&lt;/a&gt; &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pcc5bzxts9a4i61synt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4pcc5bzxts9a4i61synt.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>cryptocurrency</category>
      <category>showdev</category>
      <category>web3</category>
    </item>
  </channel>
</rss>
