<?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: Steve F</title>
    <description>The latest articles on DEV Community by Steve F (@compustable).</description>
    <link>https://dev.to/compustable</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%2F3878927%2Fb8fc170b-f9ea-4bdb-9bc2-f68e33a0b8aa.png</url>
      <title>DEV Community: Steve F</title>
      <link>https://dev.to/compustable</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/compustable"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Steve F</dc:creator>
      <pubDate>Tue, 14 Apr 2026 16:49:27 +0000</pubDate>
      <link>https://dev.to/compustable/-5a15</link>
      <guid>https://dev.to/compustable/-5a15</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp" class="crayons-story__hidden-navigation-link"&gt;The Solana Buffer Recovery Problem Nobody Talks About&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/compustable" class="crayons-avatar  crayons-avatar--l  "&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%2Fuser%2Fprofile_image%2F3878927%2Fb8fc170b-f9ea-4bdb-9bc2-f68e33a0b8aa.png" alt="compustable profile" class="crayons-avatar__image" width="574" height="583"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/compustable" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Steve F
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Steve F
                
              
              &lt;div id="story-author-preview-content-3500790" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/compustable" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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%2Fuser%2Fprofile_image%2F3878927%2Fb8fc170b-f9ea-4bdb-9bc2-f68e33a0b8aa.png" class="crayons-avatar__image" alt="" width="574" height="583"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Steve F&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Apr 14&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp" id="article-link-3500790"&gt;
          The Solana Buffer Recovery Problem Nobody Talks About
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/solana"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;solana&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/blockchain"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;blockchain&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
    </item>
    <item>
      <title>The Solana Buffer Recovery Problem Nobody Talks About</title>
      <dc:creator>Steve F</dc:creator>
      <pubDate>Tue, 14 Apr 2026 15:57:20 +0000</pubDate>
      <link>https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp</link>
      <guid>https://dev.to/compustable/the-solana-buffer-recovery-problem-nobody-talks-about-34cp</guid>
      <description>&lt;p&gt;If you've ever deployed a Solana program with a hardware wallet as the upgrade authority, you've probably hit this wall.&lt;/p&gt;

&lt;p&gt;You write a buffer. You try to upgrade. And then you realize — there's no way to sign the upgrade instruction from your hardware wallet without exporting a private key or routing through middleware that the runtime rejects.&lt;/p&gt;

&lt;p&gt;I lost 1.659 SOL to a locked buffer before I figured this out.&lt;/p&gt;

&lt;p&gt;The Root Cause&lt;br&gt;
Every Solana admin instruction — program upgrades, authority transfers, buffer closes — must be a top-level transaction signed directly by the upgrade authority.&lt;/p&gt;

&lt;p&gt;This is a security invariant baked into the BPFLoader runtime. It will never change. It's not a bug. It's the design.&lt;/p&gt;

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

&lt;p&gt;CLI tools fail. solana program upgrade requires a keypair file on disk. Hardware wallets can't export private keys — that's the whole point of cold storage.&lt;/p&gt;

&lt;p&gt;Squads fails. Squads connects to hardware wallets but routes instructions through CPI (cross-program invocation). The BPFLoader permanently rejects upgrade instructions that arrive via CPI. Squads isn't broken — it's just architecturally incompatible with this requirement.&lt;/p&gt;

&lt;p&gt;Hardware wallet apps fail. Tangem, Keystone, and others support DeFi transactions but have no interface for BPFLoader admin operations.&lt;/p&gt;

&lt;p&gt;What Actually Works&lt;br&gt;
The only path that works is submitting the BPFLoader instruction as a top-level transaction signed directly by your hardware wallet via WalletConnect v2.&lt;/p&gt;

&lt;p&gt;Here's the flow that works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Write buffer via CLI (binary write is fine from CLI)&lt;br&gt;
solana program write-buffer ./target/deploy/my_program.so&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Set buffer authority to your hardware wallet&lt;br&gt;
solana program set-buffer-authority  \&lt;br&gt;
 --new-buffer-authority &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sign the upgrade instruction directly from your hardware wallet&lt;br&gt;
→ This is the step that was missing&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step 3 is what I couldn't do. The upgrade instruction needs to be a top-level transaction with your hardware wallet as the signer — not routed through any middleware.&lt;/p&gt;

&lt;p&gt;Recovering Locked SOL&lt;br&gt;
If you've already got a buffer locked with a hardware wallet as authority and no way to close it, the same problem applies. The CloseBuffer instruction must also be a top-level transaction signed by the buffer authority.&lt;/p&gt;

&lt;p&gt;I recovered 1.659 SOL from exactly this situation. Here's the mainnet transaction:&lt;/p&gt;

&lt;p&gt;4hqkevNyKubRawDhYULYT7W2FqWnerk38fts4MNM1bsVoCzEzzFBENANzqLaLF1AWx8QgiZxcg4Vosgc8JsW5huw&lt;/p&gt;

&lt;p&gt;Single Tangem NFC tap. No CLI. No Squads.&lt;/p&gt;

&lt;p&gt;The Tool I Built&lt;br&gt;
After hitting this problem I built WalletDeploy — a browser-based tool that constructs BPFLoader instructions and signs them via WalletConnect directly from any hardware wallet.&lt;/p&gt;

&lt;p&gt;What's live on Solana today:&lt;/p&gt;

&lt;p&gt;Deploy new programs (cold wallet is upgrade authority from block 0)&lt;/p&gt;

&lt;p&gt;Upgrade programs&lt;/p&gt;

&lt;p&gt;Extend programs&lt;/p&gt;

&lt;p&gt;Transfer upgrade authority&lt;/p&gt;

&lt;p&gt;Recover locked SOL from orphaned buffers&lt;/p&gt;

&lt;p&gt;Emergency shutdown / reactivate AI agent programs&lt;/p&gt;

&lt;p&gt;No install. No signup. Free during beta. Works with Tangem, Keystone, Ngrave, Ellipal — any WalletConnect v2 wallet.&lt;/p&gt;

&lt;p&gt;The Broader Pattern&lt;br&gt;
This isn't just a Solana problem. Every blockchain runtime enforces the same invariant — administrative instructions must be top-level transactions signed directly by the authority. EVM proxy upgrades (upgradeTo, transferOwnership), Near contract upgrades, Sui package upgrades — same pattern, different instruction encoding.&lt;/p&gt;

&lt;p&gt;EVM support is coming Q2 2026.&lt;/p&gt;

&lt;p&gt;If You're Stuck Right Now&lt;br&gt;
If you have a locked buffer or need to upgrade a program and your upgrade authority is a hardware wallet:&lt;/p&gt;

&lt;p&gt;Go to walletdeploy.com&lt;/p&gt;

&lt;p&gt;Connect your hardware wallet via WalletConnect&lt;/p&gt;

&lt;p&gt;Select your operation&lt;/p&gt;

&lt;p&gt;Tap to sign&lt;/p&gt;

&lt;p&gt;Questions or feedback: &lt;a href="mailto:dev@walletdeploy.com"&gt;dev@walletdeploy.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>solana</category>
      <category>blockchain</category>
      <category>security</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
