<?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 SatsBridge.com on Medium]]></title>
        <description><![CDATA[Stories by SatsBridge.com on Medium]]></description>
        <link>https://medium.com/@satsbridge?source=rss-32d25b307f68------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cvUt_WUd4G2FvyYz6SXEIw.png</url>
            <title>Stories by SatsBridge.com on Medium</title>
            <link>https://medium.com/@satsbridge?source=rss-32d25b307f68------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:20:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@satsbridge/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[Bitcoin for Power User: Blitz Experience]]></title>
            <link>https://medium.com/@satsbridge/bitcoin-for-power-user-blitz-experience-9f7e87dc946a?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f7e87dc946a</guid>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[safe-vault]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 21:30:20 GMT</pubDate>
            <atom:updated>2025-12-19T21:30:20.249Z</atom:updated>
            <content:encoded><![CDATA[<p>SatsBridge begins a series of posts where we make an attempt to describe benefits of self-custody for an end user and look into the surrounding ecosystem with regard to self-custodial tools and protocols for power users. In this post we report about our experience with Blitz Wallet which just went live officially but we remember it as a small experimental project that was using Breez SDK and Greenlight. After 2 years of building and 3,900+ beta users, it changed significantly and became as simple as custodial wallets.</p><blockquote>The simplest self-custodial Bitcoin wallet is here</blockquote><p>— <a href="https://x.com/BlitzWalletApp/status/2002064127997702473">declares</a> Blitz.</p><p>But we are here to test how Blitz works with non-custodial <a href="https://safe.global/">Safe</a> vaults (multisignature contracts) implemented by SatsBridge. The SatsBridge Vault is designed to give users a secure way to store, send, and receive ERC-20 tokens, particularly stablecoins, but with a unique twist: vault authentication and spending approvals are signed using self-custodial Bitcoin Lightning wallets.</p><h4>The Backbone of Lightning-Based Identity</h4><p>LNURL-auth enables secure login and transaction approvals by having your self-custodial Lightning wallet sign challenges from an application. Because the keys are domain-specific, this creates a natural layer of phishing resistance and completely eliminates the need for passwords.</p><p>In this case, the Satsbridge Vault uses LNURL-auth during account creation, vault deployment and spending approvals (signing outgoing ERC-20 transfers).</p><p>This flow keeps your private keys fully in your control while providing the app with strong cryptographic proof that you are the owner.</p><p>To validate the Vault’s LNURL flow, we carried out a real-world test using Blitz Wallet, a self-custodial Bitcoin Lightning wallet that supports LNURL authentication.</p><p>Here’s how the test unfolded:</p><p>1. Creating the Vault</p><ul><li>Opened the Vault creation link at <a href="http://vault.satsbridge.com/">vault.satsbridge.com</a></li><li>Switched to testnet mode in Settings</li><li>Scanned the QR code with Blitz Wallet to authenticate</li></ul><p>Authentication was instant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*A8Yn0ETBTNp--0mVbN6JWA.png" /><figcaption><a href="http://vault.satsbridge.com/">vault.satsbridge.com</a></figcaption></figure><p>2. Deploying the Vault on Testnet</p><ul><li>Paid the 10 sat activation fee (mainnet ETH and L2s cost more) through Lightning on the same Blitz wallet</li></ul><p>Such an operation takes 20–30 seconds to confirm.</p><ul><li>Scanned a second QR for authenticating vault activation using the Blitz wallet</li></ul><p>LNURL authentication was instant.</p><ul><li>Vault deployed successfully</li></ul><p>3. Receiving Assets</p><ul><li>Sent 10 USDC testnet coins from a faucet on the Ethereum Sepolia testnet to the Vault</li></ul><p>Tokens arrived in under 10 seconds from <a href="https://faucet.circle.com./">https://faucet.circle.com.</a></p><p>4. Sending Assets Out of the Vault</p><ul><li>Initiated a 10 USDC transfer from the Vault to MetaMask (Ethereum sepolia testnet)</li><li>Paid the 10 sat service fee via Blitz Wallet</li></ul><p>Payment approval was instant.</p><ul><li>Scanned a QR to authorize the outgoing payment</li></ul><p>LNURL-auth was instant.</p><p>The vault set up, authentications, and ERC-20 transfer (to and from) were completed successfully without a single failure.</p><p>LNURL-auth in Blitz works reliably for both login and transaction signing. LNURL support is excellent, handling all LNURL interactions quickly and accurately. Blitz serves as a good demonstration of passwordless access, or custodial trust to use the vault.</p><p>Our test with Blitz Wallet is a testament to how seamless this experience can be when a Lightning wallet implements LNURL well, providing instant authentication, smooth signing, and seamless end-to-end operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f7e87dc946a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin Lightning Wallets as Abstracted Accounts]]></title>
            <link>https://medium.com/@satsbridge/bitcoin-lightning-wallets-as-abstracted-accounts-d2159018f7d5?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2159018f7d5</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[account-abstraction]]></category>
            <category><![CDATA[eip-4337]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Fri, 19 Sep 2025 08:29:29 GMT</pubDate>
            <atom:updated>2025-09-19T09:17:47.603Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Disclaimer: We propose a new protocol flavor that must undergo a strict security audit before release into production. The early alpha version currently works on the Ethereum Sepolia testnet. Please join our </em><a href="https://t.me/SatsBridge"><em>Telegram group</em></a><em> for updates and discussions.</em></p><p>Bitcoin’s Lightning Network has proven that authentication can be secure, user-friendly, and easy through LNURL AUTH. It should be acknowledged that LNURL AUTH also enables air-gapping and second-factor authentication. Meanwhile, Ethereum’s account abstraction has demonstrated how smart contracts can enable sophisticated multi-signature security models and modular external signers. The convergence of these technologies presents an opportunity to create a unified cross-chain wallet architecture where Lightning Network wallets become remote signers for Ethereum accounts, enabling experienced Bitcoin users to seamlessly access the DeFi ecosystem while maintaining their preferred security model using familiar tools.</p><p><strong>When Lightning meets Ethereum</strong></p><p>The proposed protocol extends <a href="https://github.com/lnurl/luds/blob/luds/04.md">LNURL AUTH (LUD-04)</a> to manage Ethereum abstracted accounts and requires no changes to Lightning wallets because it flexibly adopts programmable components provided by various Ethereum projects. Let’s consider <a href="https://medium.com/u/d37a03e62785">Safe Protocol</a> vaults, for instance, although during the Unite DeFi <a href="https://medium.com/u/2c9a654f35d">1inch</a> hackathon, SatsBridge’s team also demonstrated a way to integrate LNURL with specific implementations of account abstraction working with <a href="https://medium.com/u/2c9a654f35d">1inch</a> libraries. With Safe, SatsBridge creates a configurable vault that relies on Bitcoin’s Lightning Network QR-code-driven user experience and Ethereum’s programmable smart contract capabilities. This integration leverages the cryptographic compatibility between Bitcoin’s secp256k1 signatures and Ethereum’s signing schemes while maintaining the privacy and security properties that make LNURL AUTH effective.</p><p>The system operates through a three-layer architecture (Bitcoin L1, L2, and LNURL on top) where Lightning wallets generate domain-specific authentication keys using existing LNURL AUTH derivation mechanisms (BIP32-based or SignMessage-based). However, instead of simple web authentication, these keys become owners in Safe multi-signature vaults. The “three-layer architecture” refers to the fact that all keys are derived from the main seed phrase backing the onchain wallet, Lightning Network client, and LNURL AUTH keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PoVfVHfiDGhwS4U7SAJWkQ.png" /><figcaption><a href="https://mermaid.live/edit#pako:eNptVu1u2zYUfRVCwIYESFKSoihSGArIcpwVTdugbjdg8B-KurSF2pInya3dosCeZY-2J9nVh13ZTX44onh57znnflDfPFtm4EVeDX_voLAwzc2yMptFsTVVk9t8a4qGfKyhIqYmj28_vn-8hcKka8jIn2a9hubccj5p7eamqSdVni2BzKH6nFs4t4rj1iq2tty1q7RuKmObvCzIozlAdeHSOOid4v_5BneOJy_sYFuuc9OZDo9voflSVp_O7Z7MYWPqpmf0Y3ECuijelg2Q8jO-bInfHN1FY16dFM9SeKrKprTluvX0yy9k3sCW0Ii8KvImN2t01uy2i6L1fPvy5XwSkfewzHs8zTjCZyQwRPn44Xdye7IbAFb5ctWQ0nUgo96UTZ_u7u78h_jxYRyeIXSo6xbdACP_alqwi2I-QRS9h7EJuXo1jQi9HmKtwXWhWrh1b_YanVJJ05CGRilrfaqd7wuTat_yNKWKUqa4Cq1xSrGMaxBBYFIpha-ssFYa3_2WVi9e2pXJi1dZRBhjQYA_5GoQ_HrMgUck3jUrKDCRHXbyK0oNmNmByUjRnwxfw4Hc7zFSsYSBcxxHw3l4Lo2XIrfmD1AARgPSWUPVVtWBfIJD1BGhPLRKhtx3aWbSLJRhKrh1QupQgy8ynzuAzISZpplCzdIgAyVYQGkQWEG1D2O-ftRX_BFbUhYuX-6ObOO45YoG0WkHzg88oTIbQJj1ZRK7U2926ya_rfMlJhQrsqfwYVVBvSrXmA3-gnev3n1B0nW__d8__xK6d6mAgMWOM8xlMgMJmtNYMxUEqbUBpL40ZmZicrUurVlfj44GPFFyoqZT5e71fRhSLuW9FJLSmR8n0vkU5aO-JFdjibs6aFEPaetonumBq80WhxFcpq3n2uuSZUhuYEL3U-tomkz9SWw1lzPBMw5M-s4PQj4JzD23ms1oPB3nRERds73bnldel4vTJGkbGmdpjc28LYu6rOpVjg1_2j_W3mnyTE1jsEbn-bIwDabxIl0jx6NHug9HfzEk1HeZDgLkMk1nigU6BCmVL5LFqVomF_AhO-v_x3KZ_-gqOGnazwJ2_ZO26G_X-WtngZMypYw5k2GhWxdQzgzD3jdGhwZCF2qTpilY3znrWx3ywAZGaZScGrCKj3UOIvKhMkU9TNT7Pdjds01eVvlXIH8YrGWSVNDXwk-DM7ajWddq3zsEgtVf4EXWi3JU6TTsd-kGB-EIyGUfHS1nuF1WhzYpAtg0cWE8FYBVnbgpVrRmSZKImbbKCKc4BSvDrggfTB2RjdnPAJ6g6lYM9RBC9YMR71d8-ZgjDNwJMbtjkeS5SF0_VJvjWO-xDXzHdm_yos37qSKe8XFRFyN5UayuGPi1d-Mt8Z7yoqbawY23AQzdLr1vi4KQhYcDeAMLL8LHDFzrYeEtiu94DC_hv8pyczxZlbvlyoucWde42m0zjDJ8hJxMoMigStqJ4EUs7Fx40TdvjysR3IWKMc6V1kwL7t94B3zN9Z1PhS-1r6TgTMjvN97XLiq9UzrQQshAaBy-gVI3HmQ5JvBN_yXUfRB9_x_zNP0a">Mermaid.live</a></figcaption></figure><p>When a user initiates the account creation process, the system generates a new Safe vault configuration as shown in the figure above. The sequence protocol diagram provides a high-level representation of interactions between the Lightning wallet as a remote signer (1), SatsBridge Frontend as a fully functional Web3 app that can provide important information for the user (2), the Account Abstraction provider (3), and Safe as a convenient platform that enables access to multisignature-based smart contracts (4). Safe’s modular architecture supports this through its signature verification system (<a href="https://eip.tools/eip/1271">EIP-1271</a>), enabling the vault to validate signatures from Lightning wallets that have never directly interacted with Ethereum. This choice is dictated by the resilience of Safe and the intention to provide SatsBridge users an option to change providers after extending the vault configuration with additional signers compatible with the Safe frontend.</p><p>To begin authorization and remote signing, the Safe vault generates a UserOperation (according to the ERC-4337 standard) containing the transaction details. This UserOperation is hashed and provided to the user as an LNURL AUTH k1 challenge that commits to both the traditional 32-byte challenge as a nonce and all remaining UserOperation data.</p><p>For people not familiar with relevant Ethereum standards, the UserOperation k1 commits to:</p><ul><li>A nonce</li><li>Safe Account Parameters (owners, threshold, modules, etc.)</li><li>Transaction Details (calls, gas limits, fees)</li><li>Chain ID (11155111 for Sepolia)</li><li>Account Abstraction Data (factory, paymaster)</li></ul><p>As a result, the signing process is fully deterministic in the sense that the same UserOp parameters always produce the same hash. It is chain-specific because it includes the chainId to prevent cross-chain replay attacks and covers all aspects of the transaction. The signature proves authorization for a specific UserOperation, and the signed UserOp can be submitted to the EntryPoint contract. The UserOpK1 essentially represents a cryptographic commitment to the exact transaction parameters, ensuring that users can only authorize the specific operation they intend to execute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aKroTDZA7BLDAcGB62VqHg.jpeg" /><figcaption>Authorisation (left) of the Abstracted Account creation and domain-linked authorisation key (right) in the <a href="https://f-droid.org/packages/finance.valet/">Valet</a> app.</figcaption></figure><p>The table below provides a brief overview of the differences between a normal LNURL challenge and UserOperation’s k1 that allows integration with Account Abstraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*6JG4TZUY7cpbGw8kgBq9gQ.png" /><figcaption>Key Differences between LUD-04 k1 and UserOperation’s k1</figcaption></figure><p>Lightning wallets receive this enhanced LNURL challenge with k1 that commits to the UserOperation through their existing QR code scanning or deep-linking mechanisms. The wallet derives the appropriate signing key using the same domain-specific derivation that ensures each Safe vault has a unique identity relationship with the Lightning wallet and a provider on the Lightning side, for example, SatsBridge.</p><p>Safe vaults accessed via SatsBridge and managed by Lightning wallets enable comprehensive Ethereum ecosystem access while maintaining the security properties Lightning users expect. Gas abstraction through ERC-4337 eliminates the need for users to hold ETH for transaction fees, as paymasters can sponsor transactions or accept ERC-20 token payments. This architectural choice removes a significant barrier to DeFi adoption for Bitcoin-native users and allows more flexibility when their peers demand payments in non-Bitcoin tokens. At the same time, additional features may increase security when interacting with DeFi.</p><p><strong>The blind signing vulnerability</strong></p><p>Despite major UX and UI conveniences and a sophisticated security stack including battle-tested standards, the LNURL-AA specification faces the same fundamental vulnerability that enabled the $1.5 billion Bybit hack. Lightning Network wallets cannot reliably display the actual state of vaults because they cannot deserialize and display Ethereum transaction data and AA UserOperation structure by default.</p><p>Lightning wallets like Phoenix, <a href="https://f-droid.org/packages/finance.valet/">Valet</a>, and BlueWallet display LNURL AUTH challenges as simple signing requests without a detailed transaction context. When extended to Ethereum transactions, these wallets would show users cryptographic hashes and request signatures for operations they cannot fully understand. The wallet displays might show “Sign Ethereum transaction: 0x4f2ac7…” without revealing that the transaction transfers all vault assets to an attacker’s address. Our solution here is to propose an actual open-source Web3 paired app served by SatsBridge that will allow users to have the highest possible level of protection when it comes to situational awareness and LNURL-AA protocol interactions. Going further, we could consider a self-hosted open-source application stack that could work alongside widely adopted personal nodes such as Umbrel or StartOS. In the best-case scenario, the client doesn’t blindly trust the server’s UserOpK1 anymore, and any manipulation by the server would be caught during validation. The client essentially performs a “trust but verify” approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1Y7tw3LK_DJw9kKozOAtA.png" /><figcaption>The AA-aware application design, for smartphones. Bitcoin Wallet scans QR codes on the left, and the SatsBridge Vault application shows account balances and UserOperation k1 payload, so the user does not sign blindly anymore.</figcaption></figure><p>Another workaround could involve adding Metamask as another co-signer wallet. For obvious reasons, Metamask better supports the set of required standards that have allowed Ethereum wallets to become relatively safe options for interacting with sophisticated smart contracts. ERC-4337 UserOperations are actually complex structures. They contain multiple fields (callData, signature, paymasterAndData) that are encoded as opaque byte strings. Furthermore, Ethereum smart contract interactions often involve complex nested function calls with parameters that determine the actual operation outcome. For instance, a Uniswap swap contains a “to” parameter specifying the recipient address. If this parameter is changed from the user’s address to an attacker’s address, Lightning wallets cannot detect this manipulation because they cannot parse the transaction’s internal structure, though this may be sufficient for the basic functionality of receiving and sending tokens non-custodially and without a native asset.</p><p>Advanced implementations could use multiple independent verification channels where Lightning users confirm transaction details through separate networks before signing. The first obvious candidate here would be Etherscan as a source of information about the current Ethereum state, but even experienced users may have difficulty understanding what actually happened in the chain of contract calls. Another approach would be to choose the Safe platform as the main platform for creating vaults and leverage its features for delivering more situational awareness to SatsBridge users for better security. Future research aims to find a reliable way to enable secure operations with vaults from any Lightning wallets available on the market.</p><p>The Bitcoin space would benefit from experience accumulated in Ethereum when it comes to user-smart-contract interactions, although Bitcoin smart contracts are likely to be very different from what we know in Ethereum. In Ethereum, standards like EIP-712 enable structured message signing that could include both transaction data and human-readable descriptions in a single cryptographically verifiable package. Lightning wallets could verify these signatures using their existing cryptographic capabilities while displaying verified transaction descriptions to users. Fortunately, the entirely off-chain nature of the Lightning Network allows lots of experimentation to be done in the short term and new protocols to be built overnight. The development there is less problematic, and Bitcoin Core gives a clear example of how even a small feature such as message signing, which is not related to consensus, could easily<a href="https://github.com/bitcoin/bitcoin/pull/24058"> get stuck</a> and remain unfinished for years.</p><p>To conclude the post, we evaluate the LNURL-AA protocol as one of the interesting opportunities to connect very different networks for the benefit of users who wish to stay close to their favorite wallets. SatsBridge’s early experiments included research related to embedding non-custodial Lightning wallets into Metamask, and we believe that going in a different direction with LNURL-AA has more flexibility and therefore more chances for success. We thank Pimlico and personally Sergey Potekhin for consultations and continuing support when we needed validation and endorsement.</p><p><em>Please join our </em><a href="https://t.me/SatsBridge"><em>Telegram group</em></a><em> for further updates and discussions.</em></p><p>Authors: Ilya Evdokimov, Sergey Sherkunov</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2159018f7d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lightning Network as a Cross-chain Fuse]]></title>
            <link>https://medium.com/@satsbridge/lightning-network-as-a-cross-chain-fuse-06a1cdfe4e56?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/06a1cdfe4e56</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[crosschain]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Sat, 21 Jun 2025 12:20:54 GMT</pubDate>
            <atom:updated>2025-06-21T12:20:54.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*0j4tXtKs1h-C1sC0" /><figcaption>Image Credit <a href="https://commons.wikimedia.org/wiki/File:Fuse.jpg">Wikipedia</a></figcaption></figure><p>After a panel discussion at German Blockchain Week, I had a conversation that made me reconsider a topic I had previously thought too obvious to write about. This discussion gained new relevance through conversations with SatsBridge customers, all of whom were deeply interested in the secure operation of a native bridge to Bitcoin. For one customer, security became a critical issue when their protocol lost the backing for bridge tokens that were secured by the Fantom protocol. After Multichain was <a href="https://rekt.news/multichain-rekt2">exploited</a> in one of the largest cross-protocol hacks, the protocol was left with unbacked tokens that have not been fully repaid.</p><p>Chainalysis <a href="https://www.chainalysis.com/blog/multichain-exploit-july-2023/">reported</a> on a possible rug pull that may have taken place. However, it’s also known that the Multiparty Computation Protocol used by Multichain could be vulnerable to hacking. A notable example is the TSS vulnerability that Verichains has reported multiple times.</p><blockquote><em>Multichain’s exploit is potentially the result of administrator keys being compromised. While it’s possible those keys were taken by an external hacker, many security experts and other analysts believe this exploit could be an insider job or rug pull, due in part to recent issues suffered by Multichain.</em></blockquote><p>In contrast, when dealing with SatsBridge, protocols cannot experience rug pulls because the Lightning Bridge operates with verifiable assets on both sides of the node’s connections — the Bitcoin side and the smart contract side. There’s more to tell about the actual throttling of liquidity that enables normal operations and automatically blocks transfers during rare events (<a href="https://www.alphanome.ai/post/understanding-sigma-events-in-investment">multiple sigma events</a>). This blocking occurs due to liquidity exhaustion on one side of the bridge and the demand for new channels or redeploying liquidity into smart contracts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*SbitOUTf1G3yPC2C" /><figcaption><a href="https://fastercapital.com/topics/poisson-distribution-for-modeling-rare-events.html/2">Image Credit</a></figcaption></figure><p>Some may argue that liquidity limits and channel exhaustion are inherent limitations of the Lightning Network and therefore of any Lightning bridge functioning between different networks. While this is true, this statement misses the mathematical principles behind the processes that occur during normal bridge operations. The payment flow through Lightning Channels (also “channel” smart contracts) can be represented by a Poisson process. This approach has been explored by researchers, and you can refer to these articles for illustration: <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3840374">Lightning Network Economics: Channels</a> &amp; <a href="https://medium.com/coinmonks/liquidity-abstraction-in-lightning-network-3d7a1d76ac82">Liquidity abstraction in Lightning Network</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9iaBcRhYYDCNVr8_.png" /><figcaption>Events frequency: the important point is we know the average time between events but they are randomly spaced. <a href="https://prwatech.in/blog/data-science/poisson-process-tutorial/">Image Source</a></figcaption></figure><p>These sources examine channel economics and compare payment frequency and related fee revenue with capital costs for allocating bitcoins elsewhere besides Lightning channels. In the context of protocol security, rare events (such as hacks) can be defined as deviations from “normal” Poisson processes for which the system can be optimized. This means that normal operations can always be guaranteed by algorithms, while rare events will be by design outside the main mode of operation, leading to a self-decelerating system and negative feedback loop that closes the “gate” between protocols and allows algorithms or humans to intervene and normalize the process. A good analogy here is control rods that slow down neutrons in a nuclear reactor to prevent meltdown. In some reactor designs, such rods drop automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CaK-tyX2Ru1bMHSnsEbMdA.png" /><figcaption>Cantina security reports: <a href="https://cantina.xyz/portfolio/0612bc9f-a542-415f-98eb-fd3811d0fe4f">bridge report</a>, <a href="https://cantina.xyz/portfolio/2417c38a-aba0-4fd3-b6f3-14428110cf3f">dApp report</a>, <a href="https://cantina.xyz/portfolio/bf7ed08f-db06-48ec-9f1d-e1bedb255304">HTLC contract</a></figcaption></figure><p>There are additional considerations for secure and safe operations in Lightning. The network itself implements a broad range of trade-offs, and known attacks always push situations to the edge. The indisputable benefit of SatsBridge’s design is the simplicity of smart contracts and systematic collaboration with DeFi security audit companies that help ensure safe and stable operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06a1cdfe4e56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Lightning Meets TVM: UX at the Protocol Edges]]></title>
            <link>https://medium.com/@satsbridge/when-lightning-meets-tvm-ux-at-the-protocol-edges-78e4fe4cfb3f?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/78e4fe4cfb3f</guid>
            <category><![CDATA[ton]]></category>
            <category><![CDATA[mtv]]></category>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 20:40:32 GMT</pubDate>
            <atom:updated>2024-09-19T20:49:55.965Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oYWLJiXoqiaQrPOCkbDPkg.jpeg" /><figcaption>“The Suspension Bridge on the Border of Hida and Etchū Provinces” 1830 Hokusai</figcaption></figure><p>In this post, we outline important features of the so-called TVM, which was initially deciphered as the Telegram Open Network Virtual Machine (as described in <a href="https://ton-blockchain.github.io/docs/tvm.pdf">a whitepaper by N. Durov</a>). Over time, it evolved into the TON Virtual Machine and, later, the <a href="https://blog.everscale.network/blockchain/what-is-threaded-virtual-machine">Threaded VM</a>. The original idea behind the abbreviation was to represent a virtual machine designed to drive smart contract execution. Various iterations of TVM became known for legal and marketing reasons, as well as the long history of the transformation from Telegram Open Network into FreeTON and the more recent The Open Network. Nevertheless, it was Durov who first introduced the principle “Everything is a bag of cells” — referring to the bag of cells as the native data type for TVM, which serves as the ultimate form for all data types used by developers in smart contracts.</p><p>When interacting with smart contracts, TVM can deliver a superior user experience compared to other networks. The way smart contracts interact within TVM closely resembles microservice architecture and expected to provide similar scalability characteristics. Interestingly, the benefits of TVM extend to the notoriously complex and narrow case of bridging assets from one network to another. This post aims to demonstrate how seemingly complex interactions can lead to actual convenience when using different blockchain networks simultaneously.</p><h4>Important Principles of TVM</h4><p>Almost every post on TVM is filled with technical details, and because many concepts differ significantly from the well-known EVM definitions, it can be difficult for developers to understand how to begin writing smart contracts. Nonetheless, it is crucial to mention at least some of these details, as they are highly relevant to the initial design of smart contracts. For a more in-depth exploration, we recommend the post <a href="https://medium.com/decipher-media/understanding-ton-and-tvm-bd13cc95ea1c">“Understanding TON and TVM,”</a> and <a href="https://medium.com/r?url=https%3A%2F%2Fblog.broxus.com%2Fwriting-smart-contracts-threaded-solidity-guide%2F">“Threaded Solidity: How to write smart contracts for TVM-compatible blockchains”</a> where readers can discover a set of TVM concepts unfamiliar to EVM Solidity developers.</p><p>We believe these are the most important concepts:</p><ul><li>The <em>native data structure of TVM is a “bag of cells”</em>: This structure requires developers to handle data serialization and deserialization even within the smart contract code. Unfortunately, this increases the length of the contract and, as a result, raises gas costs.</li><li><em>Everything is a smart contract</em>: All events on the network are interactions between smart contracts via internal messages. The entity known as an “Externally Owned Account” in Ethereum does not exist in TVM, although sending external messages is still possible. When developing an application on TVM, it’s essential to establish a working wallet contract and interact with the application via callbacks. Imagine if “account abstraction” was released on Ethereum from the day one.</li><li><em>Smart contracts can be erased</em>: Immutability is not guaranteed because the protocol charges a storage fee for keeping data on the network nodes. The only remaining trace that could allow for future recovery is a hash of the smart contract’s state. Mimble-Wimble remotely resembles this by actively pruning transaction history.</li></ul><p>The existence of external messages in TVM defines modifiers for methods that can be called from outside the contract. Developers must also manage the specific stages required for handling such messages and reserve gas for paying processing fees. While it may be relatively easy to place commands like tvm.accept() and tvm.commit() within Everscale Solidity contracts, interacting with external methods when testing them is generally more challenging than just facilitating internal calls. This is why, selecting tools like the EverWallet contract from the beginning and managing network interactions from the user’s side via wallet contract offers an “asynchronous” experience when calling external smart contracts and allows for code-reuse when writing tests. Behind the scenes, asynchronous execution refers to how the network processes smart contract execution (read more <a href="https://medium.com/decipher-media/understanding-ton-and-tvm-bd13cc95ea1c">here</a>).</p><h4>The Lightning Bridge: Halfway Fast</h4><p>Routing through the bridge requires settlement on both ends. If routing happens between “L2s,” transactions are cheap and fast. However, when an L1 is involved, transactions may slow down and become more expensive by an order of magnitude.</p><p>Specific steps for invoking token transactions may add to the objectively slower confirmation and more expensive flow on L1. Here’s an example of a common ERC-20 transfer, which requires an approval step. Approval is a critical intermediate transaction, allowing the contract to know how many tokens the application may spend from a specific contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/0*FPlI8ZTYreelZzmL.png" /><figcaption>Image credit: <a href="https://cypherpunks-core.github.io/ethereumbook/">https://cypherpunks-core.github.io/ethereumbook/</a></figcaption></figure><p>To send funds in a Hash-Time-Locked Contract on the Lightning Network, receivers simply generate a Bolt11 invoice. In return, the receiving side must send the payment into the contract in two steps: 1) invoke approval, 2) move funds into the EVM HTLC contract. When sending a Lightning payment, the sender receives the preimage automatically, enabling them to redeem funds from the EVM HTLC contract in one step. If the L1 or L2 is fast enough to handle three transactions within a 15-minute timeout, the receiving side may complete the approval, fund commitment, and redeeming without additional actions or payments from the sender’s side. In this scenario, the Lightning bridge may appear to function in a fully trusted and custodial manner, but it’s not. If the counterparty monitors the network, it can detect a failing swap and issue a refund.</p><h4>Weird TVM Contracts</h4><p>Let’s consider a “simple” TIP3 token transfer in TVM. TIP3 is a fungible token standard in the Everscale network. <a href="https://github.com/Cyace84/everscale-tip3-onboarding/tree/main">A series of short posts</a> with code examples shed light on how token transfers are facilitated. The diagram below illustrates the general workflow of the fungible TIP3 token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1OHWF4yUyijTK3D13N46w.png" /><figcaption><a href="https://github.com/Cyace84/everscale-tip3-onboarding/raw/main/.gitbook/assets/file.drawing%20(1).svg">Source</a></figcaption></figure><p>Here, the concept that <em>everything is a smart contract</em> becomes quite complex, as the token wallet is not an external entity and is not related to the Everscale wallet mentioned earlier. The actual <em>token wallet</em> exists only within the TIP3 contract, and “wallet” may not be the best term for it.</p><p>When transferring tokens, at least two methods are invoked by TVM: AcceptTransfer and onTransferAccept. While AcceptTransfer is intended to check preliminary conditions for receiving tokens, onAcceptTokensTransfer (known as onTransferAccept in the diagram) can trigger additional business logic within the (Ever) Wallet. Of course, the tool is more general than it seems, as onAcceptTokensTransfer can trigger any contract with a specific payload.</p><p>The reader may ask: wait, why I read here about Everscale and not about TON. The answer is TON has similar token standard called Jetton and it also specifies a “wallet” inside token contract. As you may see the diagram below is pretty similar to previous one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7XVP0YL2DyjcgLlC" /><figcaption><a href="https://www.kucoin.com/id/learn/crypto/what-is-jetton-token-standard">Source</a></figcaption></figure><h4>Bridging the Gap</h4><p>Let’s return to Everscale TIP3 example. For some TVM contract to be triggered from the token contract, it must implement the respective method from IAcceptTokensTransferCallback. Here&#39;s an example from our collection of HTLC contract implementations, <a href="https://github.com/SatsBridge/awesome-htlc">&quot;Awesome HTLC.&quot;</a> It perfectly illustrates that the original transaction can be used to initialize HTLC and lock funds inside the contract.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d99a56f293a09667bf7ba86343f0c99/href">https://medium.com/media/5d99a56f293a09667bf7ba86343f0c99/href</a></iframe><p>The onAcceptTokensTransfer function also checks if the proper data was provided as a serialized TvmCell. If the contract can&#39;t deserialize the payload properly, it will return the funds. This makes routing across the Lightning Network to TVM a simple two-step interaction due to the push-like execution on the TVM side.</p><p>To make things even clearer let’s look at the diagram below which illustrates routing from Lightning Network into TVM protocol. Orange text indicates user-triggered actions. They are intuitive and reasonable: one for creating payment request with amount and another one for facilitating a token transfer with payload attached. The rest is either can be automated or belongs to TVM execution chain and becomes internal messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*ai-qXgaWTXUCcTtRiD2wYQ.png" /></figure><h4>Conclusion</h4><p>The purpose of this technical piece is to provide a specific example of TVM-based smart contracts and share insights into general development approaches. We believe this can significantly impact early development experiences and, hopefully, make the learning curve less steep. We have illustrated how the design principles of this virtual machine can affect the applications built on top of it.</p><p>TVM smart contracts are challenging to debug due to their low-level data manipulation during contract execution, asynchronous nature, optional interdependency of contracts, upgradeability, and differences from the standard EVM Solidity language. It’s always helpful to keep a <a href="https://github.com/everx-labs/TVM-Solidity-Compiler">TVM Solidity compiler specification with error codes on hand</a>. However, new design approaches may emerge from this environment, allowing for continuous execution workflows that transmit value from point A to point B.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78e4fe4cfb3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SatsBridge unleashes USDT liquidity at the speed of Lightning]]></title>
            <link>https://medium.com/@satsbridge/satsbridge-unleashes-usdt-liquidity-at-the-speed-of-lightning-df070a46faec?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/df070a46faec</guid>
            <category><![CDATA[stable-coin]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[usdt]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[layer-2-solution]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Wed, 14 Aug 2024 21:16:13 GMT</pubDate>
            <atom:updated>2024-08-14T21:32:39.690Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jb39zDPu1LQvEZK2_iDETQ.jpeg" /></figure><p>USDT on Lightning Network has finally become possible with the Taproot Assets technology developed by <a href="https://medium.com/u/c235aa1f632c">Lightning Labs⚡️</a>. In a groundbreaking move, SatsBridge.com is thrilled to announce its plans to launch USDT bridging between the Lightning Network and EVM L2 ecosystems soon. SatsBridge, as a Bitcoin native-only solution expanding Lightning principles to broader crypto, is uniquely positioned to empower the Lightning network with the world’s leading stablecoin.</p><p><strong>The Bitcoin Interoperability for USDT</strong></p><p>SatsBridge.com, a non-custodial WBTC-to-native-Bitcoin bridge, is already live on mainnet EVM L2s and is now revolutionizing cross-chain liquidity by extending this game-changing technology to USDT. The technology allows key benefits such as:</p><ul><li><strong>Lightning-Fast Transactions</strong>: Experience USDT transfers at the speed of light, powered by the Lightning Network’s real-time settlement capabilities.</li><li><strong>Unparalleled Interoperability</strong>: Seamlessly move USDT between Lightning and various EVM L2 networks, breaking down ecosystem barriers.</li><li><strong>Micro to Macro Payments</strong>: Enable frictionless USDT transactions from micropayments to large transfers, all with minimal fees.</li><li><strong>Global Accessibility</strong>: Bring USDT to the unbanked and underbanked populations through Lightning Network’s low barrier to entry.</li><li><strong>Scalability</strong>: It addresses USDT’s scaling challenges on base layers by utilizing Lightning’s massive throughput capabilities.</li><li><strong>Reduced Counterparty Risk</strong>: Minimize exposure to centralized entities with our non-custodial, trustless bridging solution.</li></ul><p>Finally, it drives further <strong>Ecosystem Growth </strong>while catalyzing the development of new applications and use cases for USDT across Lightning and L2 networks.</p><p><strong>The Future of Stablecoin Liquidity is Here</strong></p><p>By bridging USDT to Lightning, SatsBridge is not just connecting networks — we’re enabling a real-time settlements ecosystem for the two biggest crypto assets, changing the foundation for a new financial paradigm. The SatsBridge team is excited to see its bridge be backed by Taproot Assets technology by <a href="https://medium.com/u/c235aa1f632c">Lightning Labs⚡️</a>.</p><p>Join us in ushering in the era of “Money at the Speed of Lightning” for USDT. Experience the future of cross-chain liquidity with SatsBridge — where sovereignty meets interoperability. SatsBridge is poised to revolutionize USDT transactions across networks.</p><p>Follow us on <a href="https://twitter.com/intent/follow?screen_name=SatsBridge">Twitter</a> and <a href="https://blog.satsbridge.com/">Medium</a> to receive discount codes for early adopters and use SatsBridge.com at costs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df070a46faec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rollups Don’t Work on Bitcoin]]></title>
            <link>https://medium.com/@satsbridge/rollups-dont-work-on-bitcoin-aefad5e4095e?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/aefad5e4095e</guid>
            <category><![CDATA[bitcoin-rollups]]></category>
            <category><![CDATA[bitcoin-l2]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[bitcoin-layer-2-solutions]]></category>
            <category><![CDATA[zk-rollups-zk-compression]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 19:25:37 GMT</pubDate>
            <atom:updated>2024-08-03T19:25:37.256Z</atom:updated>
            <content:encoded><![CDATA[<p>Our <a href="https://blog.satsbridge.com/rollups-in-bitcoin-f6549911d99a">previous research post</a> on Bitcoin rollups anticipated the comprehensive report by Gabe Parker of Galaxy, which includes economic estimates of the potential value of rollups and their impact on the fee market. When using Bitcoin to ensure data availability, rollups face the challenge of generating substantial transaction fee revenue to cover costs amid volatile fees. Partnerships with miners and the use of derivative markets can help rollups mitigate the risks of rising fees. However, Bitcoin’s limited block space and high competition for block inclusion can lead to increased fees at the L1 level, posing an additional challenge for rollups operating on Bitcoin.</p><p>In the article, we relied on Fidelity’s data for Ethereum, while Galaxy provided calculations for Bitcoin. The blockchain simply cannot store data for 4–8 rollups, submitting proofs of 100KB-400KB every 6–8 blocks. Those using Bitcoin must earn between $459K and $2.3M in monthly L2 transaction fee revenue to operate profitably at fees of 10–50 Sat/vByte.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qy57ZWlTb2JeP_6wGl3FZw.jpeg" /><figcaption>Source: Galaxy Research</figcaption></figure><p>Source: <a href="https://www.galaxy.com/insights/research/exploring-bitcoin-for-data-availability/">https://www.galaxy.com/insights/research/exploring-bitcoin-for-data-availability/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aefad5e4095e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rollups in Bitcoin]]></title>
            <link>https://medium.com/@satsbridge/rollups-in-bitcoin-f6549911d99a?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6549911d99a</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[zk-rollups-zk-compression]]></category>
            <category><![CDATA[bitcoin-research]]></category>
            <category><![CDATA[bitcoin-lightning]]></category>
            <category><![CDATA[bitcoin-l2]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 19:18:44 GMT</pubDate>
            <atom:updated>2024-08-03T19:18:44.935Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*KTOlB_Bu6tGSJ-DljFFeyQ.png" /><figcaption><a href="https://twitter.com/VitalikButerin/status/1311921668005060608">https://twitter.com/VitalikButerin/status/1311921668005060608</a></figcaption></figure><p>On March 13, 2024, the Ethereum network activated another hard fork. The Cancun-Deneb (Dencun) upgrade significantly altered the infrastructure requirements for rollups and introduced several modifications to the Ethereum staking pool, which improved network stability and node connectivity. Given the substantial capital inflow into the technology, rollups may have the potential to scale the Bitcoin blockchain. Currently, there is a series of projects nominally announcing the implementation of rollups as an “L2” scaling solution. Although Bitcoin has already implemented various other technologies to increase throughput, understanding how rollups function on Ethereum is crucial for assessing their potential applicability to Bitcoin and recognizing their possible drawbacks.</p><h3><strong>Rollups</strong></h3><p>The so-called “optimistic rollups” scheme was proposed in a 2019 <a href="https://arxiv.org/abs/1904.06441">article</a> during a notable stagnation in the concept of “payment channels” in Ethereum, whose architecture was not suitable for a solution similar to the Lightning Network. The <a href="https://twitter.com/jadler0">author</a> of the article later founded the “data availability layer” protocol Celestia. The “channels” network for Ethereum was found to be costly to operate, and Plasma and sidechains transformed into the idea of “Ethereum private sidechains,” for which a set of Ethereum forks was <a href="https://arxiv.org/abs/1806.09834">explored</a>. However, these technologies faced limitations in security, usability, and decentralization. In particular, “Ethereum private sidechains” were not a notable topic of discussion within the broader cryptocurrency user community.</p><p>Rollups, in some way, require the presence of a “sidechain,” but their distinguishing feature is using the blockchain to determine the order of transactions without consensus. They only support functionality for UTXO transactions and transferring funds to and from the main chain with minimal trust. The way Ethereum smart contracts operate allows every network participant observing the asset input and output processes from the rollup to “catch” the rollup coordinator and claim a certain reward. A similar scheme was also proposed for Plasma chains. According to the authors, the optimized implementation of rollups and the design of client code, as well as improved block propagation efficiency compared to existing systems, allow them to be used for scaling significantly beyond the capabilities of modern blockchains without excessive resource requirements for full nodes.</p><p>In addition to the optimistic scheme, Zero Knowledge (ZK) rollups have been proposed, which use validity proofs. Each batch includes an on-chain SNARK that ensures the operator cannot post invalid transactions and guarantees that all sidechain blocks are valid. Attempting to deceive the protocol will result in an immediate penalty from an external SNARK verifier and invalid proofs will simply not be accepted. The optimistic scheme requires storing transaction data in the rollup for some time to be verified. Separate “data availability layers” are used for this. ZK-rollups could solve the data availability problem and avoid special data retention periods and transaction revocation possibilities. Still, validity proofs are computationally intensive. Buterin summarized the properties of rollups in the table below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*QrvY4fkUFjtszAOnzNAUUg.png" /><figcaption><a href="https://web.archive.org/web/20230930210403/https://vitalik.ca/general/2021/01/05/rollup.html">https://web.archive.org/web/20230930210403/https://vitalik.ca/general/2021/01/05/rollup.html</a></figcaption></figure><p>Rollups have become a source of “base load” for Ethereum and, even before the fork, gave it “deflationary” properties due to the net loss of coins when burning block fees. The hype around Inscriptions, which spilled over from Bitcoin, led to a similar demand in the Ethereum community, and for a while, rollups competed with them for space in blocks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BiDk2jJy5-dp2DUYRKjUFQ.png" /><figcaption><a href="https://dune.com/queries/3254810/5509928">https://dune.com/queries/3254810/5509928</a></figcaption></figure><p>Thanks to the property of “rolling up” or compressing transactions within a rollup and committing only the proofs to the main chain — a sort of fractal-recursive structure — rollups indeed allow for increased throughput. This comes at the cost of a potentially impossible network restart in case of a collapse, as not all participants will have the same information; however, this is considered unimportant. Different rollup designs allow for varying scaling figures, but as some <a href="https://blockworks.co/news/inscriptions-craze-proves-stark-contrast-between-ethereum-rollups">research</a> shows, claims often do not match reality.</p><p>ZkSync Era theoretically can process 2,000 transactions per second (TPS), but in practice, it has not yet reached even a tenth of this number. For comparison, the average speed of the Ethereum mainnet is about 15 TPS. On December 4, 2023, it was entirely <a href="https://blockworks.co/news/inscriptions-craze-proves-stark-contrast-between-ethereum-rollups">paralyzed</a> due to competition for block space with Inscriptions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*9iI7ojvJIq98DeGSZ2xFHg.png" /><figcaption><a href="https://twitter.com/0xtaetaehoho/status/1737140954874994943/photo/1">https://twitter.com/0xtaetaehoho/status/1737140954874994943/photo/1</a></figcaption></figure><p>The same fate befell Arbitrum, whose mainnet launch in 2021 gave it an advantage over all others, with the largest TVL at $2.4 billion. According to Blockworks, the failure forced projects to conduct stress tests.</p><p>Load testing on zkSync’s RPC services and block explorer revealed issues, but the network processed around 150 TPS for 14 hours, peaking at 187 TPS at an average transaction cost of $0.12. Polygon also successfully handled the increased load, processing 18 million transactions per day with maximum fees of $0.10. The report was written before the Dencun fork, which increased the available space in the Ethereum block by removing data older than two weeks, but which allowed the cost of transactions in rollups to be reduced even further, as the costs for operators to store proofs in Ethereum blocks decreased.</p><h3>Where are the data</h3><p>The more users and transactions in a rollup, the more data must be recorded on the base layer and the more fees the operator incurs, although they receive a significant amount — their business model should be clear. What if you store data somewhere else outside of Ethereum?</p><p>Celestia makes money from this. This is the so-called “data availability layer” (DA), created to publish transaction data on the second layer (L2). Celestia helps projects launch their L2s, allowing rollup teams to abandon the need to manage their DA solutions and focus exclusively on the execution layer where transactions occur.</p><p>Hypothetical rollups on Bitcoin will only be able to place fraud proofs in blocks, as Bitcoin blocks are small and released less frequently than in any other protocol. Moreover, genuine optimistic models do not yet work in Bitcoin, so only one participant in the federation will place fraud proofs on the blockchain, and only the other federation participants will be able to verify them. This doesn’t quite look like what is done in Ethereum, where anyone can detect double spending when withdrawing from a rollup.</p><p>Fidelity recently conducted an analysis suggesting that Dencum subsidized cheaper block space for certain technologies:</p><blockquote>“Ethereum has five second-layer (L2) platforms that send data to the main blockchain approximately every minute, along with many others sending blocks or proofs less frequently. This analysis supports the idea that post-Deneb-Cancun update, blobs will be underutilized by L2. However, it is likely that while blobs are underutilized by L2, other participants in the Ethereum ecosystem will take advantage of cheap blob space.”</blockquote><p>Blobs are those very temporary two-week storages, so any technology using this feature should take this limitation into account. If the verifier misses this period, then “double spending” will be recorded on the main chain, and the rollup will be in a “partial reserve” mode.</p><p>In some ways, similar subsidization occurred in Bitcoin in 2017. The Segregated Witness soft fork allowed Lightning network clients to begin operations on the main network and provided them with fee discounts. However, the situation was more complex than simply activating another hard fork and providing subsidized block space for a single consumer technology. In essence, the soft fork enabling Lightning was activated despite opposition from hard fork advocates who planned to scale the Bitcoin blockchain and attempted to take control of the network.</p><p>Technically, the centralization of rollup data storage can make them similar to what BitMex does with its proof of reserves for Bitcoin addresses. However, a noticeable difference is that rollups allow state changes to be contested. According to a VanEck report,</p><blockquote>“…of the forty-six L2s we track via l2beat, only four chains have active fraud proofs.”</blockquote><p>The Lightning network derives its security from the base layer, with the generation of fraud proofs built into the lifecycle of the channel. Another alternative to scaling Bitcoin, statechains, also relies on blockchain security and free exit from the “second layer,” although sidechain projects currently lack this significant feature along with trustless peg-outs. An important feature of the Lightning channel is its ability to operate off-chain indefinitely without any on-chain commitments. If commitments are made (as proposed in Eltoo), node security will increase, albeit at the cost of paying a transaction fee.</p><p>Mohamed Fouda <a href="https://medium.com/alliancedao/the-bitcoin-l2-opportunity-9d90517da6f8">missed</a> this significant difference in economic impact between the Lightning network and rollup in his analysis of Bitcoin’s second-layer solutions. While rollups are the only scaling solution on Ethereum capable of creating economic effects through data compression, they are likely to be less effective in Bitcoin. Already, based on the discounted cost of block space in Ethereum compared to Bitcoin, it can be confidently assumed that even fewer rollups will be able to afford to publish withdrawal proofs.</p><h3>L2 in Bitcoin and finality</h3><p>Rollups on Ethereum are still <a href="https://threadreaderapp.com/thread/1473163000479903748.html">not decentralized</a>. They mask storage functions behind a veil of decentralization, thus circumventing regulatory attention. Even with the introduction of so-called decentralized sequencers, zero-knowledge rollups have a significant ability to extract rent due to the resource-intensive and technical complexity of creating zero-knowledge programs. Another key value of rollups is regulatory arbitrage. For example, Coinbase launched Base when Binance faced regulatory issues and could no longer support its stablecoin on the Smart Chain. Meanwhile, Coinbase’s long-time partner Circle released a native USDC token on Base, and L2 became famous for a hot sale of meme coins. If a rollup project aims for censorship-resistant properties, it should somehow utilize the Bitcoin blockchain, but this is likely to reduce rent extraction potential since rollup projects are very business-oriented and compete with each other, which does not happen in the open and permissive Lightning network, whose utility grows with each new open channel.</p><p>First-layer solutions such as Binance Smart Chain, Tron, or Solana allow payments to be settled in seconds, which is one of the main guarantees of any base layer. Due to this feature, they remain noticeable in the crypto scene. Cryptocurrencies with short block intervals and sufficient price stability, such as XRP, DOGE, and Litecoin, have been used for fast settlement in the cryptocurrency market at different times. The popularity of TRON, which has become the base blockchain for Tether in emerging markets, can be explained by its speed. Block space subsidy and centralization are key characteristics of these protocols, which have allowed them to achieve such results. Similar to “fast chains,” the Lightning network offers near-instantaneous settlement or payment finalization. The Liquid sidechain has a fixed finalization time of about 2 minutes (2 blocks). Currently, only one ETH L2 can claim a similar property, which is a significant marketing distortion — the protocols require more time for basic deposit operations than some first-layer main chains.</p><p>In the table below, we provide some figures by rollup category, while the diagram below presents data by projects. As the table shows, rollup settlement depends on ETH L1 settlement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*hugo4X2Oe-1xZNico8Sevw.png" /><figcaption><a href="https://www.curvegrid.com/blog/2023-06-28-all-you-need-to-know-about-layer-1-and-2-transaction-finality">https://www.curvegrid.com/blog/2023-06-28-all-you-need-to-know-about-layer-1-and-2-transaction-finality</a></figcaption></figure><p>Bitcoin blocks are 50 times slower, and moreover, Proof-of-Work is probabilistic, which means users never know how long it will take for a transaction to be confirmed on the blockchain. Consequently, transaction finalization in a Bitcoin rollup will take longer. Considering that Blockstream may introduce the missing trustless peg-outs on Liquid at some point in the future, rollups could also lose to the Liquid sidechain in terms of settlement speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YDFW1Zknb9a1631HLwbwFg.png" /></figure><h3>Who Creates Rollups in Bitcoin</h3><p>If you have read the article up to this point, you are likely highly motivated to discover who is actually attempting to develop rollups in Bitcoin. Several companies declare work in this area, but many of them are Ethereum rollups that promise to represent a method of scaling Bitcoin. In reality, these are practically ready-made rug pulls.</p><p>The Human Rights Foundation (HRF) is supporting John Light with a grant, who is working on the topic of validity rollups for Bitcoin at Alpen Labs and publishing results on the <a href="https://bitcoinrollups.org/">bitcoinrollups.org</a> website. Light proposes several levels of nesting for rollups in Bitcoin for gradual discounting of block space. In this structure, L2 will retain a “data availability layer” where the most important L3 transactions will occur. In this form, an L2 block should occupy more than 45 kilobytes of data or more than 12 bytes per transaction (given that the size of an ECDSA signature is 32 bytes).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*tW6hfjpUcwYwHRYrBJJe_g.png" /></figure><p>The most competitive company(though we’ve realized above that rollups are quite a zero-sum game) seems to be Citrea, which was the first among all others to present a devnet version of a rollup.</p><p>StarkWare, which implements protocols for zero-knowledge computations, has also introduced its version of a ZK-prover and verifier based on the OP_CAT opcode in Bitcoin’s Signet. The primary interest in such technologies stems from the altcoin community, as it is well-known within the Bitcoin ecosystem that OP_CAT merely allows for the assembly of long data arrays within Bitcoin Script without resorting to exotic methods like invalid multi-signatures.</p><p>A project such as CatVM, proposed by Taproot Wizards, is even building its marketing strategy around this opcode. It utilizes OP_CAT to create a mechanism for locking and withdrawing funds in L2 through data concatenation and verification of Merkle tree branches, facilitating secure fund withdrawal processes.</p><p>Rollups appear to be an excellent focal point for the application of substantial resources from crypto startups (relative to investments within the Bitcoin ecosystem) due to the intersection of developments with the need for decentralization, which cannot be provided in other protocols. In the absence of significant new narratives in Ethereum, this fuels interest in these projects, although all available metrics in already developed and launched sidechains, the Lightning Network, and statechains indicate low adoption of these technologies.</p><p>You can tip for reading and support our research activity by sending some satoshis to this Bitcoin Lightning address:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xtxpg9agbI6WdPITydHa3Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6549911d99a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lightning and Bitcoin Rollups: Scaling and Settlement Considerations]]></title>
            <link>https://medium.com/@satsbridge/lightning-and-bitcoin-rollups-scaling-and-settlement-considerations-c45c721af99a?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/c45c721af99a</guid>
            <category><![CDATA[l2]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Mon, 10 Jun 2024 10:00:55 GMT</pubDate>
            <atom:updated>2024-06-10T10:00:55.507Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mq3ciJcuyCwY5YVTeHi2_g.jpeg" /><figcaption>Martin Johnson Heade &quot;Thunder Storm on Narragansett Bay” - 1868</figcaption></figure><p>On Wednesday, March 13, 2024, the Ethereum network activated another hard fork. The Cancun-Deneb (Dencun) update significantly altered the infrastructure requirements for so-called rollups and introduced several modifications to the Ethereum staking pool, enhancing network stability and node connectivity. With substantial capital flowing into rollup technology, they have a significant potential to scale the Bitcoin blockchain, even though Bitcoin has already adopted various other technologies for the same purpose. Understanding how rollups function on Ethereum is essential to assessing their potential applicability to Bitcoin and recognizing their potential drawbacks.</p><h4>Rollups Require Cheaper Blockspace</h4><p>The Ethereum community has explored several scaling solutions, but rollups have emerged as the most popular. Interestingly, due to their high cost, “payment channels” failed to gain traction in Ethereum, and a similar fate could befall rollups in Bitcoin. Aside from the Ethereum Virtual Machine being of limited interest to Bitcoin users, the cost of rollups may also be prohibitive, as current data shows. A rollup is a blockchain that processes transactions off the main Ethereum blockchain using a separate execution environment. They batch groups of transactions and compress them into a single data blob before transmitting them to the underlying Ethereum blockchain. Due to their constant use of base layers rollup projects on Ethereum compete for block space. Otherwise they have to use additional external protocols for their data that often has naming “data availability layer”. More users and transactions on a rollup also mean more data must be committed to the base layer and more fees incurred. In Bitcoin, the situation may be different since rollups may be required to post data onchain only for proving fraud but in Bitcoin true optimistic models aren’t working yet. It will be one of many <em>Federation</em> members who would have to post fraud proofs onchain.</p><p>Fidelity recently carried out analysis suggesting the current network upgrade has subsidized cheaper blockspace for selected technologies.</p><blockquote>“Ethereum has five Layer 2 (L2) platforms submitting batches roughly every minute, with many others submitting blocks or proofs at a lower frequency. This analysis supports the idea that blobs will be underused by L2s shortly after the Deneb-Cancun upgrade. However, it is likely that while blobs are underused by L2s, other participants in the Ethereum ecosystem will step in to take advantage of cheap blob space.”</blockquote><p>It’s important to note that blobs aren’t persistent; by design, nodes prune data older than 18 days, so any technology leveraging this feature must consider this limitation. Something similar has happened in Bitcoin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dK2RkvPFaEx2-4IuJ8daog.png" /><figcaption><a href="https://www.fidelitydigitalassets.com/research-and-insights/deneb-cancun-upgrade?ccmedia=owned&amp;%3Bccchannel=social&amp;%3Bcccampaign=deneb_cancun&amp;%3Bcctactics=youtube">Fidelity</a></figcaption></figure><p>The Segregated Witness soft fork allowed Lightning network clients to begin mainnet operations and enabled a discounted fee rate for them. However, the situation was more nuanced than simply activating another hard fork and providing subsidized block space for a single consumer technology. Essentially, the soft fork enabling Lightning was activated despite opposition from hard fork advocates who had plans to scale the Bitcoin blockchain and attempted to take control of the network.</p><p>Technically, the centralization of rollups makes them similar to what BitMex does with its proof-of-reserve for Bitcoin addresses. However, a notable difference is that rollups allow for challenging state changes. According to a VanEck <a href="https://www.vaneck.com/us/en/blogs/digital-assets/matthew-sigel-vanecks-ethereum-layer-2s-valuation-prediction-by-2030/">report</a>,</p><blockquote>“…of the forty-six L2s we track through l2beat, only four chains have live fraud proofs.”</blockquote><p>The Lightning network derives its security from the base layer by design, with the generation of fraud proofs embedded into the channel lifecycle. Another Bitcoin scaling alternative, statechains, also relies on blockchain security, yet only sidechain projects currently lack this significant feature along with trustless peg-outs. A crucial property of the Lightning channel is its ability to operate off-chain indefinitely without any on-chain commitments. If commitments are made (as proposed in Eltoo), node security would increase. <a href="https://medium.com/u/71db1014568a">Mohamed Fouda</a> omitted this significant difference in economic impact between the Lightning network and rollups in his analysis of Bitcoin L2 solutions. While rollups are the sole scaling solution on Ethereum, capable of unleashing economic effects due to data compression, they are likely to be less effective in Bitcoin. This is because block space is expected to become more costly, and each added rollup protocol will create a “base load” and directly compete with other rollups.</p><p><a href="https://medium.com/alliancedao/the-bitcoin-l2-opportunity-9d90517da6f8">The Bitcoin L2 Opportunity</a></p><h4>Decentralization and Regulatory Considerations</h4><p>Rollups aren’t decentralized. They mask custodial functions behind a veil of decentralization, thus sidestepping regulatory scrutiny. Even with the introduction of so-called decentralized sequencers, zero-knowledge rollups have a significant opportunity to extract rents due to the resource intensity and technical complexity of creating zero-knowledge programs. Another key value proposition of rollups is regulatory arbitrage. For instance, Coinbase launched Base when Binance faced regulatory challenges and could no longer support its own stablecoin on the Smart Chain. Meanwhile, Coinbase’s long-standing partner Circle launched a native USDC token on Base. If a rollup project aims for censorship-resistant properties, it must somehow utilize the Bitcoin blockchain, but this would likely reduce the potential for rent extraction, as rollup projects are very business-oriented and compete with each other, which doesn’t take place in the open and permissionless Lightning network.</p><h4>Settlement Speed and Technological Limitations</h4><p>Layer 1 solutions like Binance Smart Chain, Tron, or Solana enable payments to be settled within seconds, one of the main guarantees of any base layer. Thanks to this feature, they remain prominent in the crypto scene. For quick settlement in the crypto market, cryptocurrencies with short block intervals and sufficient price stability, such as XRP, DOGE, and Litecoin, were used at various times. The popularity of TRON, which became the base blockchain for Tether in emerging markets, can be attributed to its speed. Block space subsidy and centralization are the key attributes of these protocols, which have allowed them to achieve such results.Like “fast chains,” the Lightning Network offers nearly instant settlement or payment finalization. The sidechain Liquid has a fixed finalization time of about 2 minutes (2 blocks). Currently, only one L2 ETH can claim a similar property, which is a significant marketing misrepresentation — protocols require more time for basic operations with deposits than some L1 main chains.</p><p>In the table below, we provide some figures for categories of rollups, while the chart below presents data on a per-project basis. As the table indicates, rollup settlement depends on ETH L1 settlement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*VgIfq6jLI69svMcGzoMnTg.png" /><figcaption><a href="https://www.curvegrid.com/blog/2023-06-28-all-you-need-to-know-about-layer-1-and-2-transaction-finality">https://www.curvegrid.com/blog/2023-06-28-all-you-need-to-know-about-layer-1-and-2-transaction-finality</a></figcaption></figure><p>Bitcoin blocks are 50x slower, and moreover, Proof-of-Work is probabilistic, meaning users never know how long it will take for a transaction to confirm on-chain. Therefore, a settlement on Bitcoin rollups will surely take longer. If we consider that Blockstream might introduce missing trustless peg-outs to Liquid at some point in the future, rollups could also lose out to the sidechain Liquid in terms of settlement speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dMECfSnacmKvlT-6N1eMw.png" /></figure><h4>Conclusion</h4><p>While there is considerable criticism of rollups, it’s worth noting that they are effective on ETH because they compress state data and apparently fulfill the role the Lightning fulfills in Bitcoin. This comes with trade-offs, but rollups vary in type, and new methods may be proposed at any time. However, the benefits of using them to scale Bitcoin are less evident. Rollups on ETH are not interoperable, as opposed to Lightning where each added node decreases the base onchain load and enhances the network’s value, resilience, transaction throughput, and overall capacity. Rollups will need to compete with each other and strive for greater interoperability; otherwise, a single dominating protocol with hopefully a decentralized sequencer will emerge albeit it conflicts with initial centralization and rent-seeking.</p><p>A 20–40x increase in transaction throughput that rollups promise, does not seem sufficient for scaling Bitcoin. Such a figure is hardly satisfactory for the global adoption of a blockchain protocol. For Bitcoin, this might even be inadequate, as its blocks are smaller, less frequent, and crucially — cannot have a fixed interval, which complicates predicting payment finalization in the second layer. For rollups, this means that while they can compress UTXO data, they may not be practical for end-users, unlike the Ark protocol.</p><p>As we can see, rollups also lead to problems with the Ethereum protocol (decreasing slot utilization due to increased bandwidth requirements). Currently, these are not critical issues, as there are no viable scaling alternatives in Ethereum. The extent to which main chain reorganization may impact rollups is not clear yet. Preventive protection against reorganization will lead to higher settlement times. Similarly they may bring instability into Bitcoin mining pools. We know examples from the past when miners ceased merge-mining Namecoin precisely because of unstable software and network issues. It would mean that only some miners will support selected networks which defeats the very idea of decentralization of these L2s.</p><p>For SatsBridge, all this likely means that liquidity and users will remain on ETH L2 and do not move onto BTC L2, even EVM-compatible. While it is unlikely that Bitcoin will lose its status as the global decentralized cryptocurrency and store-of-value, it has a chance to become a key asset for entering the crypto market again due to aggressive and restrictive KYC/AML practices on centralized exchanges and an ecosystem that includes relatively developed peer-to-peer exchanges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c45c721af99a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Identity and Nature of Credit]]></title>
            <link>https://medium.com/@satsbridge/identity-and-nature-of-credit-4f0520def9c8?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f0520def9c8</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[did]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Thu, 09 May 2024 21:59:47 GMT</pubDate>
            <atom:updated>2024-05-09T21:59:47.420Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PwQE_1A4rWC8Zl9T" /><figcaption>Source: <a href="https://hurraki.de/w/images/1/11/Panopticon.jpg">https://hurraki.de/w/images/1/11/Panopticon.jpg</a></figcaption></figure><p>Michael Saylor recently <a href="https://bitcoinmagazine.com/business/microstrategy-announces-decentralized-id-platform-on-bitcoin-called-microstrategy-orange">announced</a> a new Digital Identity Solution. For multiple reasons this came as a surprise for Bitcoin community. In a combined talk, the CEO and EVP of Microstrategy present a solution called “Orange” that aims to get rid of centralized certificates and anchor identity certificates to the Bitcoin blockchain.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnXQWj6P0P1k%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnXQWj6P0P1k&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnXQWj6P0P1k%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b0a6ca89b5930c9509066a4570a12fc9/href">https://medium.com/media/b0a6ca89b5930c9509066a4570a12fc9/href</a></iframe><p>According to Cezary Raczko, user’s identity data are being “inscribed” on the Bitcoin blockchain. This is one of the major opposition points to the “Orange” protocol: bitcoiners have just enough Ordinals/Inscriptions during the year 2023, so Microstrategy corporation could write arbitrary data into blocks. Another point: there were actually plenty of such protocols that couldn’t get meaningful traction for creating and maintaining network effects big enough to form at least a minority of Internet users who use it on a regular basis. Keybase.io was relatively successful in helping establish a <a href="https://en.wikipedia.org/wiki/Web_of_trust">“web of trust”</a> in small communities, but it failed to expand due to its attachment to the Stellar cryptocurrency project.</p><p>A number of projects tried or still trying to implement Decentralized Identity protocols, but we likely need just a standard because private/public keys are ubiquitous in cryptocurrency. Projects uPort, Sovrin, Civic, SelfKey, and Evernym are not widely known, though Civic raised funds via ICO years ago. ION, which means Identity Overlay Network) is a decentralized identity protocol developed by Microsoft that once made some noise in the Bitcoin community. However, “Orange” by Microstrategy began with integrating with Outlook, and it could mean a conflict between implementations unless they might be done using common standards. Apparently, the only practical thing that got visible traction is the Ethereum Name System, which appears to be closer to how DID would have to operate to become truly useful and popular.</p><p>However, ENS only appears to be a good illustration. In fact, the account-based model of Ethereum broadcasts all of the person’s transactions and assets to the whole network. The only reasonable solution for Digital Identity should be the off-chain solution. There are two significant reasons for that: 1) the user already signs with keys for each onchain transaction, leaving trails that merely need to be properly attributed and exchanged, possibly in a web of trust, and 2) the standard may evolve. The Lightning network operates in a similar fashion and also has identities. As an offchain protocol, Lightning Network may change really fast but if we talk about human Identities, it may be beneficial not just having an overlay protocol that may change but the protocol that we can destroy. Look for example when Civil registry was bombed in Amsterdam <a href="https://en.wikipedia.org/wiki/1943_bombing_of_the_Amsterdam_civil_registry_office">during German occupation</a>.</p><p>Why building identity protocols is so popular? The enterprise solution “Orange” or ION was developed by a corporation for a corporation. For the rest, building an identity protocol appears like a good opportunity to link payment data and identity data using the very same ledger so they could use these data. For that reason, using DID can’t have any benefits for a person who willingly wants to be anonymous while transacting with cryptocurrencies. However, strong incentives may take place in case this person wants to interact with another anonymous person on a peer-to-peer marketplace. A uniform metric for trust in such a marketplace makes it easy to implement trade flows that will lead to non-cooperative outcomes in a minority of situations.</p><p>The credit-based economy, in general, also relies on trust and ratings. From sovereign and corporate ratings to individual credit histories, these ratings are being used for the projection of future income. This is what banks and landlords want to see. On an individual level, it may look pretty much like modern slavery. The contemporary Schufa in Germany has features that are quite similar to China’s social rating system. With blockchains, DID startups have paramount transactional activity data, and they are able to do any kind of surveillance with user data as long as they have access to them and the underlying blockchains are non-private.</p><p>And now, while the US government arrests whoever it wants to arrest globally for writing software that is not viruses do half-backed DID standards make any sense? When privacy tech is outlawed, DID does not make any difference. Of course, in the peer-to-peer marketplace and lending use cases, DIDs are essential. But DIDs are not irreplaceable there. Identity and reputation are essentially collateral in trust-based economies. That means if we place hard assets instead of reputation and identities, we may actually have systems of another type that do not require intermediation. Of course, collateral should not be important for writing emails like in Saylor’s presentation, but in lending, this is precisely what banks have been doing for centuries.</p><p>And what is the best collateral?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f0520def9c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Black Magic of Bitcoin: Runes]]></title>
            <link>https://medium.com/@satsbridge/the-black-magic-of-bitcoin-runes-b015d1a38fcd?source=rss-32d25b307f68------2</link>
            <guid isPermaLink="false">https://medium.com/p/b015d1a38fcd</guid>
            <category><![CDATA[brc20]]></category>
            <category><![CDATA[lightning-network]]></category>
            <category><![CDATA[bitcoin-l2]]></category>
            <category><![CDATA[runes]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[SatsBridge.com]]></dc:creator>
            <pubDate>Sun, 21 Apr 2024 13:35:04 GMT</pubDate>
            <atom:updated>2024-04-21T13:36:03.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X1Bal1KQpjsth75t5WyhUA.jpeg" /><figcaption>ᚱᚢᚾᛖᛋ ᚪᚱᛖ ᚳᚩᛗᛁᚾᚷ</figcaption></figure><p>Casey Rodarmor proposed Runes in September 2023, when BRC20 tokens in Inscriptions reached peak values. Subsequently, in the fall, it repeatedly reached the same levels of daily transactions, following the support of BRC20 by exchanges. This motivates and affirms the developer’s main goal — creating alternatives to the extremely inefficient BRC20 format, which was broken after the Ordinal Theory Super Testnet failure. The case is known as “<a href="https://web.archive.org/web/20230525101054/https://github.com/casey/ord/issues/2062#issuecomment-1535305819">I am become Math, breaker of jpegs</a>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oaGp21voGR_s64aa3j4byg.png" /><figcaption><a href="https://dune.com/queries/2135473/3504842">https://dune.com/queries/2135473/3504842</a></figcaption></figure><p>Rodarmor suggested that if a new hypothetical protocol had a small blockchain footprint and promoted responsible UTXO management, it could reduce harm compared to existing protocols. At least this is confirmed by STAMPs — the Bitcoin troll protocol by Mike In Space, which places data in non-working public keys of multisig in the Legacy part of the block. Mike was particularly persistent in developing a new protocol after discussions about the inadmissibility of Inscriptions in the Bitcoin blockchain.</p><p>The core principles behind Runes align closely with Bitcoin maximalist values, i.e., except for the goal itself — issuing tokens on Bitcoin, they clearly follow the community’s unwritten rules. Those include:</p><ul><li>Protocol simplicity.</li><li>Ease of use. Are there implementation details that negatively affect the user experience? In particular, protocols that depend on off-chain data have a smaller blockchain footprint but introduce significant complexity and require users to either manage their own servers or find and interact with existing servers.</li><li>UTXO State Model. Protocols based on UTXO fit better into Bitcoin and help minimize the UTXO set, avoiding the creation of “garbage” UTXOs.</li><li>The primary token is Bitcoin. Protocols with their own token necessary for operations are cumbersome and naturally less widely used.</li></ul><p>Based on these principles, we can highlight the differences from existing Bitcoin token protocols:</p><p>BRC-20 is not based on UTXO and is quite complex, as Ordinals theory for some operations.</p><p>According to Rodarmor, RGB is very complex, depends on external data, and has been in development for a long time without any adoption. What we would call the “RGB curse”.</p><p>Counterparty has its own token necessary for some operations, is not based on UTXO, and requires special wallets.</p><p>Omni Layer has its own token necessary for some operations, is not based on UTXO, and requires separate infrastructure and indexing. Programs and clients are poorly supported, even Tether dropped support of USDT issuance on Omni Layer, despite previous investments in the protocol in various ways.</p><p>Taproot Assets is complex, depends on off-chain data, and is expected to work mainly in conjunction with the Lightning Network, through token providers.</p><p>In this context, RGB and Taproot Assets, both initially developed as off-chain protocols, are not directly comparable to on-chain protocols.</p><p>The simple rules of Runes allow them to be present in any wallet with relatively minor modifications. Likely, the protocol could even function if OP_RETURN was reduced from 80 to 40 bytes (what Bitcoin purist Luke-Jr wants to see).</p><p>In addition to simple principles, Runes incorporate functions for the perspective of further halvings, and they give the impression of black magic, as it is quite obvious that the entire ecosystem, besides well-chosen marketing names, has mechanisms for long-term growth and expansion of support. Rodarmor created a minimalist protocol without a DAO or its own token — further application will have an “expansionary” nature depending on the businesses and individuals who decide to build something on its basis.</p><h3><strong>How Runes Work</strong></h3><p>Rune balances are stored in UTXO (Unspent Transaction Output). This is a basic concept in Bitcoin. Each UTXO represents a portion of the total supply of digital currency that has been received but not yet spent. In this context, each UTXO can store Rune balances. One UTXO can contain different amounts and types of Runes, as well as bitcoins.</p><p>A Bitcoin transaction must contain a protocol message for the wallet to start having any relation to Runes. If it contains an output whose pubkey script contains OP_RETURN, followed by the transfer of ASCII data of the uppercase letter R, it will mean that it contains a protocol message, which will consist of all data after the first letter R.</p><p>OP_RETURN is widely used by many other protocols. It is a Bitcoin script opcode that marks the transaction output as invalid for spending but allows it to carry arbitrary data. Each Bitcoin node by default does not store these data.</p><p>When Runes are entered into a transaction with an invalid or non-compliant protocol message, they are “burned” or removed from circulation forever. This mechanism prevents misuse of the system and helps maintain the integrity of the protocol, especially during updates or changes in the management of Runes in the future.</p><p>Numbers are encoded in the protocol as <em>Varints</em> (literally, variable integers). They are used to save space in data storage by encoding integers with a variable number of bytes. <em>Prefix</em> <em>varints</em> are a type of <em>varints</em> where the number of leading ones in the binary representation indicates how many bytes are used for this integer storage.</p><h3>Runes transfers: Edicts</h3><p>Runes are transferred by “edicts,” and this is the simplest function of the protocol. The remainder of runes from any transaction or all runes belonging to a UTXO can be transferred to the default change address of the wallet.</p><p>If the token owner wants to transfer a certain amount of runes to another owner, they can do so with a small amount of bitcoins, as they are necessary for the transaction itself. In this case, “Runestone” is recorded in OP_RETURN — a “runic stone” that stores integers.</p><p>These integers are interpreted as a sequence of tuples (ID, OUTPUT, AMOUNT). If the number of decoded integers is not a multiple of three, then the protocol message is considered invalid. ID means the numeric identifier of the rune. OUTPUT is the index of the output where tokens are transferred. AMOUNT is the number of runes being transferred.</p><p>The second and subsequent IDs are encoded as a delta from the first. This allows avoiding the repetition of the full rune identifier when assigning the same rune multiple times and slightly optimizes storage for large numbers. For example, tuples:</p><p>[(100, 1, 20), (0, 2, 10), (20, 1, 5)]</p><p>Produce the following transactions:</p><p>- ID 100, sent to output 1, in the amount of 20 runes,</p><p>- ID 100, to output 2, 10 runes,</p><p>- ID 120, to output 1, 5 runes.</p><p>An AMOUNT equal to 0 means “all remaining runes.” After processing all tuples, any unassigned runes are assigned to the first output that is not OP_RETURN, if any. In the described transaction, there can be up to 3 different recipients, by the number of outputs, and one implicit — the sender, who will keep the unspent runes, as mentioned at the beginning of the section, if the change address turns out to be the first.</p><p>If a transaction contains excessive rune transfers, they will be ignored. Runes can be destroyed if they are assigned to an OP_RETURN output containing a protocol message. Here the simple rules end.</p><h3>“Minting” and Issuance of Runes</h3><p>Runes are identified by IDs, which consist of the block in which the rune was engraved, and the index of the engraving transaction in that block, presented in text form as BLOCK:TX. For example, the ID of a rune minted in the twentieth transaction of the five hundredth block would be 500:20.</p><p>It turns out to be an important feature that the moment of minting and issuance of runes are separated. Rodarmor did this to counteract the front-running of rune issuance. For example, in BRC20, due to the full transparency of the protocol, minters must have access to miners so that transactions enter the block bypassing the mempool, otherwise, they can be “intercepted” and issued with priority if there is additional value to be gained in a fee auction.</p><p>After the rune is engraved, among a multitude of addresses, it is impossible to determine which address specifically made the runic signature, as it is “hidden” in the Taproot tree and will be disclosed only at the moment of spending. Therefore, it becomes known only during the subsequent issuance of tokens. However, the transaction fixing the name must be in the same issue as the runestone creation, otherwise, the issuance will be ignored.</p><p>Runes have a unique mechanic: shorter symbols will be unlocked later, allowing to avoid front-running (again) of more attractive shorter “names”. Initially, all rune names of thirteen or more characters are unlocked, up to the first reserved rune name, which</p><p>`AAAAAAAAAAAAAAAAAAAAAAAAAAA`</p><p>Runes are to be unlocked at block 840,000, the block in which the runic protocol is activated. After that, every 17,500 blocks continuously unlocks the next smallest length of rune names.</p><p>The number 17500*12 = 210,000 is the interval until the next halving. Between block 840,000 and block 857,500, twelve-character rune names are unlocked, between block 857,500 and block 875,000, eleven-character rune names are unlocked, and so on, until between block 1,032,500 and block 1,050,000, single-character rune names are unlocked.</p><p>Engravings are decoded as two integers, SYMBOL and DECIMALS. If additional integers remain, the protocol message is considered invalid.</p><p>SYMBOL is the token ticker, encoded in base26 (i.e., letters of the Latin alphabet from A to Z), human-readable, similar to what is used in “names” of sats in Ordinals.</p><p>DECIMALS is the number of digits after the decimal point that should be used when displaying the issued rune.</p><p>If SYMBOL has not yet been assigned, it is assigned to the issued rune, and the issued rune receives the next available numeric rune ID, starting from one. If SYMBOL has already been assigned or is BITCOIN, BTC, or XBT, a new rune is not created. Transfer transactions using rune ID 0 are ignored, but other transfers are still processed if they were present in the transaction.</p><h3>Conclusion</h3><p>There isn’t a complete description of Runes, as the protocol has a very small amount of detailed material. The basis for the “<a href="https://docs.ordinals.com/runes/specification.html">specification</a>” is one page on the Ordinals project and the ord wallet code. A small <a href="https://stacker.news/items/488690/r/notgeld">thread on Stacker.news</a>, which also does not gain much popularity and where a few links are collected, e.g. <a href="https://rodarmor.com/blog/runes/">link to Rodarmor’s blog with the original idea</a>.</p><p>Runes has all the components for hype: it uses a bit of Taproot to improve the market properties of tokens; an internal mechanism that can support a small share of hype within the community, to build up the Lindy effect; not a complex implementation, which can be added to many wallets if they have mastered integration with BitcoinDevKit; fancy naming.</p><p>The simplicity of implementation even allows for the creation of payment channels based on UTXO with Runes. Likely, they can be simpler than the Taproot Assets Protocol.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b015d1a38fcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>