<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Building Thaw]]></title><description><![CDATA[Building Thaw]]></description><link>https://ashafza.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 01:25:00 GMT</lastBuildDate><atom:link href="https://ashafza.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I built a token vesting app and refused to write a smart contract]]></title><description><![CDATA[Originally published on Medium. Every token on Solana comes with the same chores. Vest the team. Vest the investors. Lock the treasury so holders believe…]]></description><link>https://ashafza.hashnode.dev/i-built-a-token-vesting-app-and-refused-to-write-a-smart-contract</link><guid isPermaLink="true">https://ashafza.hashnode.dev/i-built-a-token-vesting-app-and-refused-to-write-a-smart-contract</guid><category><![CDATA[Solana]]></category><category><![CDATA[Web3]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[startup]]></category><dc:creator><![CDATA[Ash A]]></dc:creator><pubDate>Thu, 26 Nov 2026 21:51:52 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://medium.com/@ash_a_73774/i-built-a-token-vesting-app-and-refused-to-write-a-smart-contract-bb66f46a6a00">Medium</a>.</em></p>
<p>Every token on Solana comes with the same chores. Vest the team. Vest the investors. Lock the treasury so holders believe it won't be dumped. Airdrop to the community. And every tool that does this charges you twice: a flat fee, plus a slice of the tokens.</p>
<p>The slice is what hurts. At Streamflow's published prices (October 2026), a token lock costs 0.16 SOL plus 0.5% of the tokens. Lock a $1M team allocation and you've paid $5,000 to prove you won't sell.</p>
<p>So I built Thaw (thaw.fi). It went live on Solana mainnet on 12 November 2026. The most important decision came before any code: I wouldn't write a smart contract.</p>
<h2>The contract I didn't write</h2>
<p>The obvious way to build a vesting product is to write your own vesting program. Then you need audits, and users have to trust code nobody has seen before. Every new program also splits unlock data into one more silo nobody reads.</p>
<p>But Jupiter already had one. Jupiter Lock (<code>LocpQgucEQHbqNABEYvBvwoxCPsSbG91A1QaQhQQqjn</code>) handles cliffs, linear unlocks, cancel permissions, recipient changes and Merkle-root airdrops. Sec3 and OtterSec audited it in 2024. Its upgrade authority is a multisig.</p>
<p>So Thaw is a website that builds transactions for a program it doesn't own. Your tokens go from your wallet straight into a Jupiter Lock escrow, and you sign every step yourself. If thaw.fi vanished tomorrow, every vesting would keep running, and recipients could claim with any other app that speaks Jupiter Lock.</p>
<p>That sounded like the easy path. It wasn't.</p>
<h2>Things nobody tells you about building on someone else's program</h2>
<p><strong>There's no IDL on-chain.</strong> Jupiter publishes an SDK on GitHub, so I copied its interface definition. Then I didn't trust it. I wrote a script that decodes real mainnet escrows and simulates real transactions against the live program, to prove the copy matches what's deployed.</p>
<p><strong>The official npm package didn't fit.</strong> It's published under a personal npm scope, and its token-account helper always assumes the classic token program, which breaks Token-2022 tokens. So Thaw has its own client, written against the same interface.</p>
<p><strong>Phantom didn't like us.</strong> Jupiter Lock needs a throwaway keypair to co-sign every new escrow. Our transactions triggered Phantom's warnings until a Phantom reviewer told us the fix: let the user's wallet sign <em>before</em> the throwaway key. One line of ordering, and the warnings were gone the day after launch.</p>
<p><strong>The chain is messier than the docs.</strong> To show unlock schedules for every token, Thaw indexes every escrow in Jupiter Lock, more than 420,000 of them, whichever app created them. Some store timestamps in milliseconds instead of seconds. Some hold values that overflow JavaScript numbers. Reading the whole program at once is too big for a serverless function, and it stalled our RPC provider. The full read now runs as a separate job, and the index stays in sync from there.</p>
<h2>What Thaw adds on top</h2>
<p>Jupiter Lock is a primitive. Even Streamflow's own comparison posts describe it as a bare escrow for technical teams. Thaw is everything a team needs around it:</p>
<ul>
<li><strong>Templates:</strong> team (4 years, 1-year cliff), investor, advisor, daily stream and token lock, or your own schedule, unlocking every minute to every month.</li>
<li><strong>Many recipients at once:</strong> paste a CSV, sign up to 10 vestings per wallet approval.</li>
<li><strong>Airdrops to up to 100,000 wallets</strong> from one funding transaction. Recipients claim from a link.</li>
<li><strong>Squads multisig:</strong> every vesting is a proposal, and members approve and execute them in bulk.</li>
<li><strong>Proof for your community:</strong> each lock has a public page, a share image for X and an embeddable widget.</li>
<li><strong>Unlock data for every token:</strong> per-token unlock pages and a ranking of the biggest upcoming unlocks at <a href="https://thaw.fi/unlocks">thaw.fi/unlocks</a>, free and with no wallet.</li>
</ul>
<h2>Pricing</h2>
<ul>
<li>Vesting or lock: <strong>0.05 SOL + 0.15%</strong> of the tokens. The same $1M lock costs $1,500 instead of $5,000.</li>
<li>Airdrops: <strong>free to create</strong>. Recipients pay about 0.014 SOL to claim, a 0.008 SOL fee plus Solana rent.</li>
<li>Claiming, cancelling and closing: free.</li>
</ul>
<p>The fee is part of the same transaction that creates the vesting. You see it before you sign.</p>
<h2>What it doesn't do</h2>
<p>I'd rather you hear this from me:</p>
<ul>
<li><strong>No clawback.</strong> Jupiter Lock can't take back unclaimed airdrop tokens. Streamflow can.</li>
<li><strong>No staking, auto-claim or price-based unlocks.</strong> Those need a program of your own, and that's the trade I chose not to make.</li>
</ul>
<p>If you need those, Streamflow is the better fit. If you want audited escrows, open data and lower fees, try Thaw.</p>
<h2>Try it</h2>
<ul>
<li>Create a vesting, lock or airdrop: <a href="https://thaw.fi/create">https://thaw.fi/create</a></li>
<li>Biggest upcoming unlocks on Solana: <a href="https://thaw.fi/unlocks">https://thaw.fi/unlocks</a></li>
<li>Guides, including a side-by-side Thaw vs Streamflow comparison: <a href="https://thaw.fi/guides">https://thaw.fi/guides</a></li>
<li>For developers: <a href="https://dev.to/ashafza/how-to-read-any-solana-tokens-unlock-schedule-from-jupiter-lock-typescript-3phn">How to read any Solana token's unlock schedule from Jupiter Lock</a></li>
</ul>
<p>Thaw is built and run by Altivia Oy, a small company in Finland. Questions and feedback: <a href="mailto:contact@thaw.fi">contact@thaw.fi</a>.</p>
]]></content:encoded></item></channel></rss>