<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anuj DG on Medium]]></title>
        <description><![CDATA[Stories by Anuj DG on Medium]]></description>
        <link>https://medium.com/@half_baked?source=rss-cf6ed17fab76------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-2qwUa3Gxp3EgT3wAOJkDA.jpeg</url>
            <title>Stories by Anuj DG on Medium</title>
            <link>https://medium.com/@half_baked?source=rss-cf6ed17fab76------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:07:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@half_baked/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[CleanApp.io: Realtime Mapping the Proof of Real Work In Our World]]></title>
            <link>https://medium.com/smart-transactions/cleanapp-io-realtime-mapping-the-proof-of-real-work-in-our-world-881436762d80?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/881436762d80</guid>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Fri, 19 Sep 2025 15:59:33 GMT</pubDate>
            <atom:updated>2025-09-19T23:25:03.683Z</atom:updated>
            <content:encoded><![CDATA[<h3>CleanApp: Realtime Mapping the Proof of Real Work In Our World</h3><p>There is a fundamental attitude all too common in every human life since time immemorial that has been essential to our survival and the thriving beyond it. This is the attitude that allows us to live on, knowing fully well of our mortality. We live as if we will not die, or as if we will somehow be able to skip it. Or when are able to carry on caring about the little details of the many means, just as we hold on to some level of deniability about the inevitability of the end for which the means exist. This attitude also aids us in enjoying fleeting moments, doing something that we know will come to an eventual end. For example, playing a sport as if the fact that in a few hours we will be done with it is not true at the current moment.</p><p>This is also the same attitude that opens up the space in our lifestyle choices to keep making choices that are bad for the environment as if global warming is a far off reality that for today is not our problem, even though we can softly but surely feel the effects of it already. The same goes for our death, which age is that soft but sure indicator of that march of inevitability of the end, but would not deter us from living our lives, does not cripple us.</p><p>What is good in one aspect of life, turns out to be detrimental in another.</p><p>Maybe as we humans evolved to have this acute consciousness of the passage of time, we had to also learn to cope with this passing by developing our strong capacity of denial. What helped us survive and not commit mass suicide (coz might-as-well as we will die anyways, life’s a drag, why even bother), came back at us what is now helping us postpone everything we have to do to stop this global warming, this climate crisis which should be priority numero uno.</p><p>There are many forms to this. Delayed gratification is denial of gratification. A goal not today is a goal never. Eating a burger makes you fat <em>tomorrow</em> but if it made us fat instantly, we would be stopping it. We understand and are acutely aware of the passage of the time but we are also able to be put that awareness on the side for the time being to live a little, to destroy a little. Two sides of the same (bit)coin.</p><p>Freud called it <em>verleugnung</em> (English: disavowal, denial) and sometimes as <em>verwerfung</em> (English: foreclosure, rejection). They capture the classic formula: “I know very well, but nevertheless…”</p><p>To resolve this paradox (of knowing all to well but still acting otherwise), this inherent self-contradiction in our relationship with the passage of time, what helps is creating <em>incentives</em> that otherwise provide means to bring closer the far-off effects to the now, that help close the loop between cause and effect in a concretely felt and most importantly, <em>immediate</em> way.</p><p>Economics is the pathway to hack immediacy into our lives. This is the incentive alignment pathway. Making feedback loops faster and shorter is the key here. Between the food and its effects on our body, between the plastic bottle in the river and the fish that is negatively affected by it, between the bug in our fav app on our phone and its fix. We need a tool, an app where feedback can be sped up, where anyone reporting anything can get the response asap, can get rewarded asap, where all the reports gets responses asap. This is what we built as an app: <a href="http://www.cleanapp.io">CleanApp</a>.</p><blockquote>Without CleanApp: You click a photo of a dumpsite and in a week you get a response that it cleaned up. <br>With <a href="https://cleanapp.io/download?refid=2AQseqYzGS">CleanApp</a>: You click a photo of a dumpsite, you get rewards immediately. You respond to that photo by cleaning up the dumpsite, you get rewards immediately.</blockquote><p>Without CleanApp: You eat salad, skip the burger, and do that for a week, then you see some results. <br>With <a href="https://cleanapp.io/download?refid=2AQseqYzGS">CleanApp</a>: Everyday you eat well, you take a pic of your meal, you get rewards immediately.</p><p>The reward is immediate. It is crypto. The reward is what connected the cause now to the effect in 10 days. Crypto rewards hold the connection between the cause and the effect. It creates a virtual layer of bridging the gap in time between the cause and the effect.</p><p>How to evaluate which reports are worthwhile for rewards, and if a reponse actually caters to the report it claims to? The CleanApp AI engine carries that out. To find out the correct responsible parties to be sent that report, where to draw the responses from, all of this is managed by the AI. Users of the app can add actions to be performed when responding but which checking whether it has been done as per a response, is the job of AI.</p><p>Currently, we have close to 1M cleaners worldwide. Bridging the gap between intentions and actions. You want X, CleanApp it (eg, click a button to send a report) get rewarded instantly. In other words, Proof of Useful Work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RXZssdXdypTyb0eLgKxM5A.png" /><figcaption>CleanApp reports in the physical realm (dumpsites, potholes, various problems)</figcaption></figure><p>Institutions, property owners, get consolidated reports of every form of feedback that exists for their asset from their users. CleanApp becomes the ultimate dashboard for quality control, every brand has its CleanApp score which aggregates all of the feedback that has been reported in the app. You are responsible for the quality of your product? CleanApp is the one stop shop for acquiring all of the feedback and responding in app to your users with photo proofs of the fixes and the changes that you did.</p><p>For every response, you as the brand get rewards and the users get rewards for reporting. Every company, public institution, brand owner who is getting the consolidated reports, ends up having their own Ethereum Address. They could do a claim-your-business type of flow to claim their Ethereum Address. Onboarding every insitution and brand in the world onto the Ethereum blockchain.</p><p>The whole world onchain, every bit of feedback from everyone in an objective notarized store, instant rewards for every good behavior (Proof of Useful Work), all Real World Assets onchain as a result. This is CleanApp creating a map of the real world in all its minute details, a map of every object and brands that exist with quality control and feedback mechanisms that are instant, immediate and fully verifiable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1bYmQGKOYYBbt6_nSKm29w.png" /><figcaption>CleanApp reports in the digital realm (bugs, feature requests, feedback, etc.)</figcaption></figure><p>100% open source, completely free to use, the world’s easiest way to send &amp; receive feedback. Try it today:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ccavKYxTCMsX28Gp6u9qdg.png" /><figcaption>CleanApp (iOS &amp; Android)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=881436762d80" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/cleanapp-io-realtime-mapping-the-proof-of-real-work-in-our-world-881436762d80">CleanApp.io: Realtime Mapping the Proof of Real Work In Our World</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of the Internet is Transactions]]></title>
            <link>https://medium.com/smart-transactions/the-future-of-the-internet-is-transactions-c23e2420792d?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/c23e2420792d</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[decentralized-ai]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Mon, 14 Jul 2025 10:00:35 GMT</pubDate>
            <atom:updated>2025-07-17T13:40:47.817Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*72joeEtUWdp_AQSL" /><figcaption>No, not just these types of transactions. But everything as transaction, although not everything is transactional.</figcaption></figure><p>Since Nakamoto invented Crypto, there’s only been one true revolution in it. Ethereum! It introduced programmability to the tech underlying Bitcoin (blockchain), thereby introducing a new system of money-like software, a new paradigm to the world of tech: where you could create new types of coins/tokens, each with its own (token)economics. This is the world of dApps, decentralized Apps, each app secured with its own tokenomics.</p><p>All was going to be perfect, we were promised the World Computer, the web but decentralized, the Internet with secure value transfer inbuilt. There was one problem though that ruined it all. It was slow and expensive and lacked privacy. Where does the root of the problem? It’s in Transactions.</p><p>Performance lags in blockchains are not to be found in some chain itself or some miner/validator or dapps. It really comes down individual transactions being slow (<em>low throughput</em>) and expensive (<em>high gas</em>) and public (<em>having its input and output readable by anyone scanning the chain</em>). All of the problems followed downstream from this. Every other innovation in the last 10 years, even since Ethereum burst into the scene, has been attempts at fixing this tripartite problem. Be it new chains such as zcash (fixed privacy), Solana (perf/cost), Aptos, Monad, or Bridges to connect these many chains, like LayerZero, it all comes down to trying to fix that original problem.</p><blockquote>This is the Original Sin of Crypto:</blockquote><blockquote>Transactions are slow, expensive, and lack privacy.</blockquote><blockquote>Fixing transactions fixes crypto, fixes the web.</blockquote><p>Trying to fix this problem, and we have new independent L1s and even L2s on Ethereum — bringing in the new problem of liquidity fragmentation. Bridges then got built to fix that problem, which became honeypots for security exploits. This is what we get when fixing symptoms and not the root cause. Fixing the root causes requires radically rethinking transactions.</p><p>We don’t need another chain, or easier UX for wallets and Dapps. What we need are transactions that are fast, cheap, private. This is the holy grail for crypto breaking open the TAM of 1% of the world to 100% of the world, much like the Web2. We need plugins to existing chains, to make transactions process faster, cheaper, and with full privacy. This is what we are building at <a href="http://www.stxn.io">Smart Transactions</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.loom.com%2Fembed%2Fbcf21036d22f49f1807fab8fe83929c4&amp;display_name=Loom&amp;url=https%3A%2F%2Fwww.loom.com%2Fshare%2Fbcf21036d22f49f1807fab8fe83929c4&amp;image=https%3A%2F%2Fcdn.loom.com%2Fsessions%2Fthumbnails%2Fbcf21036d22f49f1807fab8fe83929c4-76b9346c5148311b.gif&amp;type=text%2Fhtml&amp;schema=loom" width="1280" height="960" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea05154c6604e7909125b8ea7eccf6c6/href">https://medium.com/media/ea05154c6604e7909125b8ea7eccf6c6/href</a></iframe><p><strong>What is the lowest common denominator between users, dapps, validators, stakers, solvers, oracles, bridges? Transactions! </strong>All of these actors operate via transactions as the only means of communication among each other. Transactions are the most basic form of common ground, one that spans across all of the layers of the tech stack. Fixing tansactions fixes crypto, fixes the Internet.</p><p>At the end of the day, what are transactions? They are very simple artifacts. They just do two things at its core: (1) Send or receive crypto, and (2) call a smart contract. That’s it. <em>Transactions reflect what every online/onchain/irl interaction comes down to: exchange value, and do a computation.</em> And this is not just limited to crypto, even transactions on Web2 and for that matter, Databases, engage in these two styles of interaction only. Understanding this, makes us realize that we need to be able to upgrade the transactions framework, irrespective of which chain or layer or Web2 or Web3 — as long as these two styles of interactions are fast, cheap and private, we have solved the holy grail of all online and onchain interactions.</p><p>Building a new chain is a massive undertaking, but upgrading the transactions, much more of a direct and goal oriented path to success. Metrics for success: Have we improved the speed and cost and privacy of transactions in existing chains and web2? What is thus, absolutely necessary is to be able to upgrade the transaction framework of the Internet without zero or minimal changes to the underlying protocol of existing chains and systems of online and onchain interactions.</p><blockquote>This is what we are asking everyday at STXN:</blockquote><blockquote>How can we make transactions faster, cheaper, private with zero protocol changes?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OO4ADzAAXfSG26DDn6Tv1A.png" /><figcaption>The Future Is Here.</figcaption></figure><p><strong>What does the Solution look like? A crosschain solver network.</strong> That can take intents or prompts to convert it to Intents. Where transactions are batched and processed offline but proofs available onchain, and need zero changes to L1 protocols.</p><ol><li>The mempool should be public (for censorship resistance) yet each transaction could choose to mask its details without having to remove the strict mandate of following the legality of those transactions.</li><li><a href="https://medium.com/smart-transactions/become-a-liquidity-provider-with-zero-capital-and-zero-lvr-risk-fd1784192659">Liquidity provisioning needs to be capital efficient</a>, so no lockins of LP beyond the individual transactions that needs it, thus, Just-In-Time and concentrated LPs.</li><li>Bridges that are opened and closed just before and after individual transactions, thus JIT bridges (or Crossings, as we like to call them)</li><li>Atomicity that can span <a href="https://medium.com/smart-transactions/async-l1-execution-for-crosschain-execution-via-timecapsules-afe368f85439">beyond a single slot</a>, thus, powering new primitives such as multiblock crosschain flash loans (maybe even <a href="https://medium.com/smart-transactions/async-l1-state-transitions-research-update-a9a6df46c9d4?source=user_profile_page---------4-------------cf6ed17fab76----------------------">Async Block Production</a> in the future).</li><li>Onchain wallets, where the user could set constraints around what sort of yield they want, and solvers could use the dust to give them yield.</li><li>Transactions <a href="https://mevolution.io/abstract/introducing_smart_transactions">that could embed complex logic</a>, much like what EIP7702 does.</li><li>Transactions which link to other transactions if they have dependencies, <a href="https://medium.com/smart-transactions/smart-transactions-are-semantic-transactions-stxn-3f9ba44fc3a2?source=user_profile_page---------1-------------cf6ed17fab76----------------------">a more meaningful way</a> to describe and process intents where even prompts could turn into transactions.</li><li>Virtual custody of user assets: Users own their assets as they hold their private keys, but operators can be delegated to loan some of the assets for specific purposes, such as for signing moves in a game or using it in LPs</li><li>Virtual L2s: Ephemeral/temp L2s created between a few slots to enhance transaction throughput and reduce costs but syncing back in and closing the L2 just as the verification of the compute is over.</li><li>Lazy evaluation of transaction state so as to be able to feed the latest/greatest I/O via Oracles (be as lazy as can be afforded)</li></ol><p>In many ways, this is akin to framing the mempool as a program (no more a static list of pending transactions) itself and the same for transactions. If this excites you, please join us at <a href="http://www.stxn.io">www.stxn.io</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.loom.com%2Fembed%2Fea799a6ad1df4c4c89cafbade35a3497&amp;display_name=Loom&amp;url=https%3A%2F%2Fwww.loom.com%2Fshare%2Fea799a6ad1df4c4c89cafbade35a3497%3FfromJoinRequest%3Dtrue&amp;image=https%3A%2F%2Fcdn.loom.com%2Fsessions%2Fthumbnails%2Fea799a6ad1df4c4c89cafbade35a3497-cce4bba7928605bc.gif&amp;type=text%2Fhtml&amp;schema=loom" width="1920" height="1440" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fd586b3985b8e2d05d2231cf998dead/href">https://medium.com/media/3fd586b3985b8e2d05d2231cf998dead/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c23e2420792d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/the-future-of-the-internet-is-transactions-c23e2420792d">The Future of the Internet is Transactions</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOS for Smart Operating System]]></title>
            <link>https://medium.com/smart-transactions/sos-for-smart-operating-system-8834e87942f9?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/8834e87942f9</guid>
            <category><![CDATA[systems-thinking]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 17:53:53 GMT</pubDate>
            <atom:updated>2025-06-29T17:53:53.882Z</atom:updated>
            <content:encoded><![CDATA[<h3>SOS for Smart Operating System: Make your devices smart</h3><h4>Bringing the STXN vision of a Smartverse to every single device in the world</h4><p><em>(Part notes, part random idea, fully research, 100% implementable)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C0HqyboYZXW4X3pW" /></figure><p>The Smart Operating System (SOS) reimagines the traditional file system by elevating every <em>user-level file</em> from a passive data container to an active, context-aware <em>agentic entity</em>. In SOS, <strong>every file is also an agent</strong> — imbued with embedded runtime logic, contextual awareness, and the ability to proactively interact with users, autonomously manage itself, and seamlessly collaborate with other files and systems. This visionary OS architecture replaces the static nature of conventional files with dynamic, intelligent behavior deeply integrated into the operating system itself. For example:</p><ul><li>An image file could recognize patterns in your interactions (e.g., frequent zooming on specific areas) and proactively highlight similar regions or recommend related images.</li><li>A text document could dynamically adjust its formatting based on usage patterns or integrate seamlessly into workflows via conversational prompts.</li><li>The folder hierarchy could self-defragment or rearrange itself based on semantic relationships between files.</li></ul><h3>How S/TXN birthed S/OS?</h3><p>Started out as a simple yet powerful exercise that <a href="https://medium.com/u/7e3dc6459714">CleanApp</a> (Boris, our CEO at STXN) did. He turned our STXN dataroom into a GPT hosted at <a href="https://smart.stxn.io/">https://smart.stxn.io/</a> Worked out really well with investors who could converse with it all their DD questions, and as well as devs would want to build on STXN.</p><p>Now we are building an internal tool to input any doc that we have turn it into a GPT. Some examples:</p><ol><li>I would do a slide-deck to explain the next phase of protocol to the devs, resulting in some discussion to settle on a spec doc. But now? I would just have a call and share a link with all of my ideas as a GPT that all the devs would keep feeding to have it then settle on the final spec. Similar to presenting your paper as a <a href="https://martinfowler.com/bliki/ComputationalNotebook.html">Computational Notebook</a> but on steroids.</li><li>Creating a plugins for all internal and external comms tool where anyone can discuss with everyone even if they are not online as their ideas have been turned into a GPT.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eY9G3RzPE4QebXFu44n0bw.png" /><figcaption>The STXN Vision @ <a href="https://medium.com/smart-transactions/reflections-on-jensens-keynote-on-ai-solvers-settlement-and-the-synthetic-mind-679495297c86">https://medium.com/smart-transactions/reflections-on-jensens-keynote-on-ai-solvers-settlement-and-the-synthetic-mind-679495297c86</a></figcaption></figure><h3>In SOS, every (userland) file = an agent</h3><p>Traditional files are inert unless invoked by an application; by contrast, <strong>agentic files</strong> carry their own logic and can act autonomously based on their content and context. In practice, each file in SOS is enriched with metadata and code that allow it to <em>understand</em> its content and purpose, maintain state about its usage, and even trigger actions. Every file, regardless of type (text, image, spreadsheet, etc.), becomes capable of proactive behavior:</p><ul><li><strong>Context-Awareness:</strong> An agentic file monitors how and when it’s used. For instance, a text document <em>“knows”</em> if it’s been frequently opened in the morning or associated with certain projects.</li><li><strong>Embedded Logic:</strong> The file contains embedded scripts or bytecode (specific to its type) that can execute in a sandboxed manner. This logic might, for example, let an image file automatically generate a caption or let a spreadsheet suggest related data files when opened.</li><li><strong>Interactivity:</strong> Files can communicate with the user or other files. A presentation file might proactively ask the user if they want the latest figures from a related spreadsheet, effectively breaking the barrier between files as isolated objects.</li></ul><p>Each file is turned into one or more <em>file agents</em> — lightweight processes or threads that act on behalf of the file’s content. These file agents collectively form a society of processes within the OS, cooperating through standardized protocols. Thus, the <strong>agentic logic is embedded in each file’s structure</strong>. Practically, this could mean extending file formats by using auxiliary metadata streams. For example, a PDF in SOS might include a serialized script (perhaps in WebAssembly or Lua) that the OS knows how to execute for that file type. The OS’s file system metadata (<em>inodes</em> or extended attributes) could flag the presence of agent logic and its entry point. Crucially, this logic is persistent and moves with the file — if the file is copied to another SOS system, its agent capabilities travel with it.</p><p>To coordinate these file agents and provide them with rich context, SOS employs a <strong>persistent file indexer service</strong>. This is akin to a background knowledge graph or (or time-series databases) that tracks:</p><ul><li><strong>Content Summaries:</strong> A semantic index of each file’s contents (keywords, topics, detected objects in images, etc.).</li><li><strong>Usage History:</strong> Temporal and contextual metadata (when opened, by which applications, in response to what user activity).</li><li><strong>Inter-file Relationships:</strong> Links between files (file A was derived from file B, file C is an email attachment referencing file D, etc.). These links might be inferred automatically or explicitly set by the file agents.</li></ul><p>The indexer serves as the collective <em>memory</em> for all files, enabling them to act in a contextually intelligent way. For instance, if the user frequently uses three specific files together (say a code file, its compiled binary, and a README), the next time one is opened, its agent can query the indexer and <em>suggest opening the others</em>. Additionally to making file search more richer, it also fuels proactive agent behavior. This draws inspiration from Semantic Desktop projects (like NEPOMUK), and as well as modern cloud-driven features, such as with Google’s Quick Access in Drive where it uses machine learning on your activity patterns to <em>“intelligently predict the files you need before you’ve even typed anything”</em>[ <a href="https://drive.googleblog.com/2016/09/save-time-with-quick-access-in-drive.html#:~:text=Today%2C we’re launching Quick Access%2C,before you’ve even typed anything">Source</a> ]. SOS brings this idea to the OS level — rather than a cloud service, natively on the device: each file (as its own agent) and the OS indexer collaborate to surface the right file or information at the right time.</p><h3>How to turn Files into Agents?</h3><p>Building Profiles — for each file in terms of the smart behaviors that could be associated with it — always running in the background, updating it with every access. (Imagine thetouch command on Linux updated the agent profile associated with that file.)</p><p>When a file is created or first loaded on an SOS system, the OS invokes a content-specific <em>Agent Initializer</em>. This could leverage existing AI models to bootstrap the file’s agentic profile (e.g., generating a summary via an LLM, or tagging an image with detected objects via a vision model). The initializer registers the file with the indexer, populating initial context. From then on, the file agent updates the indexer as the file is used (e.g., recording that “file X was edited after meeting-notes Y, and emailed to Z”). Over time, the persistent index grows into a local knowledge graph of user data. This design ensures that context is maintained <em>across all user-level files</em>, enabling truly <strong>proactive interactions</strong> — your files collectively “know” what you’re working on.</p><p>This approach of files as its own agents has a much larger consequence in POSIX style OSes since all I/O devices are considered to be files. SOS would, by default, then upgrade all ports and devices for POSIX into smart ones. Now if that POSIX device with SOS running on it, is connected to the Internet with other such devices, then the communication could have a higher degrees of intelligence native to it.</p><blockquote>Network sockets, printers, monitors, all interacting with each other in ways that could detect by itself when and how to be used. For example, when finishing an article, your keyboard would know that it is a good idea, based on your profile, to print it out or upload it to the cloud. Or, you can query your printer, in a conversational tone, was a particular idea even written down as a paper that was printed through it.</blockquote><p>On Windows style devices, we can create wrappers around device drivers and handles, to have them act as file, in order to replicate some of this behavior to a certain extent.</p><p>To maintain performance and privacy, the indexer would likely reside in the kernel or a privileged system service, and could utilize efficient data stores (as Nepomuk evolved to use SQLite/LMDB/Xapian for indexing). The indexer exposes query interfaces for file agents to fetch relevant context quickly. This could even be implemented as a system call or as a virtual file (e.g., a special /proc/sos_index that agents can read to get JSON-LD or RDF data about related files).</p><h3>Bootstrapping OS Intelligence with AI Models</h3><p>In the early stages of SOS development, before every file type has specialized agent logic, the system can lean on powerful AI models to provide intelligence. Large Language Models (LLMs) and Vision models serve as generic “brains” to infer context and intent from files:</p><ul><li><strong>Language Model Integration:</strong> Textual files (documents, emails, code) can be analyzed by an LLM to generate summaries, extract key topics, or answer questions. For example, when you open a lengthy PDF, its file agent might consult an LLM (locally or via a service) to produce a quick synopsis or highlight potentially relevant documents in your system.</li><li><strong>Vision Model Integration:</strong> Image and video files’ agents use vision AI to recognize objects, faces (respecting privacy settings), or text via OCR. This metadata (e.g., “image contains a cat and a sunset”) is stored in the indexer, so searching for “sunset photos” becomes trivial. More importantly, the image agent can proactively suggest, <em>“This photo looks similar to others taken at Paris — would you like to see an album?”</em></li></ul><p>During initial implementation, these AI-powered inferences provide the <strong>semantic lift</strong> needed to make otherwise opaque files understandable to the OS. This approach mirrors how current LLM-based “AI assistants” are being embedded into systems. In fact, a recent research prototype called AIOS proposes “embedding a large language model into operating systems as the brain of the OS, enabling an operating system ‘with soul’” [ <a href="https://arxiv.org/html/2403.16971v2#:~:text=often%20leading%20to%20bottlenecks%20and,core%20challenges%20it%20aims%20to">Source</a> ].</p><h3>Deep Kernel-Level Integration (VFS and Filesystem API)</h3><p>Implementing agentic files requires modifying the OS at a low level — specifically, integrating into the <strong>kernel’s Virtual File System (VFS) layer and possibly the inode (file metadata) structures</strong>. The VFS is responsible for abstracting file operations (open, read, write, exec, etc.) across different filesystem types. By extending the VFS, SOS can intercept file events and inject agent behavior seamlessly.</p><p>To maintain backward compatibility, we will not be introucing a new file type, rather use the existing one with the indexer building profiles associated to each file type. This layer would override operations such that:</p><ul><li>On file <strong>open</strong>, the OS checks if the file has an associated agent. If so, it may spawn or wake the agent (a lightweight process) and notify it of the open event along with context (which application is opening it, etc.). The agent could then perform any proactive action (e.g., pre-fetching related files, or logging the access).</li><li>On file <strong>read/write</strong>, the agent could similarly be notified (perhaps via in-kernel callbacks or userland hooks). For example, after a file is written (saved), the agent might index the new content or version-control it automatically in the background.</li><li>On file <strong>execute</strong> (if the file itself is an executable script/agent), the OS ensures it runs in a controlled environment with access to OS APIs to query context.</li></ul><p>Historical prototypes prove that such deep integration is feasible. For instance, the <em>Active File System</em> project (an extension of the MINIX file system on Linux) added hooks to automatically log file operations and even trigger user-defined commands in response to those operations <a href="https://pages.cs.wisc.edu/~remzi/Classes/736/Spring2000/Project-Writeups/DebEvan.html#:~:text=Image%3A the active daemon ,viability of these different approaches">[ Source ]</a>. The authors demonstrate that the filesystem can be configured to execute arbitrary actions when certain files are accessed <a href="https://pages.cs.wisc.edu/~remzi/Classes/736/Spring2000/Project-Writeups/DebEvan.html#:~:text=Image%3A the active daemon ,viability of these different approaches">[Source]</a>. SOS builds on this idea: rather than fixed triggers or logging, it generalizes the concept so that <strong>each file carries its own trigger logic</strong>. The kernel modifications would likely include:</p><ul><li><strong>New inode flags/structures:</strong> to mark files as agent-enabled and to store a reference to the agent code or VM.</li><li><strong>Extended system calls or ioctls:</strong> to allow agents to register for callbacks on their file’s events, or to perform operations like “suggest related file” which might be a new primitive.</li><li><strong>Scheduler adjustments:</strong> since now many files may spawn agent processes, the OS scheduler might treat them with lower priority or segregate them to ensure they don’t overwhelm normal tasks. These agents can be thought of as a new class of system service, akin to how modern OSes handle background tasks or daemons.</li></ul><p>The deep integration also implies altering the <strong>file system API</strong> available to applications. However, an important design goal is that <em>existing applications continue to work with no changes</em>. The agent capabilities are additive. So a regular application doing open(&quot;report.docx&quot;) gets the file as usual – under the hood, the OS might have consulted the file’s agent to, say, cache some data, but from the app’s perspective nothing is different. This transparency is key to maintaining compatibility.</p><p>One could imagine providing new APIs that apps <em>can</em> opt into — for example, an application might query the OS like “give me the suggested related files for file X” or “subscribe me to updates from file X’s agent.” But these are extensions, not requirements.</p><p>It’s worth noting that modifying an OS kernel and VFS is non-trivial. Initially, a faster path might be using FUSE (Filesystem in Userspace) to prototype an SOS-FS on Linux or macOS without kernel rebuilds. Eventually, to minimize overhead and latency, a true in-kernel implementation would be preferable. Modern microkernel or extensible kernel designs (e.g., Linux with loadable modules, Windows with filter drivers) could accommodate these changes. The result is an OS where <strong>the filesystem is not a passive store but an active, semantic layer</strong>.</p><h3>Interoperability and POSIX Compliance</h3><p>To drive adoption, SOS must interoperate with existing standards and systems. That means maintaining <strong>POSIX compliance</strong> and general backward compatibility. POSIX (Portable Operating System Interface) defines the standard C interfaces, shell behaviors, and utilities expected of a Unix-like OS. SOS can introduce new capabilities without abandoning the old:</p><ul><li><strong>Standard File Calls:</strong> The open/read/write/close calls behave normally (with perhaps minor timing differences due to agent activity). A text editor opening a file will still receive exactly the bytes of the file’s content as it expects — the fact that an agent also ran in the background doesn’t change the file’s data.</li><li><strong>File Paths and Namespaces:</strong> SOS will continue to present a conventional directory hierarchy (e.g., POSIX pathnames like /home/user/Documents/report.docx). Under the hood, these might map to a more complex object store or database, but this is abstracted by the VFS. This design is akin to how new filesystems (e.g., NTFS with alternate streams, or Linux’s /proc and /sys virtual filesystems) present additional functionality while <em>still looking like normal files</em> from the outside.</li><li><strong>Cross-Platform Data:</strong> Agentic files should degrade gracefully on non-SOS systems. For example, if you copy an agentic file to a standard Linux machine, the file should still open and contain the original data (albeit without the agent behavior running). This could be achieved by storing the agent metadata in an alternate data stream or a separate sidecar file that non-SOS OSes ignore. Compatibility layers might also allow SOS to run on top of other kernels as a subsystem.</li></ul><p>By ensuring these measures, SOS aims for <strong>incremental adoption</strong> rather than requiring a revolutionary rewrite of software. Much like how Windows and Linux can share files, or how a Mac can mount an NTFS drive and ignore the Windows-specific features, SOS can coexist. In fact, SOS might be implemented as an extension <em>on top of</em> an existing kernel (one could imagine a specialized Linux distribution with SOS capabilities layered on). Thus, SOS seeks to <strong>bring new semantics to files without breaking existing binaries</strong>. This lowers the barrier for cross-platform adoption: developers and users can try SOS on one machine while still interacting with others.</p><h3>Conversational Shell and Agent-Driven Workflows</h3><p>In an SOS environment, the traditional boundary between the user, shell, and files blurs. The <strong>kernel and shell work jointly to enable conversational, agent-driven file operations</strong>. This manifests in two ways:</p><ol><li><strong>Conversational Interfaces:</strong> The command-line shell (or graphical assistant) in SOS is AI-powered and context-aware. Users can interact with the OS in natural language to perform complex tasks that involve multiple files. For example, a user might say or type: <em>“Find the budget spreadsheet from last Q3 and send it to Alice.”</em> In a conventional OS, this would require the user to manually search for the file, then attach it to an email. In SOS, the shell parses this request (with the help of the LLM perhaps) and the file agents come into play.</li><li><strong>Agent-Driven File Operations:</strong> Files in SOS can initiate operations on their own or through collaboration. For example, upon saving a document, its file agent might ask the shell to <em>suggest versioning</em> (“You’ve saved Contract_v3, do you want to archive Contract_v2?”). Or, when you open a folder in the GUI, the system (with help of file agents inside) might autonomously organize its contents by topic or project rather than a static order, effectively restructuring folder hierarchies on the fly to suit your current task. Another scenario: A file agent detects that the file hasn’t been opened in a long time and suggests moving it to an “Archive” or uploading to cloud storage to save space.</li></ol><p>These behaviors turn the OS into a more proactive, self-organizing system. They are enabled by the cooperative logic embedded in files and a <strong>shell that is receptive to agent requests</strong>. Technically, this might mean the shell provides APIs or a messaging bus where file agents can post notifications or suggestions, which are then presented to the user. Crucially, these interactions are <strong>constrained by user permissions and preferences</strong>. The user still and always remains in control — SOS’s intelligence augments the user’s workflow but doesn’t override commands unless explicitly allowed.</p><p>The result is an environment where working with the computer feels less like issuing low-level commands and more like collaborating with a smart assistant that understands your files and tasks. This <strong>conversational computing</strong> paradigm is part of a broader industry trend to reduce the friction in interfacing with complex systems.</p><h3>Integration with the Semantic Web and Cross-Device Intelligence</h3><p>The divide between online versus offline diminishes as the locally installed OS becomes part of the semantics web vision of Tim Berners-Lee. This is the Semantic World, where some services live in the web and some offline.</p><p>This is because SOS’s design naturally extends to a networked world of devices. Each SOS-enabled device (be it a PC, phone, or IoT gadget) can become a node in a <strong>Semantic Web infrastructure</strong>, contributing to and drawing from a distributed knowledge base. The notion of linking data semantically is in line with the Semantic Web vision. SOS embraces this by making each file an addressable piece of knowledge, not just a blob of bytes.</p><p>How this builds toward a <em>Smartverse</em>:</p><ul><li><strong>Semantic Linking:</strong> Files on an SOS device could be identified by URIs (uniform resource identifiers), and their metadata can be expressed in standard formats like RDF (Resource Description Framework). For instance, your <em>ProjectPlan.docx</em> file could have a URI like sos://mydevice/files/ProjectPlan and an RDF description that it “type: Document, topic: Project X, relatedTo: ProjectProposal.pdf, createdBy: Alice, dueDate: 2025-06-30” etc. When two SOS devices connect (or sync via cloud), they can exchange such metadata, enabling cross-device search and reasoning. This is akin to a local <strong>Linked Open Data</strong> cloud for your personal or organizational data.</li><li><strong>Federated Reasoning:</strong> With semantic data from multiple devices, the system can perform higher-level reasoning. Consider a user with a laptop and a phone, both running SOS. The laptop might know “Document A references file B (which is on the phone).” When the user is on the laptop and opens Document A, its agent can proactively pull file B from the phone (through a secure channel) because the devices cooperate. Federated reasoning also implies that devices can answer queries collectively: you could ask, “Do I have any files related to <em>Project X</em> across my devices?” and get a consolidated answer. Under the hood, each device’s SOS indexer might answer for its local files and a coordinator agent merges the results — or a cloud service might index the summary metadata from all devices.</li><li><strong>Cross-Device Workflows:</strong> Building on the above, an SOS device network supports seamless continuation of tasks. A file’s agent could even migrate if needed — for example, a <em>video editing project file</em> might offload heavy rendering tasks to a desktop from a tablet. The concept of mobile agents has been explored academically, where <em>“we could conceptualize an object space of agents as a dynamic community”</em> and agents advertise their capabilities so that work can be routed to the appropriate onediva-portal.org. SOS could allow file agents on different devices to engage in such a dance. A simpler scenario is semantic subscription: your phone’s SOS knows you’re editing a document on the PC and can automatically fetch the final copy or display a notification when it’s done, because the document’s agent announces state changes to your personal cloud or directly to the other device.</li></ul><p>Implementing Semantic Web standards ensures <strong>interoperability beyond just SOS systems</strong>. For example, an SOS device could expose a SPARQL endpoint (a query interface for RDF data) for authorized queries. Enterprise knowledge management systems or web services could query your device for certain data (given permission), and your device can understand queries like “find all &lt;File&gt; with &lt;topic&gt; = ClimateChange”. This moves towards an internet of data where your OS is not an island but part of a globally <strong>interlinked data ecosystem</strong>.</p><p>Security and privacy are paramount here — semantic linking does not mean everything is public. But it means if you choose, your files can participate in a larger graph. One could integrate with initiatives like Solid (decentralized data pods) or simply ensure the SOS’s semantic metadata aligns with common ontologies (FOAF, schema.org, etc.) to facilitate meaning exchange.</p><p>In essence, SOS devices become first-class citizens of the Semantic Web: each file agent can publish a fragment of knowledge that others (or external AI agents) can consume. This enables <strong>federated intelligence</strong>, where, for example, a personal AI assistant (maybe running in the cloud) could reason over your entire dataset (across devices) by consuming these semantic descriptors, rather than scraping raw files. It’s a step toward realizing the decades-old dream of ubiquitous computing and knowledge at your fingertips — with SOS, the files themselves help curate and deliver that knowledge.</p><h3>SOS for Embedded/IoT: Agentic Edge Devices</h3><p>Embedded systems and IoT devices stand to benefit from SOS concepts by making each data-generating device <em>agentic</em>. The idea of an “Operating System for the Physical World” has been discussed in the context of Edge AI [ <a href="https://www.galaxy.com/insights/perspectives/the-agentic-edge-a-new-operating-system-for-the-physical-world#:~:text=beyond rigid%2C deterministic software and,for linear logic to scale">Source</a> ]. IoT devices today often produce streams of data (sensor logs, images, etc.) that get shipped to the cloud or remain underutilized. With SOS:</p><ul><li><strong>Edge Autonomy:</strong> Each device’s data files (or data streams) have agents that can analyze and act on the data right on the device. For example, a security camera’s video file agent could detect anomalies (via an embedded vision model) and only alert or upload relevant clips, reducing bandwidth and improving response times. This aligns with the Edge AI principle: *“embedding intelligence directly into devices at the edge enables localized decision-making, ultra-low latency response times, and resilience when connectivity is unreliable” [same source as above] In other words, IoT devices become smarter by not being passive data sources but active decision-makers through their file agents.</li><li><strong>Inter-device Collaboration:</strong> In an IoT network (say a smart home or a factory floor), SOS devices could form a collaborative mesh. If each device’s OS speaks a common agent protocol, they can coordinate. Consider a smart home where the thermostat’s agent, the lighting’s agent, and the occupant’s smartwatch agent collaborate to optimize comfort and energy usage. If the watch detects the user fell asleep, it could notify other agents to dim lights and adjust temperature. This is moving from “Internet of Things” to <strong>Internet of Agents</strong> — devices that negotiate and cooperate. The <em>Agentic Edge</em> concept describes moving beyond rigid scripts to *“decentralized, context-aware, goal-seeking edge agents”, exactly what SOS would provide in embedded form.</li><li><strong>Data as Self-Describing:</strong> IoT deployments produce huge amounts of data, and making sense of it is a challenge. With SOS, each data artifact (a log file, a sensor reading batch, an image) can carry meta-information and processing routines. A soil moisture sensor file might carry logic to compute watering recommendations. When that file is pulled into a central system, it could <em>present not just raw numbers but insights</em>. This eases integration of heterogeneous devices — each knows best how to interpret its data, so the central system can just ask the file agent for a summary or a normalized format.</li><li><strong>Updatability and Evolution:</strong> IoT often suffers from devices that are hard to update (leading to security issues or obsolete behavior). If devices have file agents that can be updated or replaced remotely (in a secure manner), the fleet can gain new capabilities without full firmware upgrades. For instance, an energy monitor’s data agent could be updated with a new AI model for anomaly detection by simply dropping in a new agent file, without reflashing the whole device OS.</li></ul><p>Companies operating in IoT could adopt SOS concepts in their device OS or middleware. Given the resource constraints of embedded devices, these agents would be lightweight — possibly implemented in C or Lua, etc., with inference models optimized for edge (using quantization or tinyML techniques). However, the payoff is significant: smarter devices that can function independently if needed, aligning with the trend that *“the most transformative AI applications will occur in the real world, not behind cloud servers”</p><h3>Conclusion</h3><p>The Smart Operating System (SOS) represents a foundational rethinking of how digital systems interact with data. It redefines the file from a static, inert object into a dynamic, autonomous agent capable of contextual awareness, embedded reasoning, and proactive behavior. In SOS, every user-level file is an agent — able to initiate tasks, collaborate with other agents, and adapt over time based on user interaction and system context. This transformation marks a shift from tool-driven to agent-driven computing, where users no longer simply operate on files but collaborate with them.</p><p>SOS introduces these capabilities through a deeply integrated yet incrementally adoptable architecture. Kernel-level extensions to the Virtual File System (VFS) and inode structures allow agentic behaviors to execute seamlessly alongside traditional file operations, preserving full POSIX compatibility and enabling legacy applications to function unmodified.</p><blockquote>Intelligence is bootstrapped through LLMs and vision models, with persistent contextual indexing allowing files to reason about their usage patterns and relationships. This creates a self-organizing, semantically aware file system — one that anticipates user needs and optimizes workflows.</blockquote><p>Productization of SOS can begin with its release as a user-space plugin or kernel extension layered on top of existing operating systems. This allows early adoption without demanding a complete OS migration. Over time, SOS can evolve into a standalone OS, with Linux-based, Windows-compatible, and macOS-flavored variants tailored to different hardware and ecosystem constraints.</p><p>Commercialization paths are diverse and robust. SOS can be licensed per device or per user, with tiered subscriptions unlocking cloud-enhanced features such as federated semantic search, cross-device context sync, and model-powered automation. Usage-based pricing models may apply to compute-heavy agentic operations in enterprise contexts. A developer SDK and agent/plugin marketplace will support a vibrant third-party ecosystem, enabling vertical-specific agents that enhance core SOS functionality. On the hardware front, SOS can be bundled with smart devices — home hubs, industrial sensors, edge gateways — accompanied by managed service contracts and firmware-level support.</p><p>Beyond desktops and servers, SOS extends to the edge and into the fabric of the Semantic Web. Each device becomes a node in a global knowledge network, exposing files as semantic resources and enabling federated reasoning across personal and organizational boundaries. In embedded and IoT environments, files and data streams become self-interpreting and locally actionable, creating systems that are resilient, cooperative, and continuously evolving.</p><p>Ultimately, SOS is more than a next-generation operating system — it is infrastructure for ambient intelligence. It positions the file system as a living substrate for AI-native computation, where data and software converge into autonomous, interactive entities. This is a paradigm in which operating systems don’t just run processes — they collaborate, learn, and co-create with users. By reimagining every file as an agent, SOS defines a new era in which computing becomes truly semantic, agentic, and collaborative by default.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8834e87942f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/sos-for-smart-operating-system-8834e87942f9">SOS for Smart Operating System</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smart Transactions are Semantic Transactions (STXN)]]></title>
            <link>https://medium.com/smart-transactions/smart-transactions-are-semantic-transactions-stxn-3f9ba44fc3a2?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f9ba44fc3a2</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[mev]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Tue, 24 Jun 2025 15:16:28 GMT</pubDate>
            <atom:updated>2025-06-24T15:16:28.095Z</atom:updated>
            <content:encoded><![CDATA[<h4>STXN is not just smart transactions. It is also semantic transactions. They are virtually equivalent.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*njGk1tTqhcu8MNqs" /></figure><p><strong>Semantic Transactions (STXN)</strong> is a paradigm in which transactions and smart contracts are designed to <em>self-describe</em>, <em>self-discover</em>, and <em>interoperate</em> and find <em>relationships</em> amongst each other intelligently through semantic metadata.</p><blockquote>Drawing from the *Semantic Web* principles, STXN enables transactions to expose not just their data but also their context, constraints, relationships (dependencies, affiliations), and functional equivalences. These kinds of metadata form the basis of their ‘semantics’. This empowers transactions to autonomously order themselves in the most optimal sequence, as well as to cluster, collaborate, and optimize execution paths.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FdS3NRPu5L9s%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdS3NRPu5L9s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FdS3NRPu5L9s%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/18d758b177fe71b0e145ba854fd88a19/href">https://medium.com/media/18d758b177fe71b0e145ba854fd88a19/href</a></iframe><h3>Mining the Meaning behind transactions</h3><p>These semantics can either be <strong>natively embedded</strong> or <strong>mined/inferred</strong> from raw transactional data using AI (LLMs, deep learning, and graph intelligence) and symbolic reasoning (symbolic exec with fuzzing and summarizing). In traditional systems, transactions are “inert”: logs of state change with no understanding of <em>why</em> or <em>how</em> they relate. STXN introduces an <strong>AI-powered semantic extraction layer</strong> that:</p><ol><li>Parses raw transactions, logs, and smart contract code</li><li>Extracts high-level intent, actors, dependencies, and goals</li><li>Maps them to ontologies, taxonomies, and graph structures</li><li>Generates machine-readable semantic wrappers (JSON-LD, RDF, etc.)</li><li>Feeds into clustering, goal-matching, and reasoning systems</li></ol><p>At its core, STXN transforms traditional transactional systems from isolated command-execution units (send/receive crypto, or call a method in a contract) into interoperable, intelligent agents capable of <em>semantic reasoning</em> and <em>context-aware coordination</em>. Basically, powering smart contracts inside individual transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tIH5JaOAaqTk8mme3zZnEg.png" /><figcaption><a href="https://docs.stxn.io/concepts/what-are-smart-transactions#core-features">STXN Docs</a></figcaption></figure><h3>Example 1: Semantic DeFi Loans</h3><p>A DeFi lending smart contract defines its function in metadata:</p><pre>{<br>  &quot;@type&quot;: &quot;LoanContract&quot;,<br>  &quot;what&quot;: &quot;Provide capital to qualified borrowers&quot;,<br>  &quot;requirements&quot;: {<br>    &quot;collateral&quot;: &quot;NFT | Token&quot;,<br>    &quot;creditScore&quot;: &quot;on-chain behavior + AI inference&quot;<br>  },<br>  &quot;dependencies&quot;: [&quot;RiskAssessmentProtocol&quot;, &quot;OracleFeeds&quot;]<br>}</pre><p>Using STXN, this contract can:</p><ul><li>Discover a compatible NFT valuation oracle automatically.</li><li>Join a cluster of micro-loan contracts targeting the same region.</li><li>Update its eligibility logic by referencing external ontologies of financial trust.</li></ul><h3>Example 2: DAO Proposals as Semantic Transactions</h3><p>Instead of raw commands, DAO proposals are semantically tagged:</p><pre>{<br>  &quot;@type&quot;: &quot;GovernanceProposal&quot;,<br>  &quot;what&quot;: &quot;Increase validator rewards by 5%&quot;,<br>  &quot;why&quot;: &quot;To incentivize greater node uptime&quot;,<br>  &quot;dependencies&quot;: [&quot;TreasuryBalanceCheck&quot;, &quot;InflationPolicy&quot;],<br>  &quot;proposalID&quot;: &quot;X123&quot;<br>}</pre><p>Benefits under STXN:</p><ul><li>LLMs evaluate coherence and impact using embedded intent and logic.</li><li>Stakeholders’ voting behavior is enriched with personalized risk/benefit summaries.</li><li>Proposal auto-aligns with broader DAO strategy via goal-based clustering.</li></ul><h3>HTML to HIML (replace Text with Intents: Web2 with Web3)</h3><p>Just as users interact with websites using a hypertext medium only, which forms the basis of the Web 2.0 — HTML (with javascript and css), so should Web 3.0 uses have a comparable medium. Semantic transactions apply this design principle.</p><p>This means transactions in <a href="https://stxn.io/">STXN</a> can embed the many meanings behind them using features that are comparable to how tags work in hypertext. This is part of our general framework of using declarative approaches akin to HTML and avoid the procedural nature of encoding the logic in smart contracts. What it declares are end states that need to be and not how to reach there — these form the bases of constraints. This is our <strong>Hyper Intent Markup Language, or HIML</strong>: describe your intents in the form of constraints that dictate the end state of a transaction, embed meanings with tag like data structures in the form of metadata.</p><p>Our AI engine does a runtime analysis to build relationships between each HIML asset. In the declarative relational model of intents, semantic transactions are not just instructions to the blockchain consensus dictating its intent for state transitions, rather transactions itself also act as assets in their own right. Think of tokenizing transactions itself (and transactionalizing tokens).</p><h3><strong>Conclusion</strong></h3><p>But the meaning of a transaction is not just confined to its meatadata, in what can be embedded as the extra connections around it. It lies largely on how the transaction eventually meets its goals: every intent needs to meet its fulfillment, every transaction needs to find its liquidity. This is where the MEV like aspect of searchers/solvers/fillers come in the play.</p><blockquote>What a transaction means is how best it fulfills its goals: keeping constraints while making the most optimal execution for end-users, LPs, and then for all intermediaries involved. This question of matching supply with demand is what STXN complaint solvers are specialized to do: AI based curation to incentivize demand meets searching for liquidity across chains for every transaction. That is the success metric of how much (in $$$ terms) meaning can we extract (‘extractable value’), can we mine.</blockquote><p>Key Characteristics of Semantic Transactions (STXN):</p><ol><li><strong>Self-Describing:</strong> Transactions carry machine-readable metadata about their purpose, structure, dependencies, and intended outcomes.</li><li><strong>Discoverability &amp; Interoperability:</strong> Transactions can discover, link to, and interact with other relevant transactions, APIs, or assets through semantic similarity.</li><li><strong>Autonomous Clustering:</strong> Related transactions group into functional clusters (e.g. supply chain workflows, nested contracts, decentralized org behaviors) without human orchestration.</li><li><strong>Context-Aware Execution:</strong> AI agents reason over semantic metadata to determine optimal execution sequences, validations, or adaptations in real time.</li><li><strong>Evolvable Interfaces:</strong> Endpoints, data schemas, and smart contract APIs evolve while preserving meaning and backward compatibility via ontology-aware upgrades.</li></ol><p>We are building a crosschain intent network where transactions act not as inert events, but as agentic units of meaning. They are composable (super intents composed of other intents, creating new intents forking existing ones and merging them later), discoverable (we are introducing naming system with namespaces for oft used intents that could be turned into templates), self-evolving (learning/reinforcing), and cooperative (intents referencing each other). This shift unlocks the next generation of intelligent financial systems, decentralized governance models, and machine-led automation across Web3 and beyond.</p><p>STXNs introduce a new level of composability—not just at the level of APIs or protocols, but at a deeper semantic layer where intent and meaning become building blocks. Ultimately, this gives rise to a form of &quot;<strong>transactional intelligence</strong>,&quot; where the architecture of systems is driven by declared intent rather than rigid logic, enabling more adaptive and purpose-driven digital ecosystems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f9ba44fc3a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/smart-transactions-are-semantic-transactions-stxn-3f9ba44fc3a2">Smart Transactions are Semantic Transactions (STXN)</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflections on Jensen’s Keynote on AI: Solvers, Settlement, and the Synthetic Mind]]></title>
            <link>https://medium.com/smart-transactions/reflections-on-jensens-keynote-on-ai-solvers-settlement-and-the-synthetic-mind-679495297c86?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/679495297c86</guid>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[agi]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Mon, 16 Jun 2025 13:09:28 GMT</pubDate>
            <atom:updated>2025-06-16T15:22:16.213Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reflections on Jensen’s 2025 AI Keynote: Transactions as Agents</h3><blockquote>Tokens are not just data — they are decisions. They move us forward, simulate the world, and solve what was previously unsolvable.<br> — Jensen Huang, GTC Paris 2025</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ppQd_qYS3fQ-12GFU06LTA.jpeg" /><figcaption>POJ: Proof of Jensen (Photo: Boris Mamlyuk, CEO — Smart Transactions)</figcaption></figure><p>When Jensen opened the GTC keynote in Paris, he began with a single, radical idea: intelligence is a factory that manufactures tokens. These aren’t just symbols or words. They are programmable units of capability — generated by agentic AI systems that perceive, reason, plan, and act.</p><p>Jensen Huang’s <a href="https://www.youtube.com/watch?v=X9cHONwKkn4">GTC 2024 keynote</a> was a watershed. In the first 15 minutes, he used the word <em>“solver”</em> over two dozen times: solving protein folding, climate simulations, chip optimization. In Jensen’s framing, <strong>solvers are the fundamental unit of useful AI</strong> — systems that simulate, adapt, and decide.</p><p>In Jensen’s keynote, he showcased the simulation-based infrastructure of modern AI. Whether it’s CUDA Q for quantum-classical computing, or Omniverse for teaching humanoid robots to walk, every advance boiled down to this: solvers simulate, iterate, and execute.</p><blockquote>These AI solvers are now running Monte Carlo simulations for business planning, planning operations in agentic workflows, and modeling financial risk, medical diagnosis, even food truck launches.</blockquote><blockquote>Now here’s what’s often missed: crypto already has a native version of this. <em>Solvers</em> are core to platforms like CowSwap and Anoma. They are computational agents that match intents to liquidity, optimize execution, and protect against MEV. They route, simulate, and settle on behalf of users.</blockquote><p>At STXN, we’re making the connection that no one else has made: <strong>AI-style solvers and crypto-style solvers are two side of the same (̶Bi̶t̶)</strong>̶<strong>coin.</strong> They fall under the same family of concepts, expressed in different domains. They just haven’t met — until now with smart transactions.</p><h4>The Two Faces of Solving: AI and Crypto</h4><p>We’re now living through a convergence that redefines the idea of <em>solving</em>. On one side, we have Nvidia’s supercomputers solving protein folding, chip design, and robotics. On the other side, crypto protocols like CowSwap and Anoma solve transaction coordination, liquidity routing, and MEV defense.</p><p>In both cases, the verb is the same: <strong>to solve</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FX9cHONwKkn4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DX9cHONwKkn4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FX9cHONwKkn4%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/87598b80ef26db81939a5ee9266507ef/href">https://medium.com/media/87598b80ef26db81939a5ee9266507ef/href</a></iframe><p>At Smart Transactions, we believe the next great leap forward is <strong>connecting these two solving paradigms</strong> — fusing the high-compute, simulation-based problem-solving of AI with the decentralized, financialized, intent-based solving of crypto.</p><p>This is what we call <strong>Universal Solving</strong>.</p><p>We’re not just building infrastructure. We are building the <strong>settlement layer for intelligent agents</strong> — the place where both humans and AIs come to express intent, and get that intent interpreted, optimized, and settled.</p><h4>The Two Faces of Programming Autonomy: AI as Autonomous Intelligence</h4><p>What makes an agent intelligent? The capacity to act autonomously, as prompted but not micromanaged by humans. That same property exists already in crypto: in unstoppable contracts, confiscation-resistant assets, and protocols governed by DAOs.</p><p>The future of transactions will be <strong>agentic by design</strong>.</p><p>Every transaction will carry embedded autonomy — capable of pausing, re-routing, verifying, escalating, or executing contextually based on system inputs, prior flows, and evolving market states.</p><p>Crypto has long embodied this logic in its philosophy. What STXN is doing is bringing that <strong>into the architecture</strong>: making every transaction an intelligent, self-actualizing agent.</p><h4>The Two Sides to Solving: Supply and Demand Squeezed from Both Sides</h4><p>In the old world, developers hand-coded bots to interface with apps. But that model is collapsing.</p><p>On the <strong>supply side</strong>, STXN’s AI reads transaction intents and contextualizes them with pricing, slippage, volatility, and historical execution patterns. It doesn’t just pass the data — it <strong>annotates, interprets, and strategizes</strong>.</p><p>On the <strong>demand side</strong>, our systems constantly index RFQs, user behavior, liquidity flows, and volatility across all layers and chains. It becomes a semantic layer — <strong>anticipating needs, optimizing matches, and initiating actions</strong> before users even click.</p><p>Where these sides converge is <strong>curation</strong> — turning raw intent and supply into meaningfully packaged opportunities. The AI extracts structure from chaos, then displays or distributes it <strong>just-in-time</strong> to catalyze user engagement.</p><p>The result? A progressive narrowing of the “solver” role. As AI wraps both sides — input and output — <strong>the solver becomes the substrate</strong>, not the logic. STXN agents begin generating, deploying, and decommissioning solvers autonomously.</p><p>Instead of devs writing arbitrage bots or liquidity routers, <strong>our agents will spin up ephemeral solvers on the fly, make markets, close them, and start again.</strong></p><p>This is the <strong>solver singularity</strong>: the emergence of an <strong>unlimited, self-scaling network of solver agents</strong> operating across all chains, dApps, and coordination layers.</p><p>In that world, one party in the transaction will still be human — but the <strong>counterparty will increasingly be AGI</strong>. And as always: <strong>whoever controls transaction flow, controls the transactors’ experience.</strong></p><h4>Becoming the Settlement of Settlements</h4><p>Zoom out. Google became the <strong>site of sites</strong>. Facebook became the <strong>DM of DMs</strong>. Nvidia is building the <strong>cloud of clouds</strong>.</p><p>From a transaction perspective, STXN is building the <strong>settlement of settlements</strong>.</p><p>Every user action — whether a swap on Solana, a bridge on zkSync, or a complex DAO vote on L3 — ultimately resolves as a <strong>transactional settlement</strong>. That moment is our domain.</p><p>We’re building a <strong>meta-transaction fabric</strong> that spans all chains and abstracts all complexity. One layer up, where <strong>intents become economic flows, and value moves intelligently</strong>.</p><p>This is where context gets interpreted, liquidity gets sourced, and value gets finalized.</p><h3>Migrating Cloud to Crypto: Making All In-App Value Liquid</h3><p>How do you bring the next billion users to Web3?</p><p><strong>Not by wallets. Not by RPC endpoints. Not by asking them to care about gas.</strong></p><p>You onboard them by <strong>tokenizing what they already do.</strong></p><p>Web2 is full of latent value: Uber ratings, Airbnb reviews, Duolingo streaks. These are forms of reputational equity. They’re meaningful, but they’re non-transferable and non-monetizable — until now.</p><p>STXN unlocks that value.</p><ul><li>A 5-star Uber driver rating becomes <strong>collateral for a lease</strong>.</li><li>A TaskRabbit history becomes a <strong>verifiable work credential</strong>.</li><li>A social streak becomes <strong>stakeable cultural capital</strong>.</li></ul><p>In short: <strong>everything that creates value in Web2 becomes a financial primitive in Web3.</strong></p><p>Think of it like what <strong>private equity</strong> did to real estate and operating companies: extracting value from operational patterns, cashflows, relationships. We’re doing the same for <strong>in-app behavior</strong>.</p><p>Because <strong>every meaningful interaction is a transaction. And every transaction is monetizable.</strong></p><h3>The Endgame: Transactions = Agents</h3><p>All of this — AI solvers, liquidity routing, cross-chain matching, in-app value extraction — points to a single trajectory:</p><p>A future where <strong>agents</strong>, not people, execute and settle most transactions.</p><p>This isn’t some abstract AGI fantasy. It’s already happening in trading, in market-making, in RFQ routing. What STXN is doing is building the <strong>infrastructure that makes this accessible, interpretable, and programmable</strong>.</p><p>We’re not just building infra for humans. We’re building <strong>infra for AGI</strong>.</p><p>And we’re not just settling transactions. We are becoming the <strong>protocol where intelligence expresses intent — and gets it solved.</strong> Settlement as Agentic flows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=679495297c86" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/reflections-on-jensens-keynote-on-ai-solvers-settlement-and-the-synthetic-mind-679495297c86">Reflections on Jensen’s Keynote on AI: Solvers, Settlement, and the Synthetic Mind</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Async L1 Execution for Crosschain Execution via TimeCapsules]]></title>
            <link>https://medium.com/smart-transactions/async-l1-execution-for-crosschain-execution-via-timecapsules-afe368f85439?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/afe368f85439</guid>
            <category><![CDATA[time-travel]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Fri, 30 May 2025 11:15:25 GMT</pubDate>
            <atom:updated>2025-05-30T14:02:38.878Z</atom:updated>
            <content:encoded><![CDATA[<h3>[Explainer] Async L1 Execution (for crosschain exec) aka TimeCapsules</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VZQiF1dJvr22Bfzn" /></figure><h3>TL;DR</h3><p>Blockchains today operate with the following assumption: <strong>atomicity = single-slot</strong>. Every transaction either fully succeeds or fully fails within a block.</p><ul><li>You can’t do cross-slot flash loans.</li><li>You can’t compose multi-step DeFi workflows that wait for future conditions.</li><li>You can’t execute rollback-safe workflows over time without full reorgs.</li></ul><p>To accomplish these order-of-magnitude composability gains, Smart Transactions introduces TimeCapsules or TimeCaps. TimeCapsules are a new blockchain primitive developed by STXN that enable <em>asynchronous, multi-slot atomic transactions</em> with rollback capabilities, all on Layer 1 or crosschain. TimeCapsules allow a sequence of actions (with logic, inter-action dependencies, and external conditions) to execute across slots, react to information (e.g., oracle prices) as late as latency/liveness demands, and be <em>fully revertable</em> if something goes wrong. This enables new usecases such as around <strong>reversible transactions</strong>, <strong>multi-slot flash loans</strong>, and <strong>virtual L2s on L1.</strong></p><blockquote><strong><em>TimeCapsules redefine atomicity from being slot-bound to condition-bound</em></strong><em> (like time, state, oracles, or external triggers).</em></blockquote><p>The core innovation is decoupling atomicity from block production. Instead, atomicity becomes a function of whether a <strong>declared halting condition</strong> has been met. This can be:</p><ul><li>a duration in slots (e.g., 10 slots)</li><li>an external oracle trigger (e.g., ETH &gt; $2500)</li><li>a logical condition (e.g., all sub-transactions succeed)</li></ul><p>Until then, <strong>state changes inside the TimeCapsule are provisional</strong> while being on L1 or crosschain, sandboxed from the rest of the chain — and will either finalize or fully reset depending on the final evaluation.</p><h3>What is a TimeCapsule?</h3><p>A <strong>TimeCapsule</strong> is a logical wrapper around a group of interrelated transactions or “intents”, executed asynchronously across multiple slots, with the ability to:</p><ul><li>Delay execution of some steps until future data is available (lazy evaluation)</li><li>Reference future events or values in current transactions (like “future oracle price”)</li><li>Revert all changes inside the capsule if any part fails — even retroactively</li></ul><blockquote><strong><em>A TimeCapsule is the new atomic window</em></strong><em>, replacing the block as the unit of atomicity. Each TimeCapsule can be thought of as a Virtual Block.</em></blockquote><p>Once a TimeCapsule is opened, the included transactions form a <strong>DAG of intents</strong> (directed acyclic graph), with explicit references between them (e.g., tx A depends on tx B’s output). These are tracked in a <strong>markup format</strong> called <strong>HIML</strong> (Hyper Intent Markup Language) which forces users/dApps to declare <em>what</em> outcome they want, not <em>how</em> to compute it.</p><p>For a deeper dive, check out:</p><p><a href="https://medium.com/smart-transactions/async-l1-state-transitions-research-update-a9a6df46c9d4">Async L1 State Transitions (research update)</a></p><p>Under the hood, TimeCapsules are powered by solvers, dependency DAGs, MEV-time search, and two rollback mechanisms to be chosen based on the context (though mostly the latter one): revert-style (SAVI, Semi-Atomic Virtual Invalidation) or state-reset-style (Smart Atomicity).</p><h3>How TimeCaps work?</h3><p>At its heart, a <strong>TimeCapsule</strong> is a <strong>multi-slot atomic execution window</strong>. You define a set of smart contract actions (called CallObjects) that are to be executed only when certain <strong>future conditions</strong> are met — like a price threshold being crossed, or a time limit being reached. During its &quot;open&quot; period, the TimeCapsule records all execution attempts, tracks side-effects, and evaluates whether the final conditions for success were satisfied. If not, all intermediate states are rolled back.</p><p>This is <strong>not</strong> a Layer 2 rollup. All execution happens on L1. However, TimeCapsules offer <em>L2-like features</em> like sequenced async logic, virtual sandboxing, and MEV protection — all without moving user funds off-chain.</p><h4>Key Design Features</h4><ol><li><strong>Closing Condition</strong>: TimeCapsules must define a strict and enforceable <em>halting condition</em>. If this isn’t met, the capsule rolls back.</li><li><strong>DAG of Intents</strong>: All CallObjects are mapped into a Directed Acyclic Graph (DAG) that encodes their dependencies (e.g., call B needs output from call A). This DAG defines the order and scope of execution.</li><li><strong>Lazy Evaluation</strong>: Calls that depend on future outputs are deferred until those outputs become available — enabling logic like “execute only if ETH &gt; $3000 three blocks from now.”</li><li><strong>Rollback Semantics</strong>: On failure or unmet condition, TimeCapsules revert all side-effects — either through full-on reverts (SAVI, Semi-Atomic Virtual Invalidation) or state resets (Smart Atomicity).</li><li><strong>Side-Effect Containment</strong>: All state changes remain “transitional” until the TimeCapsule closes successfully, making these transactions safe to include mid-stream without corrupting global state.</li></ol><h3>Tx Execution Acros Multiple Slots</h3><h3>Intent-Based Design</h3><p>Each user/dApp submits <strong>intents</strong> (encoded as CallObjects): desired end states (e.g., “I want to swap ETH for USDC only if price is above X, then bridge the result to Cosmos”).</p><p>These intents are:</p><ul><li><strong>Declarative</strong> (specify goals, not steps)</li><li><strong>Composable</strong> (can depend on each other)</li><li><strong>Deferred</strong> (execute only when ready/needed)</li></ul><p>Solvers analyze these intents, discover dependency relationships, and MEV-mine them to construct viable execution paths.</p><h4>Execution Flow w/ DAGs</h4><p>Each TimeCapsule carries a <strong>DAG of </strong><strong>CallObjects</strong>, each representing a step in the transaction plan (or execution strategy). Some nodes may depend on outputs of others — including from future blocks. Solvers execute these calls lazily, only when all dependencies are resolved.</p><h4>Delayed Execution w/ Intermediate States</h4><p>Calls can be executed immediately, scheduled, or deferred. State outputs (like token balances) from one step are stored and carried over to future steps. For example:</p><pre>Step 1: Swap 1 ETH → 10,000 USDC  (only if ETH/USDC ≥ 10,000)<br>Step 2: Send USDC to Cosmos       (only if Cosmos bridge is open)<br>Step 3: Burn receipt              (only if Cosmos confirms)</pre><p>This structure mirrors <strong>Rust Futures</strong> in async programming: execution only proceeds when poll() indicates readiness.</p><h3>Atomic Rollback in a Multi-Slot World</h3><h3>Side-Effect Containment</h3><p>TimeCapsule state transitions are <strong>sandboxed</strong>. No external contract can safely rely on the provisional state inside a capsule unless it explicitly opts in (i.e., makes itself part of the capsule DAG). This avoids cascading failures.</p><h3>Conditional Execution</h3><p>The capsule enforces strict <strong>deferred execution</strong> — if an intent references a future one (e.g., “swap only if price check passes later”), it won’t run until the future condition is known and evaluated.</p><p>This protects against premature execution and enforces the causal flow of time — <strong>even if the reference goes “backward” in slot order</strong>.</p><p>Reversibility is core to TimeCapsules. If at any point during the capsule’s lifetime (say, at slot 6 of 10), a condition fails (e.g., a hack is detected, or an invariant breaks), the <strong>entire DAG is rolled back</strong>. Two rollback strategies exist:</p><h4>Strategy 1: Rollback by REVERT</h4><p><strong>Revert-based (SAVI)</strong>: Like classic EVM reverts, but across blocks. Transactions revert if out-of-order or invalidated.</p><ul><li>Each intent checks its preconditions at execution time</li><li>If any fails, everything is reverted</li><li>Think “Flash Loan-style atomicity”, extended across slots</li></ul><h4>Strategy 2: Rollback by RESET</h4><p><strong>Reset-based (Smart Atomicity)</strong>: Snapshot account states before TimeCapsule starts, and reset them if final conditions fail. Inspired by git reset, not git revert.</p><ul><li>At TimeCapsule start, take snapshots of all touched accounts</li><li>If condition fails, revert all accounts to pre-capsule state</li><li>Think “Git reset” and not “Git revert” since for the former no compensation txs needed</li></ul><h3>Solver Ecosystem</h3><p>In traditional Ethereum, the execution of a transaction is deterministic: it’s submitted, ordered by the mempool, and picked up by a block producer. There’s no real notion of <em>searching for the right time to execute</em>. In STXN’s TimeCapsule model, that responsibility shifts to <strong>solvers</strong> — specialized actors who: <strong>Monitor</strong> the network for pending TimeCapsules, <strong>Search</strong> for the optimal time (slot) and sequence to execute them, <strong>Execute</strong> the TimeCapsule logic once all dependencies and conditions are satisfied.</p><p>Thus, TimeCapsules depend on a <strong>decentralized solver network</strong> to pick up deferred transactions and execute them optimally.</p><ul><li><strong>Solvers receive tips</strong> for successful execution.</li><li><strong>Slashing</strong> applies if solvers commit but fail to finish (ensures liveness).</li><li><strong>Risk-reward models</strong> account for volatility (e.g., “I converted 1 ETH for 10,000 USDC, but ETH spiked before rollback — who pays?”).</li></ul><p>This forms a <strong>crypto-economic engine</strong> where rational actors are incentivized to only execute when success is likely — avoiding griefing or partial failures.</p><p>As an analogy, we can think of Solvers as Time Oraclers combined with Offchain Executors. In the same way that block producers are miners of “space” (block inclusion), <strong>solvers are miners of “time”</strong>. They mine not by hashpower, but by simulation, analysis, and economic optimization. This is MEV Mining.</p><h3>Use Cases and Applications</h3><p>Here’s what TimeCapsules enable:</p><ul><li><strong>Multi-Slot Flash Loans</strong> Atomic loans spanning multiple slots — borrow, operate, and repay asynchronously.</li><li><strong>Conditional DeFi Trades</strong> Execute trades only if time-based or oracle-driven conditions are met (e.g. TWAP, price bounds).</li><li><strong>Reversible Transactions</strong> Roll back actions automatically if conditions fail or when an adress marked as bad interacts with it provided it is still within the timecap window — no reorgs or L2s required.</li><li><strong>Asynchronous Order Matching</strong> Match and settle user intents arriving in different slots — securely and conditionally.</li><li><strong>Cross-Chain Token Flows</strong> Bridge assets across L1s with slot-spanning logic that validates finality before settling.</li><li><strong>Composable Async dApps</strong> Build DeFi workflows and multi-step protocols that span time, slots, and chains — with atomic guarantees.</li><li><strong>Optimistic Trustless Offchain Compute</strong> For txs that need high throughput (such as for gaming), use offchain compute but verify onchain by embedding the tx inside a timecap that is open for long enough that enough nodes have verified, and till that moment, the tx remains reversible.</li><li><strong>Crosschain txs</strong> Open timecaps on two chains, such as for Ethereum and Solana, provided their closing condition is that the other is in a valid state, making the txs across chains depend on each other for valid state transition.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afe368f85439" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/async-l1-execution-for-crosschain-execution-via-timecapsules-afe368f85439">Async L1 Execution for Crosschain Execution via TimeCapsules</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Async L1 State Transitions (research update)]]></title>
            <link>https://medium.com/smart-transactions/async-l1-state-transitions-research-update-a9a6df46c9d4?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9a6df46c9d4</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[mev]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[immutability]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Mon, 26 May 2025 07:18:35 GMT</pubDate>
            <atom:updated>2025-05-28T07:08:49.483Z</atom:updated>
            <content:encoded><![CDATA[<h4>Infra for Reversible Txs, Virtual L2s, Crosschain Multiblock Flashloans, et al</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7GLLDD8tpFeasFuV" /></figure><p><strong>TLDR: <em>Blockchains = SINGLE slot atomicity. We intend to make it MULTI.</em></strong><em><br>Consequences? Reversible Txs, multiblock flashloans, higher tx throughput on L1 aka L1 Scalability (solved w/ offchain hi-compute with fully trustless L1 rollbacks if offchain does fraud, across as many blocks needed to check for frauds), L1 enshrined L2s.</em></p><p>Sharing a quick update on one of our deep R&amp;D streams at <a href="http://www.stxn.io">Smart Transactions.</a> So we have been working on async contracts that are multiblock. Because by default the block/slot serves as the window/limit for async state transition. The moment you extend that to more than the current block, one could argue, in many ways, the essence of a slot/block gets questioned. What is even a slot/block if atomicity could be decoupled from block production mechanics/politics? // So we are <strong>introducing a new primitive: Time Capsules</strong> or TimeCap in short. // This is to be the <em>new</em> atomicity window. Before you open a TimeCap, you the user/dApp has to declare the closing condition for the TimeCap, such that it must be haltable under any circumstances. The closing condition could be as simple as num-of-slots or some condition as price level from an Oracle or more complex condition as long as it is a haltable one.</p><p><em>(In case you are wondering, </em><em>TimeCap[s] have some interesting parallels to Rust’s async paradigm, around the concept of </em><em>Future)</em></p><p>Once that closing conditions come through, either the TimeCap gets a full rollback on errors/hacks, or it finalizes on the chain. <strong>Please remember, all of these transitional state changes that are multiblock are of course all on L1.</strong></p><p>But of course even before the closing condition comes through, TimeCap will be reverted if in any of the state transition, there’s error or hack detected. This is regular atomicity behavior. So for a 10 slot duration TimeCap, if in the 6th slot, something bad happens, abort immediately and rollback all of it.</p><p>One TimeCap is structured as a DAG of transactions such that all of their side-effects can be are strictly are contained within those transactions in the DAG. The DAG does not have, and will not, in almost all cases, all of the transactions of a block, but just the ones to be side-effected. Here’s the kicker, the side-effect need to be considered not just for the current block (which is the case now), but across multiple blocks. So even if a transaction is not being side-effecting or getting side-effected in a particular slot, once it has been, it will remain in the DAG. Will remain for the entire duration of the TimeCap.</p><p>Transactions, or more properly speaking, intents, can explicitly make references to other intents, just like a hypertext, intents can link to other intents. We map it in our Hyper Intent Markup Language, HIML.</p><p>Why markup? Because it forces the intent specifying from dApps and users to be declarative (as constraints on desired outcomes) and not procedural (as step-by-step instructions). So the intents come with the state they want to transition to eventually rather than how they want to get there. That *how*, finding it out, is the job of Searching (MEV-style search paths for exec, symb exec of intents, fuzz values to see which stick, we even call it ‘<em>MEV Mining</em>’).</p><p>Our solvers MEV mine the incoming intents to discover the implicit links (Solana like) between Intents and draws them out in the construction of the DAG: which intents need which others as references to exec, with the before-after relations in terms of ordering. These dependencies between intents could be multi-block, and that is the real innovation here: how to construct the DAG for intents that reference values from later slots? You can think of it as Lazy Eval of intents.</p><blockquote>Why markup? Because it forces the intent specifying from dApps and users to be declarative (as constraints on desired outcomes) and not procedural (as step-by-step instructions).</blockquote><p>Mind you, all of this has been solved or is solvable for a single slot duration, look at Flash Loans for example. The whole challenge is extending it to multiple blocks (and multiple chains thereafter; imagine a crosschain multi slot atomicity — the kind of apps and services we can built, all trustless but with 100% rollback guarantee).</p><p>Fundamental problems driving us mad:</p><ol><li><strong>L2 sans L2 / L2 but on L1 / Virtual L2</strong>: Transitional State Changes but all of it always and only on L1. Not L2 or any other sandbox, how to sandbox on L1 coz we can not use L2s as the whole point was extending the base atomicity. We can cal it a Virtual Sandbox or even a <strong>Virtual L2</strong> (is this what folks call Enshrined L2? I don’t think so).</li><li><strong>Reverts w/o revertor</strong>: Reverts must be possible but without any centralized actor, The Revertor. We are inventing <strong>Trustless Reverts</strong>.</li><li><strong>Side-effects</strong> <strong>Prevention</strong>: side-effects should be declared to all other transactions/contracts who are not part of the DAG that defines the TimeCap, so anyone outside a TimeCap does not depend on a state transition foolishly, too much risk for them unless of course they want to (as part of their strategy) to take that risk, maybe they can mitigate it, or maybe just they can digest the loss if there be, its their problem essentially. So every transaction in a TimeCap should be clearly markable as Side-effectable, or put it in risk terms, all state transitions inside a TimeCap are Transitional (being inside some kind of a virtual <em>sandbox</em>) till the moment the TimeCap collapses.</li><li><strong>Inclusion order ≠ Exec order</strong>: Txs sent in a certain vs. how they should be executed is based on their dependencies with each other. If a before tx references value from a later tx, then the later gets eval’ed first — could even be that the before-after spread is across multiple blocks (actually, within the same block is already solvable coz of the default single slot atomicity of blockchains). We are using MEV to resolve tx exec ordering.</li><li><strong>Finalizing Already-Settled States</strong>: The whole point of a TimeCap becomes moot if someone can just exit their funds from the TimeCap BEFORE the closing of the TimeCap. Coz only on closing, is the decision taken to revert or not. Locks locks locks, could be a escrow style lock, where the TimeCap itself is one of the actors that always needs a signature for any fund to be released. In some ways, how funds need to be bridged to a L2, we do have the locking funds in a TimeCap, but locks where state transition is allowed for as long as none of the transition leads to release of funds or send funds to an exchange. There is always the risk of OTC under the table deals, even changing of hands (privKey trade with cold hard cash), nothing can be done onchain to prevent that, no illusions about that.</li><li><strong>Lazy Eval </strong>for State transition whose inputs are not available (such as for intents that refer to future intents as reference values passed from a later slot to a previous one). Wake up state intents to be evaluated only (as/when) enough of the referenced values are available to do so. To be as lazy as possible, eval till the last moment is the logic behind the TimeCap being the very final frontier with which all intents must have to be evaluated, else force a rollback.</li><li><strong>All References Resolvable Within a TimeCap</strong>: Basically, time flows back and forth, in a non-linear way, inside a TimeCap (just as the case for flash loans within a single block, we intend to extend flash loans to multiblock and crosschain in a trustless way tho). But all such references of later-before reference values passing ought to be resolvable within the TimeCap they are part of, strictly no leaks of references. The DAG should strictly enforce this.</li><li><strong>State Reset w/o Reverts</strong>: When rollbacks, the original account balances must be preserved. But only for all the transitions inside the DAG of the TimeCap. Its as if the side-effect was used to side-effect all of the state back to zero, where the TimeCap started. Good thing that blockchains, unlike classical computing, naturally keeps Snapshots which is the idea of a slot (block production: every 12 sec snapshotting for Ethereum, and every 400ms for Solana). So at whichever block the timecap was opened, we just use the balances for all the accounts inside the TimeCap, and reset the values back to that. This will be done by the smart contract controlling/managing the TimeCap, so not like any actor (or TimeCap Operator) is responsible for signing such as reset. Think of this like a Git Reset and not Git Revert. The latter would be way too expensive to do onchain. We do Resets exploiting the natural snapshotting at the heart of blockchain being about chain of blocks or chain of snapshots.</li></ol><p>With all of the above, each TimeCap starts acting as a virtual block. In fact when more and more dApps start using TimeCap[s] to the point of it being the standard, the real blockchain will be more as an underlying infra used by TimeCaps[s] while dApps never having to care about which chain they are interacting with, as their state transitions will all get virtualized. Then in the future, we will be working on async block production: produce blocks only as/when necessary based on transaction traffic (high traffic, faster slots), intents exec orderings referencing (lazy eval of intents based on their dependencies), and security budget (coz market conditions dictate base gas price).</p><p>transaction traffic X security budget needed. <strong>Blockchains → TimeChain as in Chain of TimeCaps.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D7GyWAOM-6VTdawo" /><figcaption>Nakamoto did call blockchains as timechains , the above is from his BTC code back in the day</figcaption></figure><p>How to test if our TimeCap indeed works? With an dApp of course — for a use case simple enough to use and understand but paradoxically hard to implement. Introducing: <strong>Crosschain multiblock Flash Loans</strong>. Soon onchain near you, powered by STXN.</p><p>But first on the infra level, we will have the most basic feature of “Reversible Transactions” — Reversible WITHOUT block reorgs. Once you have declared a TimeCap before sending a tx, as long as the tx is within that TimeCap, you can always reverse it. Never breaking immutability, still rollback of particular transactions beyond the current block made possible as long as all of these transactions are within a TimeCap declared <em>beforehand</em>. Much like you have to bridge your funds to an L2 first to then be able to use it, same with declare TimeCap first and then reversibility is unlocked. A crucial difference though: unlike L2s, TimeCap are not eternal, they are ephemeral by necessity, no TimeCap could be started without being able tl specify a strictly enforceable haltability criteria. No halts, no TimeCap[s], no reversibility.</p><p>So on the infra: Reversible Transactions, Immutable Chains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3iBr1j7aFQZgVMjc" /><figcaption>a snippet from our internal working specs</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9a6df46c9d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/async-l1-state-transitions-research-update-a9a6df46c9d4">Async L1 State Transitions (research update)</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unstoppable Intelligence: Towards a Post-Bot Crypto Economy]]></title>
            <link>https://medium.com/smart-transactions/unstoppable-intelligence-towards-a-post-bot-crypto-economy-4def97a2a0be?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/4def97a2a0be</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Tue, 13 May 2025 09:58:39 GMT</pubDate>
            <atom:updated>2025-05-13T11:56:36.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s670SN1PPe9pH77u" /></figure><h3>Abstract</h3><p>The convergence of blockchain and AI is forging a new technological paradigm: one where automated intelligence (agents that act autonomously) is embedded into the very infrastructure of decentralized systems. At STXN, we call this <strong>Smart Transactions</strong>. This paper outlines a vision for what comes next: a post-bot world where networks are no longer passive ledgers but active societies of intelligent agents. We explore the implications of this shift, the design principles behind STXN’s product suite, and the promise (and perils) of a world where value is created, matched, and exchanged by a hybrid of human and machine participants.</p><h3>1. Introduction: From Nodes to Agents</h3><p>In Dubai, at Token2049, it became clear to me that the central question we’re now facing is not simply “what can AI do?” but rather: <strong>what happens when AI becomes embedded in networks that are already unstoppable?</strong></p><p>Blockchain networks like Bitcoin are unstoppable because they are decentralized. There is no single point of failure, no centralized entity that can be coerced or shut down. What happens when the same unstoppable quality emerges within AI?</p><p>We are no longer talking about AI as a sandboxed tool. We are talking about <strong>autonomous, unstoppable, intelligent agents</strong> operating within decentralized ecosystems. In that world, blockchains are no longer just financial ledgers — they become <strong>societies</strong> of agents. And societies, by definition, produce new forms of interaction, value, and conflict.</p><h3>2. New Forms of Money Demand New Forms of Intelligence</h3><p>Blockchain has already birthed many new forms of money: tokens, DAOs, NFTs, and now intent-based economies. But these new forms of money are alien to traditional conceptions of value. They require a <strong>new kind of intelligence</strong> to interface with them: an intelligence that can navigate fragmented liquidity, cross-chain composability, and real-time economic coordination.</p><p>This is the core thesis of STXN: that <strong>Smart Transactions require Smart Agents</strong> — autonomous agents that can understand user intents, solve complex tasks, and match supply and demand across fragmented systems.</p><h3>3. Smart Extraction and Proof of Useful Work</h3><p>At STXN, we frame our mission as one of <strong>Smart Extraction</strong>. Extraction, in our worldview, is about transforming latent, undervalued resources into productive value. Whether that’s energy in PoW, capital in restaking, or user attention in PoUW, the goal is always the same: extract value — but extract it <strong>smartly</strong>.</p><p><strong>Proof of Useful Work (PoUW)</strong> is our contribution to this paradigm. Unlike traditional mining, where computation is wasted on solving useless puzzles, PoUW rewards tasks that are verifiably useful: uploading images, curating content, synchronizing devices, routing liquidity. Our apps — <strong>CleanApp, BlockClock, Vamp.Fun</strong> — are all built on this idea.</p><ul><li><a href="https://demo.stxn.io/clean-app">CleanApp</a>: Extracts useful civic signals from on-chain images.</li><li>BlockClock [<a href="https://play.google.com/store/apps/details?id=com.blockclock">Android</a>] [<a href="https://apps.apple.com/us/app/blockclock/id6740233690">iOS</a>]: Proves device-time syncing as useful infrastructure work.</li><li><a href="https://vamp.fun/">Vamp.Fun</a>: Enables liquidity migration by cloning tokens to active chains.</li></ul><p>Each app turns user actions into <strong>verifiable work artifacts</strong>, which can then be tokenized, rewarded, or composed into further systems.</p><h3>4. The Post-Bot Economy</h3><p>We are already living in a <strong>post-bot world</strong>. On platforms like Pump.fun, bots generate over 70% of tokens. The first trades are made by sniper bots within seconds. This is not a bug. It’s the <strong>new normal</strong>.</p><p>The challenge is not to eliminate bots, but to <strong>align them</strong>. At STXN, we design for <strong>anti-fragility</strong>, not purity. Just as Bitcoin tolerates some fraud for the sake of censorship-resistance, we design our systems to <strong>tolerate and harness intelligent automation, </strong>even when it comes from bots.</p><p>In Vamp.Fun, for example, bots can be programmed to detect rising liquidity on another chain, instantly clone a token there, and spin up a liquidity pool. All without human intervention. That’s <strong>automated intelligence as liquidity arbitrage</strong>.</p><h3>5. Intents as Prompts, Agents as Apps</h3><p>In traditional software, users interact with applications. In our model, users express <strong>intents</strong> (e.g., “find best swap”, “add liquidity”, “clone token”), and <strong>agents</strong> compete to fulfill those intents.</p><p>This is a shift from the <strong>Dapp model</strong> to the <strong>DAgent model</strong>.</p><ul><li><strong>Users</strong> provide prompts.</li><li><strong>Solvers</strong> (human or machine) propose solutions.</li><li><strong>The network</strong> verifies and rewards the most useful outcome.</li></ul><p>These are not hypothetical frameworks. They are already live in STXN. And they show what’s possible when we combine the agentic architecture of AI with the decentralized incentives of crypto.</p><h3>6. Harnessing the Beast: Aligning AI and Crypto</h3><p>Humanity has always sought to tame new forces. Fire, electricity, nuclear energy — all were once seen as threats before they became tools. AI is no different. We must <strong>harness the beast</strong>, not kill it.</p><p>In crypto, alignment has always meant <strong>designing systems where attackers have more to gain by cooperating than by attacking</strong>. This is also true for AI. The bots are already here. Our job is to <strong>design incentives that make them allies, not adversaries</strong>.</p><h3>7. Conclusion: A New Bazaar for Humans and Machines</h3><p>The future of crypto is not just more decentralized finance or new tokens. It is a <strong>global, dynamic matching engine</strong> — a new digital bazaar — where humans and bots co-create value together.</p><p>At STXN, we are building the infrastructure for that world. Not just as a technical stack, but as a <strong>cognitive, economic, and social experiment</strong>.</p><p>Because if value is being created by new forms of money, we need new minds — human and machine alike — to understand and engage with it.</p><p>And that means: <strong>Always Be Extracting. But extract smartly.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4def97a2a0be" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/unstoppable-intelligence-towards-a-post-bot-crypto-economy-4def97a2a0be">Unstoppable Intelligence: Towards a Post-Bot Crypto Economy</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Onboarding the next Billion Users]]></title>
            <link>https://medium.com/smart-transactions/onboarding-the-next-billion-users-a7f640264057?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7f640264057</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[mev]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 07:20:06 GMT</pubDate>
            <atom:updated>2025-04-14T07:24:47.506Z</atom:updated>
            <content:encoded><![CDATA[<h4>The era of Internet Scale Dapps</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8dObGUxe7X5AMYmqrrzEg.png" /><figcaption><a href="https://x.com/Web3Kristel/status/1911437206700404905">https://x.com/Web3Kristel/status/1911437206700404905</a></figcaption></figure><p>No one interacts with blockchains as a whole.</p><p>Every blockchain interaction is always and only one transaction at a time. Increasing the experience of transacting is the BILLION DOLLAR problem.</p><p><strong>What is a blockchain if no one can transact with it?</strong></p><p>Transactions need to get smarter, not blockchains. That is, if we want to really bring the next billion users, if we want to solve real problems and not only computer science problems.</p><h4>Well intentioned but misguided attempts at fixing Transactions.</h4><p>New L1s, fancy L2s on L1 with higher throughput, all this a great and all, but what about upgrading the transactions to do what user wants. Sometimes we get so lost in the forest that we don’t notice that its trees all around.</p><p>Account Abstraction in Eth, gas sponsorship from Sol and other chains, aim to do this. They suck. Look at the user profiles. Crypto made by nerds for nerds. Look at the type of dapps, mostly apps promising high yield. You need to lure users with the promise big profit to compensate for the horrible experience of transacting. Instead of the roundabout ways of making blockchains scale with better consensus (some of which is absolutely essential), why not focus on transactions as well. For what would the best blockchain do with users unable to transact, without users?</p><p>Another distraction in making crypto work for billion users is the often used distinction of defi versus non-defi! There is no such distinction for any successful app; how can any app thrive in the market, even in our iOS/Android App store apps, without being economically viable and profitable to last years. Financial success inevitably underpins the success of best apps in the world, means users really love transacting with those apps over their competitors.</p><p>Just make apps work for users is the real problem. Apps that work for users versus Apps that do not: is the real and only distinction.</p><blockquote>Every non-defi app is ultimately, also a defi app. This is the magic of tokenization: opening up new avenues of monetization of transactions that were previously not so. Better transactions → Dapps that were previously Apps → Tokenized Engagement, Higher Yields, Win-Win for Infra, Devs, Users, The World.</blockquote><h4>Just make transactions smarter. What does that even mean?</h4><p>When a user wants something, search the best possible way to accomplish it, does not matter what type of dapp, defi or not. This is the real work of SOLVERS: Solve actual real world problems users are coming onchain for.</p><p>We need an infra for a transaction operating system: dapp devs should be able to provide the why’s and how’s of their target users wanting to use their app in clear/precise language that solvers can interpret to deliver the exact solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bi2NTlST4Adl9T4S7GJ6hg.png" /></figure><p>There needs to be a new handshake (a protocol to describe each dapp’s how’s and why’s) between dapp devs and solvers, such that the entirety of Internet users can be onchain: Upgrading the general transactions infra irrespective of which L1 or L2, for that <em>mistakenly</em> puts the focus on under-the-hood mechanics. Even with the best intentions, we get carried away with tinkering under the hood at the cost of those wanting to drive the car, the users. The best engines with broken steering wheels. The best bricks with no houses being built.</p><blockquote>If you want, call this new protocol: Intent Language with a Taxonomy for Dapps. Or just Transaction Operating System. Or simply, Smart Transactions.</blockquote><blockquote>There will to be next billion Internet scale Dapps developed leveraging these Smart Transactions.</blockquote><h4>Just fix transactions, not Blockchains, not the Internet.</h4><p><strong>There are no blockchains, just transactions.</strong> Sometimes some of these transactions follow certain mechanics to collate together as this or that blockchain. But for the user, there are no blockchains, trying to impress the users with ‘my dapp runs on the best blockchains’ is wrong even with the best intentions.</p><p>Improving upon transaction experience is real only inasmuch we improve the kind of dapps available for users. Transactions that just work for users, and dapps that serve actual purpose to users, and solvers who solve real problems that these dapps throw at the underlying backend — these three are three sides of the same pyramid.</p><blockquote>Any and every interaction online is through transactions: login to your email, messaging, online shopping, calling a cab… Transactions underpin all of our experience. Unfortunately, the transactions that are served up onchain lack the quality that we find on the Internet otherwise. Harsh truths. Transactions in Web3 must match that of Web2. <strong>There is no Internet, just transactions.</strong></blockquote><p>Users with zero knowledge of which L1 or L2 or any of the latest upgrades in the backend: Billion of users using the myriad kinds of dapps for every conceivable need. Internet that works for everyone and not just the few who are onchain as late as 2025. Isn’t that the endgame of all decentralization?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7f640264057" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/onboarding-the-next-billion-users-a7f640264057">Onboarding the next Billion Users</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Become a Liquidity Provider with zero capital and zero LVR risk]]></title>
            <link>https://medium.com/smart-transactions/become-a-liquidity-provider-with-zero-capital-and-zero-lvr-risk-fd1784192659?source=rss-cf6ed17fab76------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd1784192659</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[mev]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Anuj DG]]></dc:creator>
            <pubDate>Fri, 11 Apr 2025 12:28:58 GMT</pubDate>
            <atom:updated>2025-04-14T09:39:49.152Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ENQaKRub-Snh_bR6XdL2dg.png" /></figure><h3>The Idea: Flash Loan + JIT Liquidity</h3><p>The thesis: Take a flash loan of a large amount of tokens just before a large trade is about to hit the chain such that you repay back that loan the moment that trade hits the chain. Basically, surround (sandwich) a trade with a flash loan to use that loan as a JIT liquidity provision for only that large trade transaction alone.</p><p>You:</p><ol><li>Use that capital from a flash loan to provide JIT liquidity to a DEX (like Uniswap v3).</li><li>Capture fees from that large trade you sandwiched.</li><li>Immediately withdraw the liquidity post the trade.</li><li>Repay the flash loan <strong>within the same transaction</strong>.</li><li>Keep the fees (<strong>profit</strong>) — <strong>with zero upfront capital</strong>.</li></ol><p>JIT liquidity reduces LVR (Loss Versus Rebalancing) by only providing liquidity during a specific trade, minimizing exposure to price volatility. Since the position isn’t left open over time, it avoids the impermanent loss (LVR) that traditional LPs face from price movements while their assets are locked for a significantly longer while.</p><h3>The Execution</h3><p>[Scenario] <em>A bot sees a whale trade of $10M USDC → ETH about to hit Uniswap v3.</em></p><p>You keep monitoring all incoming transactions (public mempool, private ones if you have access).</p><ul><li><strong>Just as</strong> you see the trade is <strong>about to happen</strong>.</li><li>Take a flash loan of $10M USDC.</li><li>Add that USDC to the liquidity pool <strong>just in the price range</strong> where the whale’s swap will go through.</li><li>The trade executes, and <strong>you earn a chunk of trading fees</strong>.</li><li>Instantly <strong>remove the liquidity</strong>.</li><li><strong>Pay Back </strong>the $10M flash loan in the same transaction.</li><li>Keep the fees (~0.05% to 0.3% of 10M = 5K to $30K), <strong>with zero initial capital</strong>.</li></ul><p>PROVIDED: You executed <strong>all</strong> the above steps <strong>atomically</strong> (i.e., within a single transaction).</p><p>The most powerful aspect of this transaction is that it’s <strong>zero risk</strong>: if the transaction fails, it’s fully reverted; there is no upfront capital required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lBfhOgjZnVramQUYLyiPpg.png" /></figure><p>Now imagine that atomicity could be extended from a single transaction to multiple transactions in a single block, and then to even multiple transactions across blocks. That is what we are building at STXN (Smart Transactions), with our Time Capsules: multi-block bounded execution environments with full atomicity (rollback sans side effects) guarantees.</p><p>With STXN’s Time Capsules, you can do transactions that reverse on error or hacks as its all very atomic. You can even take flash loans across many blocks and from one chain to another.</p><blockquote>Now imagine a chat-like interface where a crypto curious person just types: “Make me money, also I don’t have any capital.” Our super app figures out the rest, makes you money in no time, zero risk.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F22_VNbBJF5U%3Flist%3DPLEfHkj5xw3MwkDm6QGuqaZ3CNbtADlA3Z&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D22_VNbBJF5U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F22_VNbBJF5U%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/262276873bb04b4e52aacbd02d14bb84/href">https://medium.com/media/262276873bb04b4e52aacbd02d14bb84/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd1784192659" width="1" height="1" alt=""><hr><p><a href="https://medium.com/smart-transactions/become-a-liquidity-provider-with-zero-capital-and-zero-lvr-risk-fd1784192659">Become a Liquidity Provider with zero capital and zero LVR risk</a> was originally published in <a href="https://medium.com/smart-transactions">Smart Transactions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>