<?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 Hillary Omondi on Medium]]></title>
        <description><![CDATA[Stories by Hillary Omondi on Medium]]></description>
        <link>https://medium.com/@codegram_c?source=rss-b5fd5778c5e3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NKVsYsez3AYfwU5QpoZ9tA.jpeg</url>
            <title>Stories by Hillary Omondi on Medium</title>
            <link>https://medium.com/@codegram_c?source=rss-b5fd5778c5e3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 12:19:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@codegram_c/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[Decentralized Art Gallery (DAG) on Aptos]]></title>
            <link>https://medium.com/@codegram_c/decentralized-art-gallery-dag-on-aptos-2c34ae909d07?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c34ae909d07</guid>
            <category><![CDATA[digital-assets-trading]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[aptos]]></category>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Tue, 21 May 2024 02:56:47 GMT</pubDate>
            <atom:updated>2024-05-21T02:56:47.158Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3NfN61ZPHOCkpegUNhk43g.png" /></figure><h3><strong>Introduction</strong></h3><p>The difficulties of showcasing and marketing their work are a common struggle for artists in the present digital era. Centralized platforms manage the visibility of artworks and accept substantial commissions. In order to address these problems, Aptos’ Decentralized Art Gallery (DAG) offers a venue for artists to exhibit their work, communicate with art enthusiasts, and sell their NFTs to collectors straight and without the need for middlemen.</p><p>With the help of DAG, a decentralized platform, artists may mint their works as NFTs, show them off in online galleries, and sell them straight to consumers. Some of the important features of the DAG include:</p><ul><li><strong>NFT Minting</strong>: Simple tools are provided for artists to mint their work as NFTs with adjustable royalties.</li><li><strong>Virtual Galleries</strong>: Artists can design personalized online galleries to showcase their collections.</li><li><strong>Direct Sales</strong>: Artists can use Aptos to handle payments instantly and sell their NFTs to consumers directly.</li><li><strong>Community Interaction</strong>: Users are able to share, like, and comment on artwork, fostering a social environment around digital art.</li></ul><h4><strong>Why build on Aptos</strong></h4><p>Aptos is perfect for managing a large number of transactions and interactions on the platform because of its fast throughput and low latency. The security and effectiveness of smart contracts used for NFT minting and sales are guaranteed by the Move programming language. Furthermore, Aptos’ scalability ensures that speed won’t be compromised as the platform grows to accommodate more users and artwork.</p><h4><strong>Example of a Use Case</strong></h4><p>Consider Alice, a painter who uses digital technology to create paintings.</p><figure><img alt="Example of an NFT" src="https://cdn-images-1.medium.com/max/593/1*wDgK8D4_DQpuGvVT5DD6Cw.png" /><figcaption>Example of an NFT.</figcaption></figure><p>Alice can mint her paintings as NFTs using DAG and display them in a online gallery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*wPak4YkEwR9XDEGzvO65ZA.png" /><figcaption>Mock of a virtual gallery where Alice displays her work.</figcaption></figure><p>Collectors globally can visit her gallery to view her artwork and buy NFTs directly from her, guaranteeing that she is fairly compensated without the need for middlemen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K44duGFG4DJEQGf5omgbJw.png" /><figcaption>Collectors exploring Alice’s gallery to view her artwork.</figcaption></figure><p><strong>Conclusion</strong></p><p>By empowering artists and fostering a thriving community of art fans, the Decentralized Art Gallery on Aptos has the potential to completely transform the digital art scene. By utilizing Aptos’ special qualities, DAG stands out as a solution in the NFT and social application spaces by guaranteeing safe, quick, and scalable transactions.</p><p><strong>Category</strong>: NFTs, Social Applications, and Gaming</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c34ae909d07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unleashing Innovation with Circle’s Programmable Wallets]]></title>
            <link>https://medium.com/@codegram_c/unleashing-innovation-with-circles-programmable-wallets-dc665eae706a?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc665eae706a</guid>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Wed, 01 May 2024 06:50:26 GMT</pubDate>
            <atom:updated>2024-05-01T06:50:26.875Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*zf5B6kH1sLfp7UIQO4TwKg.png" /></figure><h4><strong>Introduction</strong></h4><p><strong><em>Overview of USDC</em></strong></p><p>USDC is a digital representation of the US dollar which serves as a stablecoin accessible through open protocols on public blockchain networks. Its integration into applications worldwide bypasses the need for traditional banking systems, offering faster and more efficient financial services to users globally.</p><ul><li><strong>Globally Accessible:</strong> Available to anyone with an internet connection.</li><li><strong>Instant Settlement:</strong> Payments settle instantly worldwide for less than a cent.</li><li><strong>24/7 Availability:</strong> Accessible round the clock, transcending local banking hours.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*n41jm4TgZeGag8NkK0zJ9g.jpeg" /></figure><p>In the field of blockchain technology, Circle’s Programmable Wallets emerge as a game-changer, offering developers a versatile toolset to integrate stablecoins and blockchain infrastructure seamlessly into their applications. This guide serves as a comprehensive roadmap, unveiling the potential of Programmable Wallets and guiding developers on their journey to harnessing this transformative technology.</p><p><strong>Introduction to Circle Web3 Services &amp; Programmable Wallets</strong></p><p>Circle Web3 Services represent a gateway to a decentralized future, empowering developers to leverage blockchain technology with ease. At the heart of Circle’s offerings lies Programmable Wallets, a revolutionary solution designed to overcome the limitations of traditional wallets. Programmable Wallets provide developers with a user-friendly interface to interact with blockchain networks, streamlining the development process and accelerating innovation.</p><p>Circle’s Web3 Services provide pre-configured tools and abstracted solutions, offering a simple, secure, and compliant environment for developers to build blockchain-enabled apps and leverage the power of USDC. You can learn more about <a href="https://www.circle.com/en/web3-services"><em>Circle Web3 Services</em></a> in the link.</p><p><strong>The Benefits of Circle’s Programmable Wallets</strong></p><p>Wallets serve as the cornerstone of digital asset management, facilitating storage, transactions, and security. Private keys, cryptographic identifiers, are essential for accessing and executing transactions involving digital assets on blockchain networks.</p><p>The advantages of Circle’s Programmable Wallets are manifold. By harnessing the power of stablecoins like USDC, developers gain access to a reliable and secure medium of exchange, free from the volatility inherent in traditional cryptocurrencies. Programmable Wallets offer unmatched flexibility, allowing developers to customize wallet functionalities to suit their specific needs. Moreover, the scalability of Programmable Wallets ensures seamless integration into a wide range of applications, from peer-to-peer payments to decentralized finance protocols.</p><p><strong>USDC and Programmable Wallets help scale real-world solutions</strong></p><p>USDC serves as the cornerstone of Circle’s ecosystem, providing a stable and transparent digital currency for global transactions. When integrated with Programmable Wallets, USDC becomes a catalyst for innovation, enabling developers to scale real-world solutions seamlessly. Whether facilitating cross-border remittances, enabling micropayments, or powering decentralized applications, USDC and Programmable Wallets offer a reliable foundation for building the future of finance.</p><p><strong><em>User-Controlled vs Developer-Controlled Wallets</em></strong></p><p>While both user-controlled and developer-controlled wallets share common functionalities, such as initiating transactions and interacting with smart contracts, their primary distinction lies in the control over private keys. In user-controlled wallets, users retain full control over their private keys, ensuring complete autonomy and security. In contrast, developer-controlled wallets delegate control to applications, offering a simplified and centralized approach to blockchain interaction.</p><p><strong>Step-by-Step Guide to Getting Started with Circle’s Programmable Wallets:</strong></p><p>In this step, we will go through configuring both Android Studio and Postman to interact with Circle’s Programmable Wallets API endpoints for creating a new user-controlled wallet. We will go through various user activities including initializing a user, initiating a transfer, and viewing the wallet balance.</p><p><strong><em>Android Studio Installation &amp; Configuration</em></strong></p><p>To begin, ensure you have <a href="https://developer.android.com/studio"><em>Android Studio</em></a> installed on your device. Also, ensure <a href="https://www.oracle.com/sg/java/technologies/downloads/#java17"><em>Java version 17</em></a> is installed on your device. Follow the following tutorials and guidelines on installing and setting up the above according to your operating system.</p><p><strong><em>Run Application</em></strong></p><ul><li><strong>Clone Repository</strong>: Create a new project directory on your computer. Proceed to clone the GitHub repository using the command below and open it in Android Studio.</li></ul><pre>git clone https://github.com/circlefin/w3s-android-sample-app-wallets.git</pre><ul><li><strong>Application Configuration</strong>: In the Android Studio project, configure the application by adding the <strong><em>pw_app_id </em></strong>to the <strong><em>config.xml </em></strong>file. Your application ID can be found <a href="https://console.circle.com/wallets/user/configurator"><em>here</em></a>, and the config.xml file is located in the following path <em>‘</em><strong><em>app/src/main/res/values/config.xml’</em></strong>.</li><li><strong>Update local.properties: </strong>Sign up/into GitHub and generate a Personal Access Token (PAT). Remember to copy and save it. Copy the code snippet below and paste it to the local.properties file. Replace the placeholders as required.</li></ul><pre>pwsdk.maven.url=https://maven.pkg.github.com/circlefin/w3s-android-sdk<br>pwsdk.maven.username=REPLACE WITH GITHUB USERNAME <br>pwsdk.maven.password=REPLACE WITH GITHUB PAT VALUE</pre><ul><li><strong>Build and run</strong>: Click on the ‘Sync’ icon on Android Studio to synchronize the Gradle repository settings. Build the application and run it to launch in your simulator. The expected interface to see at the moment is as follows:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*wo4sVD5GAFAewjFn00ek0A.png" /><figcaption>Fill in your App ID in its respective field.</figcaption></figure><p><strong><em>Setting up Postman</em></strong></p><p>Sign up for a postman account if you don’t have one, then sign in.</p><p>Proceed to create a new workspace after which we will be forking Circle’s Programmable Wallets Postman workspace. Follow this <a href="https://go.stackup.dev/circlepostman-pw2"><em>link</em></a><em> </em>and click on <strong><em>fork</em></strong> on Programmable Wallets’ collection to successfully fork the collection. It should now appear under your collections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/1*c4R-fE7bGjoqTrGAxOhIXw.png" /><figcaption>Overview of the forked collection.</figcaption></figure><p><strong><em>Circle’s API Keys</em></strong></p><p>Head over to <a href="https://console.circle.com/"><em>Circle’s Developer Console</em></a>, sign up/in, and create a new API key which will help to interact with Circle’s services.</p><p>Ensure to store your API key as an environment variable under the ‘Authorization’ tab of your collection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*knax-UVDnV7XtOJK_4aeLQ.png" /><figcaption>Overview of the tabs we will navigate through.</figcaption></figure><p>From there we can now start our interaction with Circle’s APIs.</p><h4><strong>Create a User</strong></h4><p>On the left pane, under the ‘<strong>Users and Pins</strong>’ tab, select ‘<strong>Create a User</strong>’ request.</p><p>Under the request’s body, populate using the following snippet to add a userId. Replace with your preferred unique name.</p><pre>{<br> &quot;userId&quot;: &quot;Replace with a username&quot;<br>}</pre><p>Clicking on ‘<strong>Send</strong>’ should return a <em>201</em> status message indicating successful user creation. This can also be confirmed in the developer’s console under the users section.</p><h4><strong>Acquire Session Token</strong></h4><p>Still under the ‘<strong>Users and Pins</strong>’ tab, navigate to the ‘<strong>Create a user token</strong>’ request, similar to how we did for creating a user. Again we will only be editing the request body, and using the same snippet as in creating a user. It is important to note that we are using the userId we had created before.</p><p>Clicking send will return a response with the <strong><em>userToken</em></strong> and <strong><em>encryptionKey</em></strong>, which similar to the App ID, should be transferred to our application on Android Studio.</p><h4><strong>Initialize the User</strong></h4><p>Using our userToken, we can create an SCA Wallet. Navigate to the ‘<strong>Create a PIN challenge and create wallet(s)</strong>’ request. Fill the value of<strong> X-User-Token</strong> with the userToken under the ‘<strong>Headers</strong>’ option and use the code snippet below to fill the request body.</p><pre>{<br>&quot;blockchains&quot;:[&quot;ETH-SEPOLIA&quot;],<br>&quot;accountType&quot;: &quot;SCA&quot;,<br>&quot;idempotencyKey&quot;: &quot;{{$guid}}&quot;<br>}</pre><p>Click send and this will generate a challenge ID which we also transfer to the Android application under the respective field.</p><p>Expected output:</p><pre>{<br>  &quot;data&quot;:{<br>  &quot;challengeId&quot;: &quot; - - - - - - - - - &quot;<br>  }<br>}</pre><p>Clicking on ‘<strong>Execute</strong>’ will direct you to a screen that gives a step-by-step on wallet initialization. This includes setting your PIN and recovery questions.</p><h4><strong>View Wallet Balance</strong></h4><p>We can make an API call to fetch wallet information. First, navigate to the ‘<strong>Wallets</strong>’ tab under which we will be utilizing the ‘<strong>Get token balance for a wallet</strong>’ request. Just as we did before, paste your user token value under ‘<strong>Headers</strong>’ as well as your wallet ID under ‘<strong>Params</strong>’. The wallet ID can be found in your developer console under the user you created initially. Clicking send returns a response of wallet information, including the wallet address and balance.</p><h4><strong>Initiate a Transfer</strong></h4><p>Assuming our wallet had been funded by some faucets, and that we have another user-controlled wallet, we can initiate an outbound transfer. The previous request for fetching wallet information returns some useful USDC token information, including token ID, which we will use during our outbound transfer.</p><p>Navigate to the ‘<strong>Transactions</strong>’ tab and click on the ‘<strong>Create a challenge for a transfer transaction</strong>’ request. Under ‘<strong>Headers</strong>’, populate the X-User-Token with your user token value. Proceed to populate the request body with the following code snippet and ensure to replace the placeholders accordingly.</p><pre>{<br>    &quot;amounts&quot;: [<br>        &quot;REPLACE WITH YOUR DESIRED AMOUNT&quot;<br>    ],<br>    &quot;destinationAddress&quot;: &quot;REPLACE WITH THE SECOND SCA WALLET ADDRESS&quot;,<br>    &quot;feeLevel&quot;: &quot;MEDIUM&quot;,<br>    &quot;idempotencyKey&quot;: &quot;{{$guid}}&quot;,<br>    &quot;tokenId&quot;: &quot;5797fbd6-3795-519d-84ca-ec4c5f80c3b1&quot;,<br>    &quot;walletId&quot;: &quot;REPLACE WITH ORIGINAL SCA WALLET ID&quot;<br>}</pre><p>Clicking on send returns a challenge ID. Transferring it to our Android application and executing will display a screen where on successful pin verification, we will be redirected to the home page. This indicates a successful outbound transfer. This can be confirmed in our developer console under our second wallet that there has been an inbound transfer. And that’s it for the outbound transfer.</p><blockquote><strong>Note: </strong>You should be aware that your user token is bound to expire and any time it does so, please generate a new one for a smooth experience.</blockquote><h4><strong>Conclusion</strong></h4><p>In conclusion, Circle’s Programmable Wallets offer a gateway to a decentralized future, empowering developers to innovate and transform the landscape of finance. With user-friendly interfaces, seamless integrations, and scalable solutions, Programmable Wallets pave the way for a new era of financial inclusion and accessibility</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc665eae706a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Potential — Aptos Blockchain]]></title>
            <link>https://medium.com/@codegram_c/unlocking-potential-aptos-blockchain-6c34dde2ff38?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c34dde2ff38</guid>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 10:54:38 GMT</pubDate>
            <atom:updated>2024-03-21T11:19:19.982Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Unlocking Potential — Aptos Blockchain</strong></h3><h3>Unlocking Potential — Aptos Blockchain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GHLUOxYK8LgDbe9Y.png" /></figure><h4><strong>Introduction to Aptos</strong></h4><p>Aptos is a layer 1 blockchain engineered for speed and scalability created in 2022 by Mo Shaikh and Avery Ching. At its core, Aptos utilizes a unique approach, parallel execution, allowing it to process transactions simultaneously. This innovative method, similar to cars on a multi-lane highway, is powered by the Move programming language. Aptos employs Byzantine Fault Tolerance (BFT) and Proof of Stake (PoT), which are well-established security mechanisms that allow collective verification of transactions and secure access to data.</p><p>Developed by the team behind Meta’s Diem project, Move enables Aptos to achieve remarkable speeds, boasting a capacity of up to 160,000 transactions per second. This capacity is backed up by the modular approach taken in dividing labor into different units of the system which work together, resulting in low latency and high throughput.</p><blockquote><strong>Overview of Move</strong></blockquote><blockquote>Move is a cutting-edge programming language developed by Meta to power the Diem blockchain. The primary objectives of Move are to prioritize security and safety, offering features like resource types, static safety, formal verification, programmable execution, and cultural values that emphasize simplicity and readability. Read more on Move <a href="https://move-language.github.io/move/">here</a>.</blockquote><blockquote><strong>Transaction Management on Aptos</strong></blockquote><blockquote>Transaction management on Aptos blockchain involves a series of steps to ensure secure and efficient transactions. These processes include verifying authorization, expiration timestamps, and sequence numbers. A transaction manager comprises of a sequence number generator, transaction manager, and a coordinator for on-chain worker leaders. Aptos supports worker accounts for sharing the responsibility of pushing work through a shared account.</blockquote><h4><strong>Why Aptos</strong></h4><p>Aptos stands out as the preferred choice for developers seeking to build decentralized applications (<em>dApps</em>) for several reasons. My motives for settling on Aptos include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*5hhD5Txwidv5psRH00hudQ.png" /><figcaption>How to <a href="https://medium.com/everstake/how-to-stake-aptos-apt-64bdc6a8348c">stake on Aptos</a></figcaption></figure><ol><li><strong><em>Scalability and Speed:</em></strong> Approaches like parallel execution and modular architecture ensure a high throughput of transactions. High transaction capacity provides the speed necessary for large-scale applications and high user volumes.</li><li><strong><em>Low Gas Fees:</em></strong> Low gas fees of up to 0.000009 APT ($0.00009) make it cost-effective for developers and users to interact with the blockchain. This affordability makes Aptos an attractive option for building dApps that require frequent interactions with the blockchain.</li><li><strong><em>Security and Reliability:</em></strong> Aptos prioritizes security and reliability through its BFT and PoS consensus mechanisms. Validators ensure continuous network operation despite the presence of malicious actors. Separating functionalities into modules reduces the attack surface, making it harder to exploit vulnerabilities.</li><li><strong><em>Developer-Friendly Environment:</em></strong> Aptos offers a developer-friendly environment with its Move programming language and comprehensive developer tools. Additional valuable resources and <a href="https://aptos.dev/">documentation</a> support developers in their journey of building on the blockchain.</li><li><strong><em>Community and Ecosystem:</em></strong> Aptos is proud of a vibrant community of developers, validators, and enthusiasts who contribute to the growth and development of the ecosystem. Engagement with the community provides opportunities for collaboration, learning, and networking.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*lFxQxoOiwodUJg5LUov4ZQ.png" /><figcaption>Byzantine Fault Tolerance</figcaption></figure><p>Aptos is a good choice for its scalability, low gas fees, security, developer-friendly environment, and thriving community thus making it an ideal choice for building dApps.</p><h4><strong>Building on Aptos</strong></h4><p>Imagine building a decentralized marketplace platform on the Aptos blockchain, and using its unique features to create a more efficient and accessible e-commerce ecosystem. Through its unique features, I am motivated to build a marketplace, let’s name it <strong><em>AptoMarket</em></strong>, where users can buy and sell a wide range of products and services, running from physical goods to digital assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*KegjLA--XkgmS_cT" /><figcaption>Aptos Marketplace</figcaption></figure><p><strong>AptoMarket </strong>will serve as a decentralized hub for economic activity. Businesses and individuals will use the platform to exchange goods and services in an efficient, secure, and transparent way. Unique features of Aptos that will benefit the marketplace include:</p><p><strong><em>Parallel Execution</em> — </strong>Transactions will be processed simultaneously implying high throughput and scalability hence a large number of transactions will be processed quickly and efficiently. Buyers and sellers will in turn have a seamless shopping experience as a result of fast order processing and confirmation times.</p><p><strong><em>Security Mechanisms</em> — </strong>By using BFT and PoT security mechanisms, transactions will be recorded securely on the blockchain ensuring transparency and immutability.</p><p><strong><em>Low Transaction Fees — </em></strong>Low gas fees on Aptos will result in cost-effective transactions within the AptoMarket platform. This will make the marketplace accessible to a wide range of buyers and sellers who will not need to worry about high transaction costs and fees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*zmhZ0zwOdbHJwO5eqbUvRg.jpeg" /></figure><p><strong><em>Decentralized governance </em>— </strong>Users in the marketplace will have a say in the decision-making processes of the platform. This will ensure changes to the marketplace remain fair and transparent.</p><p>The availability of a vibrant community will allow users to interact through ratings, reviews, and organized forums, fostering engagement and accountability in the marketplace.</p><p>AptoMarket aims to empower users worldwide with access to a revolutionized e-commerce service as an alternative to traditional online marketplaces. Emphasis on speed, security, and efficiency makes AptoMarket a compelling platform for offering and receiving goods and services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9Ge41z_jOndaDeTW" /><figcaption>Join Aptos <a href="https://aptosfoundation.org/currents/join-the-aptos-collective">Community contributors</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c34dde2ff38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Immutable zkEVMと共にWeb3ゲームの未来を切り拓す]]></title>
            <link>https://medium.com/@codegram_c/immutable-zkevm%E3%81%A8%E5%85%B1%E3%81%ABweb3%E3%82%B2%E3%83%BC%E3%83%A0%E3%81%AE%E6%9C%AA%E6%9D%A5%E3%82%92%E5%88%87%E3%82%8A%E6%8B%93%E3%81%99-0ddcb8dc2d54?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ddcb8dc2d54</guid>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Fri, 20 Oct 2023 06:09:20 GMT</pubDate>
            <atom:updated>2023-10-20T06:09:20.358Z</atom:updated>
            <content:encoded><![CDATA[<p>Immutable zkEVMと共にWeb3ゲームの未来を切り拓す</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pADo5fXz8oI1UHnZfqtBQ.png" /></figure><p>紹介</p><p>Immutable zkEVMの世界へようこそ。最新のテクノロジーがWeb3ゲームの無限の可能性と交差する場所です。この教育的な記事では、Immutable zkEVMの驚異を探求する旅に出発します。これはブロックチェーンゲームの世界での革命的な技術で、ImmutableとPolygonの戦略的な提携から生まれました。最も先進的なゲーム技術とWeb3の幅広いエコシステムを提供しています。</p><p>Immutable zkEVMの概要</p><p>Immutable zkEVMは技術の飛躍だけでなく、革新とビジョンの融合でもあります。それはzk-rollupテクノロジーの上に構築され、シームレスにEthereumのネットワークに統合され、拡張性とプライバシーを組み合わせています — これはEthereumが長らく追求してきた偉業です。</p><p>zkEVMの主要な概念</p><p>もっと深く掘り下げる前に、zkEVMの主要な概念を把握しましょう。Ethereum仮想マシン（EVM）はスマートコントラクトとトランザクションの中心で、すべてが展開される場所です。ゼロ知識証明（zkプルーフ）は、特定の情報を公開せずに一方の当事者が他方の当事者に文の真実を証明するための暗号魔法として機能します。zkEVMを使用することで、Ethereumの拡張性とプライバシーの課題が効果的に取り組まれます。</p><p>zkEVMの動作原理</p><p>その核心では、zkEVMは複数のトランザクションを1つの証明に圧縮してまとめ、データと計算の負荷を劇的に減少させ、トランザクションのスループットを向上させます。驚くべきことは、zkEVMがトランザクションのプライバシーを維持しながら、Ethereumブロックチェーンによる検証を確実にします。このプロセスにはトランザクションのエンコード、zk-SNARK証明の生成、およびEthereumノードのトランザクション検証の簡素化が含まれます。</p><p>開発者への利点</p><p>Ethereumの旅は拡張性とプライバシーの課題で印象付けられており、zkEVMが解決策として浮かび上がります。開発者にもたらすzkEVMの主要な利点は次のとおりです:</p><p>拡張性：複数のトランザクションを1つの証明に圧縮することにより、zkEVMはトランザクションのスループットを大幅に向上させ、Ethereumの拡張性の問題に対処します。</p><p>プライバシー：トランザクションはプライベートのままでありながら、その正当性は検証可能で、ブロックチェーンのセキュリティの本質を保護します。</p><p>Immutableエコシステムの魅力</p><p>Immutable zkEVMは孤立した宝石ではありません。それはWeb3ゲームの未来を再構築している壮大なエコシステムの一部です。すでに150以上のトップティアのゲームがImmutableエコシステムに参加し、ダイナミックなネットワーク効果を形成しています。このエコシステムは、より多くのマーケットプレイスとの継続的な統合、利用準備の整ったウォレットを持つプレイヤーコミュニティの拡大、および革新的なメカニクスとクロスゲームの体験を提供する強化可能性を誇っています。</p><p>Immutable Passport</p><p>Immutable Passportは、ゲーマーと開発者の両方にとっての希望の光として登場します。ウォレットのオンボーディングの厄介な問題に対処し、ユーザーエクスペリエンスを効率化します。このゲームチェンジャーは、シームレスなウォレットのオンボーディングソリューションとして、ウォレットの管理の複雑さを排除し、セキュリティを損なうことなくユーザーフレンドリーなエクスペリエンスを提供します。 Immutable Passportは、ユーザーがプライベートキーの完全な所有権と制御を持つことを保証します。</p><p>ゲームスポットライト — Immutable zkEVM上の”Infinite Victory”の世界</p><p>ブロックチェーンゲームの世界において、”Infinite Victory”はImmutable zkEVMの可能性の光る例です。このエキサイティングなゲームは、単なるデジタルの遊び場ではなく、Web3ゲームの未来への扉です</p><p><strong>Infinite Victory”の概要</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWD7Vzi3FfTyVSt7fqGwnQ.png" /></figure><p>プレイヤーが壮大なクエストに乗り出し、珍しいアーティファクトを集め、メタバースの中心に自分の王国を築く領域を想像してみてください。 それが「Infinite Victory」へようこそです。このゲームは、Immutable zkEVMの力を利用して画期的なゲーム体験を創り出しました。</p><p>「Infinite Victory」は、プレイヤーを無限の可能性の世界に連れて行く大規模マルチプレイヤーオンラインロールプレイングゲーム（MMORPG）です。このゲームは、広大なオープンワールドを探索し、エキサイティングなバトルに参加し、他のプレイヤーと協力してデジタルな運命を築く没入型のゲーム体験を提供します。ゲームの広大な風景、入念に作り込まれた物語、美麗なビジュアルは、ゲーマーを魅了し、彼らの行動が本当に重要な領域に彼らを運びます。</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4Zv-WPI-glc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4Zv-WPI-glc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4Zv-WPI-glc%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/956ceb8117b07209125d5a53d774e342/href">https://medium.com/media/956ceb8117b07209125d5a53d774e342/href</a></iframe><p>Immutable zkEVMでの構築の主な理由</p><p>なぜ”Infinite Victory”のクリエーターは、彼らの革新的なMMORPGをImmutable zkEVM上に構築することを選んだのでしょうか？以下はその主要な理由です：</p><ul><li>スケーラビリティ：MMORPGの性質は、多数の同時プレイヤーとトランザクションを処理できるプラットフォームを求めています。 Immutable zkEVMのスケーラビリティは、zk-rollupテクノロジーを介して実現され、理想的な選択肢となります。これにより、「Infinite Victory」は大規模なゲーム内イベント中でもシームレスで遅延のないゲーム体験を提供できます。</li><li>プライバシーとセキュリティ：デジタル資産とゲーム内アイテムが現実世界で価値を持つ世界では、セキュリティとプライバシーが最優先です。 Immutable zkEVMのゼロ知識プルーフの使用により、プレイヤーのトランザクションはEthereumブロックチェーンで検証可能なままでプライベートに保たれます。これはプレイヤーを保護するだけでなく、ゲーム内アセットの所有権に信頼性の層を追加します。</li><li>インターオペラビリティ：「Infinite Victory」は孤立したゲーム体験ではありません。プレイヤーはアセットを取引し、他のゲームやプラットフォームと対話できるより広範なエコシステムの一部です。 Immutable zkEVMはEthereumスマートコントラクトおよび他のゲームとのシームレスな相互運用性を提供し、クロスゲーム体験の新たな可能性を開き、全体のゲームエコシステムを向上させます。</li><li>開発コストの削減：ゼロから洗練されたMMORPGを構築することは膨大なタスクです。 Immutable zkEVMは、開発者向けの使いやすいツールとリソースのスイートを提供することで、このプロセスを簡素化します。これにより、開発コストが大幅に削減され、ゲームの市場投入までの時間が短縮されます。</li></ul><p>ゲームについて私がワクワクしているのは、その革新的な要素と魅力的な特徴です。</p><p>「Infinite Victory」について私が最もワクワクしているのは、そのゲームがゲーミングの風景を変える可能性を秘めていることです。このゲームは、ブロックチェーン技術と没入型ゲーム体験が融合したもので、プレイヤーにゲーム内アセットを本当に所有し、取引する機会を提供しています。Immutable zkEVMのシームレスな統合とMMORPGの深さとスケールが、Web3ゲーミングの世界で新たな地平を切り開いています。これは、ブロックチェーンとゲームの交差点で起こるイノベーションの証であり、可能なことの始まりに過ぎません。</p><p>プレイヤーが「Infinite Victory」の世界に没入すると、彼らはデジタルの所有権とゲームの相互作用の新しい時代の先駆者となります。興奮のポイントは、このダイナミックなゲーミングエコシステムが成長し、ゲームがどれだけ可能性を再定義しているかを見守ることです。</p><p>製品のロードマップ — Immutable zkEVMを使用してWeb3ゲーミングの未来を形作る</p><p>Web3ゲーミングの未来は非常に約束されており、Immutable zkEVMの製品ロードマップは、この未来を現実のものにする戦略的ステップを概説しています。以下は、予定されている内容の一部です:</p><p>拡張されたスケーラビリティ：Immutable zkEVMの旅は進行中であり、主要なマイルストーンの1つはスケーラビリティの継続的な向上です。ゲームエコシステムが成長するにつれて、より多くのトランザクションと相互作用が必要とされます。このロードマップには、より高いトランザクションスループットを処理できるようにzk-rollupテクノロジを最適化することが含まれており、Web3ゲームがパフォーマンスを損なうことなく何百万人ものプレイヤーを処理できるようにします。</p><p>拡張されたエコシステム：Immutable zkEVMは協力とエコシステムの成長の価値を認識しています。より多くのゲームと開発者を取り込むことを目指し、ネットワーク効果を高め、プレイヤーに多様なゲーム体験を提供します。ゲームが増えるにつれて、プレイヤーは探索する世界と収集するアセットの豊富な選択肢を楽しむことができます。</p><p>NFTの標準化：NFTはWeb3ゲームの中心にあります。Immutable zkEVMは、NFTの標準化を推進することを約束し、開発者がデジタルアセットを作成および管理しやすくします。この標準化により、NFTは1つのゲームに限定されるだけでなく、複数のプラットフォームとゲームにシームレスに統合できます。</p><p>コミュニティエンゲージメント：Web3プロジェクトの成功は、そのコミュニティの強さにかかっています。Immutable zkEVMはコミュニティエンゲージメントを向上させ、開発者、プレイヤー、およびブロックチェーン愛好者が協力し、アイデアを共有し、エコシステムの成長に貢献できる場所を育成する計画です。このコミュニティ所有感は分散型のWeb3倫理にとって不可欠です。</p><p>ツールの強化：ゲーム開発者は、プロジェクトを作成および管理するためのユーザーフレンドリーなツールが必要です。このロードマップには、スマートコントラクトのテンプレート、デベロッパーキット、包括的なドキュメンテーションなどの強化ツールの開発が含まれており、開発者の障壁を減少させ、Web3ゲームを作成するプロセスを効率化することを目指しています。</p><p>大衆の搭乗：前述のように、Immutable Passportは、ブロックチェーンゲームを一般のゲーマーに利用可能にする点で画期的です。このロードマップには、新しいプレイヤーが広範な暗号知識を必要とせずにWeb3ゲーミングの世界にシームレスに移行できるようにするための改良が含まれています。</p><p>協力パートナーシップ：Immutable zkEVMは、ゲーミングエコシステムを推進する上で協力とパートナーシップが重要であることを認識しています。このロードマップには、主要なマーケットプレイス、ゲームスタジオ、業界の巨大企業との提携の促進が含まれており、Web3ゲーミングが広範なゲーミング業界とシームレスに統合し続けることを確保します。</p><p>開発者サポート：成功するゲームエコシステムのバックボーンは開発者です。Immutable zkEVMは、ハッカソン、助成金、メンターシッププログラムなど、包括的な開発者サポートを提供することを目指しています。開発者を力付けることで、プラットフォームはWeb3ゲーミングで可能なことの境界を続けて押し広げることができます。</p><p>締めくくりとして、Immutable zkEVMのプロダクトロードマップは、ゲーミング業界を革命しようとするそのコミットメントの証です。ゲームを作成することだけでなく、プレイヤーがデジタルアセットを所有し、相互作用し、コミュニティを構築し、Web3ゲーミングの未来を実現する方法を再構想することに関わります。 Immutable zkEVMがその旅を続けるにつれて、開発者、プレイヤー、ブロックチェーン愛好者にとっても多くの機会を提供し、私はこのゲーム業界での変革期の一環として参加できることに興奮しています。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fqgHTZWN6INyneFniwjWfQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ddcb8dc2d54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unleashing the Future of Web3 Gaming with Immutable zkEVM]]></title>
            <link>https://medium.com/@codegram_c/unleashing-the-future-of-web3-gaming-with-immutable-zkevm-01db61d92983?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/01db61d92983</guid>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Fri, 20 Oct 2023 05:35:39 GMT</pubDate>
            <atom:updated>2023-10-20T05:35:39.291Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Unleashing the Future of Web3 Gaming with Immutable zkEVM</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pADo5fXz8oI1UHnZfqtBQ.png" /></figure><p><em>Introduction</em></p><p>Welcome to the world of Immutable zkEVM, where cutting-edge technology meets the boundless possibilities of Web3 gaming. In this educational write-up, we embark on a journey to explore the marvels of Immutable zkEVM, a transformative force in the world of blockchain gaming. This revolutionary technology emerged from the strategic partnership between Immutable and Polygon, offering the most advanced gaming technology with an expansive ecosystem in Web3.</p><p><strong>Overview of Immutable zkEVM</strong></p><p>Immutable zkEVM is not just a technological leap but a fusion of innovation and vision. It’s built on zk-rollup technology and seamlessly integrated into Ethereum’s network, combining scalability with privacy — a feat that Ethereum has long pursued.</p><p><em>Core Concepts of zkEVM</em></p><p>Before we dive deeper, let’s grasp the core concepts of zkEVM. The Ethereum Virtual Machine (EVM) is the heart of smart contracts and transactions, where everything unfolds. Zero-Knowledge Proofs (zk-proofs) serve as the cryptographic magic that allows one party to prove the truth of a statement to another party without revealing specific information. With zkEVM, Ethereum’s scalability and privacy challenges are effectively tackled.</p><p><em>How zkEVM Works</em></p><p>At its core, zkEVM compresses and bundles multiple transactions into a single proof, drastically reducing data and computational loads, and thereby boosting transaction throughput. What’s remarkable is that zkEVM maintains transaction privacy while ensuring verifiability by the Ethereum blockchain. The process involves encoding transactions, generating zk-SNARK proofs, and simplifying transaction validation for Ethereum nodes.</p><p><strong>Benefits for Developers</strong></p><p>Ethereum’s journey is marked with scalability and privacy challenges, and zkEVM emerges as a solution. Here are the key benefits that zkEVM brings to developers:</p><p><em>Scalability</em>: By compressing multiple transactions into a single proof, zkEVM significantly enhances transaction throughput, addressing Ethereum’s scalability issues.</p><p><em>Privacy</em>: Transactions remain private, yet their validity is verifiable, preserving the essence of blockchain security.</p><p><strong>Appeal of Immutable Ecosystem</strong></p><p>Immutable zkEVM is not a standalone gem; it’s part of a grand ecosystem that’s reshaping the future of Web3 gaming. Over 150 top-tier games have already committed to the Immutable ecosystem, forming a dynamic network effect. This ecosystem boasts continuous integration with more marketplaces, expanded player communities with ready-to-use wallets, and enhanced composability, opening doors to innovative mechanics and cross-game experiences.</p><p><strong>Immutable Passport</strong></p><p>Immutable Passport emerges as a beacon of hope for gamers and developers alike. It addresses the vexing issues of wallet onboarding and streamlines the user experience. This game-changer, as a seamless wallet onboarding solution, removes the complexities of wallet management and provides a user-friendly experience, without compromising on security. Immutable Passport ensures users have full ownership and control of their private keys.</p><p><strong>Game Spotlight — The World of “Infinite Victory” on Immutable zkEVM</strong></p><p><em>Overview of the Game</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BWD7Vzi3FfTyVSt7fqGwnQ.png" /></figure><p>Imagine a realm where players embark on epic quests, collect rare artifacts, and build their own kingdoms in the heart of the metaverse. Welcome to “Infinite Victory,” a game that has harnessed the power of Immutable zkEVM to create a groundbreaking gaming experience.</p><p>“Infinite Victory” is a massive multiplayer online role-playing game (MMORPG) that takes players to a world of limitless possibilities. It offers an immersive gaming experience where users can explore a vast, open world, engage in exciting battles, and collaborate with other players in building their digital destinies. The game’s sprawling landscapes, intricate lore, and stunning visuals captivate gamers and transport them to a realm where their actions truly matter.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4Zv-WPI-glc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4Zv-WPI-glc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4Zv-WPI-glc%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/956ceb8117b07209125d5a53d774e342/href">https://medium.com/media/956ceb8117b07209125d5a53d774e342/href</a></iframe><p><em>Core Reasons for Building on Immutable zkEVM</em></p><p>Why did the creators of “Infinite Victory” choose to build their innovative MMORPG on Immutable zkEVM? Here are some core reasons:</p><ol><li><strong>Scalability</strong>: The nature of MMORPGs demands a platform that can handle a large number of concurrent players and transactions. Immutable zkEVM’s scalability, achieved through zk-rollup technology, makes it an ideal choice. It allows “Infinite Victory” to provide a seamless and lag-free gaming experience even during massive in-game events.</li><li><strong>Privacy and Security</strong>: In a world where digital assets and in-game items hold real-world value, security and privacy are paramount. Immutable zkEVM’s use of zero-knowledge proofs ensures that player transactions remain private while being verifiable on the Ethereum blockchain. This not only protects players but also adds a layer of authenticity to in-game asset ownership.</li><li><strong>Interoperability</strong>: “Infinite Victory” is not an isolated gaming experience. It’s part of a broader ecosystem where players can trade assets and interact with other games and platforms. Immutable zkEVM’s seamless interoperability with Ethereum smart contracts and other games opens up new possibilities for cross-game experiences, enhancing the overall gaming ecosystem.</li><li><strong>Reduced Development Costs</strong>: Building a sophisticated MMORPG from scratch is a monumental task. Immutable zkEVM simplifies the process by offering a suite of developer-friendly tools and resources. This significantly reduces the development costs and accelerates the game’s time-to-market.</li></ol><p><strong>What Excites me about the Game</strong></p><p>What excites me most about “Infinite Victory” is its potential to reshape the gaming landscape. This game embodies the convergence of blockchain technology and immersive gaming experiences, offering players a chance to truly own and trade in-game assets. The seamless integration of Immutable zkEVM, coupled with the depth and scale of the MMORPG, opens up new horizons in the world of Web3 gaming. It’s a testament to the innovation happening at the intersection of blockchain and gaming, and it’s only the beginning of what’s possible.</p><p>As players immerse themselves in the world of “Infinite Victory,” they become pioneers in a new era of digital ownership and gaming interactivity. The excitement lies in watching this dynamic gaming ecosystem grow and witnessing how it redefines the boundaries of what gaming can be.</p><p><strong>Product Roadmap — Shaping the Future of Web3 Gaming with Immutable zkEVM</strong></p><p>The future of Web3 gaming holds immense promise, and Immutable zkEVM’s product roadmap outlines its strategic steps to make this future a reality. Here’s a glimpse of what’s in store:</p><ol><li><strong>Enhanced Scalability</strong>: Immutable zkEVM’s journey is ongoing, and one of the key milestones is to continually improve scalability. As the gaming ecosystem grows, so does the need for more transactions and interaction. The roadmap includes optimizing zk-rollup technology to accommodate even higher transaction throughput, ensuring that Web3 games can handle millions of players without compromising on performance.</li><li><strong>Expanded Ecosystem</strong>: Immutable zkEVM recognizes the value of collaboration and ecosystem growth. It aims to bring more games and developers into the fold, enhancing the network effect and providing a diverse range of gaming experiences for players. As more games are onboarded, players will enjoy a rich selection of worlds to explore and assets to collect.</li><li><strong>NFT Standardization</strong>: NFTs are at the heart of Web3 gaming. Immutable zkEVM is committed to driving NFT standardization, making it easier for developers to create and manage digital assets. This standardization ensures that NFTs are not just limited to a single game but can be seamlessly integrated across multiple platforms and games.</li><li><strong>Community Engagement</strong>: The success of any Web3 project lies in the strength of its community. Immutable zkEVM plans to enhance its community engagement, fostering a space where developers, players, and blockchain enthusiasts can collaborate, share ideas, and contribute to the growth of the ecosystem. This sense of community ownership is integral to the decentralized Web3 ethos.</li><li><strong>Enhanced Tooling</strong>: Game developers need user-friendly tools to create and manage their projects. The roadmap includes the development of enhanced tooling, including smart contract templates, developer kits, and comprehensive documentation. These resources aim to reduce the barriers for developers and streamline the process of creating Web3 games.</li><li><strong>Onboarding the Masses</strong>: Immutable Passport, as mentioned earlier, is a game-changer in making blockchain gaming accessible to mainstream gamers. The roadmap includes further improvements to the onboarding process, ensuring that new players can seamlessly transition into the world of Web3 gaming without the need for extensive crypto knowledge.</li><li><strong>Collaborative Partnerships</strong>: Immutable zkEVM recognizes that collaborations and partnerships are pivotal in advancing the gaming ecosystem. The roadmap includes fostering partnerships with leading marketplaces, game studios, and industry giants to ensure that Web3 gaming continues to integrate seamlessly with the broader gaming industry.</li><li><strong>Developer Support</strong>: The backbone of any successful gaming ecosystem is its developers. Immutable zkEVM aims to provide extensive developer support, including hackathons, grants, and mentorship programs. By empowering developers, the platform can continue to push the boundaries of what’s possible in Web3 gaming.</li></ol><p>In conclusion, Immutable zkEVM’s product roadmap is a testament to its commitment to revolutionize the gaming industry. It’s not just about creating games; it’s about reimagining how players own and interact with digital assets, building communities, and enabling the future of Web3 gaming. As Immutable zkEVM continues its journey, it opens up a world of opportunities for developers, players, and blockchain enthusiasts alike, and I’m excited to be part of this transformative era in gaming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fqgHTZWN6INyneFniwjWfQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01db61d92983" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Points to note while using unary + vs Number() method while converting to number type in JavaScript]]></title>
            <link>https://medium.com/@codegram_c/unary-operator-vs-number-method-in-javascript-82a4fb6a5daf?source=rss-b5fd5778c5e3------2</link>
            <guid isPermaLink="false">https://medium.com/p/82a4fb6a5daf</guid>
            <category><![CDATA[javascript-operators]]></category>
            <dc:creator><![CDATA[Hillary Omondi]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 20:15:17 GMT</pubDate>
            <atom:updated>2023-09-27T04:14:31.118Z</atom:updated>
            <content:encoded><![CDATA[<h3>Unary Operator(+) vs Number() Method in Javascript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJ4JyQLNarntMMIZVGmpDg.png" /></figure><h3><strong>Introduction</strong></h3><p>JavaScript offers various methods and operators used to convert data types from one type to another. Among them include the unary operator (+) and the Number() method which are commonly used for converting to numbers. In this short article, we will be exploring the similarities and differences between these two approaches. We will go through some of their benefits and when to prefer one over the other.</p><figure><img alt="A JavaScript logo" src="https://cdn-images-1.medium.com/max/1024/1*DN7ToydkJZEdVaJVK_Nhvw.png" /></figure><p><strong>Unary Operator(+)</strong></p><p>The unary plus operator is a simple way to convert a value to a numeric representation. It works by preceding a value with the plus sign after which JavaScript automatically attempts to convert the value to a number. If it cannot convert a particular value it evaluates to NaN.</p><p>Null converts to 0, undefined to NaN where as the boolean values true and false become 1 and 0 respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*RbEk_Le34UMJh6fk0bi0Uw.png" /></figure><p>Strings are converted by parsing them as if to contain a number literal. Empty/whitespace-only strings are converted to 0. Empty arrays as well evaluate to 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*vHHBwEokaDxUXc1NsAjZsA.png" /></figure><p>Leading &amp; trailing whitespace/line terminators are ignored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*7KQhWoJT19TitHz7E2vZdQ.png" /></figure><p>BigInt types throw a TypeError to prevent unintended implicit coercion which prevents loss of precision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*_BMQ_hiE1cJjbDC5hLFwDg.png" /><figcaption>Don’t worry of the error highlight message. It comes from a plugin I use in visual studio code, called JavaScript REPL.</figcaption></figure><p>Objects on the other hand are first converted to a primitive by calling their toPrimitive() method, which returns one of three types: a number, string or a boolean. The resulting primitive is then converted to a number.</p><p><strong>Advantages of the unary operator</strong></p><p>Simplicity — it is straightforward and easy to understand, making your code concise.</p><p>Readability — its use is intuitive and familiar to most JavaScript developers.</p><p>Shorter Code — it reduces the need for extra functional calls or type checking, resulting in more compact code.</p><p><strong>Number() Constructor</strong></p><p>The Number() method is a built-in JavaScript function explicitly designed for converting values to numbers. It takes a value as an argument and returns the corresponding numeric representation. It converts the same way as the + operator with the only exception being BigInt values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*gejH4cRB3D0iu-ImCItGog.png" /></figure><p>BigInt values do not throw a TypeError, unlike the unary operator, but it comes with possible loss of precision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*BngmTrtaeDGMFMYMhq-l3g.png" /></figure><p><strong>Advantages of the Number() method</strong></p><p>Explicitness — this method is more explicit than the unary operator. It makes it clearer that you are performing a conversion.</p><p>Error Handling — Number() method enables handling of errors gracefully while trying to convert values. It returns NaN for values that are not convertible.</p><p>Consistency — it works consistently for different input types, unlike the unary operator.</p><h3>Pitfall</h3><p>The Number() can be called with or without the new keyword, but with different effects on the argument. The Number constructor created with the new keyword creates a number object, which is an object wrapper for the number primitive value. Executing typeof evaluates to an object. If the value cannot be converted, it returns NaN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*5ZMAzbYowOalND_VUqvbEQ.png" /></figure><p><strong>When to use each approach</strong></p><p>Unary operator — when you have confidence that the input value will always be a valid number or can be safely coerced into a number. It is appropriate when you expect a string to contain a numeric value or a convertible string.</p><p>Number() — when you want more control over error handling and need to handle non-convertible values gracefully.</p><h3>Conclusion</h3><p>Both the two ways discussed are useful for converting values to numbers in JavaScript. The choice between them depends on the specific requirements of your code. In case you need a concise conversion or are confident in the input data, the unary operator is a recommended choice. In the same way if you require error handling or want to ensure consistent behavior, Number() method is the most suitable choice. Getting familiar with each approach and when to use each is handy in writing a cleaner and more reliable JavaScript code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82a4fb6a5daf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>