I spent the last few weeks solving one of the most annoying problems for Telegram Web3 creators:
Manual subscription management.
Today, Iโm excited to launch @PassGramApp an open-source Telegram Mini App powered by TON Smart Contracts. ๐งต
github.com/DabosHub/PassGram
5
39
1,134
๐ง๐ต๐ฒ ๐ฒ๐๐ฐ๐ฟ๐ผ๐ ๐ฐ๐ผ๐ป๐๐ฟ๐ฎ๐ฐ๐ ๐ฏ๐ฒ๐ต๐ถ๐ป๐ฑ ๐๐ฃ๐ ๐ป๐ฒ๐๐ฒ๐ฟ ๐๐ฒ๐ฒ๐ ๐๐ต๐ฒ ๐ฑ๐ฒ๐ฎ๐น ๐๐ฒ๐
๐. ๐๐ ๐ต๐ผ๐น๐ฑ๐ ๐ฎ ๐๐ถ๐ด๐ป๐ฒ๐ฑ ๐ฝ๐ฟ๐ผ๐ผ๐ณ ๐ผ๐ณ ๐๐ต๐ฒ ๐ณ๐ฟ๐ผ๐๐ฒ๐ป ๐ฃ๐ฎ๐ฝ๐ฒ๐ฟ, ๐๐ต๐ฒ ๐จ๐ฆ๐๐ ๐ฎ๐บ๐ผ๐๐ป๐, ๐๐ต๐ฒ ๐ฝ๐ผ๐๐ ๐๐ถ๐บ๐ฒ ๐ฎ๐ป๐ฑ ๐๐๐ผ ๐๐ฎ๐น๐น๐ฒ๐๐. ๐ง๐ต๐ฎ๐ ๐ถ๐ ๐ฒ๐ป๐ผ๐๐ด๐ต ๐๐ผ ๐๐ฒ๐๐๐น๐ฒ ๐ฎ ๐ฝ๐ฎ๐ถ๐ฑ ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ผ๐ฟ ๐ฝ๐ผ๐๐ ๐ผ๐ป ๐๐ฎ๐๐ฒ.
How it is built, for anyone working on onchain escrow:
๐ข๐ณ๐ณ-๐ฐ๐ต๐ฎ๐ถ๐ป: ๐๐ต๐ฒ ๐ฃ๐ฎ๐ฝ๐ฒ๐ฟ
One Paper per deal, edited in place. Only the company edits commercial terms. The creator requests changes or writes the content. Every change goes into a change log with who made it. When the creator accepts, the Paper freezes and nobody can edit it.
๐ข๐ป-๐ฐ๐ต๐ฎ๐ถ๐ป: ๐๐ถ๐ด๐ป๐ถ๐ป๐ด
The company signs first. Its wallet calls signCampaignAgreementAsCompany with the frozen Paper, plus the amount, publication time and ad type. That call binds the company wallet. The creator signs second and must sign the exact same Paper, or the call reverts with HashMismatch. The creator's wallet is bound at that signature. Parties are CPC account IDs, not social handles.
๐๐๐ป๐ฑ๐ถ๐ป๐ด
fundEscrow pulls exactly the signed amount plus a 5% fee paid by the company. The fee goes to the treasury in the same transaction. The creator gets the full agreed amount. The contract refuses funding later than 1 hour before the post time. If the deal is unfunded at post time, it expires and nothing moves.
๐๐ฒ๐น๐ถ๐๐ฒ๐ฟ๐
CPC never posts. The creator publishes from their own account and attaches the link, and CPC checks that it belongs to the agreed account and platform. Then the creator's wallet calls confirmPublication on-chain. The contract rejects a confirmation before the post time. Nobody reviews the content unless there is a dispute.
๐ฆ๐ฒ๐๐๐น๐ฒ๐บ๐ฒ๐ป๐
From confirmation, the company has 24h to call confirmRelease or openDispute. After 24h, autoRelease is permissionless. Anyone can call it, and our scheduled job does, so the creator doesn't have to.
๐๐ถ๐๐ฝ๐๐๐ฒ๐
Only the company's wallet can open one. CPC answers four yes/no checks against the signed Paper: account and platform, ad type, content, and published within post time + 1h. A separate arbitrator wallet signs the ruling through issueRuling, and the payout happens in the same call. All yes pays the creator. Any no refunds the company. The contract never splits a payout.
Source is verified on Basescan.
๐ฃ๐ฟ๐ผ๐
๐: ๐ฌ๐
๐ฏ๐ญ๐ฑ๐๐ฎ๐๐๐ฑ๐ฎ๐ต๐ฐ๐ญ๐๐ฐ๐ฏ๐ด๐ฐ๐ด๐๐ณ๐ต๐ฌ๐ฎ๐ฑ๐ด๐ฌ๐ฐ๐ฑ๐ฏ๐ญ๐ฒ๐ฏ๐ณ๐ฏ๐๐ฏ๐ญ๐ฒ๐ฌ๐ณ
The chain doesn't need the terms. It needs proof that both sides signed the same ones.
NEW UPDATES on CPC:
1. Campaigns: run several creators in one campaign and see spend and post results in one place
2. Creator profiles: completed CPC deals become a public track record
3. The official escrow contract on Base, source verified on Basescan
1
2
45
๐๐ณ ๐๐ผ๐'๐ฟ๐ฒ ๐ฟ๐๐ป๐ป๐ถ๐ป๐ด ๐ฎ ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ผ๐ฟ ๐บ๐ฎ๐ฟ๐ธ๐ฒ๐๐ถ๐ป๐ด ๐ฐ๐ฎ๐บ๐ฝ๐ฎ๐ถ๐ด๐ป, ๐๐ต๐ฎ๐'๐ ๐๐ผ๐๐ฟ ๐ฏ๐ถ๐ด๐ด๐ฒ๐๐ ๐ฐ๐ต๐ฎ๐น๐น๐ฒ๐ป๐ด๐ฒ?
Finding the right influencers?
Measuring real engagement?
Tracking clicks and conversions?
Or knowing where your budget actually goes?
๐๐ฒ๐'๐ ๐๐ฎ๐น๐ธ ๐ฎ๐ฏ๐ผ๐๐ ๐ถ๐ ๐
cpcapp.io
3
20
252
๐๐๐ถ๐น๐ฑ๐ถ๐ป๐ด is not about writing code every day. It's about turning ideas into something real, solving problems, and showing up even when progress feels slow.
๐๐ฒ๐ฒ๐ฝ ๐ฏ๐๐ถ๐น๐ฑ๐ถ๐ป๐ด. ๐๐ฒ๐ฒ๐ฝ ๐๐ต๐ถ๐ฝ๐ฝ๐ถ๐ป๐ด. ๐๐ฒ๐ฒ๐ฝ ๐ด๐ผ๐ถ๐ป๐ด.๐
7
17
196
As developers and builders, exploring each other's products and diving into their details is a form of developmental inspiration.
Just as designers practice visual inspiration, we need to feed our developer mindset by exploring business models, product identities, design systems, user experiences, and different approaches to building.
Drop your product below๐, and let's feed our development minds together. ๐
cpcapp.io
1
111
Hey #builders
Would you agree?
Focusing on one product that solves a real market need is far better than spreading your efforts across every idea that comes to mind, only to abandon it after days or weeks of building and move on to the next one.
Focus. Validate. Build. Stay committed. ๐
2
57
Guys ๐
Let's learn from each other's experiences as builders and founders.
What's the biggest lesson you've learned on your journey to building a successful startup?
Mine: Having a clear plan for what comes AFTER building the product is more important, and often harder, than building the product itself.
Before writing your first line of code, know exactly how you'll launch, acquire customers, and turn them into repeat paying customers.
What's your biggest lesson? ๐
2
51
Just hit my first 1,000 followers on X as a developer building in public! ๐
A small milestone, but a big motivation to keep building, sharing, and connecting with this amazing community.
This is just the beginning. I won't stop, and I hope we all keep going until we achieve something great together.
On to the next 1K! โค๏ธ
4
6
146
Sometimes I work for days, weeks, and long hours without seeing any results.
But I have one rule: Keep going.
Sometimes I change my approach, try a different way, or rethink my steps. But I never stop.
Because there's something inside me that keeps telling me: You'll get there. You'll achieve what you're aiming for.
The strange part? It never tells me how or when.
So, I'll just keep going. ๐
2
8
110
Earn PassGram Affiliate Rewards! ๐ฐ
Know someone running a Telegram VIP channel? Refer them to PassGram and earn 20% of PassGramโs platform fees on every transaction processed through your referral link!
โก๏ธ How it works:
1๏ธโฃ Open @PassGramBot & grab your referral link.
2๏ธโฃ Share it with Telegram channel creators.
3๏ธโฃ When they connect their channel, PassGram charges a tiny 2.5% fee on subscriptions, and 20% of that fee goes straight to your wallet automatically via TON Smart Contractsโforever!
๐ Start earning today: t.me/PassGramBot/passgram
๐ Learn more: passgram.io
2
131
Why open-source?
Because security & trust come first in Web3.
Anyone can inspect our smart contracts and codebase on GitHub.
I also listed on @tonblockchainโs official app directory (ton.app/app/passgram). No hidden code. No full channel permissions needed.
1
295
If you run a Telegram VIP group or signal channel, try it out today!
๐ค Bot: t.me/PassGramBot
๐ท Web: passgram.io
Feedback is always welcome. Letโs build on TON!
537







