<?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 Proximity on Medium]]></title>
        <description><![CDATA[Stories by Proximity on Medium]]></description>
        <link>https://medium.com/@ProximityFi?source=rss-41d0f266807b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cwvpLsOGCf3YIM_lBN7qEg.jpeg</url>
            <title>Stories by Proximity on Medium</title>
            <link>https://medium.com/@ProximityFi?source=rss-41d0f266807b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 17 May 2026 19:15:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ProximityFi/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[Introducing the Based Names Agent: Register Your Basename with a Tweet!]]></title>
            <link>https://medium.com/@ProximityFi/introducing-the-based-names-agent-register-your-basename-with-a-tweet-a4aff0607407?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4aff0607407</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[base]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 17:00:16 GMT</pubDate>
            <atom:updated>2025-03-31T17:00:16.762Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KdMAlo8Rn5XVULHEzlBBmA.png" /></figure><p>Imagine securing your own blockchain basename — like <em>yourname.base.eth</em> — with nothing more than a simple tweet. No need to download apps, set up wallets, or navigate complex interfaces — just use your existing X account. That’s the magic of <strong>Based Names Agent</strong>, an amazing tool that brings blockchain functionality directly to the social media platform you already know and love.</p><p>Built using NEAR Protocol’s Shade Agents stack and Chain Signatures, this <a href="http://near.ai/shade">shade agent</a> makes claiming a basename as easy as posting a status update. A basename is more than just a cool identifier; it’s your personal stake in the decentralized web, tying your identity to blockchain ecosystems in a seamless, user-friendly way.</p><h3>How It Works: Tweet, Pay, Done!</h3><p>Getting your hands on a basename couldn’t be simpler. Here’s a detailed step-by-step breakdown of the process:</p><ol><li><strong>Tweet Your Request</strong>: Start by tweeting at the agent with your desired basename — for example, <em>@basednames buy yourname.base.eth</em>. The agent instantly scans X for your mention, checks the availability of your chosen name, and prepares to guide you through the next steps.</li><li><strong>Receive a Quote</strong>: Within moments, the agent responds with a tweet containing the price of your basename and a unique one-time address (OTA). This OTA is a temporary Ethereum address generated just for your transaction, ensuring privacy and security by keeping it separate from your main wallet.</li><li><strong>Send Funds via X</strong>: Use an X-integrated wallet bot (or any other crypto wallet) like <em>@bankrbot</em> to send the required funds to the OTA. These bots are designed to handle cryptocurrency transactions right within X, so you can complete the payment without ever leaving the platform.</li><li><strong>Sit Back and Relax</strong>: Once the agent detects your payment, it takes care of everything else — interacting with the blockchain to register your basename to your address. You’ll get a confirmation tweet when it’s done, and that’s it! No private keys to manage, no complicated setups — just a few tweets, and you’re a basename owner.</li></ol><p>This streamlined process eliminates the usual friction of blockchain interactions, making it accessible to anyone with an X account.</p><h3>Why This Matters</h3><p>The Based Names Agent is more than a neat gimmick — it can be a game-changer for blockchain adoption and usability. Here’s why it’s a big deal:</p><ul><li><strong>Effortless for Users</strong>: Users don’t need to install software or learn new tools. If they can tweet, they can use blockchain. This simplicity opens the door to millions of potential users who might otherwise shy away from the complexity of traditional crypto setups.</li><li><strong>Secure and Trustless</strong>: Thanks to<a href="https://near.org/blog/chain-signatures-have-arrived-on-mainnet"> NEAR’s Chain Signatures</a>, transactions are protected without the agent ever touching the user’s funds. Chain signatures enable secure, multi-chain operations without requiring users to expose sensitive information, keeping users in full control.</li><li><strong>A Boost for Developers</strong>: The technology powering this — the Shade Agent stack — empowers developers to build more social-media-integrated blockchain tools. By offering a framework for fast, trustless agents, it paves the way for a new wave of decentralized applications that meet users where they already are.</li></ul><p>Beyond just registering a name, this shade agent can lower barriers, boost adoption, and create real benefits for both everyday users and the developers shaping the future of DeFi.</p><h3>Under the Hood</h3><p>Wondering how this all works behind the scenes? Let’s break it down into easy-to-grasp pieces:</p><ul><li><strong>Tweet Detection</strong>: The Based Names Agent constantly monitors X for mentions containing valid basename requests. Using natural language processing, it interprets your tweet, verifies the format, and ensures your chosen name is available before proceeding.</li><li><strong>Unique Address Creation</strong>: For each purchase, the agent generates a one-time address (OTA) using NEAR’s Chain Signatures. This cryptographic trick creates a temporary, gas-free address tied to your transaction, keeping costs low and security high.</li><li><strong>Smooth Registration</strong>: After you send funds to the OTA via <em>@bankrbot,</em> the agent confirms the payment, interacts with the Shade Agent smart contract, and registers your basename on the blockchain — all without any manual intervention. The process is fully automated and trustless, meaning the agent can’t misuse your funds or deviate from its programming.</li></ul><p>This combination of the Shade Agent stack and NEAR’s technology delivers a trust minimised, efficient system that’s approachable even if you’re not a tech expert.</p><h3>About Shade Agents</h3><p>Shade Agents are a groundbreaking innovation in the Crypto x AI ecosystem, designed to be the first truly autonomous, multichain agents. Developed by Proximity Labs, these agents run verified code in a Trusted Execution Environment (TEE), making them a far more reliable solution for tasks like launching tokens, managing user funds, or handling complex blockchain interactions compared to current agent solutions.</p><p>Each Shade Agent is paired with a corresponding smart contract that manages cryptographic keys and enforces trustless guardrails. This combination of TEE and smart contract technology ensures that Shade Agents operate with minimal trust assumptions, giving users confidence that their interactions are trustless and protected by the blockchain’s immutable rules.</p><p>The Shade Agent stack empowers developers to rapidly build and deploy these agents. By leveraging NEAR’s chain signatures, developers can access multiple blockchains from a single codebase, streamlining the development process and expanding the potential use cases for Shade Agents. This versatility allows Shade Agents to seamlessly interact across ecosystems — whether on Ethereum, NEAR, or other chains — making them a powerful tool for creating decentralized solutions.</p><h3>Try It Yourself!</h3><p>Ready to grab your own basename? All it takes is a tweet: <strong>@basednames</strong> <strong>buy yourname.base.eth</strong>. Follow the agent’s instructions, send your payment, and watch as your name gets registered — all without leaving X!</p><p><strong>Disclosure: </strong>Proximity Labs holds $NEAR and other tokens or investments that may be associated with the technology mentioned in this article. These statements are intended to disclose any conflict of interest and the content of this article should not be misconstrued as a recommendation to purchase or sell any token or to use any protocol.</p><p><strong>Disclaimer:</strong> This blog provides information about an experimental technology that is still in development and may involve financial risk<strong>.</strong> There are no guarantees of security, performance, or profitability.</p><p>By interacting with Based Names Agent, <strong>you acknowledge and accept that:</strong></p><ul><li>You could <strong>lose some or all of your funds.</strong></li><li>The agent may behave unpredictably or execute unintended transactions.</li><li>Smart contract vulnerabilities, hacks, or external attacks could compromise funds.</li></ul><p><strong>Proximity Labs does not provide financial, investment, or legal advice.</strong> Always do your own research and consult with a professional before making financial decisions. Use this agent at your own risk.</p><p><a href="https://fringe-brow-647.notion.site/Based-Names-Agent-Terms-of-Service-TOS-1c309959836d80ad927ae024d1dd6f96"><strong>Terms of Service</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4aff0607407" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Bitcoin-native dApps with NEAR’s Abstraction Stack]]></title>
            <link>https://medium.com/@ProximityFi/building-bitcoin-native-dapps-with-nears-abstraction-stack-fb4aeb448eee?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb4aeb448eee</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Wed, 08 Jan 2025 22:23:26 GMT</pubDate>
            <atom:updated>2025-01-08T22:23:26.795Z</atom:updated>
            <content:encoded><![CDATA[<p>As Bitcoin continues to stand as the most widely recognized and secure blockchain, its integration into decentralized applications (dApps) has become a key focus for developers aiming to harness its unparalleled network security and adoption. NEAR Protocol’s innovative chain abstraction stack presents a groundbreaking solution to this challenge. These technologies empower developers to execute their business logic and deploy smart contracts on NEAR’s highly efficient and scalable blockchain infrastructure, all while maintaining seamless control over Bitcoin accounts and assets natively.</p><p>This integrated approach seamlessly combines Bitcoin’s security with NEAR’s scalability, enabling the development of Bitcoin-native dApps that offer superior performance and an optimized user experience. From decentralized finance (DeFi) applications leveraging Bitcoin’s liquidity to novel cross-chain functionalities, this synergy unlocks an array of transformative possibilities without compromising on decentralization or scalability. By combining the strengths of both ecosystems, NEAR Protocol positions itself as a pivotal player in driving the evolution of blockchain interoperability and innovation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L113oNLaivDUZoeC" /></figure><h3>NEAR’s Abstraction Stack: The Basics</h3><p>NEAR’s abstraction stack provides a suite of services that enable developers to build applications with seamless user experiences. Developers can use this stack to build Bitcoin-native dApps without requiring users to manage multiple wallets or understand cross-chain mechanics.</p><p>The two key components in the abstraction stack are Chain Signatures and Omnibridge.</p><ul><li><strong>Chain Signatures</strong>: Utilizing Multi-Party Computation (MPC), NEAR enables accounts and smart contracts on the NEAR blockchain to sign and execute transactions on external chains, such as Bitcoin. This allows dApps to interact with Bitcoin’s UTXO model, enabling advanced functionality like asset transfers or decentralized finance (DeFi) protocols.</li><li><strong>Omnibridge</strong>: An aggregator of various message passing layers and light clients that enable NEAR smart contracts to access states on external blockchains including Bitcoin.</li></ul><p>By combining these technologies, NEAR acts as a bridge to Bitcoin, where developers can harness Bitcoin’s security and decentralization alongside NEAR’s scalability and smart contract capabilities.</p><h3>Architecture Overview</h3><p><strong>Business Logic on NEAR</strong></p><ul><li>Developers write smart contracts in NEAR’s WebAssembly-compatible languages (e.g., Rust or JavaScript).</li><li>The business logic resides on NEAR, leveraging its high throughput, low fees, and comprehensive developer tooling.</li></ul><p><strong>Bitcoin Integration with Chain Signatures</strong></p><ul><li>Bitcoin addresses are derived from NEAR accounts using deterministic algorithms.</li><li>The dApp’s smart contract on NEAR, sends a signature request to the NEAR blockchain, where the Chain Signatures protocol module (backed by MPC) signs Bitcoin transactions securely.</li><li>Signed Bitcoin transactions are broadcast to the Bitcoin network.</li></ul><p><strong>User Experience</strong></p><ul><li>Users interact with the dApp through a single account, which could be either a Bitcoin or NEAR account, without needing to manage separate wallets.</li><li>Tip: Check out this demo that shows using an existing Bitcoin wallet to interact with a dApp with smart contracts on NEAR through <a href="https://www.satos.network/">Satoshi Protocol</a></li><li>Gas fees can be subsidized using NEAR’s relayer infrastructure, ensuring smooth onboarding for non-crypto-savvy users.</li></ul><h3>Use Cases</h3><h4>BitcoinFi</h4><p>Developers can build DeFi applications on NEAR, such as decentralized exchanges (DEXs), lending platforms, or yield farming protocols, while directly leveraging Bitcoin liquidity. For example:</p><ul><li>Users deposit Bitcoin into native Bitcoin accounts, derived and controlled by Chain Signatures.</li><li>Tip: <a href="https://www.satos.network/">Satoshi Protocol</a> already offers a solution for this, so developers can avoid building from scratch.</li><li>The dApp uses Chain Signatures to execute Bitcoin transactions, such as locking or transferring assets.</li><li>Business logic such as interest calculations, borrowing, and repayments are handled by smart contracts on NEAR.</li></ul><h4>Payment Gateways for Merchants</h4><p>dApps can integrate Bitcoin payments for e-commerce or subscription services. The business logic (e.g., managing subscriptions, refunds, or loyalty rewards) resides on NEAR, while Bitcoin is used for actual payments.</p><ul><li>Bitcoin payments are received with a native transfer to a Chain Signature derived account</li><li>Control of the payment flow e.g. subscription payments is signed using NEAR accounts.</li><li>Smart contracts on NEAR automate tasks like order processing or reward distribution.</li></ul><h4>Cross-Chain NFT Platforms</h4><p>NFT marketplace on NEAR where users purchase NFTs using Bitcoin. The marketplace handles:</p><ul><li>Bitcoin payments via Chain Signatures and Omnibridge.</li><li>NFT minting and trading logic on NEAR.</li><li>NFTs can also be minted on multiple chains leveraging Chain Signatures.</li></ul><h4>Bitcoin Custody Solutions</h4><p>Using NEAR’s multi-chain capabilities, developers can create Bitcoin custody or wallet solutions that enable:</p><ul><li>NEAR smart contracts to manage rules for multi-signature wallets e.g. a DAO.</li><li>Bitcoin transactions controlled via Chain Signatures.</li></ul><h3>Demo</h3><p>The video below features a proof-of-concept from Satoshi Protocol, demonstrating seamless interaction with a lending platform on NEAR using existing Bitcoin wallets like Unisat, Xverse, and OKX. In this setup, NEAR smart contracts manage the core business logic, including interest calculations, borrowing, and repayments, while users enjoy a familiar Bitcoin-native experience:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*48njEx0AVSLtv12ZbxTTHg.gif" /></figure><h3>Conclusion</h3><p>NEAR’s abstraction layer introduces a transformative paradigm for Bitcoin-native decentralized applications (dApps), enabling developers to tap into the best of both worlds. By leveraging Bitcoin’s unmatched security, decentralization, and trust, alongside NEAR’s scalable infrastructure and advanced smart contract capabilities, this hybrid approach unlocks unprecedented possibilities for innovation.</p><p>Developers can build dApps that utilize Bitcoin’s robust network as the foundation for security and value, while employing NEAR’s high-performance blockchain for complex business logic, programmable interactions, and seamless scalability. This combination paves the way for groundbreaking use cases, from decentralized finance (DeFi) protocols leveraging Bitcoin’s liquidity to NFT platforms that capitalize on NEAR’s cost-efficient and fast transactions.</p><p>The seamless integration offered by NEAR not only bridges the gap between Bitcoin and modern smart contract ecosystems but also enhances the developer experience by simplifying cross-chain development. This, in turn, results in dApps that are not only secure and scalable but also intuitive and user-friendly. By providing a practical framework for interoperability and performance, NEAR empowers developers to build the next generation of Bitcoin-powered dApps, driving adoption, innovation, and value across the decentralized ecosystem.</p><h4>Further Readings</h4><ul><li>Chain Abstraction <a href="https://near.org/chain-abstraction">homepage</a></li><li>Chain Abstraction <a href="https://docs.near.org/build/chain-abstraction/what-is">overview</a></li><li>Chain Signatures <a href="https://docs.near.org/concepts/abstraction/chain-signatures">overview</a></li><li><a href="https://github.com/near-examples/near-multichain">Sample</a> project on using Chain Signatures</li></ul><p><strong><em>Disclosure</em></strong><em>: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. These statements are intended to disclose any conflict of interest and the content of this article should not be misconstrued as a recommendation to purchase or sell any token or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb4aeb448eee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redefining Multi-Chain Vaults for the Future of DeFi]]></title>
            <link>https://medium.com/@ProximityFi/redefining-multi-chain-vaults-for-the-future-of-defi-d6922f31cd76?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6922f31cd76</guid>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Fri, 06 Dec 2024 16:49:29 GMT</pubDate>
            <atom:updated>2024-12-06T17:06:22.098Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>With NEAR’s Chain Signatures</strong></h4><h3>Understanding Vaults: The Cornerstone of Yield Generation</h3><p>Crypto vaults represent a transformative layer of DeFi, simplifying complex strategies for generating yield. By automating sophisticated mechanisms behind user-friendly interfaces, they have become essential tools for both retail and institutional participants in decentralized finance.</p><p>Vaults typically fall into one of the following categories:</p><ol><li><strong>Liquidity Provision in AMM Pools: </strong>Vaults can deposit assets into Automated Market Maker (AMM) pools, earning trading fees that the AMM collects from market participants. These fees are redistributed to liquidity providers, and the vault automates the reinvestment of these earnings, allowing compounding over time.</li><li><strong>Yield Farming: </strong>Another popular strategy involves farming protocol-native tokens by staking liquidity in decentralized exchanges or other DeFi protocols. These tokens, earned as rewards, are automatically sold and reinvested into the original assets, enabling compounded growth for users.</li><li><strong>Advanced Strategies: </strong>Vaults with sophisticated strategies use methods like leveraging to magnify returns, shorting to profit from price declines, or hedging to manage risk. These advanced strategies provide flexibility for users with specific financial goals, making DeFi vaults competitive with traditional finance (TradFi) investment tools.</li></ol><p>In essence, vaults lower barriers to entry for DeFi participants. They allow users to benefit from complex financial strategies without requiring technical expertise, extensive research, or constant monitoring.</p><h3>Multi-Chain Vaults: Unlocking Cross-Chain Potential</h3><p>As blockchain ecosystems expand, opportunities for generating yield extend across multiple chains. However, traditional vault designs are often restricted to single chains or rely on risky and cumbersome mechanisms to access opportunities elsewhere. Let’s explore the prevailing methods and their limitations.</p><h3>Bridging Assets:</h3><p>Multi-chain vaults often depend on bridges to transfer assets across blockchains. For example:</p><ul><li>A user deposits Ethereum-based assets into a vault.</li><li>The vault bridges these assets to Avalanche or Solana to access additional yield opportunities.</li></ul><h3>Challenges with Bridging:</h3><ul><li><strong>Synthetic Tokens:</strong> Bridged assets are typically represented as synthetic tokens, which are only as secure as the bridge issuing them. This adds an extra layer of risk.</li><li><strong>Operational Overhead:</strong> Rebalancing across chains and managing liquidity require additional infrastructure, such as oracles and third-party tools, increasing complexity.</li><li><strong>Vulnerability to Exploits:</strong> Bridges are among the most targeted components in DeFi, with high-profile hacks resulting in billions of dollars lost.</li></ul><h3>DeFi Chain Protocols:</h3><p>DeFi-specific blockchains, or “DeFi chains,” aim to centralize liquidity and infrastructure for decentralized applications. These blockchains integrate core DeFi components, like Automated Market Makers (AMMs) and lending platforms, directly into their architecture.</p><h4><strong>Advantages:</strong></h4><ul><li>Consolidated liquidity within the ecosystem reduces fragmentation.</li><li>Built-in tools provide seamless access to popular DeFi strategies.</li></ul><h4><strong>Disadvantages:</strong></h4><ul><li>Users must bridge assets into and out of these ecosystems, reintroducing risks and costs.</li><li>The dependency on a single chain creates bottlenecks and potential systemic vulnerabilities.</li></ul><h3>Omni-Chain Protocols:</h3><p>Omni-chain protocols aim to provide a unified interface for users to manage assets across chains. These systems use intent-based mechanisms to execute actions, such as swapping or staking, without requiring users to interact directly with multiple networks.</p><h4><strong>Challenges:</strong></h4><ul><li>Heavy reliance on fast bridges and cross-chain integrations perpetuates risks associated with these technologies.</li><li>Asset fragmentation and synthetic dependencies remain unresolved challenges.</li></ul><h3>NEAR’s Chain Signatures: A Paradigm Shift in Multi-Chain DeFi</h3><p><strong>Chain Signatures</strong> introduce a transformative approach to multi-chain operations. This protocol leverages advanced cryptographic techniques, specifically Multi-Party Computation (MPC), to enable direct control of native assets across chains without the need for bridging. Here’s how it works:</p><h4><strong>Native Asset Execution:</strong></h4><p>Chain Signatures enable vaults to have strategies managed by the user on NEAR, but directly execute transactions of the user’s assets on their original chains. For example, a NEAR-controlled vault can harvest rewards of Ethereum-based assets without transferring them to NEAR. All operations, such as staking, trading, or farming, are executed natively on their respective chains.</p><h4><strong>Eliminating Bridging Risks:</strong></h4><p>By bypassing the need for bridges, Chain Signatures mitigate common vulnerabilities. Assets remain in their native environments, eliminating risks associated with synthetic tokens, liquidity fragmentation, and bridge exploits.</p><h4><strong>Expanding the DeFi Design Space:</strong></h4><p>This empowers developers to create entirely new classes of decentralized applications (dApps), including:</p><ul><li>Vaults that execute multi-chain strategies without bridging assets.</li><li>Cross-chain swaps that occur natively, without requiring intermediary tokens.</li><li>Intent-based systems that allow seamless cross-chain interactions without user complexity.</li></ul><h3>A Bridge-Free Multi-Chain Vault: How It Works</h3><p>Here’s how Chain Signatures transform the architecture of multi-chain vaults:</p><h4><strong>User-Friendly Deposits:</strong></h4><p>Users deposit assets into a vault by transferring them to a <strong>Chain Signature Derived Account (DA)</strong>. This mechanism:</p><ul><li>Requires no synthetic assets or intermediary steps.</li><li>Reduces gas fees and simplifies the user experience by removing the need to switch networks or open new wallets.</li></ul><h4><strong>Native Chain Execution:</strong></h4><p>The vault protocol strategy is executed directly on native chains:</p><ul><li>It executes yield strategies, such as staking or liquidity provision, without transferring assets off-chain.</li><li>Rewards are harvested and reinvested automatically, attempting to optimize returns.</li></ul><h4><strong>Secure Withdrawals:</strong></h4><p>When a user wants to withdraw their principal and yield:</p><ul><li>The protocol generates a signature to transfer funds directly from the native chain back to the user’s wallet.</li><li>This process preserves the non-custodial nature of the assets and ensures user autonomy.</li></ul><h4><strong>On-Chain Provers for Deposit Verification:</strong></h4><p>This allows dApps to use on-chain provers to verify deposits and transactions. This mechanism ensures that all operations are secure, auditable, and resistant to tampering.</p><h3>Future Potential Opportunities for Chain Signatures</h3><p>The potential applications of NEAR’s Chain Signatures extend far beyond vaults. Here are some blue sky opportunities that could redefine DeFi and blockchain technology:</p><h4><strong>Unified Cross-Chain Trading:</strong></h4><p>Imagine a decentralized exchange (DEX) where users can trade assets across multiple blockchains natively, without relying on bridges or synthetic tokens. This could revolutionize liquidity access and reduce costs.</p><h4><strong>Cross-Chain DAOs:</strong></h4><p>Decentralized Autonomous Organizations (DAOs) could manage treasuries across chains using Chain Signatures, enabling them to operate efficiently and securely without relying on fragmented tools.</p><h4><strong>Interoperable NFT Platforms:</strong></h4><p>Non-Fungible Tokens (NFTs) could be seamlessly traded and utilized across chains, unlocking new use cases for gaming, art, and metaverse applications.</p><h4><strong>Institutional Adoption:</strong></h4><p>By eliminating bridging risks and simplifying asset management, NEAR’s Chain Signatures could attract institutional players who require robust security and streamlined operations for multi-chain investment strategies.</p><h3>Conclusion: Building a Seamless DeFi Ecosystem</h3><p>Chain Signatures represent a fundamental evolution in blockchain technology and decentralized finance. By enabling direct control of native assets across chains, this innovation eliminates the long-standing challenges of bridging, synthetic assets, and operational complexity.</p><h3>Key Takeaways:</h3><ul><li><strong>For Users:</strong> A simplified and intuitive way to manage assets across chains without sacrificing flexibility or security.</li><li><strong>For Developers:</strong> A powerful toolset to build next-generation DeFi applications that push the boundaries of what’s possible.</li><li><strong>For the Ecosystem:</strong> A more interconnected blockchain environment that paves the way for mainstream and institutional adoption.</li></ul><p>Chain Signatures could not only solve today’s challenges but can also unlock a future rich with possibilities. Whether it’s creating multi-chain vaults, enabling seamless cross-chain trading, or powering interoperable applications, this technology sets the stage for the next wave of DeFi innovation. The future of decentralized finance is borderless and frictionless — and Chain Signatures are leading the way.</p><p><strong><em>Disclosure</em></strong><em>: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. These statements are intended to disclose any conflict of interest and the content of this article should not be misconstrued as a recommendation to purchase or sell any token or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6922f31cd76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NEAR’s Chain Signatures: Enhancing Blockchain Interoperability]]></title>
            <link>https://medium.com/@ProximityFi/nears-chain-signatures-enhancing-blockchain-interoperability-7d44e339f279?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d44e339f279</guid>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[chain-abstraction]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 13:32:03 GMT</pubDate>
            <atom:updated>2024-09-26T13:58:08.249Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mybMdmEKS7FgWxmh" /></figure><h3><strong>A Not-So-Cryptic Guide for Crypto Enthusiasts</strong></h3><p>Remember that time you fumbled through your massive keychain, desperately searching for the right key to unlock your front door while juggling groceries and trying not to drop your phone? Well, welcome to the blockchain equivalent of that frustrating scenario! But fear not, dear crypto adventurer, for Chain Signatures are here to save the day (and your sanity). Let’s embark on a journey to unravel the mysteries of this digital wizardry, shall we?</p><h3><strong>What Are NEAR’s Chain Signatures? (Spoiler: Not a New Boy Band)</strong></h3><p><strong>Picture this:</strong> You’re at a massive music festival, and each stage requires a different wristband to enter. Total hassle, right? Now, picture having a single wristband that gets you into every stage, VIP lounge, and food truck. That’s essentially what NEAR’s Chain Signatures do for the blockchain world.</p><p>In tech-speak, Chain Signatures are a cryptographic innovation that allows any account to interact with multiple blockchains. It’s like having a universal translator for your digital assets, enabling your existing accounts to speak fluent Bitcoin, Ethereum, and who knows, maybe even Klingon (blockchain version, of course).</p><h3>How Do They Work? (Warning: May Cause Extreme Excitement in Crypto Geeks)</h3><ol><li><strong>One Account, Any Chain</strong>: Your existing accounts can interact with other blockchains. It’s like having one remote that controls your TV, Xbox, and speakers.</li><li><strong>Creating a Signature</strong>: When you want to do something on another blockchain, your NEAR account requests to create a special “signature” (a digital stamp of approval) that tells the other blockchain it’s okay to proceed.</li><li><strong>Multi-Party Computation (MPC) — The Blockchain Avengers:</strong> Remember how the Avengers are stronger together? That’s MPC in a nutshell. Multiple computers join forces to create this signature securely. It’s like having Iron Man, Captain America, and Thor all agree before you can order that late-night pizza.</li><li><strong>Beam Me Up, Blockchain!:</strong> Once the signature is ready, it’s sent to the target blockchain faster than you can say “crypto-tastic!” This completes the transaction, allowing you to manage assets and data across different blockchains without breaking a sweat.</li></ol><h3>Why Is This Useful? (Or, “How to Stop Worrying and Love the Blockchain”)</h3><ol><li><strong>One Account to Rule Them All</strong>: Multichain account abstraction turns a single account into a universal pass for the entire blockchain world. Interact with any chain or dApp seamlessly, and here’s the kicker — your BTC wallet, email, or any existing account could be your key to the crypto kingdom. It’s blockchain VIP access, minus the velvet rope!</li><li><strong>Cross-Chain Asset Swapping:</strong> Trade Bitcoin for Ethereum faster than you can swap your comfortable sweatpants for jeans when unexpected guests arrive.</li><li><strong>DeFi Everywhere:</strong> Bring the power of Decentralized Finance to blockchains that typically can’t support it. It’s like installing a gourmet kitchen in a treehouse — unexpected, but delightful!</li><li><strong>Multichain Madness:</strong> Developers can create applications that work across multiple blockchains using just one NEAR smart contract. It’s the Swiss Army knife of blockchain development!</li><li><strong>Microtransactions Made Easy:</strong> Send tiny amounts of crypto for things like tipping your favorite meme creator or paying per second for that obscure documentary about the mating habits of sea cucumbers.</li><li><strong>Privacy, Please:</strong> Use Chain Signatures to encrypt and decrypt information based on asset ownership or NFTs. It’s like having a secret clubhouse, but for your digital assets.</li></ol><h3>A Deep Dive into the Technical Bits (Don’t Worry, We’ll Keep You Afloat)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oaDvUBi7SWSlFWHQ" /></figure><p>Let’s get our nerd on and explore how Chain Signatures actually work under the hood:</p><ol><li><strong>Multi-Party Computation (MPC)</strong>: This is a fancy way of saying that multiple computers work together to create this signature securely. Imagine having a group of trusted friends who all need to agree before any action is taken.</li><li><strong>Threshold Signature Scheme (TSS):</strong> This is the backbone of Chain Signatures. It’s a cryptographic protocol that allows a group of parties to jointly compute a signature without any single party ever possessing the full private key. Think of it as a digital version of the nuclear launch codes — multiple people need to turn their keys simultaneously.</li><li><strong>Elliptic Curve Cryptography (ECC): </strong>Chain Signatures use ECC, specifically the secp256k1 curve (the same one used by Bitcoin and Ethereum and soon ed25519; Solana, TON and others!). This provides robust security with smaller key sizes compared to other cryptographic methods. It’s like getting a sports car’s performance in a compact car’s body!</li><li><strong>NEAR Protocol’s Runtime:</strong> The NEAR blockchain’s unique runtime environment allows for the efficient execution of the complex computations required for Chain Signatures. It’s like having a supercomputer in your pocket, but without the need for cargo pants.</li><li><strong>Cross-Chain Communication:</strong> Chain Signatures leverage light clients and relay networks to facilitate secure cross-chain communication. This ensures that the signatures generated on NEAR can be verified and acted upon by other blockchains. It’s like having a team of highly efficient, multilingual diplomats working tirelessly behind the scenes.</li></ol><h3>Real-World Applications (Because We’re Not Just Here for the Memes)</h3><p>Hold onto your crypto wallets, because Chain Signatures are already revolutionizing the blockchain landscape. Here’s a whirlwind tour of some mind-blowing live and upcoming use cases:</p><ol><li><a href="https://sweateconomy.com/"><strong>Sweat Economy’s “Chainless” Wallet</strong></a>: One wallet to rule them all! Use Sweat Wallet on Pancakeswap (BNB), and it sets up your account faster than you can say “decentralized.” Pay gas fees with SWEAT tokens — it’s like a universal theme park ticket for blockchain!</li><li><a href="https://defuse.org/"><strong>Defuse’s Multichain Spot DEX</strong>:</a> Unifying liquidity across crypto ecosystems, Defuse.org is the United Nations of DeFi. Creating and trading financial instruments just got easier than ordering a pizza.</li><li><a href="https://wallet.bitte.ai/"><strong>Bitte Wallet</strong>:</a> Web3 onboarding in 15 seconds, with support for NEAR, Ethereum, OP, Arbitrum, Bitcoin, Base, and Gnosis Chain. It’s turning your passkey into a skeleton key for the entire crypto kingdom.</li><li><a href="https://allstake.org/"><strong>Allstake’s Meshed Restaking</strong>:</a> Restake assets natively without bridging on NEAR, SOL, and ETH/EVM. It’s like Eigenlayer, but with a “works on any chain” superpower.</li><li><a href="https://www.herewallet.app/"><strong>HERE Multi-chain Wallet</strong>:</a> With 1.2M + MPC wallets, gas-free signing, and multichain API support, they’re turning your devices into blockchain Swiss Army knives.</li><li><a href="https://aurora.dev/"><strong>Aurora’s BTC Light Client</strong>:</a> Bridging Bitcoin and NEAR faster than you can say “interoperability.” This superhighway enables protocols like Allstake.fi and SatoshiBridge to work their magic.</li><li><a href="https://x.com/SatoshiBridge"><strong>Satoshi Bridge</strong>:</a> Introducing the Gossip Bridge — where blockchains spill the tea! Powered by BTC-Light-Node and Chain Abstraction tech, it’s like a coffee break for blockchains, letting them bridge secrets, stories, and sync up like besties.</li><li><a href="https://omnilane.xyz/"><strong>Omnilane’s Cross-Chain Swap Revolution</strong>:</a> Omnilane is cooking up a cross-chain storm with their decentralized, peer-to-peer swap infrastructure. Powered by NEAR Chain Signatures, it’s turning asset swaps into a high-speed, low-cost interdimensional highway. It’s like carpooling between blockchains, but faster and cheaper!</li><li><a href="https://atlasprotocol.xyz/"><strong>Unlock BTC Liquid Staking with Atlas</strong>:</a> Turn idle BTC into a yield powerhouse. Stake, mint, and redeem BTC for aBTC, accessing cross-chain ecosystems. It’s like a blockchain summer camp for your Bitcoin!</li></ol><p>From wallet wizardry to DeFi acrobatics, Chain Signatures are making the multi-chain dream a reality. This is just the beginning of our cross-chain adventure — buckle up, it’s going to be a wild ride!</p><h3>In Summary (For Those Who Scrolled to the Bottom)</h3><p>Chain Signatures are the blockchain equivalent of a Swiss Army knife, universal remote, and magic wand all rolled into one. They simplify and enhance interactions across different blockchains, making the crypto ecosystem more accessible, versatile, and dare we say, fun!</p><p>This innovative technology opens up a world of possibilities for developers, users, and businesses alike:</p><ul><li>Seamless cross-chain asset management</li><li>Enhanced DeFi capabilities across multiple blockchains</li><li>Simplified user experiences in the crypto world</li><li>Potential for novel applications in gaming, NFTs, and privacy-focused services.</li></ul><p>While some of these applications are still in development or conceptual, the potential of NEAR’s Chain Signatures is undeniably exciting.</p><h3>Ready to Build the Future? Here’s Your Launchpad!</h3><p>Are you a developer, entrepreneur, or blockchain enthusiast itching to dive into the world of Chain Signatures? Don’t just sit there dreaming about the possibilities — start building! Here’s how you can get started:</p><ol><li><strong>Official NEAR Documentation:</strong> Your first stop should be the <a href="https://docs.near.org/">NEAR Protocol official documentation</a>. It’s a treasure trove of information, tutorials, and guides to get you up to speed.</li><li><strong>Chain Abstraction: </strong>For a deep dive into the world of chain abstraction and how NEAR is revolutionizing cross-chain interactions, check out the<a href="https://near.org/chain-abstraction"> Chain Abstraction Page</a>.</li><li><strong>NEAR Chain Abstraction Dev Community:</strong> Join the <a href="https://t.me/+RXYjlPob_XM5N2Ex">NEAR Chain Abstraction Dev Community</a> on Telegram to connect with other developers, ask questions, and stay updated on the latest developments.</li><li><strong>NEAR GitHub Repository:</strong> Explore the <a href="https://github.com/near">NEAR GitHub</a> for open-source code, examples, and opportunities to contribute.</li><li><strong>NEAR Workshops and Hackathons:</strong> Keep an eye on <a href="https://dev.near.org/events">NEAR Events</a> for upcoming workshops, hackathons, and conferences where you can learn, network, and showcase your ideas.</li></ol><p>Remember, in the world of blockchain, the NEAR-er, the better! (We’ll show ourselves out now! 😛)</p><p><strong><em>Disclosure</em></strong><em>: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. These statements are intended to disclose any conflict of interest and the content of this article should not be misconstrued as a recommendation to purchase or sell any token or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d44e339f279" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Multichain Web3 with NEAR Chain Signatures]]></title>
            <link>https://medium.com/@ProximityFi/unlocking-multichain-web3-with-near-chain-signatures-fd42555892b7?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd42555892b7</guid>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[multichain]]></category>
            <category><![CDATA[bitcoin-runes]]></category>
            <category><![CDATA[signature-chain]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Fri, 17 May 2024 16:56:42 GMT</pubDate>
            <atom:updated>2024-05-17T16:57:53.088Z</atom:updated>
            <content:encoded><![CDATA[<h4>From DAOs, NFTs, to Bitcoin Runes Airdrops</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ba2ZO7ReS6tuzV6L" /></figure><h4>TL;DR — This article:</h4><ul><li>Demystifies NEAR’s new protocol feature, Chain Signatures, whether you are a developer or not.</li><li>Compares multichain Web3 apps, before and after Chain Signatures.</li><li>Presents two multichain app examples in which Chain Signatures improves DevX and UX: a DAO and NFT minter.</li><li>Describes how Chain Signatures can add a layer of smart contract functionality to non-smart contract chains through a Bitcoin Runes airdrop example.</li></ul><p><em>Proximity’s Matt Lockyer penned this article. Find the near.org version </em><a href="https://pages.near.org/blog/unlocking-multichain-web3-with-near-chain-signatures/"><em>here</em></a><em>. Reach the author via </em><a href="http://matt@proximity.dev"><em>email </em></a><em>or </em><a href="https://x.com/mattdlockyer"><em>X</em></a><em>.</em></p><h3>Multichain Apps Before vs After Chain Signatures</h3><p>NEAR Chain Signatures introduces a new approach to building multichain Web3 applications that provides a better experience for developers and users. Before, developers would write application layer smart contracts for each chain, possibly in different languages, requiring new smart contracts and audits every time. The re-implementation and re-deployment of application logic introduce several risks for users while switching networks and feature disparity among implementations creates poor user experience (UX). Additionally, users are often required to bridge assets or messages from chain to chain, introducing even more risk and even worse UX.</p><p><em>Developing multichain Web3 applications before Chain Signatures:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vXYEuqwEjzyc71kz" /><figcaption><strong><em>Before Chain Signatures</em></strong><em>: For developers and users, each additional chain adds application, account, and contract complexity. In this model, bridges are necessary to migrate assets and perform transactions on a new chain. This forces developers and users through several preparatory steps before they can experience apps on their chain of choice.</em></figcaption></figure><p>Now, Chain Signatures alleviates the burden of maintaining different contracts, deployments, and audits for each chain, by allowing developers to move a majority of the application logic to a single NEAR smart contract. Developers can focus on the UX of their application, instead of maintaining several different contracts on multiple chains. Users also benefit from not bridging assets. Instead, they deposit assets from the chain they wish to use into a Chain Signatures account the application can use. Users interact with the application using a single NEAR account and maintain full custody of their assets, even though they reside on another chain. Chain Signatures enables any NEAR account or smart contract to control and sign for an infinite number of accounts on any chain that exists today and chains that are yet to be launched! This is a major breakthrough for multichain Web3 application development, security, and UX.</p><p><em>Developing multichain Web3 applications with Chain Signatures:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*avDoudLaPOxQJXZS" /><figcaption><strong><em>With Chain Signatures:</em></strong><em> Application logic is executed in NEAR smart contracts that produce signatures for accounts on any chain, executing transactions and moving assets. Shifting application logic upstream into a single layer of NEAR contracts reduces the developer’s burden of maintaining complex bespoke application smart contracts on each chain. Assets are still deployed as contracts on their respective chains, typically using standards and smart contract templates that are already audited, but application logic no longer needs to be.</em></figcaption></figure><p>With Chain Signatures, application logic can be in one place, one language, and on one layer; and hence only requires one smart contract audit. This facilitates a better developer experience, and in turn, a better and more secure user experience.</p><p>Let’s take a look at some examples of new and exciting applications that can be designed using Chain Signatures to better understand how this tech works.</p><h3>Examples of Apps Unlocked by Chain Signatures</h3><h4>Multichain DAO</h4><p>In crypto, users often want to pool funds and have an on-chain process for accepting proposals from the community and distributing those funds transparently. A decentralized autonomous organization (DAO) is generally the chosen approach for communities in Web3 today. Since Ethereum is the most widely accepted chain for popular stablecoins such as USDC, it makes sense to pool DAO funds there. However, running all of the DAO application logic using Ethereum smart contracts and transactions quickly becomes slow and cost-prohibitive, leading to voter apathy and disengagement.</p><p>Using Chain Signatures, one can develop a design that provides a more immediate and better user experience, while lowering fees significantly. In addition, there can be a single DAO application layer that accepts proposals and handles voting that distributes funds on multiple chains!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J2Hih_f91wr2hNUN" /><figcaption><strong>A Chain Signatures-powered DAO (high-level)</strong></figcaption></figure><p>The DAO application logic is executed in a NEAR smart contract. Features such as membership, proposals, and voting are handled in the DAO contract. When a proposal is accepted, the DAO contract automatically calls the NEAR Chain Signatures contract to generate a signature for the derived address and account. This account exists on the chain where the DAO members originally pooled their funds. In the case of Ethereum, or any EVM chain, this can simply be an externally owned account (EOA) and does not require an additional smart contract to be deployed.</p><h4>Multichain NFT Minter</h4><p>Let’s imagine there’s a new NFT collection where the total supply is capped at 10,000, with one difference from the typical model: the collection will be minted across multiple chains. Without Chain Signatures, there are a few different ways to implement this.</p><ol><li>You have the primary sales logic and NFT logic deployed to each chain. This forces you to predetermine the amounts you will allow on each chain.</li><li>This creates UX issues for users, who are forced to use a particular chain.</li><li>This also imposes limitations on how your collection is minted.</li><li>You have the primary sales logic on one chain and allow users to mint NFTs through a message-passing bridge to the chain of their choice.</li><li>Introduces UX issues; multiple transactions and wallets for users.</li><li>Adds bridging risks to the application and for user error.</li><li>Primary sales logic and NFT mints are done on one chain and the NFTs are bridged after the fact.</li><li>This introduces the above UX challenges and bridging risks.</li><li>Allowing bridging means less control over the supply of NFTs on any particular chain.</li></ol><p>The first approach is too rigid. The second and third require a minimum of 2 transactions from the user with all the complexity and security risks of bridging assets. Depending on your preference, you may or may not want users bridging your NFTs after the primary sale and initial mint. Let’s assume you don’t.</p><p>Let’s also assume you want a seamless sale experience, where the user chooses the chain of mint, and the NFT is minted to an existing wallet on an arbitrary chain. Ideally, all of this should occur in a single transaction for the user. Note, the price of gas can be rolled into the primary sale via an oracle.</p><p>Here’s how this would work with Chain Signatures:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4X7_7JZ4b6XXz2yE" /><figcaption>A Chain Signatures Multichain NFT Mint (high-level)</figcaption></figure><p><em>The NFT Sale contract takes payment. This can be in NEAR, USDC, or any other token on NEAR. The NFT Sale contract calls the Chain Signatures contract with a transaction payload that mints an NFT on the destination chain selected by the user, and with an account as owner supplied by the user. A signature for the mint is generated, passed back to the user client, and then broadcasted to the selected chain. The NFT is minted on the selected chain’s NFT contract and ownership is given to the user’s account specified in the sale transaction. In a single transaction, an NFT is bought and minted on another chain.</em></p><h4>Bitcoin Runes Airdrop</h4><p><a href="https://cointelegraph.com/learn/bitcoin-runes">Bitcoin Runes</a> are a new fungible token protocol by Ordinals creator Casey Rodarmor. Improving on BRC-20, Runes aim to produce less clutter and improve the costs of issuing and trading fungible tokens on Bitcoin. One drawback to Bitcoin is restricted programmability, making something like a mass Runes airdrop difficult. With Chain Signatures, NEAR can function as a smart contract layer for Bitcoin through which a mass Bitcoin Runes airdrop could be executed.</p><p>One can use a NEAR contract to maintain an “allow list” for the airdrop, utilizing a BTC light client contract. Assuming all the Runes are premined and residing in the Chain Signatures address derived from the NEAR Airdrop smart contract, the first step for the user is to fund this BTC address with the necessary BTC transaction fees to transfer the Runes to themselves. Once this is done, they can submit this transaction hash and their BTC address to the NEAR Airdrop contract, which will call the Chain Signatures contract with a transaction payload that will transfer the Runes.</p><p>Here’s what this would look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gNqSIB_smUoJadvy" /><figcaption>A Runes Airdrop using Chain Signatures (high-level)</figcaption></figure><p><em>The user funds the BTC address with the fees needed to transfer Runes to their account (1). They submit the transaction hash and their BTC address to the NEAR Airdrop contract (2). The NEAR Airdrop contract checks the user’s BTC address against the allow list. Then the contract calls the BTC Light Client to verify the fees have been paid (3). Finally, the NEAR Airdrop contract can generate a transaction to transfer the Runes to the user’s destination address. A cross-contract call is made to the Chain Signatures contract to sign the transaction. The signature is returned to the client and broadcasted to the Bitcoin network where the Runes are transferred (4).</em></p><h3>Summary</h3><p>NEAR Chain Signatures introduces a new way to design multichain Web3 applications for a range of use cases, such as DAOs, NFT minting, and airdrops. Chain Signatures brings rich smart contract functionality to non-smart contract chains like BTC and XRP. Building with Chain Signatures provides a better experience for developers and users. Developers have to write less smart contract code, submit fewer audits, and maintain fewer smart contract deployments across multiple chains. Users don’t have to bridge assets or perform several transactions in order to use the chains they feel most comfortable with. ll in all, Chain Signatures is a massive step forward for multichain Web3 applications and towards mainstream adoption for new and existing crypto users.</p><p>NEAR Chain Signatures is live on testnet and will soon be available on mainnet. For further resources on Chain Signatures, see <a href="https://linktr.ee/chainsignatures">here</a>. To get support for building with Chain Signatures — for any of the examples above or beyond — reach us <a href="https://form.jotform.com/240777569453167">here</a>.</p><p><em>Disclosures: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. This article’s content does not constitute financial advice or a recommendation to buy, sell, or use any token or protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd42555892b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A First Look at Chain Signatures: Cross-Chain Without Bridges]]></title>
            <link>https://medium.com/nearprotocol/a-first-look-at-chain-signatures-cross-chain-without-bridges-81c8421d153c?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/81c8421d153c</guid>
            <category><![CDATA[signature-chain]]></category>
            <category><![CDATA[crosschain]]></category>
            <category><![CDATA[chain-abstraction]]></category>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[bridge]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 02:35:26 GMT</pubDate>
            <atom:updated>2024-06-03T06:25:01.893Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nQP0q_CaPSF5i4udbF5i3Q.png" /></figure><p>As 2023 witnessed the Cambrian explosion of L2s and modular blockchains, it simultaneously observed the pushback against Web3’s increasing complexity and fragmentation. Reflected in the buzzwords of <em>abstraction </em>and <em>aggregation</em>, we saw the ongoing discourse about account abstraction on Ethereum, Polygon’s <a href="https://polygon.technology/blog/aggregated-blockchains-a-new-thesis">AggLayer</a>, and the chain abstraction narrative spearheaded by NEAR or Agoric, to name a few. Though all different in detail, the underlying idea is the same: Web3 is vowing to become simpler, unified, and more usable.</p><p>In the recent <a href="https://pages.near.org/blog/why-chain-abstraction-is-the-next-frontier-for-web3/">chain abstraction thesis</a>, Illia Polosukhin, NEAR Protocol co-founder and NEAR Foundation CEO, hinted at the idea of “account aggregation:”</p><blockquote><em>From a user perspective, this should be a single account where they interact with apps on different chains, and assets either get bridged or swapped automatically. I call this “account aggregation” […].</em></blockquote><p><a href="https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/">Account aggregation</a> is the ability to sign transactions on any given chain from a single (NEAR) account, through a single interface, in a single transaction. In it lies the idea of chain abstraction: instead of having to separately manage accounts for multiple chains, often requiring a different wallet interface (e.g. Metmask for EVM, Keplr for Comos chains, Phantom for Solana), and going through several hurdles to send assets from one chain to another, the entire experience is boiled down to a single layer and a single transaction for the end user.</p><p>The technology enabling this is <strong>Chain Signatures</strong>, a novel threshold signature protocol utilizing an MPC (multi-party computation) signer network on NEAR. With Chain Signatures live on testnet, let us look at the technology and its potential for cross-chain development.</p><h3><strong>Challenges in Cross-Chain Interoperability</strong></h3><p>Recent peaks in bridge volumes testify to the growing demand for cross-chain transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JOunoaP9V9m2EvG4pY6oHA.png" /><figcaption>Bridge volume has more than doubled since November 2023. Source: <a href="https://defillama.com/bridges">DeFiLlama</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLQpUUyD74N2kaOj4gbqAA.png" /><figcaption>Bridge TVL has also doubled since November 2023. Source: <a href="https://defillama.com/categories?pool2=true">DeFiLlama</a></figcaption></figure><p>However, cross-chain bridging is not without its challenges. First and foremost, bridges have been proven time and again to be <strong>vulnerable to hacks</strong>. Bridges inherently have a large attack surface.</p><ul><li><a href="https://coinmarketcap.com/academy/article/cross-chain-bridge-orbit-chain-confirms-exploit-worth-over-dollar81-million">Cross-chain Bridge Orbit Chain Confirms Exploit Worth Over $81 Million | CoinMarketCap</a></li><li><a href="https://www.dlnews.com/articles/defi/defi-hackers-stole-32bn-amid-surge-in-crypto-bridge-hacks-lazarus-group/">DeFi hackers stole $3.2bn last year amid 35% surge in &#39;bridge&#39; exploits</a></li></ul><p>Secondly, bridges today <strong>lack comprehensive chain support</strong>. Many bridges or messaging protocols lack support for non-EVM chains, not to mention non-smart contract chains like Bitcoin, Doge, or Ripple. While bridges can cover a lot of space, they are limited from achieving 100% interoperability.</p><p>Finally, <strong>bridge UX is inconsistent and cumbersome</strong>. Not only is every bridge designed differently — which means a learning curve for each one — but each bridge operates at a different speed. An additional UX hurdle comes when you try to bridge, only to learn that you need to acquire another token separately to pay for gas, for which you normally need to use a centralized exchange. A further challenge is that bridged assets are often a “wrapped” version of an asset, which is different from its native version on the origination chain, and may not even be the version the user needs for their intended action. After bridging, the user may end up with an unsupported token or a token with low liquidity.</p><h3><strong>Solving Cross-Chain Challenges with Programmable MPCs</strong></h3><p>Fortunately, there is a new design pattern for cross-chain messaging that can alleviate the challenges of bridging. Enter<em> programmable MPCs</em>.</p><p>MPC, or multi-party computation, is a privacy-preserving coordination protocol in cryptography where multiple parties can perform a computation together without revealing the data to each other. Many of us are familiar with the concept from MPC wallets such as the Coinbase Wallet or Fireblocks, where the private key of the user’s wallet is shared among multiple parties to eliminate a single point of failure. In this approach, the user retains a key, while centralized parties retain the other keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jVosyJN5VnV9j_Dl.png" /><figcaption>Source: <a href="https://medium.com/1kxnetwork/wallets-91c7c3457578">Seedless Self-Custody: On MPC and Smart Contract Wallets</a></figcaption></figure><p>Programmable MPCs allow developers to tap into this and also decentralize key sharing. Core advantages include:</p><ul><li><strong>Comprehensive coverage</strong>: programmable MPCs can support <em>any </em>chain including non-smart contract chains such as Bitcoin, Doge, or Ripple</li><li><strong>Instant support</strong>: as long as the MPC provider supports the elliptic curve for the chain in question, chain support is instantaneous and does not require separate integration efforts (as is the case for bridges)</li></ul><p>e.g. ECDSA-based chains: EVM, Bitcoin, many Cosmos chains, etc; EdDSA-based chains: NEAR, Solana, Cardano</p><ul><li><strong>Standardized DevX and UX</strong>: For devs, it’s just a simple API to utilize. For users, it means the same transaction speed across all chains in cross-chain swaps and even no gas token required, depending on the implementation (see <strong>Multichain Gas Relayer</strong> below). This marks the true potential for chain abstraction, where users do not have to know which chain they are on.</li></ul><h3><strong>Chain Signatures: NEAR’s Approach to Programmable MPCs</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6UHadZfBuq-UtCaCZDnC4A.png" /></figure><p>Today, there are mainly two approaches to programmable MPCs. One is deposit-based and the other account-based. Deposit-based MPC networks maintain deposit addresses to create a canonical bridged asset. This is the case of Dfinity $ETH or Zetachain $BTC; Thorchain, where users deposit to a specific address to enact swaps with another user; or Axelar, where, as a generalized bridge protocol, it maintains the deposit address for the user without the user having direct access to it.</p><p>The efforts of NEAR and Lit Protocol fall under the category of account-based programmable MPCs. On NEAR, such an account-based approach to programmable MPCs is called <em>Chain Signatures: </em>threshold signatures controlled by NEAR accounts and smart contracts and signed by MPC nodes on the NEAR network.</p><p>At a high level, the mechanism of Chain Signatures is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zXoUHLExpV6c3mxb" /><figcaption>Source: <a href="https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/">Unlocking Web3 Usability with Account Aggregation</a></figcaption></figure><ol><li>An account on NEAR, which can also be a smart contract, requests validators (i.e. MPC nodes) to sign an arbitrary payload (e.g. a transaction on Bitcoin or Optimism)</li><li>Validators sign the payload via MPC and relay it to the destination chain</li><li>This entire process is abstracted away for the user: as a user, you are simply signing a transaction on a NEAR account and getting the amount on the destination chain (e.g. Bitcoin, Optimism, etc).</li></ol><p>One of the biggest advantages of the NEAR account model is that it allows end users to hold any number of sub-accounts under a single top-level account. This means that with Chain Signatures, users can control 10s of 1000s of accounts across different chains from a single NEAR account. <em>This </em>is what we mean by “account aggregation.”</p><p>For devs, Chain Signatures is a simple API that looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OlsABXGzbj9bhsjm" /></figure><ul><li><strong>Function call</strong> to sign payload</li><li><strong>Key derivation path</strong>: because a single NEAR account can have an almost infinite number of accounts it can sign for on any given chain, this designates which account is being signed for</li><li><strong>Key type</strong>: designates the elliptic curve of the chain in use (at launch, Chain Signatures will first support ECDSA, then later, EdDSA).</li></ul><p>In the following <a href="https://test.near.social/md1.testnet/widget/chainsig-sign-eth-tx">example</a>, Proximity Labs’ Matt Lockyer demonstrates Chain Signatures by sending $ETH between two accounts on the Ethereum Sepolia network using a single NEAR account, on a single interface, and in a single transaction.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F0h-uY_fEoZE&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0h-uY_fEoZE&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2F0h-uY_fEoZE%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/f645a0dd0698cb99408a82adfa07c91a/href">https://medium.com/media/f645a0dd0698cb99408a82adfa07c91a/href</a></iframe><p>Here, the Ethereum address (from which your $ETH will be sent) is generated from a path variable, akin to an HD path on a Ledger account. This address is an offset of your NEAR account that is uniquely generated for this purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/0*Kr2ntbyGPXyUXeK1" /></figure><p>When you sign the transaction, the MPC contract generates a signature for this particular Ethereum transaction without revealing the private key to any party.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SFTa2ZKssUIoxrYb" /></figure><p>The <a href="https://test.near.social/md1.testnet/widget/chainsig-sign-eth-tx">example</a> above is open-source for anyone who wants to check it out.</p><h3><strong>Multichain Gas Relayer</strong></h3><p>An additional protocol that can help maximize the potential of account aggregation is the multichain gas relayer, which realizes gas abstraction.</p><p>Let us visualize this flow with an <a href="https://www.youtube.com/shorts/QkrgMbDrVRg">actual implementation of chain signatures by Sweat Wallet</a> to enable users to send $BNB from NEAR to BNB Smart Chain from the Sweat Wallet (a NEAR account).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00RpYpSg2ev8nueeWpJxew.png" /></figure><ol><li>The user initiates a signature from the Sweat Wallet (= NEAR account) to send 0.02 $BNB on NEAR to an address on BNB Smart Chain.</li><li>The MPC nodes sign the payload and send it to the relayer network.</li><li>The gas relayer picks up the transaction; the user pays for gas in $SWEAT on the NEAR network.</li><li>The gas relayer takes the payment and funds the destination address on BNB with the appropriate gas tokens (in this case, $BNB). The relayer network then routes the signed transaction. All of this happens in the same block (2–3 seconds).</li><li>The user has successfully sent 0.02 $BNB to their BNB address from their NEAR account.</li></ol><p>When used in combination with Chain Signatures, the multichain gas relayer prevents apps and users from having to deal with multiple gas tokens on multiple chains. Behind the scenes, the gas relayer handles the gas payment on the respective chains — the user only needs to use one token for gas.</p><p>Check out the <a href="https://www.youtube.com/shorts/QkrgMbDrVRg">demo</a> by Sweat Wallet. The transaction hash is <a href="https://testnet.bscscan.com/tx/0xdd97e8b7cb01b87f58408891f90f4cfd958f373e032451bf78b75d3c6a23df5c">here</a>.</p><h3><strong>Use Cases</strong></h3><p>The examples above illustrate Chain Signatures use cases in which a single NEAR account signs a cross-chain transaction. A whole new design space for cross-chain <em>dApps</em> emerges when we consider that a NEAR account is <em>natively a</em> <em>smart contract.</em></p><p>Here are a few:</p><ol><li><strong>DeFi on Non-Smart Contract Chains</strong>: Chain Signatures can enable DeFi on non-smart contract chains such as Bitcoin, Doge, or Ripple, which thus far only supports transfers on the network. NEAR smart contracts can act as escrow contracts and manage who controls what. On top of this primitive, you can build swaps or lending protocols, for instance, that support any asset on any chain, including assets in unique states (e.g. staked, in liquidity pools). Imagine swapping your staked $TIA for an NFT on Solana or using it as collateral to borrow $ETH on Optimism.</li><li><strong>Multichain account abstraction</strong> (with support for gas relayer): Because NEAR accounts are natively smart contracts, there is a lot of flexibility out of the box: any NEAR account can have any number of keys, rotate keys for security, and have multi-signer patterns. Additionally, with the Multichain Gas Relayer, you can even abstract the complexity of multiple gas tokens for different chains. With Chain Signatures, one can essentially “NEAR-ify” any account on any chain by extension, thereby bringing about account abstraction on a multichain scale, from Ethereum to Solana to Bitcoin.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*Xh322gSp73akKiz91R-nSA.png" /><figcaption>The NEAR account model natively embodies the idea of account abstraction. (Source: <a href="https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/">Unlocking Web3 Usability with Account Aggregation</a>)</figcaption></figure><ol><li><strong>Bridgeless Cross-chain DeFi</strong>: As seen in the overview above, one of the most powerful things about Chain Signatures is that they eliminate the need for bridging and instead power cross-chain transactions via an MPC signature protocol. We can imagine <em>net new DeFi products</em> such as,</li></ol><ul><li>Native cross-chain swaps (e.g. swap $XRP on Ripple for an NFT on Solana)</li><li>Cross-chain lending orderbook (e.g. use X on Optimism as collateral to borrow Y on Arbitrum)</li><li>Restake any asset on any chain; even handle the reward or slashing conditions from NEAR</li><li>Trustless Bitcoin Ordinals Marketplace</li></ul><p>Additionally, smart contract-based Chain Signatures would open up the possibility of privacy-focused apps as well as trustless multichain deployments.</p><h3><strong>Case Study: Bitcoin Ordinals Marketplace</strong></h3><p>Let us take one of the use cases and understand how it would work: a trustless Bitcoin Ordinals marketplace. Currently, one implementation of this idea is underway by the <a href="https://eastblue.io/">EastBlue</a> team.</p><p>In this scenario, we are dealing with a trade between a seller whose asset (Ordinal) is on Bitcoin and a buyer whose asset ($USDC) is on NEAR; but this can be generalized to any asset on any chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M1akep7qIScE18YMVxZiQg.png" /></figure><ol><li>The marketplace contract exists on NEAR.</li><li>The seller generates a deposit account on Bitcoin via the marketplace contract.</li><li>O<em>nly </em>the marketplace contract can request the MPC signers to sign a transaction on behalf of this Bitcoin account.</li><li>Within the smart contract state, the seller is recognized as the owner of this Bitcoin account and only they are allowed to deposit and withdraw the Ordinal out of that account.</li><li>The seller deposits the Ordinal to the Bitcoin account and creates a listing for 10 $USDC.</li><li>To protect the buyer, the contract disallows the seller from withdrawing the Ordinal if there is an open order to their listing. No changes on the Bitcoin network will affect the account, only the marketplace contract and allow withdrawals.</li><li>The buyer deposits $USDC to the marketplace contract.</li><li>The buyer accepts the 10 $USDC listing.</li><li>The sale is executed. In other words, the marketplace contract has verified that two users have agreed to swap their accounts and atomically executes the swap in a single block (2–3 seconds).</li><li>The seller now has control over the 10 $USDC deposited by the buyer and withdraws the funds. In turn, the buyer is now the owner of the Bitcoin account holding the Ordinal and can withdraw.</li></ol><h3><strong>Conclusion</strong></h3><p>Chain Signatures is currently on testnet and awaiting mainnet release before the end of Q1. In combination with the flexible NEAR account model and the Multichain Gas Relayer, Chain Signatures have great potential to bring cross-chain interoperability to the next level. Furthermore, Chain Signatures have the potential to drive chain abstraction, where the complexity and fragmentation of today’s Web3 are abstracted away with a single user layer that can interact with any asset on any chain.</p><p>If you are a developer, now is the perfect time to get acquainted with the concept and explore this technology for your cross-chain dApp. If you are building, do not hesitate to reach out to us via <a href="mailto:hello@proximity.dev">hello@proximity.dev</a> or on the <a href="https://t.me/+RXYjlPob_XM5N2Ex">Chain Abstraction Dev Chat</a>. We are more than happy to provide technical assistance, strategic advice on product and business development, as well as GTM support.</p><p><em>The content of this article is based on Kendall Cole’s keynote at ETH Denver and recreated by Rim Berjack. Find the full talk </em><a href="https://www.youtube.com/watch?v=gCkOTjbJD3c"><em>here</em></a><em>.</em></p><h3><strong>Chain Signatures Resources</strong></h3><p><em>Find all the resources below and more in this </em><a href="https://linktr.ee/chainsignatures"><em>Chain Signatures Linktree</em></a><em>.</em></p><ul><li><a href="https://pages.near.org/blog/why-chain-abstraction-is-the-next-frontier-for-web3/">Chain Abstraction Thesis</a></li><li><a href="https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/">Account Aggregation Deep Dive</a></li><li><a href="https://www.youtube.com/watch?v=gCkOTjbJD3c">Chain Signatures Overview: Cross-Chain without Bridges (Video)</a></li><li><a href="https://docs.near.org/abstraction/chain-signatures">Chain Signatures Docs</a></li><li><a href="https://docs.near.org/concepts/basics/accounts/model">NEAR Account Model Docs</a></li><li><a href="https://github.com/near/near-fastauth-wallet/blob/dmd/chain_sig_docs/docs/chain_signature_api.org">Chain Signatures API</a></li><li><a href="https://github.com/mattlockyer/near-mpc-kdf">Generate MPC Private Keys for NEAR</a></li><li><a href="https://github.com/near/NEPs/issues/503">Github Discussions</a></li><li><a href="https://testnet.nearblocks.io/txns/9d1DHqWY3fwjScujsqEhJER8qnc5so33T2VbeCVBcPFQ">Sample Request and Response</a></li><li><a href="https://docs.near.org/develop/relayers/multichain-server">Multichain Gas Relayer</a></li><li>(Example) Send ETH on Ethereum from a NEAR account: <a href="https://www.youtube.com/watch?v=0h-uY_fEoZE">Demo video</a>; <a href="https://test.near.social/md1.testnet/widget/chainsig-sign-eth-tx">Open-source component</a></li><li>(Example) Sign a transaction on BNB from a NEAR wallet: <a href="https://www.youtube.com/shorts/QkrgMbDrVRg">Demo video</a>; <a href="https://testnet.bscscan.com/tx/0xdd97e8b7cb01b87f58408891f90f4cfd958f373e032451bf78b75d3c6a23df5c">Transaction hash</a></li><li><a href="https://t.me/+RXYjlPob_XM5N2Ex">Official Chain Abstraction Dev Chat</a></li></ul><h3><strong>Further Reading</strong></h3><p><a href="https://medium.com/@ProximityFi/bos-the-universal-access-layer-to-the-blockchain-71ad392f5a2d">BOS, The User Layer for Chain Abstraction</a></p><p><em>Disclosures: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. The authors of this article have not purchased or sold any token for which the authors had material non-public information while researching or drafting this report. The statements and content in this article should not be misconstrued as a recommendation to purchase or sell any token, or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81c8421d153c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nearprotocol/a-first-look-at-chain-signatures-cross-chain-without-bridges-81c8421d153c">A First Look at Chain Signatures: Cross-Chain Without Bridges</a> was originally published in <a href="https://medium.com/nearprotocol">NEAR Protocol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BOS: The Universal Access Layer to the Blockchain]]></title>
            <link>https://medium.com/nearprotocol/bos-the-universal-access-layer-to-the-blockchain-71ad392f5a2d?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/71ad392f5a2d</guid>
            <category><![CDATA[boş]]></category>
            <category><![CDATA[blockchain-research]]></category>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[chain-abstraction]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 02:30:06 GMT</pubDate>
            <atom:updated>2023-12-20T02:30:06.600Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>A collaborative research initiative by CMT Group and Proximity Labs</em></strong></p><p><em>This research piece is a collaboration between </em><a href="https://cmt.digital/"><em>CMT Digital</em></a><em>, a global blockchain and Web3 venture capital firm, and </em><a href="http://proximity.dev"><em>Proximity Labs</em></a><em>, a NEAR-focused research and development firm, to elaborate on our thesis on NEAR and how the BOS intends to fill the missing blockchain layer: the user/interface layer.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PZRmvJ-jq5w5Zl_n" /></figure><h3><strong>Numerous Blockchains Coexist in the Current Landscape. Which One Is Right for You?</strong></h3><p>Given the existence of multiple blockchains with varying design choices, it can be a daunting task for new dApp entrants to decide which stack they want to use or build their project on.</p><p>In a nutshell, blockchains are simply execution environments for any application looking to provide a function to users. Given the variety of mechanism design choices made by various blockchains (developer tooling, smart contract language, access to liquidity, etc.), certain chains are more suitable for specific types of applications than others. For example, let us compare the tradeoffs when choosing between an optimistic rollup (Optimism or Arbitrum) and a Zero-Knowledge rollup (zkSync).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0090XlcWeLj0xJyv" /><figcaption><em>*This refers to EVM equivalency vs compatibility. </em><a href="https://adlrocha.substack.com/p/adlrocha-evm-equivalence-vs-evm-compatibility"><em>See this article for an explainer</em></a><em>.</em></figcaption></figure><p>These design differences provide certain tradeoffs that make each environment more or less suited to a particular type of application. For example, a DeFi protocol would probably be better positioned on a ZK Rollup due to its fast finality and need for strong cryptographic guarantees of security, whereas a social application may be better suited to an optimistic rollup, due to the ease of development.</p><h3><strong>The Problem of Blockchain Fragmentation</strong></h3><p>The blockchain landscape is rife with fragmentation, from liquidity splits and virtual machine incompatibilities to varied communication protocols due to the intense competition for widespread adoption. Each chain aspires to lure developers to craft applications that resonate with the most number of users and thereby emerge as the principal ledger. To illustrate, just within the Ethereum ecosystem, there are 32 Layer 2s (L2s) currently live with 21 more upcoming, all under the mission to scale Ethereum. Tech-wise, these 50+ L2s may deploy Optimistic or ZK proofs if they are rollups, or use stacks from StarkEx, Polygon, and zkSync. In terms of capital, a total of $15B in value is spread out across these chains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OZ4U6d-0uU6DaR-y" /><figcaption>Source: <a href="https://l2beat.com/scaling/summary#active">L2BEAT</a></figcaption></figure><p>Despite the siloing of capital, frictions faced by users and investors, and the additional effort required from developers to navigate new stacks, the resulting diversity could nonetheless be beneficial in terms of security and catering to the needs of different audiences. Therefore, the solution might not center around reducing the number of blockchains, but around creating <strong><em>a virtual environment that abstracts away the complexities of this world for the average user and offers a seamless user experience.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GWL1r363fj6cQc3y" /></figure><h3><strong>Blockchain Interfacing, As We Know It.</strong></h3><h4>Fragmented UX</h4><p>Let’s imagine a user who wants to interact with DeFi. Today, they would have to (1) select a specific blockchain to use, which might be imposed by the desired dApp, (2) create a wallet with a seed phrase that needs to be carefully stored, and maybe even a hard wallet, (3) move funds from their bank using an on-ramp app or via CEXs, (4) interact with the different dApps signing and executing transactions, and (5) maybe even move assets across different chains, making sure they get the correct RPC and other setups.</p><p>To add to this onboarding hassle imposed by the current wallet UX, discoverability is another issue plaguing blockchain interfacing. The competitive blockchain landscape is overwhelmed with new protocols and the dozens of dApps that are born on top of them. Today, there are <a href="https://defillama.com/chains">200+ chains</a>, <a href="https://defillama.com/">3000+ DeFi protocols</a>, and <a href="https://coinmarketcap.com/https://coinmarketcap.com/">nearly 9000 cryptocurrencies</a>. However, the current Web3 UX is that the burden of discovery and research lies on the user. There are certainly ecosystem directories or information dashboards that aggregate data across chains such as <a href="https://defillama.com/">DeFiLlama</a> or <a href="https://dappradar.com/">DappRadar</a>, but there is no “App Store” or “Netflix”-equivalent that enables streamlined discovery and access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j1DS0lxhtq39tEne" /><figcaption><em>Lifecycle of a blockchain interaction by a user</em></figcaption></figure><p>What this means is that the current blockchain interaction is complex and still far from Web2 applications where you log in with your email and a password across all platforms, and the burden of security and discovery is not solely on the individual. Although most blockchain users will be familiar with all of this, we cannot expect less tech-savvy users to select the correct execution client or sign every transaction, as correctly deciphering these interfaces requires deeper technical understanding.</p><h4><strong>Security Concerns</strong></h4><p>To add to this onboarding friction that the user experiences, they currently face a minefield of malicious contracts that even experienced crypto “natives” struggle to avoid. For this article, we will break up hacks into two main categories: 1. blockchain code exploits, and 2. frontend exploits.</p><p>1. <strong>Blockchain code exploits</strong> occur when there is a fault in the logic of a smart contract that allows someone interacting with the contract to interact in a way other than the developer of that contract intended them to. An example would be a contract that allows a user to “re-enter” the contract before it has been executed, resulting in a reentrancy attack. For a more detailed explanation of reentrancy attacks, see this <a href="https://www.quicknode.com/guides/ethereum-development/smart-contracts/a-broad-overview-of-reentrancy-attacks-in-solidity-contracts">overview</a> and <a href="https://x.com/chainlink/status/1639297806102851584?s=20">X thread</a>.</p><p>2. <strong>Frontend exploits</strong> occur when a user interacts with a contract other than the one with which they were aiming to interact. A common attack vector for hackers is the creation of a spoofed website, that looks identical to the one that a user is expecting to interact with, but on interaction will execute a different contract. If the user was expecting to conduct a swap between ETH and Aurora on Uniswap but conducted it on a spoofed website they thought was Uniswap, they could fall victim to this attack. This contract, instead of swapping from ETH to Aurora, could drain the user’s wallet of the ETH to which the interaction gave the contract access.</p><p>While <a href="https://defillama.com/hacks">methods for crypto exploits are diverse</a>, recent frontend exploits of prominent DeFi protocols call attention to how vulnerable frontends can be.</p><h3>Balancer on Twitter: &quot;The balancer frontend is under an attack. The issue is currently under investigation. Please do NOT interact with the balancer UI until further notice! / Twitter&quot;</h3><p>The balancer frontend is under an attack. The issue is currently under investigation. Please do NOT interact with the balancer UI until further notice!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/0*TROcvQd90o3SeSyx" /><figcaption>Source: <a href="https://cointelegraph.com/news/aerodrome-velodrome-de-fi-platforms-frontend-hacks">CoinTelegraph</a></figcaption></figure><p>The core issue is that while blockchains and smart contracts are decentralized and transparent, centralized web servers are not. Almost all interactions with decentralized protocols are done by interfacing with a centralized frontend website. The website may tell you it is executing a certain smart contract, but the actual logic is hidden behind private elements of the code. This allows the hacker to obfuscate their true intentions until the very last minute when it is often too late to prevent. Can we really say that something is decentralized if it requires interfacing with a centralized server?</p><h3><strong>BOS: A Universal Access Layer</strong></h3><p>The BOS, or the Blockchain Operating System, is a new paradigm of blockchain interaction that completely abstracts away blockchain execution for the end user. This can be thought of as a new layer: <em>the user layer, </em>or<em> the interface layer</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/0*AFcSxAiZ7H6mcX2m" /><figcaption><em>The four layers of NEAR’s modular tech offerings. Source: </em><a href="https://www.youtube.com/watch?v=iyMLomqoNRY"><em>Modular and Monolithic</em></a></figcaption></figure><p>What would an ideal <em>user layer</em> look like? If we consider the fragmentation that currently exists, then the interface layer would best improve the usability of blockchain technology by being an aggregator of interactions so that for the end user the diversity and the complexities of the blockchain are abstracted away. In practice, this means aggregating virtual machine support and enabling the use of a variety of communication protocols to enable the user to interact with any application, across any blockchain, without having to control the native account directly, all within a unified interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ID482xNGF5C6bxjx" /><figcaption><em>Illustration of deployment of smart contracts on the Ethereum chain, and frontend code on the NEAR blockchain, both interacting seamlessly (Source: </em><a href="https://youtu.be/bjD98S2JVBg?si=uRUYkLaQR9O_MqSf"><em>ETHGlobal Waterloo BOS Workshop</em></a><em>)</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-9yLDRMxOaGc6o2N" /><figcaption><a href="https://twitter.com/DapDapMeUp"><em>Dap Dap</em></a><em>, an upcoming BOS platform for L2s, demonstrates the power of BOS for user-level abstraction. In this example, Dap Dap offers a one-stop experience for DeFi on Polygon zkEVM from bridging to lending by aggregating BOS components of the top dapps into a unified interface.</em></figcaption></figure><p>In addition to the improvement in efficiency, the BOS provides a meaningful way by which we can protect user bases against security threats: <em>decentralized frontends</em>. When using the BOS one does not need to worry whether they are on a legitimate frontend, or whether they will be taken to the contract they expect. Not only will users always be able to check that they are on the correct gateway, but they can also verify the source code of the frontend components that make up the page because all BOS frontend code is on-chain and open-source. The BOS enables decentralized frontends to execute transactions on a decentralized backend, finally making the entire Web3 user journey truly permissionless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/0*q_iniTKpdfg51vtD" /><figcaption><em>Illustration of how the user discovery and interacts with the different dApps after discovering them through a specific gateway (Source: </em><a href="https://youtu.be/bjD98S2JVBg?si=uRUYkLaQR9O_MqSf"><em>ETHGlobal Waterloo BOS Workshop</em></a><em>)</em></figcaption></figure><h3><strong>What Becomes Possible with the BOS?</strong></h3><h4><strong>Frontend Verification</strong></h4><p>In blockchain, smart contract testing and audits are crucial for ensuring protocol reliability and user trust. However, there’s often a lack of a verification mechanism for the frontend UI, leaving users vulnerable to attacks mimicking legitimate designs. The BOS, through decentralized hosting and component-based design, enables frontend page verification. A component on the BOS could in the future confirm that UI elements correctly interact with expected smart contracts, enhancing security at the interaction level made theoretically feasible with zero-knowledge proofs. This approach extends security from transaction signatures to the frontend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q4uTv4fd362huK4i" /><figcaption><em>For example, the source code for this </em><a href="https://near.org/near/widget/ComponentDetailsPage?src=zavodil.near/widget/Lido"><em>decentralized Lido frontend component</em></a><em> is viewable on near.org, along with the 15K+ components currently live on the BOS.</em></figcaption></figure><h4><strong>Decentralization and Censorship Resistance</strong></h4><p>The benefit of fully on-chain frontend code lies not only in its ability to resist frontend hacks, but also in decentralization. Firstly, the BOS allows for true decentralization of apps by decentralizing the frontend as well as the backend. Secondly, the decentralization on the frontend level means BOS applications are more censorship-resistant, as the code is fully on-chain and cannot be meddled with by an external party. The only caveat in this regard is that, if the BOS components have to be accessed via website-hosted gateways, such gateways are hosted by third parties and may rely on centralized servers. That said, BOS components can also be accessed locally via <a href="https://github.com/NearDeFi/bos-apps-examples">downloadable Tauri app gateways</a>, eliminating the third-party hosting present with website gateways.</p><p>Additionally, the permissionless and open-source nature of the BOS also allows for extended user control over their experience, allowing for UI rollback or community-driven customization; for instance, if a DAO were to curate a unique dashboard with the components of their choice on a gateway that they host. This is yet another way in which the BOS fosters decentralization, especially in the case of ecosystem pages or governance forums, which thus can be meaningfully handed off from the respective foundations and to the community.</p><h4><strong>User Experience</strong></h4><p>The current user experience for interaction with blockchains is not intuitive at all for any non “blockchain-native” user. The realization of the transformative potential of blockchains is critically dependent on simplifying the user experience, while maintaining security standards. Ethereum has been spending significant time trying to address the user-experience issues, with the release of <a href="https://eips.ethereum.org/EIPS/eip-4337">ERC-4337</a> as an example.</p><p>The BOS can build simpler and more elegant user experiences thanks to the composable nature of its components. Composable frontends mean that components can be embedded in other applications, enabling a more integrated, seamless, one-stop user experience; in the same way that widgets do for traditional websites. For example, let’s say one of NEAR’s most popular dApps, Sweat Economy, was to operate its wallet as a BOS gateway. Sweat could then embed a swap widget powered by Ref Finance, an orderbook widget powered by Orderly, a multichain bridge widget, all within the Sweat wallet UI. Essentially, Sweat Wallet would act as a single user layer for different dApps across the NEAR ecosystem, or, even across external ecosystems, for their users.</p><p>When it comes to onboarding, the BOS has the added advantage of tooling such as <a href="https://wiki.near.org/overview/BOS/fast-auth">FastAuth</a>. The current mode of Web3 onboarding mandates users to create wallets, seed their wallets with the native token of the network (for which users need to initially purchase the token from a CEX), separately store and not lose a seed phrase for recovery, and so on. FastAuth allows a Web2-like journey where users can create a free account using biometrics, phone prompts, or an email address to access any BOS app. This allows users to quickly interact with an app and significantly reduces the friction associated with onboarding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uM7xofHU79P8qV_V" /><figcaption><em>On near.org, you can easily create a new NEAR account using your email address, thanks to FastAuth.</em></figcaption></figure><p>FastAuth also addresses the burden of securely keeping seed phrases on the individual with no other option for recovery. In the future, with decentralized social recovery, users will have the option to designate trusted wallets or multi-sig contracts as their guardians during wallet set-up to help recover their accounts if they lose access. The fact that the BOS has this capability in production gives it an advantage over solutions that require separate integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4PIrNno-rnMqtGD6" /><figcaption>Source: <a href="https://wiki.near.org/overview/BOS/fast-auth">NEAR Wiki, “FastAuth”</a></figcaption></figure><h4><strong>Developer Experience</strong></h4><p>Developer experience-wise, the BOS’ permissionless nature and the reusability of its components foster rapid iteration and modularity, reducing development effort and enhancing scalability in product development. The BOS’ strength especially shines when it comes to expanding the product offering at scale and pace, compared to native integrations on the protocol level.</p><p>For instance, wallets or portfolio projects often require weeks to months of development time for native chain integrations, along with dedicated resources for upkeep, and yet suffer from service disruptions when a chain undergoes upgrades or outages — which affects their users, though the problem does not stem from them. In comparison, if a wallet or portfolio project were to operate as a BOS gateway and approached chain integrations on the <em>frontend </em>level, the development time would be significantly reduced as they would not need to touch anything on the backend, and could reuse existing components or build upon them.</p><h3><strong>What Needs to Be Done for Full Realization of the Goals</strong></h3><p>Although significant developments have been made to the BOS since its release in February 2023, further improvements could be made to elevate the implementation to its desired end-state.</p><h4><strong>Library &amp; Component Support</strong></h4><p>While the BOS currently has support for commonly used libraries such as ether.js, additional support for arbitrary libraries would help scale the rate of development occurring on the BOS. Furthermore, the continued expansion of components made available to builders will additionally scale the rate of development, as developers can leverage the verifiability and modularity of components to drastically reduce development timelines as components will no longer have to be made in-house.</p><h4><strong>Developer Experience More Broadly</strong></h4><p>Everything we have discussed thus far is also playing a role in improving the developer experience. Some progress has been made in this regard with BOS-specific integrated developer environments (IDEs), such as this VS code extension or an in-browser one by Jutsu.</p><p>While additional library and component support reduces developer lift, it also lays the groundwork for a no-code developer experience to be curated on BOS. With the use of base-level components, the BOS is positioned such that it could offer a uniquely effective no-code experience, again being able to verify BOS components allows for abstracting away many complexities from the developer experience without compromising on security.</p><h4><strong>Security</strong></h4><p>Security should always be top of mind and some additional tools can be implemented to improve the experience on the BOS.</p><p>Fuzzing is one such example, Fuzzing, also known as fuzz testing, is a software testing technique used to uncover security vulnerabilities in software applications. The method involves providing invalid, unexpected, or random data as inputs to a computer program. The program is then monitored for exceptions, such as crashes, failing built-in code assertions, or potential memory leaks. A fuzzing tool for periodic testing would allow the extension of verifiability of components, to include security testing with all potential inputs, ensuring that developers can feel maximum peace of mind that not only can the user verify which contracts they are interacting with, but they can also be sure that frontend code logic will not allow them to take any unintended actions.</p><h4><strong>Smart Contract Composability with Frontend Components</strong></h4><p>Right now, BOS components can only be deployed manually, meaning that a developer has to implement any changes individually. Future upgrades to the BOS could introduce smart contract composability, meaning that BOS components can change as a result of state changes on a smart contract.</p><p>For example, let’s say Aave Labs were to deploy the Aave frontend on the BOS, and there were multiple different frontend designs available for an Aave rebrand (hypothetically), the Aave DAO could vote on which direction they want their branding to go and the BOS could update the frontend as a result of the actual on-chain vote. This reduces the avenues by which power in DAO structures can be centralized as no one party is responsible for the implementation of frontend changes.</p><h3><strong>Chain Abstraction</strong></h3><p>Just this November, NEAR made a series of announcements at NEARcon hinting at its new direction which is more Ethereum-aligned than ever. At a higher level, it’s not simply about being closer to Ethereum, but NEAR becoming a means to enable chain abstraction for an increasingly fragmented multichain world.</p><p>As a monolithic L1, NEAR is simultaneously becoming a modular tech stack to scale Ethereum. On the execution layer, NEAR is a flexible environment offering NEAR native runtime in Rust and WASM, NEAR EVM (<a href="https://aurora.dev/">Aurora</a>) in Solidity, and now collaborating with Polygon to build a <a href="https://polygon.technology/blog/polygon-labs-and-near-foundation-collaborate-to-build-a-zkwasm-prover-as-a-component-for-polygon-cdk?utm_source=twitter&amp;utm_medium=social&amp;utm_content=near-zkwasm-blog">zkWASM L2 prove</a>r as a component for Polygon CDK. On the data availability layer, <a href="https://near.org/blog/near-foundation-launches-near-da-to-offer-secure-cost-effective-data-availability-for-eth-rollups-and-ethereum-developers">NEAR DA </a>offers data availability to L2s that is reliable and significantly cheaper than some competitors. On the settlement layer, NEAR is <a href="https://pages.near.org/blog/near-foundation-and-eigen-labs-partner-to-enable-faster-cheaper-web3-transactions-for-ethereum-rollups-via-eigenlayer/">collaborating with EigenLayer</a> to provide 3-second finality to EVM rollups. On the user layer, the BOS abstracts away the hassle of Web3 onboarding and fragmented user experience.</p><p>The ultimate vision is one of chain abstraction, a world in which the user doesn’t have to think about the chain that they are on: a unified UI for any dApp on any chain; a single account that controls every account on any chain; in-app cross-rollup transactions and bridgeless cross-chain swaps in mere seconds. NEAR will be able to support all of these things soon, with the BOS being just one piece of this puzzle.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//twitter.com/proximityfi/status/1724834844407181694%3Fs%3D20&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/36f27a41d5c3861cfd17a5878d6aad25/href">https://medium.com/media/36f27a41d5c3861cfd17a5878d6aad25/href</a></iframe><p>In our eyes tooling in general is also just one piece of the puzzle. As a broader ecosystem, blockchain projects need to curate a UX that is easy to navigate. In this article, we aimed to draw attention to some of the initiatives that NEAR has in place to aid the developer community in the realization of these goals.</p><h3><strong>Further Resources</strong></h3><ul><li><a href="https://docs.near.org/bos/overview">BOS Documentation</a></li><li><a href="https://pages.near.org/blog/get-to-know-the-bos-fastauth-for-easy-web2-style-onboarding-and-account-recovery/">Get to Know the BOS: FastAuth for Easy, Web2 Style Onboarding and Account Recovery</a></li><li><a href="https://github.com/NearDeFi/bos-apps-examples">Tauri app for BOS Gateways (Run BOS gateways locally)</a></li><li><a href="https://twitter.com/0xPolygonLabs/status/1681734070735175680">Polygon zkEVM Interactive App Dashboard on the BOS</a></li><li><a href="https://x.com/0xMantle/status/1704485424495001960?s=20">Mantle Ecosystem Gateway on the BOS</a></li><li><a href="https://twitter.com/coin98_wallet/status/1720105140596904067">Coin98 Decentralized Dapp Store, Powered by BOS</a></li><li><a href="https://x.com/LineaBuild/status/1727327099638448621?s=20">Dap Dap hosts the frontend for Uniswap v3 on Linea</a></li><li><a href="https://polygon.technology/blog/polygon-labs-and-near-foundation-collaborate-to-build-a-zkwasm-prover-as-a-component-for-polygon-cdk?utm_source=twitter&amp;utm_medium=social&amp;utm_content=near-zkwasm-blog">Polygon Labs and NEAR Foundation Collaborate to Build a zkWasm L2 Prover as a Component for Polygon CDK</a></li><li><a href="https://pages.near.org/blog/near-foundation-and-eigen-labs-partner-to-enable-faster-cheaper-web3-transactions-for-ethereum-rollups-via-eigenlayer/">NEAR Foundation and Eigen Labs Partner to Enable Faster, Cheaper Web3 Transactions for Ethereum Rollups via EigenLayer</a></li><li><a href="https://near.org/blog/near-foundation-launches-near-da-to-offer-secure-cost-effective-data-availability-for-eth-rollups-and-ethereum-developers">NEAR Foundation Launches NEAR DA to Offer Secure, Cost-Effective Data Availability for ETH Rollups and Ethereum Developers</a></li><li><a href="https://docs.near.org/data-availability/welcome?_gl=1*1devra6*_ga*MTIwNDU5NjM2MS4xNjQ4MDQ0ODEw*_ga_9GWCXQJ62J*MTcwMTk2MDYwMi4xMDAuMS4xNzAxOTYxMjgyLjM0LjAuMA..">NEAR DA Documentation</a></li><li>“<a href="https://www.youtube.com/watch?v=rLTSBLbePLU">Announcing Multichain Accounts (a.k.a Account Aggregation) on NEAR</a>,” David Millar-Durrant (Pagoda)</li><li>“<a href="https://www.youtube.com/watch?v=iyMLomqoNRY">Monolithic and Modular</a>,” Kendall Cole (Proximity Labs)</li><li><a href="https://twitter.com/proximityfi/status/1724834821082677631?s=20">Chain Abstraction is NEAR: The Monolithic and Modular Thesis</a></li></ul><h4><strong>About CMT</strong></h4><p>CMT Digital is a leading global blockchain and web3 venture capital firm focused on early-stage investments that accelerate the adoption of blockchain technology. Incepted in 2015, we were one of the earliest investment firms to allocate capital into the digital asset ecosystem. By 2018 we made our first venture investment and have invested in over 150 companies and protocols to date as we continue to push the blockchain ecosystem forward. We are investors in notable companies that are expanding the frontiers of web3, including Circle, Coinbase, ConsenSys, Crusoe Energy Systems, Dapper Labs, dYdX, FalconX, Horizon Blockchain Games, Lightning Labs, Pyth, Strike, Zero Hash among many others.</p><p>CMT Digital is also a division of CMT Group, which has been in operation for more than 25 years. Since inception, CMT Group has evolved into a diversified asset manager, with a portfolio that spans public and private equity, debt, real estate, technology, and digital assets. CMT relies on its seasoned team of professionals with significant trading, technology, investment, and legal experience to drive adoption of the digital asset ecosystem.</p><p><a href="http://cmt.digital">Website</a> · <a href="http://twitter.com/CMT_Digital">Twitter</a> · <a href="mailto: marketing@cmt.digital">Get in Touch</a></p><h4><strong>About Proximity</strong></h4><p>Proximity is a research and development firm supporting the NEAR DeFi ecosystem through investments, developer support, open-source software, and advisory services. The Proximity team consists of former members of the NEAR Foundation, Binance, Consensys, Facebook, and more. It has advised numerous DeFi projects contributing to both NEAR and Aurora’s recent success.</p><p><a href="http://proximity.dev/">Website</a> · <a href="http://twitter.com/proximityfi">Twitter</a> · <a href="https://form.jotform.com/212877151135050">Get in Touch</a></p><h4><strong>Disclosures</strong></h4><p>CMT Digital and Proximity Labs hold $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. The authors of this article have not purchased or sold any token for which the authors had material non-public information while researching or drafting this report. The statements and content in this article should not be misconstrued as a recommendation to purchase or sell any token, or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71ad392f5a2d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nearprotocol/bos-the-universal-access-layer-to-the-blockchain-71ad392f5a2d">BOS: The Universal Access Layer to the Blockchain</a> was originally published in <a href="https://medium.com/nearprotocol">NEAR Protocol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BOS: The World’s First Blockchain Operating System]]></title>
            <link>https://medium.com/nearprotocol/bos-the-worlds-first-blockchain-operating-system-54042a77b546?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/54042a77b546</guid>
            <category><![CDATA[boss]]></category>
            <category><![CDATA[decentralized-frontend]]></category>
            <category><![CDATA[nearisthebos]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[near-protocol]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Thu, 11 May 2023 14:01:45 GMT</pubDate>
            <atom:updated>2023-05-16T02:30:26.280Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>Powered by NEAR Protocol</em></strong></h4><p><em>Disclosures: Proximity Labs holds $NEAR and other tokens or investments that may be associated with protocols or projects mentioned in this article. The authors of this article have not purchased or sold any token for which the authors had material non-public information while researching or drafting this report. The statements and content in this article should not be misconstrued as a recommendation to purchase or sell any token, or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mu1D1oIXU3YILClmA2naow.png" /></figure><p>Decentralization is a core tenet of Web 3.0 and cryptocurrencies. Unfortunately, while many protocols and chains are quite decentralized, most users rely upon centralized interfaces to access and interact with them. To help reduce this reliance, the NEAR Ecosystem introduced <a href="https://alpha.near.org/">BOS — the Blockchain Operating System</a> — a tech stack that enables decentralized full stack applications. In this report we explain what BOS is, the problems that DeFi dApps suffer, and how BOS aims to solve these problems for NEAR and the crypto space.</p><h4><strong>Introducing BOS: Blockchain Operating System</strong></h4><p>NEAR Protocol is evolving from a singular/enclosed/self-contained Layer 1 for smart contracts to the <em>BOS</em>: the Blockchain Operating System for all of Web 3.0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*nP7LexRPM-iJxXG2" /><figcaption>Figure 1. Visualization of the world’s first Blockchain Operation System (BOS)</figcaption></figure><p><em>What is BOS?</em> BOS is a tech stack that allows developers to create, deploy, and store frontends in a secure and decentralized way, for any protocol on <em>any chain</em>. Currently, NEAR and EVM-compatible chains including Ethereum, Arbitrum, and Polygon are supported, with more to come in the future.</p><p>With BOS, NEAR can power decentralized frontends for all Web 3.0 applications, and act as a common layer for storing, browsing, and discovering products such as DEXs, money markets, NFT marketplaces, social networks, gaming platforms, and more. This technology enables NEAR to become the discovery layer for crypto users in the same way that Apple’s App Store is the discovery layer for iPhone users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*LVxKRUA7ypGInjQx" /><figcaption>Figure 2. Scheme of BOS, consisting of discovery apps with components that access smart contract</figcaption></figure><h4><strong>The Three Pillars of BOS</strong></h4><p>BOS is based on three pillars: Gateways, Components, and Blockchains.</p><p><strong><em>Gateways</em></strong></p><p>Gateways are access points to Web 3.0 apps that pull frontend code directly from the NEAR blockchain and render it for their users. A gateway consists of a specially designed virtual machine that loads and runs frontends for protocols built on Ethereum, L2s, and other Layer 1s like NEAR. In this way, they make locally-run, decentralized frontends available to the masses.</p><p>Anyone can create and run a gateway, and all of them can have different specializations. For example, <a href="http://alpha.near.org">near.org</a> acts like an app store for dApps; <a href="https://near.social/#/">near social</a> offers a more social-oriented experience where users can engage with each other, access their favorite dApps, and even share their findings, interactions, and content; and <a href="https://bos.gg/#/">bos.gg</a> targets EVM dApp developers. For more examples of gateways, check out <a href="https://near.org/gateways">https://near.org/gateways</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*kXnxliSdZUprGtTH" /><figcaption>Figure 3. Near.org is set to become the main entry point for decentralized apps and includes social and developer features</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*Z-wgOEp-hZNH1vol" /><figcaption>Figure 4. Boss.gg is another gateway, specifically designed for developers that want to develop front ends using BOS</figcaption></figure><p>Soon, apps like <a href="http://app.ref.finance">Ref Finance</a> will implement their own gateways, becoming a one-stop shop (aka “Super Apps”) for DeFi on NEAR. Users will be able to trade using AMMs or orderbooks, access different types of perps, money markets, or bridges, all within a single interface (see Figures 5 and 6). Additionally, use case specific apps like Sweatcoin can utilize gateways to expand their functionality, becoming “super apps” that bring DeFi access to millions of Web 2.0 users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIiSwnkQUbRNYhQh_8mSHQ.png" /><figcaption>Figure 5. Ref Finance is set to become a one-stop shop for DeFi, not only on NEAR but for crypto in general. Users can access any supported ecosystem apps and directly interact with the frontends. Let’s remember that, although the frontend is on NEAR, you will always interact with the backend smart contracts on the original chain. (Note: The image above is a prototype and should only be used as a reference, not as a representation of the actual product.)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aTdWH4GKSwBc5rdPTmGN9A.png" /><figcaption>Figure 6. A Ref Finance frontend enabled via a BOS gateway that allows you to trade, swap, lend or borrow, stake, and access many other DeFi functions directly under the same UI by interacting indirectly with different smart contracts. (Note: The image above is a prototype and should only be used as a reference, not as a representation of the actual product.)</figcaption></figure><p>Apart from these popular applications, like Ref or Sweatcoin, gateways can assume a variety of forms including wallets or portfolio management tools (e.g. Zerion, Pulsar, Zapper, or Debank). BOS enables them to add extra functionality such as execution, allowing their users to perform trades and interact directly with DeFi from these products.</p><p>If protocol teams use BOS and keep their components updated, then gateways can rely on these components for their native integrations (and simply add some CSS/design to them rather than implement themselves). This provides an important solution for the common issue of portfolio management teams having to drop native integrations because they can’t keep up with numerous native protocol changes.</p><p><strong><em>Components</em></strong></p><p>Components are frontends for app-layer protocols (think Lido, Uniswap, Aave), whose source codes is stored entirely on-chain. The code for these apps can be viewed in a gateway, similar to viewing a smart contract on <a href="https://etherscan.io/">Etherscan</a>. In the Ref Finance gateway example above, the Figure showed various apps — these are all <em>components</em> built using BOS, which are the frontends interacting with the respective protocol’s backend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*pRI3nWWKvczR5_V3" /><figcaption>Figure 7. A decentralized frontend for Lido Finance, built using BOS, natively stored on NEAR.</figcaption></figure><p>One of the main advantages is that developers can fork these apps and deploy their own versions, or even compose different Components together. For example, many components showing prices of swaps across many different chains, could all be displayed side by side in a single comparison interface component. The author of this component need not develop all the underlying swap components, but rather compose them into their “super app” component.</p><p><strong><em>Blockchains</em></strong></p><p>The true power of BOS comes from the fact that it is chain-agnostic. Components can call functions on any blockchain, with BOS currently supporting all EVM chains/L2s and NEAR. The source code for the apps (frontends) is on NEAR, due to its ability to cheaply store HTML/CSS/JS (a few cents).</p><h4><strong>BOS: Benefits &amp; Use Cases</strong></h4><p>BOS aims to tackle several critical challenges around building frontends for Web 3.0 apps, including access, security, composability, and time to market.</p><p><strong><em>Decentralization and Security</em></strong></p><p>With BOS, the code for Components is always on-chain, making it auditable, versioned, and viewable in explorers. All component code is stored on the NEAR blockchain. This enhances security and robustness, while providing strong uptime and access guarantees.</p><p>Back in August, the popular dApp Curve <a href="https://decrypt.co/107120/ethereum-defi-exchange-curve-frontend-hack-hijack">suffered a frontend hack</a> that allowed hackers to steal ~$570,000. Hackers compromised the Curve website and domain name to redirect unwitting users (or their transactions) to a malicious destination. BOS would have stopped this from happening, and any attempt of malicious interaction would have been spotted on-chain. Examples like these prove the need for a secure and decentralized frontend stored natively on-chain.</p><p>Since the source code for BOS components can be verified both on-chain and in-browser, this attack is more likely to have been spotted. And if the user was running their gateway locally, it would have been impossible.</p><h3>@samczsun.com on Twitter: &quot;🚨🚨🚨@CurveFinance frontend is compromised, do not use it until further notice! / Twitter&quot;</h3><p>🚨🚨🚨@CurveFinance frontend is compromised, do not use it until further notice!</p><p><strong><em>Censorship Resistance</em></strong></p><p>Frontends stored in centralized servers such as AWS or GCP are a centralized point of failure that run counter to decentralization and the promise of crypto in general. BOS solves this problem by decentralizing the frontends and thus making them as censorship resistant as the underlying NEAR protocol itself.</p><p><strong><em>Open source and Composability</em></strong></p><p>Building frontends with BOS means that frontend code is public and more compatible with open source principles by default. In the same way that developers could access the code of a certain DeFi app and fork it to create a new one (with different branding and maybe added features), now developers can also access frontends and fork them to be used in several applications via BOS. Let’s further understand this with Lido as an example.</p><p>As you can see in Figure 7, Lido’s backend smart contracts can now be accessed through a decentralized frontend deployed using BOS. This opens the door to customization and enhanced UIs for users: for example, devs would be able to create new components to improve the UI of other dApps (e.g. include charts and analytics in the Lido UI). It is much easier and quicker as they can leverage built-ins such as profiles, payments, and notifications as well as searching, without the need to host anything themselves.</p><p>Users might decide to use this frontend instead of the official one. And anyone can create one as long as the smart contract code is open source. That also allows users to keep using the application even if the official, non-decentralized frontend is compromised or down due to AWS problems, improving robustness, security, as well as user empowerment.</p><p>Furthermore, BOS fosters <a href="https://medium.com/@ProximityFi/enabling-cross-chain-composability-how-near-protocols-nightshade-will-disrupt-defi-3922d52c840c">composability</a> by enabling developers to reuse and remix Components, and improve the UI of DeFi apps thanks to the decentralized and open source nature. Composability is one of the things that DeFi has leveraged the most: token swaps, flash loans, LP positions as collateral, etc. Thanks to BOS, composability is also coming to frontends. For example, devs can integrate components that were created for Uniswap into Lido, or components that were created for Aave into dYdX, if they decide to enable any money market feature. Components can be reassembled, modified, duplicated, or integrated in any way into other Components or frontends, opening the door to more sophisticated applications catering to different needs and experiences.</p><blockquote>“The composable decentralized frontends as a framework can work with any Web 2.0 or Web 3.0 backend and any wallet. In the future we will be offering [use of] wallets from one chain to interact with another via seamless bridging.” — Illia Polosukhin, co-founder of NEAR Protocol. <a href="https://www.coindesk.com/tech/2023/03/02/near-protocol-starts-blockchain-operating-system-to-focus-on-user-experience/">[Source: Coindesk]</a></blockquote><p><strong><em>Seamless Onboarding</em></strong></p><p>For DeFi to achieve mass adoption, UI/UX for DeFi applications need to be improved. The current landscape, characterized by numerous blockchains, applications, infrastructure, and wallets, along with fragmented liquidity, can be daunting for newcomers to DeFi. BOS seeks to establish itself as a unifying layer for discovering Web 3.0 offerings. We foresee the development of all-in-one applications (aka “Super Apps”) on BOS that integrate popular dAcurvecurpps such as DEXs, money markets, NFT marketplaces, and liquidity staking protocols, across various blockchains. By also enabling users to sign up without a seed phrase, using only their device through Fast Auth (just announced at Consensus!), BOS aims to substantially reduce entry barriers and make Web 3.0 more accessible.</p><p><strong><em>Developer Experience</em></strong></p><p>BOS offers a nimble approach to prototyping and constructing frontend applications. This enables developers to concentrate on coding while avoiding the hassle of establishing infrastructure and managing servers. Additionally, BOS facilitates a unified platform for collaboration and code-sharing among developers, enabling the option to relinquish ownership and create immutable components. With its utilization of JavaScript and ReactJS, developers can easily get started with a minimal learning curve. For example, the <a href="https://bos.gg/#/zavodil.near/widget/Lido">Lido</a> component on BOS was completed in two hours.</p><h4><strong>Roadmap</strong></h4><p>With the main BOS gateway (near.org), meta-transactions, and zero-balance accounts live, and FastAuth announced at Consensus2023, BOS is well on its path to mass adoption.</p><p>In the near future, you can look forward to further features such as the compliance engine, private data, on-chain and encrypted chat service, account extensions and remote accounts. Stay tuned also for upcoming partnership announcements and the unique product experiences they will beget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*MT84c2-C85AJ6Ygi" /><figcaption>Figure 9. BOS roadmap leading upto May 8th. An updated roadmap will be published by Pagoda soon.</figcaption></figure><p>For those interested in learning more, check out <a href="https://near.org/">near.org</a> or <a href="https://near.social/">near.social</a> to explore different components and the gateway experience. For other gateways, you can explore the <a href="http://near.org/gateways">BOS Viewer Directory</a>.</p><p>For developers, check out the BOS docs on <a href="https://docs.bos.gg/">docs.bos.gg</a>, as well as the Component examples on <a href="https://bos.gg/">bos.gg</a>. For inquiries or feedback, join the <a href="https://t.me/+mpJSZwsVYz9hODNh">BOS Development Telegram chat</a>.</p><p>Finally, if you are interested in building BOS gateways or components for DeFi (on NEAR and beyond) and are seeking technical or financial support, contact us through our <a href="https://www.proximity.dev/">website</a>.</p><h4><strong>About Proximity</strong></h4><p>Proximity is a research and development firm supporting the NEAR DeFi ecosystem through investments, developer support, open-source software, and advisory services. The Proximity team consists of former members of the NEAR Foundation, Binance, Consensys, Facebook, and more. It has advised numerous DeFi projects contributing to both NEAR and Aurora’s recent success.</p><p><a href="http://proximity.dev/">Website</a> · <a href="http://twitter.com/proximityfi">Twitter</a> · <a href="https://form.jotform.com/212877151135050">Get in Touch</a> · <a href="https://medium.com/nearprotocol/announcing-a-10m-fund-for-decentralized-orderbook-solutions-on-near-670bd30540d1">$10M Orderbook Fund</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/0*e8vfLhZpiOokGcQ3.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54042a77b546" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nearprotocol/bos-the-worlds-first-blockchain-operating-system-54042a77b546">BOS: The World’s First Blockchain Operating System</a> was originally published in <a href="https://medium.com/nearprotocol">NEAR Protocol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Year in Review: NEAR DeFi in 2022]]></title>
            <link>https://medium.com/nearprotocol/a-year-in-review-near-defi-in-2022-d3b3da093250?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3b3da093250</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[proximity-labs]]></category>
            <category><![CDATA[aurora]]></category>
            <category><![CDATA[order-book]]></category>
            <category><![CDATA[near-protocol]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Wed, 21 Dec 2022 18:21:12 GMT</pubDate>
            <atom:updated>2023-01-08T16:13:18.575Z</atom:updated>
            <content:encoded><![CDATA[<h4>By Proximity Labs</h4><p><em>Disclosures: Proximity Labs holds $NEAR, $AURORA, and other tokens or investments that may be associated with protocols or projects mentioned in this article. The authors of this article have not purchased or sold any token for which the authors had material non-public information while researching or drafting this report. The statements and content in this article should not be misconstrued as a recommendation to purchase or sell any token, or to use any protocol. This article also contains forward-looking statements about third-party projects that the authors have no control over and, as such, actual future developments may be substantially different from the expectations described in the forward-looking statements for a number of reasons, including those that are not under the control of the authors. The content of this article reflects the opinions of its authors and is presented for informational purposes only. This is not and should not be construed to be investment advice.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFkrZMdnez45UW_SElzT5A.png" /></figure><h3>Index</h3><p>I. Proximity’s Role in the NEAR Ecosystem</p><p>II. NEAR DeFi 2022 Recap</p><p>i. On-chain, Non-custodial, Decentralized Trading is On the Rise</p><p>ii. Central Limit Orderbooks (CLOBs)</p><p>iii. Capital-efficient AMM DEXs: Concentrated Liquidity, Hybrid AMMs, LP-based Perps</p><p>iv. DEX Aggregators</p><p>v. Money Markets: Community Lending Pools, Orderbook-based p2p Lending, Margin Trading, and Non-liquidatable Loans via Options Strategies</p><p>vi. Liquid Staking</p><p>vii. Infrastructure to Support a Booming Ecosystem</p><ul><li>Interoperability</li><li>Stablecoins</li><li>Wallets</li><li>Portfolio Management Tools</li><li>Analytics</li><li>Fiat On/off-ramps</li></ul><p>III. Looking Forward to 2023</p><p>What a year for the markets, especially for crypto. As 2022 is coming to an end, we at Proximity wanted to recap the most notable DeFi trends from this past year and highlight how they have developed in the NEAR DeFi ecosystem.</p><h3>Proximity’s Role in the NEAR Ecosystem</h3><p>Proximity started over a year ago with the goal of helping talented builders establish a healthy and robust ecosystem of open-source DeFi protocols, teams, and infrastructure on the NEAR blockchain. Proximity&#39;s role is to provide a full-stack service of financial, technical, and advisory support to the NEAR DeFi ecosystem to achieve this goal.</p><p>Proximity initially received a grant of 40 million $NEAR tokens from the NEAR Foundation to further this mission. Over the last 14 months, Proximity has allocated ~8 million $NEAR via investments, grants, and other initiatives. In addition to the remaining treasury of $NEAR, which will be utilized and allocated over a period of several years, Proximity also has multiple years of operational runway in stable assets.</p><p>Proximity’s operations have evolved over the last year as we have adapted to providing different services based on the ecosystem’s most pressing needs. Key initiatives that we have spearheaded include:</p><ul><li>Researching and developing open-source projects, including <a href="https://medium.com/nearprotocol/introducing-neth-near-becomes-the-first-non-evm-chain-to-offer-metamask-compatibility-5c05db5c31d6">MetaMask compatibility through NETH</a>, NEAR components (e.g. on <a href="http://near.social">NEAR Social</a>), and others;</li><li>Providing key resources in the form of grants, investments, and advisory support to over 40 talented teams and builders such as Ref, Orderly, Spin, Tonic, <a href="https://twitter.com/BastionProtocol/status/1502030187214610445?t=B_Ge7gJtaH0XxAxVEwVLyg&amp;s=19">Bastion</a>, Derivio, and <a href="https://twitter.com/aurigami_PLY/status/1504491593470181377?t=G5LZECHtlUval3NqY4fzxg&amp;s=19">Aurigami</a>;</li><li>Launching a <a href="https://medium.com/nearprotocol/announcing-a-10m-fund-for-decentralized-orderbook-solutions-on-near-670bd30540d1">$10M Orderbook Fund</a> in collaboration with Orderly, Tonic, and Spin to support top teams building DeFi products on top of orderbooks;</li><li>Publishing original research, such as an <a href="https://medium.com/@ProximityFi/enabling-cross-chain-composability-how-near-protocols-nightshade-will-disrupt-defi-3922d52c840c">analysis on NEAR’s tech</a> and <a href="https://medium.com/@ProximityFi/near-positioned-to-become-the-leading-orderbook-chain-b428c851bd6e">its potential for DeFi</a>;</li><li>Supporting key infrastructure projects such as bridges, on/off-ramps, wallets, analytics, etc;</li><li>Supporting the Aurora ecosystem through a <a href="https://medium.com/@ProximityFi/announcing-a-25m-aurora-grant-to-further-grow-the-aurora-defi-ecosystem-b5ef85697a77">25 million $AURORA pool granted from the Aurora DAO</a>.</li></ul><p>As we head into the new year, our focus continues to be supporting and growing the number of talented teams and projects in our ecosystem, as well as ensuring that NEAR continues to lead in terms of user and developer experience.</p><p>Our goals for 2023 are the following:</p><ul><li>NEAR is the <strong>de facto orderbook chain</strong>, with industry-leading decentralized orderbook products;</li><li>NEAR components enable the most robust, <strong>fully-decentralized frontend deployment experience</strong>, including full support for Ethereum and its L2 protocols (see <a href="http://near.social">near.social</a> widgets for a developer preview);</li><li>NEAR (and soon <strong><em>NEAR OS</em></strong><em>)</em> becomes the <strong>homepage and entry point to Web3,</strong> enabling seamless, safe, and verifiable discovery and usage of the most popular Web3 products from any device. More info about NEAR OS soon.</li></ul><p>If you are interested in contributing to the above goals or believe you can contribute to the NEAR DeFi ecosystem in a meaningful way, please reach out to us! Builders can contact us via our <a href="http://proximity.dev">website</a>.</p><p>And now, on to the year-in-review!</p><h3>On-chain, Non-custodial, Decentralized Trading is On the Rise</h3><p>In May 2022, we witnessed the $LUNA/$UST collapse and related contagion extending across the market, resulting in 3AC, Voyager, Celsius, BlockFi, and other prominent lenders to become insolvent. The recent FTX and Alameda fallout has shocked the markets yet again, leaving many to wonder whether we have hit bottom or there is yet more to come.</p><p>Through these events one thing has become clear: building a non-custodial and decentralized future is of the utmost importance. The reckoning of centralized actors, combined with improved protocols and more capital-efficient mechanisms, caused <a href="https://defillama.com/dexs">DEX volumes to rise in November.</a> At Proximity, we believe the future of finance will be dominated by protocols that can offer a CEX-competitive experience while maintaining the core values of self-custody and decentralization. In this regard, NEAR is extremely well positioned <a href="https://medium.com/@ProximityFi/near-positioned-to-become-the-leading-orderbook-chain-b428c851bd6e">to become the leading trading chain.</a></p><p>We are already seeing this thesis unfold through the rise of orderbook DEXs such as <a href="http://orderly.network"><strong>Orderly Network</strong></a>, <a href="http://spin.fi"><strong>Spin</strong></a>, and <a href="http://tonic.foundation"><strong>Tonic</strong></a>; as well as capital efficient AMM DEXs with CEX-like functionalities, such as <a href="http://ref.finance"><strong>Ref Finance</strong></a> v2 via its discretized liquidity AMM with limit orders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vEaSaK_ai3wb86DkxSI6IA.jpeg" /><figcaption>Figure 1. DEX to CEX Spot Trade Volume (as a percentage of total CEX volume)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FLvIvLAA8q2uT3JNMZqyRQ.jpeg" /><figcaption>Figure 2. DEX Volume across different decentralized AMMs and CLOBs on-chain</figcaption></figure><h3>Central Limit Orderbooks (CLOBs)</h3><p>By Q3, NEAR saw three strong orderbook platforms launch on mainnet:</p><p><strong>Orderly Network</strong> positions itself as an orderbook infrastructure layer with a risk engine, matching engine, and shared liquidity, allowing different frontends to build on top of it. Such products can be spot DEXs, perps, options, lending/borrowing; and even ERC20 tokens on Aurora could be tradeable on Orderly without bridging via EVM support through <a href="https://medium.com/@ProximityFi/enabling-cross-chain-composability-how-near-protocols-nightshade-will-disrupt-defi-3922d52c840c">cross-contract calls</a>.</p><p>Orderly first <a href="https://twitter.com/OrderlyNetwork/status/1579774261384077312">launched on mainnet</a> two months ago with <a href="https://dex.woo.org/"><strong>WOOFi DEX</strong></a> offering spot trading and, since then, it has achieved $130M+ in cumulative volume with $5M+ in liquidity, 4.8k+ unique users that have deposited $8M+, and over 192,000 transactions. Perps are expected for January 2023 with options and other products set for a later debut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYNo3RjXCYCoTZSWRvwG3Q.jpeg" /><figcaption>Figure 3. Orderly’s daily new users (source: Pikespeak)</figcaption></figure><p><strong>Spin</strong> is a fully on-chain orderbook DEX with both spot and perps on mainnet, and options coming soon. Spin announced this year they are partnering with <strong>Calimero Network</strong> to operate <a href="https://medium.com/spin-finance/spin-is-to-become-the-first-near-dex-to-integrate-the-private-sharding-solution-by-calimero-471bc12253c9">a private shard to ensure up to 200K TPS</a> (transactions per second), and it is currently engaging users through an <a href="https://twitter.com/spin_fi/status/1599783939710676992">airdrop campaign for early adopters</a>. Spin has 9.1k+ unique users (+64% in the last 30 days) and has handled over 417,000 transactions on spot and 565,000 transactions on perps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i_sCruo0h9EF5A64F5Sdew.jpeg" /><figcaption>Figure 4. Spin’s daily new users (source: Pikespeak)</figcaption></figure><p><strong>Tonic</strong> is a fully on-chain and open-source orderbook DEX with spot trading live on mainnet and perps coming before the end of the year. With 1.3k+ users (+125% in the last 30 days) and over 414,000 transactions, Tonic has kickstarted the growth of its ecosystem by integrating <a href="https://app.cellfi.io/bot/list"><strong>CellFi</strong></a>, which is a decentralized LP for CLOB DEXs via bots that allows you to create special trading strategies, DCA and TWAP orders, and others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5RVyn44hsPh11XFMifo7g.jpeg" /><figcaption>Figure 5. Tonic’s daily new users (source: Pikespeak)</figcaption></figure><p>The activity of decentralized perps and options on-chain has significantly increased in 2022 across all chains and we think this trend will continue in 2023. Perps will have a strong presence on NEAR in 2023, with Spin perps already live on mainnet, Tonic perps set to launch before 2023, and Orderly perps to debut by early Q1 2023.</p><p>Given Proximity’s commitment to the development of a robust orderbook ecosystem on NEAR, we recently launched a <a href="https://medium.com/nearprotocol/announcing-a-10m-fund-for-decentralized-orderbook-solutions-on-near-670bd30540d1">$10M Orderbook Fund</a> for projects to leverage and build atop the existing Central Limit Orderbook (CLOB) infrastructure provided by these protocols. If you are interested in participating, please apply <a href="https://form.jotform.com/proximityisnear/orderbook-program">here</a>.</p><p><em>#OrderbooksAreNEAR</em></p><h3><strong>Closing The Gap: Capital-efficient AMM DEXs</strong></h3><p>While CLOBs are normally a more capital efficient way to trade, AMMs on NEAR have also made strides this year to close the gap between CEXs and DEXs.</p><p>If you have ever traded on Uniswap V3, you will have noticed that you don’t need deep liquidity to avoid a huge price impact. Concentrated liquidity allows LPs to provide liquidity in tighter ranges. <a href="http://app.ref.finance"><strong>Ref Finance</strong></a> has just <a href="https://twitter.com/finance_ref/status/1602695190409519109">launched their V2</a> with a next-gen concentrated liquidity model called the <em>Discretized Liquidity AMM</em> (DLAMM), which also enables limit orders with near-zero slippage. Besides, Ref also supports <a href="https://ref-finance.medium.com/introducing-multi-chain-liquidity-aggregation-2441a9c5e1e8">multi-chain liquidity aggregation</a> via cross-chain contract calls between Ref, on NEAR mainnet, and other DEXs in Aurora such as <a href="https://www.trisolaris.io/#/swap"><strong>Trisolaris</strong></a>, thanks to the true <a href="https://medium.com/@ProximityFi/enabling-cross-chain-composability-how-near-protocols-nightshade-will-disrupt-defi-3922d52c840c">cross-chain composability that NEAR offers</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*We93xbQpx2cv-Mvt_CTAhQ.jpeg" /><figcaption>Figure 5. On the left, graphics representation of the Discretized Liquidity AMM (DLAMM) model by Ref Finance. On the right, UI for Limit Orders.</figcaption></figure><p>Another upcoming capital-efficient AMM on NEAR native is <a href="https://veax.com/"><strong>Veax</strong></a>. It is a Hybrid AMM DEX that <a href="https://t.co/1nDmgnhUeC">raised $1.2M</a> to bring a suite of TradFi trading products to DeFi. Among its features, the most promising are adaptable liquidity pools, true margin &amp; derivatives, an Orderbook UX, and smart contract OTC trades and auctions for illiquid tokens.</p><p>On the <a href="http://aurora.dev"><strong>Aurora</strong></a> side, we find three exciting trading protocols:</p><ul><li><a href="http://arctic.trade"><strong>Arctic</strong></a> also features a DLAMM DEX and has collaborated to implement Ref V2. Arctic plans to launch their native token $ARC and their veNFT model in 2023.</li><li><a href="https://twitter.com/derivio_xyz"><strong>Derivio</strong></a> is building an institutional-grade LP-based derivatives platform that will offer margin-based perpetuals, binary options, and interest rate trading, with dynamic market-neutral LP protection.</li><li><a href="https://www.holdr.fi/"><strong>Holdr</strong></a>, a <a href="https://mobile.twitter.com/Balancer/status/1603040232521097216">friendly fork of Balancer</a>, is an automated portfolio manager and trading platform that provides LPs an opportunity to mitigate impermanent loss and to take advantage of self-balancing portfolios similar to traditional index funds. They just launched <a href="https://twitter.com/HoldrFi/status/1603042735849627648?t=op-vcJ5iEed7CO0pXQjD2g&amp;s=19">a liquidity bootstrapping pool (LPB) event</a> for its token $HLDR.</li></ul><h3>DEX Aggregators</h3><p>With so many interesting options to trade on, DEX aggregators are a fundamental part of an ecosystem. In 2022, NEAR saw the launch of two aggregators, <a href="https://perk.money/"><strong>Perk</strong></a> and <a href="https://arbitoor.com/"><strong>Arbitoor</strong></a>, which allow users to trade not only across AMMs pools but also across CLOBs, and in the future across Aurora and different shards. <a href="http://fluxus.finance"><strong>Fluxus Finance</strong></a> is also launching its DEX aggregator soon on mainnet, along with a host of other DeFi products such as a portfolio dashboard, auto-compounder, and vaults.</p><p>With the discretized liquidity feature of Ref Finance V2, Veax’s hybrid AMM, three Orderbooks, and Aurora-based trading platforms, users are assured to get an optimal quote when trading on NEAR. <strong>Perk</strong> will also help users auto-manage LP positions in protocols with concentrated liquidity and aggregate yields from money markets to make the most out of yield farming.</p><h3>Money Markets</h3><p>Despite the demand for borrowing and leveraging diminishing in a downward market, decentralized money markets have proven their value this year in light of the fall of prominent institutional lenders and associated insolvency issues.</p><p>The NEAR ecosystem has three main money markets: <a href="http://app.burrow.cash"><strong>Burrow</strong></a> on NEAR native; <a href="https://app.bastionprotocol.com/"><strong>Bastion</strong></a> and <a href="https://www.aurigami.finance/"><strong>Aurigami</strong></a> on Aurora. As of December 19th, Burrow sits at $17M in TVL with $3M in loans; Bastion has $50M in TVL with $6M in loans; and Aurigami’s TVL is $8M with $2.5M in loans. In total, TVL for money markets in NEAR is $75M and the total amount of borrows $11.5M, accounting for a utilization ratio of 15.3%. (<em>Source: </em><a href="https://defillama.com/protocols/Lending"><em>DeFiLlama</em></a>)</p><p>The goal heading into 2023 is to generate real and sustainable demand in money markets via, for instance, margin trading, and create more capital-efficient mechanisms thanks to the composability offered by Orderbooks and AMMs. In 2023,</p><ul><li><strong>Orderly</strong> will be introducing community lending pools where LPs lend out assets to market makers while enjoying single-sided liquidity provision with sustainable yields, and will allow orderbook-based peer-to-peer (p2p) loans, optimizing APRs for both lenders and borrowers.</li><li><a href="https://omomo.finance/"><strong>Omomo Finance</strong></a>, a spin-off of <a href="http://blaize.tech">Blaize.tech</a> and a new money market on NEAR native, plans to offer leverage trading with zero-slippage limit orders on top of NEAR DEXs, starting with Ref’s V2 concentrated liquidity pools. It will cover positions from the borrowing pool and fees are 0% as you can get them back as an LP.</li><li><a href="https://www.cora.money/"><strong>Cora Protocol</strong></a> plans to offer non-liquidatable loans with a one-time fee by introducing a new DeFi primitive: lending protocol powered by options strategies. The protocol uses quantitative finance analysis methods to define the optimal borrowing amount, borrowing fee, and associated risk. They just launched their <a href="https://mobile.twitter.com/CoraProtocol/status/1605126123569889282">testnet</a> on Aurora.</li></ul><h3>Liquid Staking</h3><p>In 2022, <a href="https://linearprotocol.org/"><strong>Linear Protocol</strong></a> and <a href="https://www.staderlabs.com/"><strong>Stader</strong></a> (from Terra) launched on NEAR, adding to <a href="https://metapool.app/"><strong>Metapool</strong></a>. Having three liquid staking solutions allows users to diversify their risk and optimize their trading and farming strategies.</p><p>These three protocols offer their own derivatives: $LiNEAR (<a href="https://defillama.com/protocol/linear-protocol">$4.3M</a>), $NEARX (<a href="https://defillama.com/protocol/stader">$2M</a>), and $stNEAR (<a href="https://defillama.com/protocol/meta-pool">$12.5M</a>), respectively, which distribute your staked $NEAR tokens across different validators pools. These assets are composable, meaning that can be used in lending/borrowing protocols as collateral, traded in AMMs and Orderbooks, and even leverage-farmed in protocols like <a href="https://pembrock.finance/"><strong>PembRock</strong></a>.</p><h3>Infrastructure to Support a Booming Ecosystem</h3><p>2022 showed that crypto is evolving into an increasingly multi-chain world. Proximity actively contributed to the huge upgrade the NEAR ecosystem saw across the board with bridges, fiat on/off-ramps, stablecoins, wallets, and more.</p><h4>Interoperability</h4><p>The <a href="https://rainbowbridge.app/"><strong>Rainbow Bridge</strong></a> between NEAR, Aurora, and Ethereum continues to be one of the most secure and robust bridges in crypto, <a href="https://t.co/sgLPnC2BOk">successfully shutting down exploit attempts</a> and implementing a <a href="https://immunefi.com/bounty/aurora/">$1M bug bounty program</a>. According to Nansen, it has surpassed $3.3B+ in bridged assets with over 15,700 unique users, positioning as the 4th native bridge in bridged volume just behind Polygon, Axie, and Arbitrum, and ahead of Optimism. During NEARcon, it was announced that the Rainbow Bridge’s <a href="https://mobile.twitter.com/auroraisnear/status/1570706970457550848">NEAR-native token connector</a> is now live, meaning that users are able able to bridge any NEAR-native token to the Ethereum network.</p><p>However, a thriving ecosystem consists of different options that adapt to users&#39; demands. Last month, <a href="http://multichain.org"><strong>Multichain</strong></a>, the top bridge by both TVL and volume, <a href="https://medium.com/multichainorg/multichain-goes-live-on-near-with-over-30m-in-initial-liquidity-for-cross-chain-interoperability-e65b755a0613">joined the NEAR ecosystem with over $30M in initial shared liquidity</a>. Now, you can bridge assets between NEAR and other 15+ chains, including Arbitrum, Polygon, Avalanche, Aptos, and more, in a faster way, especially when bridging from NEAR to Ethereum. Along with <a href="http://allbridge.io"><strong>Allbridge</strong></a>, <a href="https://wormhole.com/"><strong>Wormhole</strong></a>, and the Rainbow Bridge, Multichain brings a new level of connectivity to the NEAR ecosystem. The integration comes at the right time with orderbook DEXs and Ref v2 providing sophisticated trading options for high frequency traders and market makers that require access to fast, cheap, and secure bridging options; as well as great arbitrage and rebalance strategies.</p><h4>Stablecoins</h4><p>Ironically, one of the best trades this year was to hold USD instead of any other currency. People from countries that are suffering from hyperinflation are able to access USD via the blockchain in the form of Circle’s USDC, Binance’ BUSD, and Tether’s USDT, among others. The ease with which people can access USD is one of the main value propositions of DeFi and we consider it fundamental to develop a prominent infrastructure around stablecoins in the NEAR ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*87puFC1es9cWNv7NnTIzyg.jpeg" /><figcaption>Figure 6. Growth of stablecoin adoption in the crypto markets (source: Coingecko)</figcaption></figure><p>Currently, <a href="https://cointelegraph.com/news/tether-usdt-stablecoin-goes-live-on-near-protocol-to-boost-defi-presence">native $USDT is live on NEAR</a>, available on Bitfinex (and soon on other top-tier CEXs), and can be bridged using Multichain. <strong>Ref Finance</strong> has already deployed <a href="https://app.ref.finance/sauce/3689">a new native $USDT pool</a> and soon <strong>Tonic</strong> will be launching perps with native $USDT. Finally, Circle has announced that, in early 2023, <a href="https://near.org/blog/near-and-circle-announce-usdc-support-for-multi-chain-ecosystem/">native $USDC will be deployed on NEAR</a>.</p><h4>Wallets</h4><p>While one year ago only a couple of wallets were available on NEAR native, multiple options have arisen in 2022. The NEAR ecosystem comprises of web wallets (<a href="https://wallet.near.org"><strong>NEAR Wallet</strong></a>, <a href="https://mynearwallet.com"><strong>MyNearWallet</strong></a>), browser extension wallets (<a href="https://senderwallet.io/"><strong>Sender</strong></a>, <a href="https://wallet.nightly.app/"><strong>Nightly</strong></a>, <a href="https://meteorwallet.app/"><strong>Meteor</strong></a>), mobile wallets (<a href="https://herewallet.app/"><strong>Here</strong></a>, <a href="https://optowallet.com/"><strong>Opto</strong></a>), hardware wallets <a href="https://www.ledger.com/">(<strong>Ledger</strong>)</a>, institutional-grade wallets (<a href="https://www.fireblocks.com/"><strong>Fireblocks</strong></a>, <a href="https://www.bitgo.com/"><strong>BitGo</strong></a>), and even Ethereum wallets such as <strong>MetaMask</strong> via <strong><em>NETH</em></strong>, <a href="https://twitter.com/proximityfi/status/1604881126145011713">which was announced 2 days ago.</a></p><p>Developed by Proximity, <a href="http://neth.app">NETH</a> is a smart contract that enables your Ethereum account to sign transactions and remotely control your paired NEAR account, allowing you to directly interact with NEAR dApps using your Ethereum wallet. It is compatible with MetaMask* and you can already use it in dApps such as Ref or Burrow. For more information about NETH, including how to create and account, click <a href="https://medium.com/nearprotocol/introducing-neth-near-becomes-the-first-non-evm-chain-to-offer-metamask-compatibility-5c05db5c31d6">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kywc7tznCkQER9caTE57aQ.jpeg" /><figcaption>Figure 7. NETH integrated into Wallet Selector. Select NETH to start using MetaMask on NEAR dApps.</figcaption></figure><p>The variety of both software and hardware solutions, combined with innovative features such as <a href="https://twitter.com/here_wallet/status/1587477256351485952?t=22alqAJRNOlO5qWUmus3AA&amp;s=19">transactions using a linked phone number</a> instead of an address (<strong>Here Wallet</strong>), integrated in-wallet DeFi services (<strong>Meteor</strong>), institutional-grade support, and Ethereum compatibility (<strong>NETH&lt;&gt;MetaMask</strong>), NEAR offers one the best onboarding experiences when it comes to wallets. And soon, in 2023, <a href="https://twitter.com/PagodaPlatform/status/1600144116578283520"><strong>zero balance accounts</strong></a> will be ready so that you won’t need any $NEAR for the storage cost when you initially set up an account.</p><p>Additionally, the release of the <a href="https://github.com/near/wallet-selector"><strong>NEAR Wallet Selector</strong></a> plugin by <a href="https://www.pagoda.co/"><strong>Pagoda</strong></a> has smoothened the wallet integration process for dApps, as well as providing a unified interface for wallet options on NEAR.</p><p><em>*NETH is not affiliated with MetaMask or its parent company Consensys Software, Inc.</em></p><h4>Portfolio Management Tools</h4><p>Adding to the improved user experience provided by wallets, NEAR also saw the introduction of portfolio management tools in 2022. Most notably, <a href="https://near.pulsar.finance/portfolio"><strong>Pulsar</strong></a> and <a href="https://near.leapwallet.io/"><strong>Leap Wallet</strong></a> launched their portfolio tracking &amp; management tools for NEAR, both coming directly from Terra. You can track your assets across multiple wallets and aggregate information on debt, DeFi positions, NFTs, performance over time, activate notifications, and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBuR9DuH0u-8kSWWSUePDQ.jpeg" /><figcaption>Figure 8. Pulsar UI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t0dtFSW8MOQVqKKL1zxuXA.jpeg" /><figcaption>Figure 9. Leap Wallet UI</figcaption></figure><h4>Analytics</h4><p>Launched last summer, <a href="https://pikespeak.ai/"><strong>Pikespeak.ai</strong></a> is the Nansen of NEAR. It provides access to live and historical on-chain data with visualizations of the most fundamental Web 3 use cases: DeFi, DAOs, NFTs, Gaming, etc. You can track contract calls, inflows and outflows to/from dApps, monitor wallet activity, contracts deployed, NEAR validators performance, and many other on-chain analysis. The project will start its integration with Aurora and Ethereum in early 2023.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H4Y67anDNoNNcOlzwWuarA.jpeg" /><figcaption>Figure 7. In the last 24 hours, Binance NEAR hot wallet has processed over 2,100 $NEAR transfers, already accounting for 3.5M+ $NEAR outflows from the platform. You can track in real time what&#39;s happening on the hot wallet dashboard.</figcaption></figure><h4>Fiat On/Off-ramps</h4><p>Fiat on/off-ramps are crucial to lower the entry barrier to crypto and gear it towards mass adoption. In 2022, NEAR saw multiple fiat on/off-ramp solutions enter the ecosystem. On top of <a href="https://www.moonpay.com/"><strong>Moonpay</strong></a>, which was NEAR&#39;s go-to solution until now, NEAR is now also supported by <a href="https://transak.com/"><strong>Transak</strong></a>, <a href="https://ramp.network/"><strong>Ramp</strong></a>, and <a href="https://onramper.com/"><strong>Onramper</strong></a>. <strong>Transak</strong>, most notably, has already been <a href="https://twitter.com/finance_ref/status/1572926581437501443?t=0H92Xil3Axgi49Gbp4dLpw&amp;s=19">integrated on <strong>Ref Finance</strong></a>, enabling fiat-to-crypto payments at the dApp level.</p><h3>Looking Forward to 2023</h3><p>2022 has been a year of exponential growth for NEAR: the number of wallets <a href="https://near.org/blog/near-wallet-rockets-to-over-20-million-users-with-sweat-partnership/">skyrocketed from 2 million to 20 million</a>, the number of transactions <a href="https://twitter.com/NEARProtocol/status/1603789829036195843?t=8Cj094WDZ3ObmNK12kO4Gw&amp;s=19">just passed 250 million</a>, and <a href="https://www.figment.io/resources/developer-traffic-on-near-protocol">developer activity has grown</a> through bull and bear. It is safe to say our year in review, even confined to DeFi, is far from comprehensive and there is a lot more brewing underneath the surface.</p><p>On that note, here are a few things to look out for DeFi on NEAR and Aurora in 2023.</p><ul><li>Orderbooks: perps on Tonic; options and more on Spin; perps and lending pools on Orderly; and a thriving ecosystem of DeFi products built on top of these orderbooks.</li><li>Upcoming launches in early 2023: Veax and Omomo (NEAR native), Derivio and Cora (Aurora).</li><li>Stablecoins: full integration of native $USDT and native $USDC in top-tier CEXs, bridges, on/off-ramps, and DeFi protocols.</li><li>Decentralized front-ends for DeFi through NEAR Social and NEAR OS.</li></ul><p>Happy holidays — see you in the new year!</p><h3>About Proximity Labs</h3><p>Proximity is a research and development firm focused on supporting the NEAR DeFi ecosystem. Consisting of former members of the NEAR Foundation, Binance US, Consensys, Facebook, and more, Proximity works closely with projects building on NEAR, whether through its investment arm, grant program, open-source software solutions, or by deploying its deep expertise to help design impactful strategies and serve as a bridge between DeFi teams and ecosystem participants. It has advised numerous bluechip DeFi projects contributing to the NEAR’s and Aurora’s recent success.</p><p><a href="http://proximity.dev">Website</a> · <a href="https://twitter.com/proximityfi">Twitter</a> · <a href="https://form.jotform.com/212877151135050">Get in Touch</a> · <a href="https://medium.com/nearprotocol/announcing-a-10m-fund-for-decentralized-orderbook-solutions-on-near-670bd30540d1">$10M Orderbook Fund</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3b3da093250" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nearprotocol/a-year-in-review-near-defi-in-2022-d3b3da093250">A Year in Review: NEAR DeFi in 2022</a> was originally published in <a href="https://medium.com/nearprotocol">NEAR Protocol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing NETH: NEAR Becomes The First Non-EVM Chain to Offer MetaMask Compatibility]]></title>
            <link>https://medium.com/nearprotocol/introducing-neth-near-becomes-the-first-non-evm-chain-to-offer-metamask-compatibility-5c05db5c31d6?source=rss-41d0f266807b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c05db5c31d6</guid>
            <category><![CDATA[neth]]></category>
            <category><![CDATA[ethereum-wallet]]></category>
            <category><![CDATA[near-protocol]]></category>
            <category><![CDATA[metamask]]></category>
            <category><![CDATA[compatibility]]></category>
            <dc:creator><![CDATA[Proximity]]></dc:creator>
            <pubDate>Mon, 19 Dec 2022 16:08:36 GMT</pubDate>
            <atom:updated>2022-12-19T17:59:06.637Z</atom:updated>
            <content:encoded><![CDATA[<h3>Developed by Proximity Labs</h3><p><em>Disclosures: Proximity Labs holds $NEAR, $AURORA, and tokens that may be associated with other protocols mentioned in the article. These statements are intended to disclose any conflict of interest and should not be misconstrued as a recommendation to purchase or sell any token or to use any protocol. The content of this article is for informational purposes only, and you should not make investment decisions based on it. This is not investment advice. Proximity Labs is not affiliated with MetaMask or its parent company Consensys Software, Inc.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DIhfuai6NtOQoJGgud7OLQ.png" /></figure><p>To date, MetaMask is by far the most popular wallet in crypto: it has <a href="https://consensys.net/blog/press-release/metamask-celebrates-its-6th-anniversary-with-6-digit-growth-strategic-update-to-the-market/">over 30 million monthly active users (MAU),</a> connects you with 3,700+ dApps and Web3 protocols, and the majority of DeFi flows through it.</p><p>While projects on Ethereum and EVM chains have the advantage of inheriting existing infrastructure such as MetaMask, non-EVM chains have needed to come up with their own solutions. At Proximity Labs, we wanted to change this. We have built <strong><em>the first solution to offer</em></strong><em> </em><strong><em>MetaMask compatibility on a non-EVM chain</em></strong> through a smart contract called <a href="http://neth.app">NETH</a>, which allows you to remotely control a NEAR account using your Ethereum account.</p><p>Cut to the chase? Check out the <a href="https://youtu.be/g7omt0m6mmk">demo</a> and start using <a href="http://neth.app">NETH</a> on <a href="http://app.ref.finance">Ref Finance</a> and <a href="http://app.burrow.cash">Burrow</a>.</p><h3>This is NETH: Unlocking Ethereum Wallets on NEAR Native</h3><p>While NEAR can support EVM runtimes, like <a href="http://aurora.dev">Aurora</a>, NEAR&#39;s native runtime is not EVM-compatible. This creates an onboarding barrier to users accustomed to their Ethereum wallets, who have to relearn everything when entering a new chain. NETH sets out to solve one thing: allow users to utilize their Ethereum Wallets to interact with NEAR Native dApps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qQ9A2fIBNdJCT0MhxYNHjA.jpeg" /></figure><p><a href="http://neth.app">NETH</a> is a smart contract that enables your Ethereum account to sign transactions and remotely control your paired NEAR account, allowing you to directly interact with NEAR dApps using your Ethereum wallet, such as MetaMask.</p><p>Deployed on the NEAR side, NETH allows your paired NEAR account to accept transaction details <a href="https://medium.com/swlh/understanding-data-payloads-in-ethereum-transactions-354dbe995371">(payload)</a> and the signature from your paired Ethereum account. The contract:</p><ul><li>verifies the signature from the Ethereum account,</li><li>recovers the Ethereum public address and,</li><li>executes the transaction if it matches the address from the initial NETH setup.</li></ul><p>This means that NEAR is now accessible through the most widely used non-custodial wallet in crypto, removing the entry barrier for EVM users to enter the NEAR Native ecosystem. Also, NETH accounts can handle NEAR transactions with multiple receivers and multiple actions per receiver, making a NETH Account capable of using the most advanced NEAR dApps.</p><h3>Setup, Usability, and Security</h3><p>NETH comprises a NEAR account with a <a href="https://github.com/neardefi/neth">deployed smart contract</a> and the <a href="https://medium.com/nearprotocol/introducing-wallet-selector-a-new-tool-for-the-near-ecosystem-7609eaddd3cf">NEAR Wallet Selector plugin</a>. Some of its key features are as follows:</p><ul><li>Everything is <strong><em>open-source</em></strong>. The repo for the Wallet Selector plugin and setup frontend can be found <a href="https://github.com/NearDeFi/neth">here</a>.</li><li>The entire process is <strong><em>non-custodial</em></strong>: you are in charge of your keys the whole time.</li><li>The NETH Account setup flow is entirely <strong><em>client-side</em></strong>: it runs on your computer only and is not communicating with a server or third party.</li><li>We worked with <a href="http://osec.io">OtterSec</a> to <strong><em>audit</em></strong> the contract and various user journeys for potential risks, the report of which can be found <a href="https://github.com/NearDeFi/neth/blob/main/audit/near-eth-audit-public.pdf">here</a>.</li><li>NETH is <strong><em>whitelisted</em> </strong>on NEAR’s Wallet Selector, which smoothens the dApp integration process. Projects on NEAR only need to integrate the Wallet Selector and NETH will show up as one of the default options. The repo for the Wallet Selector can be found <a href="https://github.com/near/wallet-selector">here</a>.</li></ul><p>As with any transaction on NEAR, there are some fees that go to validators (not affiliated with Proximity) to fund the wallet initially. Currently, the creation of a NETH account is 0.5 $NEAR, which is used to pay for the account name, access keys, and contract storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GQyikuw7G0vrpIOwZ7aZkQ.png" /><figcaption>Figure 2. How NETH works and interacts with MetaMask</figcaption></figure><p>Note that the setup process is not without risks. Should your device suffer a catastrophic failure during the setup process resulting in a loss of access to the local storage of the website, you may not be able to recover the funds used to set up the NETH Account. This is why we decided to write the NETH Contract as a no-std Rust contract deployed on NEAR since it only requires 0.5 $NEAR to create the account and deploy the NETH Contract.</p><p>Once set up, there is also an option to disconnect the account and walk away with a seed phrase to a NEAR Native account. From there you can use any NEAR Wallet by importing the seed phrase.</p><p>Using dApps is as simple as signing transactions using your Ethereum Account (e.g., through MetaMask or MetaMask mobile) as you normally would. We made sure to include headers, receiver IDs, and size information in the transaction payload to increase legibility and security and to minimize the chances of malicious tampering with transaction details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qgcZAPrQ4qS-yj8_48KdiA.png" /><figcaption>Figure 3. Using apps with NETH: you connect to your NEAR app and the Wallet Selector Plugin pops up. Then you select NETH and start using MetaMask directly to sign transactions.</figcaption></figure><p>Bringing MetaMask and other Ethereum wallets to NEAR native combines the full potential and capabilities of the NEAR blockchain with the familiarity, user experience, and battle-tested track record of Ethereum’s wallet ecosystem.</p><p>Importantly, although we use MetaMask as an example, <strong>NETH works for most Ethereum wallets!</strong> This is because NETH is a smart contract entirely on the NEAR side, which uses Ethereum accounts (whether it be MetaMask or not), and is not an official integration by the MetaMask team.</p><h3>Future Work</h3><p>With the core functionality live, these are the next steps for NETH that we are currently exploring:</p><ul><li>An improved onboarding experience, with a cost reduction in the amount needed to fund the account (currently 0.5 $NEAR), which can be achieved in several ways:</li></ul><ol><li>A subsidized faucet for account creation based on certain criteria, such as bridging a non-trivial amount from Ethereum or other networks;</li><li>Using bridged funds via the <a href="https://rainbowbridge.app/">Rainbow Bridge</a> to swap and pay the 0.5 $NEAR (or less);</li><li>Initial funding using NEAR’s <a href="https://www.moonpay.com/buy">Moonpay</a> integration; and</li><li><a href="https://twitter.com/PagodaPlatform/status/1600144116578283520?t=4Gn160BouJFSgOCamC2wyQ&amp;s=19"><strong>Zero balance accounts</strong></a> on NEAR, which would eliminate the need for initial set-up costs altogether.</li></ol><p>For now, feel free to reach out to the NEAR community if you do not have access to any NEAR tokens or explore other potential opportunities for funding, such as <a href="https://nearcrowd.com/">NEAR Crowd</a>.</p><ul><li>Tighter integration with bridging assets as a feature within the Wallet Selector plugin, embedding the Rainbow Bridge into other dApps.</li><li>More dApp integrations.</li><li>UI/UX improvements.</li><li>Educational materials and guides for users and devs.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*JAK7iEPh8STf2LSDqOTJ3A.jpeg" /><figcaption>Figure 4. NETH as an option on Ref Finance&#39;s Wallet Selector interface</figcaption></figure><p>Today, you can find NETH live on NEAR’s Wallet Selector plugin on dApps such as <a href="http://app.ref.finance">Ref Finance</a> and <a href="http://app.burrow.cash">Burrow</a>, with many more to come. <strong><em>Watch the </em></strong><a href="https://youtu.be/g7omt0m6mmk"><strong><em>demo</em></strong></a><strong><em> and start using NETH </em></strong><a href="http://neth.app"><strong><em>here</em></strong></a><strong><em>!</em></strong></p><h3>About Proximity</h3><p>Proximity is a research and development firm supporting the NEAR DeFi ecosystem through investments, developer support, open-source software, and advisory services. The Proximity team consists of former members of the NEAR Foundation, Binance, Consensys, Facebook, and more. It has advised numerous DeFi projects contributing to both NEAR and Aurora’s recent success.</p><p><a href="http://proximity.dev">Website</a> · <a href="http://twitter.com/proximityfi">Twitter</a> · <a href="https://form.jotform.com/212877151135050">Get in Touch</a> · <a href="https://medium.com/nearprotocol/announcing-a-10m-fund-for-decentralized-orderbook-solutions-on-near-670bd30540d1">10M Orderbook Fund</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c05db5c31d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nearprotocol/introducing-neth-near-becomes-the-first-non-evm-chain-to-offer-metamask-compatibility-5c05db5c31d6">Introducing NETH: NEAR Becomes The First Non-EVM Chain to Offer MetaMask Compatibility</a> was originally published in <a href="https://medium.com/nearprotocol">NEAR Protocol</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>