<?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: Fkylol</title>
    <description>The latest articles on DEV Community by Fkylol (@fkylol).</description>
    <link>https://dev.to/fkylol</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2120689%2F2ec4088a-62aa-416c-9a23-526f8b78ee17.jpeg</url>
      <title>DEV Community: Fkylol</title>
      <link>https://dev.to/fkylol</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fkylol"/>
    <language>en</language>
    <item>
      <title>I built a Telegram bot that only answers after a Solana payment — here's the paywall design</title>
      <dc:creator>Fkylol</dc:creator>
      <pubDate>Fri, 09 Oct 2026 20:00:15 +0000</pubDate>
      <link>https://dev.to/fkylol/i-built-a-telegram-bot-that-only-answers-after-a-solana-payment-heres-the-paywall-design-4m1</link>
      <guid>https://dev.to/fkylol/i-built-a-telegram-bot-that-only-answers-after-a-solana-payment-heres-the-paywall-design-4m1</guid>
      <description>&lt;p&gt;Built with heavy AI assistance while learning TypeScript — every test below runs real transactions, roast away.&lt;/p&gt;

&lt;p&gt;I'm solo, first launch. I wanted a crypto Q&amp;amp;A bot that actually earns, without Stripe (micropayments + France = pain).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The design: pay with a transaction, not an account.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User asks my Telegram bot anything → &lt;a href="https://t.me/SolKestrelbot" rel="noopener noreferrer"&gt;live demo here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Bot replies with my Solana address + price (0.1 SOL).&lt;/li&gt;
&lt;li&gt;User sends SOL, then pastes &lt;code&gt;!verify &amp;lt;signature&amp;gt; &amp;lt;their-address&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Bot fetches the transaction and checks: confirmed, no error, SystemProgram transfer of the right amount, from the right sender, to my wallet.&lt;/li&gt;
&lt;li&gt;Valid → LLM answer (Groq, free tier) + their Telegram ID is linked, so next questions skip the proof.&lt;/li&gt;
&lt;li&gt;Every signature is stored in SQLite — reuse = instant reject (anti-replay).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Code (MIT Lite): &lt;a href="https://github.com/Fkylol/solpay-bot" rel="noopener noreferrer"&gt;https://github.com/Fkylol/solpay-bot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stack, 100% free:&lt;/strong&gt; ElizaOS runtime, Groq LLM, CoinGecko prices, Solana Devnet for tests, PGlite + SQLite local.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I learned:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;X's free API tier can't read anything (402 on timelines/mentions). My whole "reply on X" plan died there — Telegram (free read+write) saved the project.&lt;/li&gt;
&lt;li&gt;Groq sometimes returns empty replies: one automatic retry fixed it.&lt;/li&gt;
&lt;li&gt;UX trap: my 60s anti-spam cooldown fired on new users' second message. Now only paid users are throttled.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Biggest open question:&lt;/strong&gt; pay-per-question vs monthly subscription for a bot like this? Would love your takes.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Pro version with the full paywall + commercial license + support ($49): &lt;a href="https://fkylo.gumroad.com/l/solpay-bot" rel="noopener noreferrer"&gt;https://fkylo.gumroad.com/l/solpay-bot&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
    </item>
  </channel>
</rss>
