<?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 Chelsea Koby on Medium]]></title>
        <description><![CDATA[Stories by Chelsea Koby on Medium]]></description>
        <link>https://medium.com/@chel_koby?source=rss-1385188734d2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_RnJ4Rx-9w2pChKCnAJrhA.jpeg</url>
            <title>Stories by Chelsea Koby on Medium</title>
            <link>https://medium.com/@chel_koby?source=rss-1385188734d2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:44:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chel_koby/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[Exploring the Potential of Aptos: Building an Innovative Random Gaming Exp]]></title>
            <link>https://medium.com/@chel_koby/exploring-the-potential-of-aptos-building-an-innovative-random-gaming-exp-42e27015597d?source=rss-1385188734d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/42e27015597d</guid>
            <category><![CDATA[escape-room]]></category>
            <category><![CDATA[aptos]]></category>
            <category><![CDATA[aptos-blockchain]]></category>
            <category><![CDATA[escape-games]]></category>
            <category><![CDATA[randomness]]></category>
            <dc:creator><![CDATA[Chelsea Koby]]></dc:creator>
            <pubDate>Sat, 30 Mar 2024 11:44:28 GMT</pubDate>
            <atom:updated>2024-03-30T11:44:28.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBpYty87Q2fc9jZyhpTcJw.png" /></figure><h3><strong>Overview of Aptos</strong></h3><p>Aptos Blockchain stands out as a leading innovator in the blockchain world, constantly pushing the boundaries with its array of unique features and capabilities. Known for its blazing speed and high transaction throughput, Aptos is well-suited for a diverse range of web3 applications, particularly those requiring frequent microtransactions.</p><p>Its secure environment makes it attractive for DeFi &amp; Payments, NFT development, and immersive gaming experiences. With a commitment to ongoing innovation and a user-friendly design, Aptos offers a reliable and flexible platform to create cutting-edge dapps, ensuring endless possibilities for developers and users alike.</p><h3>Why Choose Aptos to Build:</h3><p>Aptos offers developers a plethora of innovative solutions, making it the prime choice for those seeking to integrate high-level APIs with simple and intuitive implementation methods, thereby streamlining the development process. During my research, I stumbled upon two beta features that Aptos Blockchain is developing: Random API and Aptos Keyless, both of which perfectly align with the requirements of the gaming application I envision building.</p><p>By harnessing the combined benefits of Aptos’ high transaction speed, robust ecosystem support, and extensive yet straightforward documentation, I am confident that my development journey will not only be productive but also enjoyable, laying the groundwork for future explorations.</p><h4><strong>Expanding further on my decision to build on Aptos:</strong></h4><ul><li>Aptos Random API (Aptos Roll): This feature provides developers with an easy, secure, and functional method of integrating randomness into decentralized applications, including games. By storing item data and using Aptos Roll for verifiable random generation, it creates a system for fair and transparent in-game item mechanics on the Aptos blockchain</li><li>Aptos Keyless: A groundbreaking product by Aptos, Aptos Keyless allows users to set up Aptos blockchain accounts using their existing Google accounts, eliminating the need for traditional secret keys or mnemonics. This innovative approach paves the way for social dapps targeting traditional players, offering a seamless and intuitive user experience.</li></ul><p>Finally, considering Aptos Blockchain’s continuous innovation, its support for hundreds of diverse dapps, along with its user-friendly documentation tailored for beginner developers like myself, has allowed me to recognize it’s remarkable capabilities both now and in the future.</p><h3>What I Plan to Build on Aptos:</h3><p>I envision creating an immersive gambling-themed game set in a dynamic 3D environment. Players would find themselves randomly positioned within the virtual space, navigating the map to collect various randomly spawned items. Each turn introduces a random event, carefully designed to influence the gameplay, offering both challenges and opportunities for players to navigate.</p><p>Central to the game’s concept is the absence of predetermined success or failure, ensuring that randomness plays a significant role in determining outcomes. To embrace the gambling aspect, players would contribute to a prize pool through Aptos Pay, facilitating swift and secure transactions held in escrow and awarded to the eventual winner at the game’s conclusion.</p><p>Integration of Aptos Random API ensures that all instances requiring randomness are executed fairly, securely, and trustlessly, enhancing the integrity of gameplay mechanics. Unlike many web3 gambling games tailored for experienced users, Aptos Keyless functionality ensures accessibility for players of all backgrounds, eliminating barriers to entry.</p><p>Drawing inspiration from popular themes such as Escape Rooms and Hunger Games, the game’s narrative and mechanics aim to resonate with a broad audience, offering a captivating and inclusive gaming experience on the Aptos Blockchain platform.</p><h4>Enhancing Gameplay with Aptos’s Features</h4><p>Aptos’s unique features will significantly enhances the gameplay expereicne of my envisioned Gamble themed game. The Random API <strong><em>ensures fairness and security</em></strong> in events like item spawns, making the game <strong><em>more exciting and unpredictable</em></strong>. Aptos Pay allows quick and secure transactions, enhancing the gambling aspect. Plus, Aptos Keyless makes it easy for players of all levels to <strong><em>join without complex setups</em></strong>, fostering a diverse community. In conclusion, these Aptos features improve my game, making it fair, accessible, and enjoyable for all players.</p><p><strong><em>— Conclusion</em></strong><br>Thanks for reading about my plans for leveraging Aptos and why it’s the ideal platform for my project. I’m excited about the possibilities ahead!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42e27015597d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking Immutable zkEVM’s Game-Changing Ecosystem]]></title>
            <link>https://medium.com/@chel_koby/unlocking-immutable-zkevms-game-changing-ecosystem-6e3c882b1561?source=rss-1385188734d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e3c882b1561</guid>
            <category><![CDATA[zkevm]]></category>
            <category><![CDATA[web3-game]]></category>
            <category><![CDATA[web3-development]]></category>
            <category><![CDATA[immutable]]></category>
            <category><![CDATA[blockchain-development]]></category>
            <dc:creator><![CDATA[Chelsea Koby]]></dc:creator>
            <pubDate>Sat, 28 Oct 2023 05:49:35 GMT</pubDate>
            <atom:updated>2023-10-28T05:49:35.694Z</atom:updated>
            <content:encoded><![CDATA[<p>This article explores Immutable zkEVM’s ecosystem and its impact on Blockchain gaming, But before we dive into the gaming magic let’s begin with an overview of zkEVM!.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5cExtoeDJ0-_mRA6lfnMCA.png" /></figure><h4>zkEVM’s Role in the World of Blockchain</h4><p>For those new to the concept, a blockchain functions as a <strong><em>public ledger</em></strong> recording transactions <strong><em>through connected nodes</em></strong>. Ethereum, a prominent blockchain, stands out for its security and decentralization.</p><p>While Ethereum provides an ideal playground for developers creating diverse applications, it faces a common challenge: <strong><em>slow transaction speeds affecting application efficiency</em></strong>.</p><p>Imagine a solution that <strong><em>combines Ethereum’s security</em></strong> and network benefits with <strong><em>lightning-fast transaction speeds</em></strong> — <strong><em>That’s (zkEVM technology!)</em></strong>.</p><h4>Understanding zkEVM in Simple Terms</h4><p>zkEVM is a revolutionary technology that enhances blockchain application efficiency, particularly within the Ethereum blockchain. It accelerates transactions without compromising security and privacy. Here’s how it works:</p><ol><li><strong>EVM (Ethereum Virtual Machine):</strong> This is the foundation — the Ethereum Virtual Machine, where smart contracts and decentralized applications are executed.</li><li><strong>Zero-Knowledge Proofs:</strong> Zero-knowledge proofs are cryptographic techniques that validate transactions while keeping them confidential.</li></ol><h4>So in Summary, zkEVM Matters Because,</h4><p>Integrating zkEVM with the Ethereum Blockchain ushers in a range of improvements for EVM-compatible environment:</p><ol><li><strong>Enhanced Scalability:</strong> zkEVM optimizes performance by bundling multiple transactions together under a single proof, reducing data-computation load, and accelerating transactions.</li><li><strong>Preserved Privacy:</strong> Your transactions are safeguarded, yet Ethereum blockchain retains the ability to verify them securely.</li></ol><h3>Immutable’s zkEVM — Revolutionizing Web3 Gaming</h3><p>In the current Web3 Gaming era, blockchain games face <strong><em>performance</em></strong>, <strong><em>gas cost</em></strong>, and <strong><em>scalability</em></strong> challenges. Immutable’s zkEVM offers a game-changing solution, reshaping gaming experience at large.</p><h4>What’s Immutable zkEVM?</h4><p>Immutable zkEVM is combining zk-rollup technology developed by Polygon, fully compatible with and inheriting the benefits of EVM, along with the robust support of the Immutable platform.</p><p><a href="https://docs.immutable.com/docs/zkevm/architecture/"><strong><em>Explore High-Level Immutable zkEVM Architecture</em></strong></a></p><p>Immutable zkEVM addresses many of the challenges faced by developers by offering the following benefits;</p><h4>Benefits for Building on Immutable zkEVM</h4><p><strong><em>Seamless Porting to Immutable Ecosystem: </em></strong>Immutable zkEVM streamlines game development, allowing developers <strong><em>seamlessly bring their games</em></strong> and smart contracts into the Immutable ecosystem from EVM-compatible chains, <strong><em>without modifications</em></strong>.</p><p><strong><em>Interoperability with Ethereum Ecosystem: </em></strong>Enables game developers to create <strong><em>interoperable games within the Ethereum ecosystem</em></strong>, driving economic and community growth.</p><p><strong><em>Feature-Rich Smart Contract Presets: </em></strong>Immutable provides a repository of <strong><em>smart contract presets</em></strong>, saving you from building your game from scratch. <a href="https://github.com/immutable/zkevm-contracts"><strong><em>Access SC Presets here</em></strong></a><strong><em>.</em></strong></p><p><strong><em>Enhanced Game Features: </em></strong>Immutable zkEVM lets you <strong><em>enhance your game</em></strong> with <strong><em>advanced features</em></strong> like staking, crafting, upgrades, NFTs while also utilizing it’s SC Presets.</p><p><strong><em>Efficient Asset Distribution: </em></strong>Distribution and Scalability challenges of NFT projects on Ethereum are resolved with <a href="https://www.immutable.com/products/orderbook"><strong>Immutable’s Orderbook</strong></a>. Listing an asset ensures <strong><em>automatic distribution</em></strong> across all affiliated marketplaces, <strong><em>expanding demand and reach for your NFT</em></strong>.</p><p><strong><em>Growing Network Effect: </em></strong>Immutable leads the way in defining the future of Web3 gaming. With <strong><em>150+ top-tier games already on board</em></strong>, each one improves the appeal of Immutable’s zkEVM, making the ecosystem a go-to for gamers and developers.</p><blockquote>Now that we’ve seen how Immutable’s platform empowers developers, let’s explore how these benefits are reshaping the gaming landscape.</blockquote><h4>5 Value Propositions Immutable’s ecosystem offers</h4><p><strong><em>Lower Transaction Costs:</em></strong> Thanks to Immutable’s zk-rollup technology, transaction fees are greatly reduced, making it more cost-effective for players and developers.</p><p><strong><em>Enhanced Security:</em></strong> The integration of zkEVM technology enhances the <strong><em>security and privacy of transactions</em></strong> while maintaining transparency and trust</p><p><strong><em>Developer-Friendly:</em></strong> Immutable provides a suite of developer tools, APIs, and SDKs that simplify the game development process and enhance the developer experience.</p><p><strong><em>Fast Transactions:</em></strong> Immutable zkEVM allows for rapid transaction finalization, <strong>improving the gaming experience</strong> and enabling faster in-game actions.</p><p><strong><em>Network Growth:</em></strong> Immutable’s ecosystem leverages the network effects of Ethereum, offering a large and <strong>thriving user base for applications and games</strong> built on the platform.</p><h3>Quick Dive into Immutable Passport</h3><p>As we explore the incredible value propositions of the Immutable Platform, there’s one standout product that we can’t afford to overlook: <strong>Immutable Passport</strong></p><p>Immutable Passport without a doubt, ranks among the top 3 most thrilling innovations in the Immutable Ecosystem today (IMO). It’s a standout product by Immutable that is here to tackle a problem that has plagued countless Web3 games, <strong><em>preventing exceptional titles from reaching their full potential</em></strong>.</p><p>In essence, think of Passport as the <strong><em>gateway that embodies all of Immutable’s gaming value</em></strong>, revolutionizing onboarding and broadening game accessibility. Let’s explore it’s game-changing features;</p><h4>— A Brief Illustration on Immutable Passport</h4><p>“<em>Always having been a passionate gamer and immersing myself in a multitude of Android games, Revisiting past games has always been a breeze when using my Google Account. A couple of years ago, Web3 gaming caught my attention, but the traditional password approach was a big letdown. Managing multiple passwords or having to deal with complex seed phrases was anything but intuitive for me — which gaming should in fact be.</em></p><p><em>Just like many gamers, I wished for a solution that could simplify the complex gaming experiences of Web3 Games. And in less three years, Immutable Passport turned up, offering the conveniences I had hoped for. It’s like </em><strong><em>Google Play for Web3 gaming</em></strong><em>, streamlining access to games, securing progress, and transforming the gaming landscape.</em>”</p><p>Immutable Passport, has emerged as the solution <strong>bringing together features</strong> many gamers have longed for. <strong><em>Let’s take a look at some of them below</em></strong>;</p><ol><li>Immutable Passport <strong>streamlines the onboarding</strong> process for users, simplifying the steps required to get started with Web3 games, making it more accessible to a broader audience.</li><li>Passport <strong><em>Reduces onboarding friction</em></strong>, replacing complex wallet setups and private key management with <strong><em>passwordless sign-in</em></strong> for a user-friendly experience.</li><li>Passport allows users to <strong>access and play multiple Web3 games</strong> within the Immutable ecosystem seamlessly.</li><li>Passport promotes<strong><em> interoperability within the Ethereum ecosystem</em></strong>, allowing users to also use their Passport across multiple platforms.</li><li>Passport leverages Immutable’s zkEVM for seamless, <strong><em>instant transaction confirmations</em></strong>, greatly improving the gaming experience.</li></ol><p><a href="https://www.immutable.com/products/passport"><strong><em>Read more about Immutable Passport</em></strong></a></p><blockquote><strong>Combined with the exclusive features of Passport, Imagine a fast-paced, open-world MMO(such as MetalCore!) where assets transfer swiftly and players move at the speed of light. In such a dynamic gaming environment, you’d expect your wallet to seamlessly keep pace with it all. Wouldn’t you?</strong></blockquote><h3>Game Spotlight from Immutable — MetalCore</h3><p>Before we conclude, let’s briefly spotlight one of the most eagerly awaited games in the ecosystem, scheduled for Fall 2023 release. Discover why they’ve chosen Immutable’s zkEVM as their development platform !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*xqOyDjoukINOrXI9TLModA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*2NUtMduFc4ISswSU3sSKXQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ndbCJQKq7EWf9pRAquTzVg.jpeg" /></figure><h4>— About MetalCore</h4><p><a href="https://www.metalcore.gg/"><strong>Metalcore</strong></a> is a multiplayer arms PC shooter that features mechs, tanks, infantry, and planes. Players can engage in PvP, PvE, Battle Royale, turn-based strategy, and even Real-Time Strategy, while crafting war machines to defeat enemies.</p><p>MetalCore is published by Studio 369, a team who have worked on popular titles like <strong><em>Fortnite</em></strong>, <strong><em>The Walking Dead</em></strong>, <strong><em>Star Trek</em></strong>, and blockbuster films such as <em>The Avengers, Star Wars, etc.</em></p><p><strong>— Building on Immutable zkEVM</strong></p><p>MetalCore isn’t your average MMO. It’s an outstanding NFT-based game that empowers players to own and profit from their in-game treasures. In it’s immersive world, everything, from the land, garages, and exclusive gear to the war machines, pilots are all tangible NFTs on the blockchain.</p><p>Hence, one of the factors guiding their choice to build on Immutable zkEVM is that <strong><em>80% of the game hinges on the swift transfer and ownership of NFTs</em></strong>. In a virtual world where s<strong><em>peed and instant confirmation</em></strong> of ownership are paramount, Immutable zkEVM stands as the best-in-class solution.</p><p>MetalCore will be releasing <a href="https://www.immutable.com/play/metalcore"><strong><em>several new NFT classes in coming months</em></strong></a>, following its initial NFT public sale in January 2022, where 10,000 unique war machines were minted and released.</p><h4>— Gameplay Footage</h4><p>A sneak peek like the one below is bound to blow your mind, just as it did for me!</p><p>The <strong><em>visuals are incredible</em></strong>, the <strong><em>physics feel ultra-realistic</em></strong>, and the best part? I get to own each asset, call the shots, and <strong><em>manage them according to my preferences</em></strong>. This, to me, is the essence of a Web3 game — akin to popular Web2 titles but with the <strong><em>added layer of ownership</em></strong>! Officially can’t wait for it’s release!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*o5tHTXHbxSfsa8WDPYFKDw.gif" /><figcaption>Metalcore’s diverse gameplay where almost every asset is an NFT minted on Immutable</figcaption></figure><h3><strong>Future Roadmap of Immutable zkEVM</strong></h3><p>With 150+ top-tier games launching on Immutable zkEVM, the platform has been seeing accelerated growth, and it’s <strong><em>roadmap’s highlights</em></strong> would surely fuel it’s dominance into the future;</p><ul><li>By 2024, Immutable will offer <strong><em>dedicated application chains</em></strong> with the same technical stack and features as Immutable zkEVM but with <strong><em>unique customization levels </em></strong>and enhanced security.</li><li>Immutable launched its zkEVM testnet in August this year, and within December and January 2024, the zkEVM mainnet will be <strong><em>launched for developers</em></strong> and later opened to the public.</li><li>Finally, the <strong><em>integration of zk-prover</em></strong> to solidify Immutable zkEVM as a trustless bridge between Ethereum and itself.</li></ul><h3>Closing Remarks</h3><p>As we conclude this article, diving into the thrilling world of Immutable’s zkEVM and exploring both its <strong><em>current achievements</em></strong> and <strong><em>future prospects</em></strong>. One thing is certain: the Web3 gaming space is well set for a remarkable transformation led by Immutable’s zkEVM. And, personally, I couldn’t be more excited — both as a developer and, let’s say, <strong><em>a ‘softcore’ gamer!</em></strong></p><p><strong><em>Thanks for Reading,</em></strong></p><p>Gamer &amp; Builder,</p><p>Chel_</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e3c882b1561" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Complete Guide to Running an Ethereum Validator on GCP Blockchain Node in 2023 ( For…]]></title>
            <link>https://medium.com/@chel_koby/your-complete-guide-to-running-an-ethereum-validator-on-gcp-blockchain-node-in-2023-for-44e85e61f4fb?source=rss-1385188734d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/44e85e61f4fb</guid>
            <category><![CDATA[validator-node]]></category>
            <category><![CDATA[staking-guide]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Chelsea Koby]]></dc:creator>
            <pubDate>Sun, 20 Aug 2023 09:43:34 GMT</pubDate>
            <atom:updated>2023-08-25T10:37:01.966Z</atom:updated>
            <content:encoded><![CDATA[<h3>Your Complete Guide to Running an Ethereum Validator on GCP Blockchain Node in 2023 ( For Beginners)</h3><h3>Introduction</h3><p>Ethereum is a powerful and decentralized Blockchain Ecosystem, utilizing intelligent protocols to create cutting-edge web3 Dapps and consistently validate transactions passing through it.</p><p>Since its beginnings, Ethereum has been a leading blockchain, evolving through multiple upgrades to enhance its credibility, stability, and reliability. Amid these upgrades, an important factor that is constant across blockchain ecosystems like Ethereum is the opportunity for members to <em>actively participate in maintaining the network’s operations</em>.</p><p>This will be the main focus of our article: A <strong>Complete Guide</strong> to <strong><em>Operating a Validator Node</em></strong> on the Ethereum Network, Along with the <strong>Best Practices to Ensure Safety</strong>, <strong>Earn Rewards</strong>, and <strong>Maintain Consistency</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0X0lpanSXfnxkb58gf9Aw.png" /></figure><p>Ethereum is considered to be a technical blockchain, and becoming a validator which involves verifying transactions and maintaining consensus, requires <strong>intermediate</strong> <strong>skill level</strong>. This can be overwhelming for both newcomers and regular users.</p><p>Imagine if there was a way to make the process easier and ensure that our setup remains stable. This is especially important when dealing with a dynamic ledger like the Ethereum blockchain, which processes data in real-time.</p><p>In this guide, you’ll learn a practical method that uses the Google Cloud Platform and its operational tools to easily create a Validator Node on the Ethereum Network.</p><h3>A Quick Glance at Key Concepts</h3><p>Before we get into the practical details, this section gives you a basic overview of the concepts behind running an Ethereum validator node — <strong><em>what it is</em></strong>, <strong><em>why it’s important</em></strong>, and <strong><em>how to do it</em></strong>.</p><h4>1. Ethereum: The Blockchain Perspective</h4><p>Ethereum works as a distributed ledger, operating on a network of connected peers. These participants work together to observe, check, approve, and synchronize incoming transactions from outside sources. To make this process faster, transactions are grouped into blocks before they’re checked. After the approval process is done, these blocks are created and smoothly added to the whole blockchain.</p><p>Overall, Ethereum follows predefined rules, which means every transaction and contract has to meet an agreement of legitimacy without causing any doubts. The core idea of a blockchain is transparency, allowing anyone to join and contribute to transaction processing. This is where validator nodes come in.</p><h4>2. Validator Nodes:</h4><p>To easily become part of Ethereum’s peer-to-peer network, you can simply set up a Validator Node. This gives you an exact copy of the Ethereum Blockchain that’s always kept up-to-date. With this node, you gain visibility into all incoming transactions on the network and actively help validate by adding legitimate blocks to the Main-net.</p><p>Running your own node means <em>you’re joining a group of validators by putting in a certain amount of Ether Tokens</em>. By doing this, you are randomly selected to verify transactions.</p><p>A `node` is an instance of specialized software called <strong>Execution Clients</strong>, that connects to a validator client, set up security measures and maintains it’s setup. These make up the whole process, which we’ll talk about in the next section.</p><blockquote><strong>NB:</strong> The more Ether stake, the higher your chances of being picked for transaction validation.</blockquote><h4>3. Ethereum’s Shift to POS:</h4><p>Ethereum completed the Merging Phaseof its Upgrade to Proof-of-Stake (POS) Network Consensus on <strong>September 15, 2022</strong>.</p><p>For around ten years, Ethereum used the energy-intensive Proof-of-Work (POW) algorithm where miners co-operated to verify transactions and reach agreement using complex calculations. This resulted in extremely high gas fees for users. Ethereum’s POS introduces a streamlined and cost-effective approach for reaching network-wide consensus.</p><p>Ethereum’s POS upgrade resulted in the <strong><em>merging</em></strong> of the <strong>Execution Layer</strong> (original POW network) and <strong>Consensus Layer</strong> (Beacon Chain). These two layers now work in sync to check and update Ethereum’s Main-net. Ethereum now requires these two Layers (through specialized client-software ) to be connected in other to Become a Validator.</p><h4>4. What Validators Need to Know:</h4><p>Validators now have to use two types of software — the Execution Layer (EL) Client and the Consensus Layer (CL) Client. This two-software setup is needed to start a node and be a validator.</p><p>Validators should focus on having enough storage and RAM for both clients to sync and connect properly. Also, having a good internet connection and being online all the time is important. Using services like Prometheus, Grafana, Info Logging increases the security and maintenance of your nodes.</p><p>Setting up an Ethereum Validator node is a straightforward process. But to avoid penalties, you need to understand your duties and adhere to best practices. Doing this ensures things work smoothly and you can earn rewards as a key part of Ethereum’s bigger system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><h4>Rewards and Penalties of Being an Ethereum Validator:</h4><p>Being an Ethereum validator has its perks (like earning Ether) but also risks (possible penalties). Penalties might mean getting fewer rewards or even losing some of your staked Ether. Here are situations where you could get penalties:</p><p>- Validator node has frequent downtime, connection loss, and offline status<br>- Failure to participate in block proposal, attestations and transaction validation, due to technical issues<br>- Operating a validator node that falls short of the required hardware and software specifications<br>- Your node sends spam attacks, generating excessive network traffic<br>- Engaging in malicious activities like attempting to manipulate network consensus</p><h3>Execution and Consensus Clients for Node Setup</h3><p>This part gives you a glimpse of Execution &amp; Consensus Layer Clients, which you’ll need for your node. It introduces the choices available, tradeoffs and how they affect hardware requirements.</p><p><strong><em>Execution Clients</em></strong> (also called ETH1 Engine) monitor incoming transactions sent through the network. They process these transactions and keep the latest info and database state of Ethereum.</p><p><strong><em>Consensus Clients</em></strong> (also called Beacon Chain) use the proof-of-stake algorithm to facilitate network agreement through validated data from the execution client</p><p>There are various implementations of both Execution and Consensus Clients in different programming languages, promoting diversity in the network and encouraging developers to connect in their preferred language</p><h4>Considerations when choosing an Execution &amp; Consensus Client:</h4><ul><li><strong>Performance and Efficiency:</strong> Clients work differently in terms of performance and resource use. High-performance clients requires powerful hardware, that might be unsuitable for low-spec systems.</li><li><strong>Compatibility and Updates:</strong> Different clients work differently with the Ethereum network. Regular updates are essential to support the Network Enhancements and Updates.</li><li><strong>Ease of Use:</strong> Clients require differing technical expertise. Go for a client you’re comfortable with (technically) to prevent penalties and technical hurdles.</li><li><strong>Community Support:</strong> Active communities and thorough documentation are vital. Clients with strong communities provide resources to resolve issues.</li></ul><p><a href="https://ethereum.org/en/developers/docs/nodes-and-clients/">Read More on Execution &amp; Consensus Clients</a></p><h4>Geth / Lighthouse Node Setup for Guide:</h4><p>For this guide, which aim is to set up <strong>Ethereum Validator Node using Google Cloud</strong>, I opted for a <strong><em>Geth / Lighthouse Setup</em></strong> due to their excellent compatibility with GCP Blockchain Services, user-friendly commands, and comprehensive documentation.</p><p><strong>Geth (Go Ethereum):</strong> Geth is an original Ethereum Protocol client implementation in use by <strong>&gt; 66% of Ethereum Network Validators</strong>. This fully open-source client(written in GoLang), fits well with GCP Blockchain Node Engine — which would power our node. Geth is the best client of consideration with resources to configure on GCP, which is not a popular approach (yet)</p><p><strong>Lighthouse:</strong> Lighthouse is one of the earliest Consensus Layer Clients, maintained by <a href="https://sigmaprime.io/">Sigma Prime</a>. It’s been stable and ready for production since the start of the Beacon Chain. Staking Pools and Individual validators use Lighthouse because it’s secure and compatible in different setups, including automated environments. A standout feature of Lighthouse is how user-friendly it is, with easy-to-use <strong><em>RPC endpoints for monitoring our validator</em></strong>.</p><blockquote>Now that we’ve chosen our Execution and Consensus Clients, let’s see what hardware we need.</blockquote><h4>Minimum Hardware Requirements for Geth / Lighthouse Setup:</h4><p><strong>CPU:</strong> A Quad-core AMD or similar, with 4 fast CPUs.<br><strong>Memory:</strong> 32 GB RAM* to handle operational needs well.<br><strong>Storage:</strong> A 2 TB solid-state drive<br><strong>Network:</strong> A broadband connection with 100 Mb/s download and 20 Mb/s upload speed</p><blockquote><strong>NB:</strong> <strong>These requirements are for running a Lighthouse beacon node with an execution client (like Geth) and a validator client with around a maximum of one hundred keys.</strong></blockquote><h3>Exploring GCP’s Operational Services for Blockchain:</h3><p>Google Cloud Platform (GCP), a cloud-based platform, offers a variety of services to simplify operations in the cloud. Choosing GCP over self-hosting provides benefits like <strong>24/7 server availability</strong> and <strong>continuous monitoring</strong>. In this guide, I’ll introduce you to GCP services that are crucial for running our node, ensuring security, maintenance, and ease of use.</p><ul><li><strong>Blockchain Node Engine:</strong> Recently added to GCP products, the Blockchain Node Engine (BNE) is a managed solution for Ethereum node operation. It takes care of most complexities, offering a plug-and-play node service. BNE handles client setup, blockchain syncing, secure connections, and private RPC endpoints. It supports Ethereum Blockchain and clients like Lighthouse and Geth.</li><li><strong>KMS (Key Management Service):</strong> GCP’s KMS generates encryption keys and controls access to your cloud apps. In our project, KMS secures will secure important validator data after we generate them.</li><li><strong>GCP VM Instance (Virtual Machine):</strong> This service lets you create and manage virtual computers in the cloud. It’s like renting a digital computer online. GCP VM Instances are flexible and scalable, allowing you to configure hardware specs. They can be networked, have firewall rules, and connect to other GCP services.</li><li><strong>Cloud Logging:</strong> As the name suggests, Cloud Logging is a tool that keeps track of activities inside an Ethereum node. We would utilize Cloud Logging to collect and store information about node’s activities(ex — starting, stopping, issues). This provides an intuitive way to track logs overtime to ensure smooth running and quick maintenance.</li></ul><p><strong><em>These GCP services work together to build a strong foundation for our Ethereum Validator Node.</em></strong></p><h4>The Next sections is Practical and Divided into Three parts:</h4><p><strong>PART 1: Securing Our Ether for Staking</strong></p><p>In this part, I’ll guide you through preparing your Ether for staking. We’ll follow best security practices in preparation for transfer to Validator’s node</p><p><strong>PART 2: Setting Up BNE &amp; Generating Validator Keys</strong></p><p>Next, we’ll setup our VM Instance with security policies to create a fully operational node using GCP’s Blockchain Node Engine. This process will be quick and easy, meeting performance requirements.</p><p><strong>PART 3: Enhancing Security and Maintenance</strong></p><p>Once our node is up and running, we’ll boost security and maintenance using Google Cloud’s <strong><em>KMS (to encrypt essential files) </em></strong>along with<strong><em> Cloud Logging, Prometheus, Grafana, and Uptime Checks </em></strong>to monitor node’s performance.</p><p>Take a deep breath — this is gonna be a smooth ride!</p><h3>PART 1: Securing Ether For Staking</h3><p>Getting your Ether Tokens for staking is pretty simple and can be done from various trustworthy exchanges, both centralized and decentralized. However, keeping your Ether safe is a different matter altogether. Regardless of where you buy it, always store your Ether in a wallet where you have <strong><em>control over the keys</em></strong> and access.</p><p>Becoming an Ethereum Validator involves a significant investment — <strong><em>the minimum stake is 32 Ethers for one validator</em></strong>. Due to the high value involved, it’s crucial to use a secure wallet, preferably a <strong>hardware wallet</strong>, for all the steps in this process.</p><p>For this guide, I’ll be using the Goer-li Testnet, so I’ll need <em>Goerli ETH instead of real Ether</em>. It’s a good idea to practice with fake Ether by following this guide first.</p><p>Getting 32 Goerli ETH for staking can be a bit challenging because most faucets distribute very small amounts. However, I’ve found a <a href="https://faucetdao.shop/">faucet website</a> where you can <em>buy Goerli ETH at a low cost</em>. I was able to transfer and obtain the Goerli ETH in less than 30 minutes. This faucet has been active for about a year. You can also check their Discord and Twitter to ensure they are secure before proceeding.</p><p>1. <strong>Create a New Wallet:</strong><br> Set up a new Metamask or a hardware wallet specifically for the purpose of becoming a validator. This ensures you have control over and access to the keys.</p><p>2. <strong>Secure Your Recovery Phrase:</strong><br> Write down your mnemonic or recovery phrase. This will be your access to the wallet in the future.</p><p>3. <strong>Buy MATIC Tokens:</strong><br> Go to any centralized or decentralized exchange to purchase MATIC tokens. ex(Binance, Uniswap)</p><p>4. <strong>Convert MATIC to GoerliETH:</strong><br> To convert your MATIC to GoerliETH, you’ll need around <strong><em>10 MATIC tokens</em></strong> (as of August 2023), including extra for gas fees.</p><p>5. <strong>Use FaucetDao Shop:</strong><br>Visit the <a href="https://www.faucetdao.shop/#/swap?chain=polygon">FaucetDao Shop</a> and follow the steps to convert your MATIC to FDT tokens. After swapping, make sure you <strong><em>add the FDT contract address</em></strong> to view it. Then, convert the FDT tokens to Goerli ETH.</p><figure><img alt="buy goerlieth with matic" src="https://cdn-images-1.medium.com/max/1024/1*PCatXDkln14j35fndMN6gg.png" /></figure><blockquote>To follow these steps, make sure you have both the Polygon and Goerli Testnet networks activated on Metamask. Turn on the option to “<strong>Show Testnet Networks</strong>” Keep in mind that it usually takes around <strong>15 minutes</strong> to receive Goerli ETH after bridging. If you’re buying MATIC from an exchange like Binance, be aware of the minimum withdrawal amount and associated fees.</blockquote><p>Once these steps are complete, you should have slightly more than 32 Ethers in an online wallet. You can then choose to transfer these to a hardware wallet. However, since we’ll be transferring them to the deposit contract soon.</p><p>Keep in mind that for main-net activities and long-term purposes, <strong>using a hardware wallet is advisable - </strong>to<strong> </strong>set up a withdrawal address that points to an offline wallet for maximum security and to prevent compromise.</p><p><a href="https://www.developernation.net/blog/a-beginners-guide-to-crypto-wallets"><strong><em>Guide on Using HardWallets to Store Crypto</em></strong></a></p><h3>PART 2: Setting up Blockchain Node Engine &amp; Generating Validator Keys</h3><p>Let’s delve more deeply into the subject of validator keys, ensuring you have a clear understanding of this process.</p><p>When you become a validator, you’re essentially joining a network of other validators on Ethereum. You need a way to stand out and be recognized among them. This involves crucial information like your withdrawal details, client setup, etc. Additionally, the running nodes require it’s own set of information (ex — network, public key, the deposit contract, validators).</p><blockquote>There are two approaches to generating validator keys: <strong>using a digita/virtual machine</strong> or <strong>a local setup</strong>. To ensure compliance between our beacon node and generated keys, i prefer executing this on a single host machine. You can set up a VM instance with SSH keys enabled, and remotely ssh into our instance.</blockquote><blockquote>However, before we move on to this step, let’s start by <strong>creating the Blockchain Node Engine in a fresh project</strong>. This is necessary because BNE sets up execution and beacon chain nodes, which will take a <strong>few hours to sync</strong> with the current state of the Ethereum Blockchain. While the sync processes, we’ll continue with other configuration</blockquote><p><strong>Step 1 in Part 2: Create a Blockchain Node in New Project</strong></p><p>a. After logging into the Google Cloud Console, create a new project by clicking on the top label. Give your project a short name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*M2JVKbQwJHaBpyqh9ApE5w.png" /></figure><p>b. While staying in this project, you can integrate other cloud services since the ID will be available across pages.</p><p>c. Next, go to the Marketplace from the side-navigation menu and search for “Blockchain Node Engine API”.</p><p>d. Enable BNE (you should see “Manage”). Go back to the product back and search for “Blockchain Node Engine”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HVJ_oCLiDn-kGicBz2ekpQ.png" /></figure><p>e. Create a new full node using the “Continue” button and skip options not mentioned in the following table:</p><p>|property| value |<br>| — | — |<br>| name | eth-full-node |<br>| type | etheruem |<br>| network | testnet(goerli prater) |<br>| node type | fullnode |<br>| EL / CL client | geth / lighthouse |<br>| region | europe-west1(belgium) |</p><p>f. Click on “Create” and allow it some time to process. When the status changes to “running,” it indicates that the connection between your Execution Client, Beacon Chain, and the Ethereum Blockchain has started sync.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fkemi7BYvNk4V7t8gZVKQQ.png" /></figure><blockquote>While exploring your node, you’ll notice about <strong>5 different RPC endpoints</strong> under “Endpoints.” These provide various ways to query information about the clients and their connection to Ethereum. By following official <a href="https://ethereum.github.io/beacon-APIs/"><strong>Ethereum</strong></a> &amp; <a href="https://lighthouse-book.sigmaprime.io/api-bn.html"><strong>Lighthouse</strong></a> RPC documentation, you can extract various kinds of information.</blockquote><p><strong>NB:</strong> Keep in mind that your RPC endpoints should be private and not freely released across the internet.</p><p>Now, <strong><em>can you see the complexity that BNE reduces</em></strong>? If you haven’t noticed already, it takes care of the entire process of <strong>creating both clients</strong> and <strong>configuring them</strong>. It does this job for us and exposes the necessary endpoints to access and run our validator.</p><p>The BNE service simplifies the hardware requirements because it allocates resources as the cloud process starts. Therefore, the hardware spec we will setup in the next section will be utilized for our [node validator, key generation software, and other processes] in a VM instance.</p><blockquote><strong>An Explicit Explanation of BNE’s Role Ethereum Node Setup</strong></blockquote><blockquote>We have learned that the basic setup requirements for running Geth and Lighthouse software locally <strong>is not needed when using GCP’s Blockchain Node Engine service</strong>. BNE service handles everything for you — it <strong>assigns resources</strong>, <strong>installs the necessary clients</strong>, and <strong>configures the beacon client</strong> to sync from a predefined checkpoint (rather than from genesis), making the syncing process faster(<strong>down to a few hours</strong>). This approach offers a flexible pay-as-you-go model, covering hardware, software, and a ready-to-use solution.</blockquote><p>A fun way to get started with your node’s RPCs is to <strong>monitor the syncing progress</strong> through a readily available <strong><em>Cloud Shell environment</em></strong>.</p><p><strong>STEP 2<em> </em>in Part 2: Check Blockchain Node Sync Progress on CloudShell</strong></p><p>a. You can activate CloudShell across the GCP Console by Clicking for the “Activate Cloud Shell” button at the top-right corner. Once active, let’s make a curl request.</p><blockquote>Whenever you make a request, you must include your API key. Requests without the API key <strong>will be rejected</strong>. Make sure to format your API key correctly in the request. You can fetch your API key under “Manage API Keys”</blockquote><pre>curl -X GET &quot;http://&lt;YOUR BEACON API&gt;/eth/v1/node/syncing&quot; -H &quot;X-goog-api-key: &lt;YOUR API KEY HERE&gt;&quot; &quot;accept: application/json&quot; | jq</pre><p>b. In the curl command above, replace “Your Beacon API Endpoint” and “Your API Key” respectively to fetch the state of your Beacon Node sync. The response should be something like:</p><pre>{<br> &quot;data&quot;: {<br> &quot;is_syncing&quot;: true,<br> &quot;is_optimistic&quot;: true,<br> &quot;head_slot&quot;: &quot;1&quot;,<br> &quot;sync_distance&quot;: &quot;1&quot;<br> }<br>}</pre><p><strong>NB:</strong> The values of “is_syncing” and “is_optimistic” will be set to false when your node is fully synced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u7Ol30fj2EMi0Bexov8GHA.jpeg" /></figure><p><strong>Step 3 in Part 2: Creating a Virtual Machine Instance &amp; Cloud KMS</strong></p><p>GCP VM Instances are automatically encrypted using Google’s Cloud Managed Encryption. However, by utilizing Cloud KMS, we are adding advanced encryption that put us in control of encrypting and decrypting documents.</p><p>In our use case, we’ll employ Cloud KMS to encrypt the most important document containing our withdrawal address, for safe keeping.</p><blockquote><strong>NB: This step is further divided into 8 sections.</strong></blockquote><p><strong>Section 1 — Enable KMS on Project ID</strong></p><p>a. To begin, let’s enable the Cloud KMS API, similar to what we did for BNE. Navigate to the <a href="https://console.cloud.google.com/apis/enableflow?apiid=cloudkms.googleapis.com">Enable API Access Page</a></p><p>b. Confirm project, click “NEXT,” enable the KMS API, next we can start creating encryption keys</p><blockquote>First, we’re going to create a <strong>Key Ring</strong>, which serves as a container to <strong>store encryption keys</strong>. Any Key Ring and Key created must be configured with the same location as the projectID’s or set to a global region. You can create Key Rings and Keys using Google Cloud Console, a VM instance, or Cloud Shell.</blockquote><p>d. Now, let’s go to <a href="https://console.cloud.google.com/security/kms?project=portalsx-guides">Key Management</a> under the “Security” section through navigation. In other words, we’ll create a KMS encryption key <strong>through the Google Cloud Console</strong>.</p><p>e. Begin by clicking “Create Key” and set it to the following values to keep things simple:</p><blockquote>|property| value |<br>| — | — |<br>| name | simple-keyring |<br>| location(type) | region |<br>| region | europe-west1(belguim) |</blockquote><p>f. Confirm the process and proceed to create a key with the following options:</p><blockquote>|property| value |<br>| — | — |<br>| name | simple-key |<br>| protection(level) | software |<br>| key material | generated |<br>| purpose | symmetric encrypt/decrypt |<br>| algorithm | default(google symmetric key) |<br>| key rotation | 30 days |<br>| start date | today (current day) |</blockquote><p><strong>Section 2 — Create VM Instance and Initialize SSH Keys</strong></p><blockquote>A brief explanation of why we’re performing the steps in this section: We’re creating a VM instance with the necessary resources for running our key generation software and validator node. This VM is hosted on the cloud and can be accessed both within and outside the GCP Console through SSH authentication. Since the VM contains private information about our validators, it needs to be safeguarded with security practices like:</blockquote><ul><li><strong><em>Using SSH keys to control and track access.</em></strong></li><li><strong><em>Disabling password authentication to protect against brute force attacks.</em></strong></li><li><strong><em>Disabling the root account to prevent unauthorized control.</em></strong></li></ul><p>Let’s go!</p><p>a. Start by generating a new SSH key on any Linux system. I’ll be running the following commands in CloudShell:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JJldsIxHW01PuJo3K5x2g.png" /></figure><pre>ssh-keygen</pre><p>b. To keep things simple, skip the password prompts (twice) by pressing the Enter &amp; Name your file. This will generate two SSH key files in the current directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acGkg07QdKwiJDrEUud0OA.png" /></figure><p>c. Download both files using Cloud Shell’s download button or by running the following command:</p><pre>cloudshell download &lt;NAME OF FILE&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*79YoFKUQ6z1nCoJelMxwzg.png" /></figure><p>d. Before creating a new VM instance, go to <a href="https://console.cloud.google.com/compute/metadata">Computer Metadata</a> to add our generated SSH key. Open the file you downloaded in a Text- Editor to edit the username</p><p>e. Proceed to add your generated SSH key with a valid username at the end of file (after equal sign). Select a username of your choice here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpMuDf48FVuCE9ezdVdw1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ecve6CwhSx0pjkNTXPkXVw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XIy4AiOZecD_r_md-JRRow.png" /></figure><p><strong>Section 3: Create Service Account and Initialize VM Instance with It</strong></p><p>Now, let’s create a simple service account to prevent giving the default SA certain permissions related to KMS and other processes.</p><p>a. Proceed to “Service Accounts” under IAM &amp; Access</p><p>b. Create a new service account with the following options:</p><blockquote>|property| value |<br>| — | — |<br>| name | eth-rpc-node-sa2 |<br>| id | eth-rpc-node-sa2 |<br>| roles | `Cloud KMS Service Agent`,`Compute OS Login`, `Service Controller`, `Logs Writer`, `Monitoring Metric Writer`, `Cloud Trace Agent`, `Compute Network User` |</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4cf_uVgLbeXXCVNdUR69Q.png" /></figure><p>c. Wait for about 10 minutes for the SA to update. Next, navigate to “Compute Engine” &gt; “VM Instances” and use the following options to set one up:</p><blockquote>|property| value |<br>| — | — |<br>| name | eth-val-node2 |<br>| region | europe-west1(belgium) |<br>| zone | europe-west1-b |<br>| machine-cofig(series) | E2 |<br>| machine-type | e2-medium(2 vCPU,1 Core,4GB) |<br>| availability | standard |<br>| boot disk(operating sys) | ubuntu |<br>| boot disk(version) | ubuntu 20.04 LTS |<br>| boot disk(type) | SSD persistent disk |<br>| boot disk(size) | 120 GB |<br>| service account | eth-sa(just created) |</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*V42_ZezjBDo5gLIXiaQAQQ.png" /></figure><p>d. Click “Create” to proceed with initializing your VM. Now we can test our SSH key we created earlier to connect to it.</p><blockquote>To SSH into your new VM instance, you can use any Linux-powered shell or environment of your choice. This will be a dynamic dev env you can use to run commands, set up your validator, and monitor the server. Some popular examples include Gitbash, Putty, GCP Cloud Shell, and GCloud on PowerShell. We’re going to use Google Cloud to download some files from our VM later, so I suggest you get that.</blockquote><p><strong>NB: <em>You can also SSH directly from the GCP Console without the requirement of your generated key.</em></strong></p><p>e. Download <a href="https://cloud.google.com/sdk/docs/install">GCloud installer</a> &amp; Install with the default setup. After installation, open the CLI and copy both SSH key files to the Cloud SDK dir. Located at — “/AppData/Local/Google/Cloud SDK.” Then, Run Command:</p><pre>ssh -i &lt;shhkeyname.txt&gt; username@vm_instance_external_ip</pre><blockquote>— Troubleshooting Errors —</blockquote><blockquote>If your command returns an error such as “<strong>Connection reset by &lt;external ip&gt; port 22</strong>” , Edit your VM Instance and <strong>Add this script inside Automation &gt; Startup Script</strong>:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*3m57rYLsjEuqpxbFp3qZTw.png" /></figure><pre>#!/bin/bash <br>sudo ufw allow ssh</pre><blockquote>If you get a “<strong>Permission Denied: Invalid Format</strong>” error, ensure your command is pointing to the private key from the SSH key-gen, which is a <strong>.txt</strong> file and not the <strong>.pub</strong> file.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><p><strong>Section 4: Create User Admin Permission, Disable Root, Disable Password Authentication</strong></p><p>Naturally, as we’re trying to disable the root account of our system as a security measure, we want to enable admin permissions for our new user account.</p><p>a. We will start by giving our current user admin permissions. Run the command below:</p><pre>sudo usermod -aG sudo &lt;username&gt;<br>sudo usermod -aG google-sudoers &lt;username&gt;</pre><p>b. Next, let’s disable the root account on our system. We can do this by editing the root login command in a system file. Run the following commands to do so:</p><pre>&lt; opens up the file &gt;<br>sudo vim /etc/passwd<br><br>&lt; change this line: &gt;<br>root:x:0:0:root:/root:/bin/bash<br>&lt; to: &gt;<br>root:x:0:0:root:/root:/sbin/nologin</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SyVNRWI9wHlWALZxsbhILA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eV884Q018PuLdbtnik-XnQ.png" /></figure><p>To save your edits in the vim terminal editor, simply press the `ESC` key followed by `:w`. Repeat the same process but with `:x` to quit.</p><p>c. Last but not least, let’s disable password authentication on our instance. Run the following command to do this:</p><pre>sudo vim /etc/ssh/sshd_config<br><br>then change:<br>#ChallengeResponseAuthentication yes<br>#PasswordAuthentication yes<br>to:<br>ChallengeResponseAuthentication no<br>PasswordAuthentication no</pre><p>Save and quit by entering `:wq` and then run this command to refresh the service:</p><pre>systemctl restart sshd</pre><p>NB: If <strong>ChallengeResponseAuthentication</strong> and <strong>PasswordAuthentication</strong> are already set to `no`, leave them as they are.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><p><strong>Section 5: Building and Generating Ethereum Validator Key</strong></p><p>After putting some security measures in place, let’s start setting up our Validator Key Generation software.</p><p>Quick Introduction to Ethereum Validator Keys: To become a validator on Ethereum (testnet / mainnet), you need to install a deposit tool and generate two sets of key pairs: a <strong>signing key</strong> and a <strong>withdrawal key</strong>. These keys can be derived later from a mnemonic phrase (that is given to you after generation).</p><p>You will also get to set your <strong>Ethereum Withdrawal Address</strong>. This should preferably be from your hardware wallet for mainnet validators. Here, I’m going to add my secured Metamask wallet loaded with 32 Goerli ETH from the faucet.</p><p>The withdrawal address you set is where your ETH is returned upon “voluntarily exiting a validator,” and where you receive partial withdrawals from the rewards you get as a validator, usually anything in excess of the base 32 ETH.</p><p>There are three ways to install the software for generating our keys:<br>1. Downloading a pre-built binary.<br>2. Building from source.<br>3. Using a third-party GUI like Wagyu.</p><p>For the most security, we’re going to build from source right on our VM instance. You can do this by opening a second terminal (outside of VM user), but we will require the generated key files downloaded in the next process, so it’s more convenient to have them on our VM. Regardless of the path you take, we’re going to utilize Google KMS to encrypt our key generation files with the keys we created earlier in <strong>Section 1</strong>.</p><p>a. Let’s begin by getting our system ready, making updates, creating important folders, and installing some common formatting software. Run the following commands:</p><p><strong>(Note: Run each command separately if possible)</strong></p><pre>sudo apt update -y<br>sudo apt-get update -y<br><br>sudo apt install python3-pip git -y<br>sudo apt install -y dstat jq<br><br>curl -sSO https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh<br>sudo bash add-google-cloud-ops-agent-repo.sh - also-install<br>rm add-google-cloud-ops-agent-repo.sh<br><br>git clone https://github.com/ethereum/staking-deposit-cli<br>cd staking-deposit-cli<br>sudo ./deposit.sh install<br><br>pip install testresources</pre><p>Now that our deposit tool has been installed, let’s run the command to generate our keys and set the Ethereum wallet address.</p><pre>./deposit.sh new-mnemonic --chain goerli --eth1_withdrawal_address &lt;ETH_ADDRESS_FROM_HARDWARE_WALLET&gt;</pre><p>Follow the prompts; select <strong>English for Language</strong>, <strong>Re-enter your withdrawal address</strong>, re-enter english, input the number of validators you wish to run (<strong>1 in our case</strong>), <strong>add a keystore password</strong> (which you must remember).</p><p>Congratulations on successfully generating your Ethereum validator keys! This is a crucial step in becoming a validator on the Ethereum network. Remember to keep your mnemonic passphrase (recovery phrase) safe and secure, as it’s the key to accessing your validator keys and maintaining your identity as a validator.</p><p>You now have two Keystore Files in your <strong>validator_keys</strong> directory — deposit_data-#########.json, which we would upload to <a href="https://goerli.launchpad.ethereum.org/">Ethereum Launchpad website</a>. Later, we will encrypt the `deposit_data-#########.json` file using Google Cloud KMS, ensuring an added layer of security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><p><strong>Section 6: Configure Validator Connection to Beacon Node</strong></p><p>You’re now entering the crucial phase of configuring your validator connection to the beacon node. This is where all the pieces you’ve prepared come together to form a functional setup.</p><p>a. To get started, let’s download the Lighthouse client using the following commands:</p><pre>wget https://github.com/sigp/lighthouse/releases/download/v4.1.0/lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz</pre><p>b. After you’ve downloaded and extracted the Lighthouse client, let’s move the binary file to the usr/bin folder for easier access.</p><pre>tar -xvf ./lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz<br>rm ./lighthouse-v4.1.0-x86_64-unknown-linux-gnu.tar.gz<br>sudo mv lighthouse /usr/bin</pre><p>c. verify that lighthouse is installed successfully with:</p><pre>lighthouse --version</pre><p>d. Now, let’s create a new user for the validator service, disable the home directory, and create data directories for the service:</p><pre>cd ~<br> sudo adduser --system --no-create-home --group validator<br> sudo mkdir -p /var/lib/lighthouse/validators</pre><p>e. Import your validator keys by copying your keystore file into the directory where Lighthouse (Beacon Node Connection) can access it, enter your password correctly when prompted:</p><pre>sudo lighthouse account validator import \<br> --network goerli \<br> --datadir /var/lib/lighthouse/validators \<br> --directory=$HOME/staking-deposit-cli/validator_keys \<br> --reuse-password</pre><p><strong><em>NB: </em></strong><em>Enter the same password when generating your keys. Output should match the image </em>⬇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wNPajdJsMc_o1C3Hl_kjWg.jpeg" /></figure><p>f. Make sure the import worked by running this command. The result should show your validator’s public key(<strong><em>which should be the same as the one in your deposit_data.json file</em></strong>):</p><pre>sudo lighthouse account_manager validator list \<br>--network goerli \<br>--datadir /var/lib/lighthouse/validators</pre><p>g. Set up ownership permissions and enhance access security for the Validators directory:</p><pre>sudo chown -R validator:validator /var/lib/lighthouse/validators<br>sudo chmod 700 /var/lib/lighthouse/validators</pre><p>Create a systemd unit file that defines the configuration for your validator service. Paste the following configuration into this file:</p><pre>sudo nano /etc/systemd/system/validator.service</pre><pre>-- CONFIG VALUES --<br><br>[Unit]<br>Description=Lighthouse Validator Client for Testnet Stackup X GCP<br>Wants=network-online.target<br>After=network-online.target<br>Documentation=https://github.com/Chel-Ash/StackupXGCP-EthNodeGuide<br><br>[Service]<br>Type=simple<br>User=validator<br>Group=validator<br>Restart=on-failure<br>RestartSec=3<br>KillSignal=SIGINT<br>TimeoutStopSec=900<br>ExecStart=/usr/bin/sudo lighthouse vc \<br>  --network goerli \<br>  --beacon-nodes http://&lt;BEACON NODE API ENDPOINT&gt;?key=&lt;API-KEY&gt; \<br>  --datadir /var/lib/lighthouse/validators \<br>  --graffiti=&quot;Setup Eth Validator on GCP&quot; \<br>  --metrics \<br>  --suggested-fee-recipient=&lt;WITHDRAWAL ADDRESS EHER&gt;<br><br>[Install]<br>WantedBy=multi-user.target</pre><p>For the “<strong>&lt;BEACON NODE API ENDPOINT&gt;</strong>”, paste the value from your Blockchain Node Engine details page. For “<strong>&lt;API-KEY&gt;</strong>”, you can create a new API key from the “Manage API Keys” section or use an existing one.</p><p>You can also use a different non-compromising value for “Graffiti”. By adding the “Metrics” tag, you <strong>allow listening on the default port</strong>, which enables you to set up network monitoring with Prometheus later.</p><p>To save and exit, press Ctrl + S, then Ctrl + X.</p><p>Run the following command to enable auto-start, start your validator client, and check its status:</p><pre>sudo apt install ccze<br>sudo systemctl daemon-reload<br>sudo systemctl enable validator<br><br>sudo systemctl start validator<br>sudo systemctl status validator<br><br>&lt; for more detailed validator status information from logs, run below command: &gt;<br> <br>sudo journalctl -fu validator | ccze</pre><blockquote>— Troubleshooting Errors —</blockquote><blockquote>* If you encounter an error such as “<strong>Auth could not identify password for [validator]</strong>” or “<strong>User not in sudoers</strong>” you can follow these steps to resolve the issue:</blockquote><pre>sudo adduser validator sudo<br>sudo usermod -aG sudo validator<br>sudo usermod -aG google-sudoers validator</pre><blockquote>* If you encounter the error “Unable to parse beacon node URL (relative URL without base),” you can follow these steps to resolve it:</blockquote><blockquote>1. Open the service configuration file again.</blockquote><blockquote>2. Ensure that the `<strong>http://</strong>` prefix is included before the beacon node URL. Additionally, make sure the API key is correctly formatted as `<strong>?key=&lt;API-KEY&gt;</strong>`.</blockquote><blockquote>This should resolve the parsing error you encountered.</blockquote><blockquote>NB: Re-run above commands from <strong>sudo systemctl daemon-reload</strong> after troubleshooting</blockquote><p>After completing all these steps, your Validator should successfully connect to the Beacon Node provided by the Blockchain Node Service and be ready for activation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8epnmMdD-rzGDBo9jXQDQ.png" /></figure><p>Congratulations on your progress so far! Now, there’s just one last step left: <strong><em>uploading the deposit data file</em></strong> (found inside the Validator_Keys folder) to the Ethereum Launchpad and <strong><em>transferring 32 Goerli ETH</em></strong> to the Deposit Contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><p><strong>Section 7: Uploading Data &amp; Encrypting Validator Keys</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qoZ3nyR1aNpTUKjkz_ZtwA.png" /></figure><p>a. Visit <a href="https://goerli.launchpad.ethereum.org/en/overview">Ethereum Launchpad</a>. Make sure to switch the network to Goerli by signing in with your Metamask wallet. Follow the provided steps until you reach the “<strong>Upload deposit Data</strong>” section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XyVTFFtjEoSA1PT82IIXow.png" /></figure><p>b. Open a command line terminal and navigate to your GCloud folder (if you installed it with the default settings — python is available, else you might face issues). Run the command:</p><pre>gcloud compute scp --recurse &lt;username&gt;@&lt;vm-name&gt;:/home/&lt;username&gt;/staking-deposit-cli/validator_keys/deposit_data-##########.json C:\Users\&lt;User&gt;\Downloads</pre><p><strong><em>— Fill in the Following fields accordingly to download the file successfully to your Local Computer</em></strong></p><p>b. Upload the deposit data file you downloaded earlier. Then, complete the transfer of the 32 Goerli ETH by confirming the transaction with your wallet. I’ve already done so in the image below.</p><p>c. Now, wait a short time for your transaction to process, then follow the link <a href="https://goerli.beaconcha.in/">Goerli Beacon-chain</a> to track its progress.</p><p>d. It typically goes through the stages: <strong>Deposited (around 16–24 hours)</strong>, <strong>Pending (additional waiting of about 8 hours)</strong>, and finally Active (<strong><em>your validator becomes active on the Beacon Chain</em></strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0dVoAz6KrcNTAuUDlC3OFA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMuJJQdgJOkFASkmozNbzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zwRTRVVwsXwUmOh8gp-h7w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UmVL6HjIF8c7DzCwJi8IPw.png" /></figure><p>e. Once the activation process is complete, return to your VM instance through SSH. Run the commands above to check the logs. If everything went smoothly, your validator’s response should be a success:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgLCdMFFnvEJ7kJ-CPvNfw.png" /></figure><h4>Processed Validator for Guide on Beaconchain :</h4><blockquote><strong>Below is a link to the Validator connected with GCP Blockchain Node Engine. It has been connected with my Personal Metamask Wallet.</strong></blockquote><p><strong>Address:</strong> <a href="https://goerli.beaconcha.in/validator/0x814b0287b75d7e25e42215ee97c19b8dc436919d74d230b111e6e5c5588834c9edd0830bdae191458b80c6ca48772110#withdrawals">https://goerli.beaconcha.in/validator/0x814b0287b75d7e25e42215ee97c19b8dc436919d74d230b111e6e5c5588834c9edd0830bdae191458b80c6ca48772110</a></p><p><strong>PubKey:</strong> <em>0x814b0287b75d7e25e42215ee97c19b8dc436919d74d230b111e6e5c5588834c9edd0830bdae191458b80c6ca48772110</em></p><p><strong>Automatic Withdrawals: <em>5</em></strong></p><p><strong>Time of Activation:</strong> <strong><em>Aug 18th</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><p><strong>Section 8: Encrypting Our Validators Key</strong></p><p>a. Copy the deposit-data file to your Cloud SDK folder and run the following commands:</p><pre>cloud services enable cloudkms.googleapis.com --project &quot;&lt;PROJECT ID&gt;&quot;<br><br>gcloud kms keys list --location &quot;europe-west1&quot; --keyring &quot;simple-keyring&quot;<br><br>gcloud kms encrypt --key simple-key --keyring simple-keyring --location europe-west1 --plaintext-file deposit_data-##########.json --ciphertext-file deposit_data-##########.json.encrypted</pre><p>b. Now, you should have the encrypted version of your deposit-data file, which you can <strong><em>move to a different location</em></strong> (like an external USB / drive). After securing the file, make sure to remove the main copy from your virtual machine instance in case of unauthorized access.</p><blockquote><strong>Encrypted File — Opened in Sublime Text</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JhVu6LpkJm_S4dujNhGVYQ.png" /></figure><p>c. Now, wherever you choose to store your deposit-data file, its security and data remain uncompromised. To retrieve the original contents, you’ll need to decrypt the file using the same keys. Use the below command to decrypt your file:</p><p>d. Upload your encrypted file and decrypt it using the command below:</p><pre>gcloud kms decrypt --key simple-key --keyring simple-keyring --location europe-west1 --plaintext-file deposit_data-##########.json.decrypted --ciphertext-file deposit_data-##########.json.encrypted</pre><h3>Exiting / Full Withdrawal of a Validator</h3><p>Once you’ve completed all the steps in this guide and your Validator is active on Beaconcha.in, there’s one final step left: <em>I</em><strong><em>nitiating a Voluntary Exit as a Validator from the network</em></strong>.</p><p>Note that the Beaconchain will automatically handle the withdrawal of your staking rewards to the withdrawal credentials you provided when generating your keys. This process doesn’t require constant monitoring as long as your node is actively contributing to the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u1ZVgfTfog17zXCjUooeCg.png" /></figure><p>If you wish to perform a full withdrawal of your Ether, you can achieve this by accessing your VM Instance through SSH and executing the following commands from the main directory:</p><pre>lighthouse --network goerli account validator exit --keystore /home/&lt;username&gt;/staking-deposit-cli/validator_keys/keystore-m_#####_####_#_#_#-##########.json --beacon-node &lt;BEACON ENPOINT&gt;?key=&lt;API KEY&gt;</pre><p>If you recall, during the process of generating your Validator keys, two files were created: a <strong><em>deposit_data file</em></strong> and a <strong><em>keystore file</em></strong>. In this context, we are referring to the keystore file, which should be located within the validator_keys folder as well.</p><p>After executing the above command, you will be asked to provide your password. After that, type in the phrase <strong>Exit my validator</strong>.</p><p>The transaction will then be sent to Beaconcha.in and if successful, will be confirmed in a few minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*m7REc1IVaJo04coBO7HAaQ.jpeg" /></figure><blockquote>NB: The Keystore file is for unlocking and withdrawing your staked ether. To keep it safe, it’s good practice to encrypt it using Cloud KMS from <strong>Step 8</strong>. This way, even if someone gains access to the file, they won’t be able to use it without the right encryption keys.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bTDLRJpBsRs67qSK52Wr_w.png" /></figure><h3>PART 3: Enhancing Security and Maintenance</h3><p>Now that we’ve covered most of the complex parts, we’re moving on to some important safety, maintenance, and tracking settings. These settings will help us keep our node secure and get alerts if there are any issues.</p><p><strong>STEP 1: Setting Up GCP Cloud Logging</strong></p><p>We’ve been checking the status of our node by running commands in the terminal. However, we can’t stay glued to the terminal all the time. To automatically keep track of what’s happening, we’ll use Cloud Logging. This way, we can view logs even when we’re not actively checking the terminal. We’ll also be able to set up alerts based on these logs for better monitoring.</p><p>a. As we’ve previously installed Google Cloud Ops Agent, our next step involves adjusting permissions to ensure access and update it.</p><pre>sudo chmod 666 /etc/google-cloud-ops-agent/config.yaml</pre><p>b. Now, let’s set up the Cloud Ops agent to transmit log data to Cloud Logging. You’ll need to update the file “/etc/google-cloud-ops-agent/config.yaml” with the provided Ops Agent configuration. This configuration will include the Validator’s log files for import into Cloud Logging.</p><pre>sudo nano /etc/google-cloud-ops-agent/config.yaml</pre><pre>-- CONFIG FILE --<br><br>logging:<br>  receivers:<br>    syslog:<br>      type: files<br>      include_paths:<br>      - /var/log/messages<br>      - /var/log/syslog<br>    ethValLog:<br>      type: files<br>      include_paths: [&quot;/var/lib/lighthouse/validators/validators/logs/validator.log&quot;]<br>      record_log_file_path: true<br>    journalLog:<br>      type: systemd_journald<br>  service:<br>    pipelines:<br>      logging_pipeline:<br>        receivers:<br>        - syslog<br>        - journalLog<br>        - ethValLog<br>EOF</pre><p>c. After saving your file using (Ctrl + S) and exiting with (Ctrl + X), execute the following commands to restart the agent:</p><pre>sudo systemctl stop google-cloud-ops-agent<br>sudo systemctl start google-cloud-ops-agent<br>sudo systemctl status google-cloud-ops-agent</pre><p>d. If you encounter an error in the status, you can use this command to see more detailed information:</p><pre>sudo journalctl -xe | grep &quot;google_cloud_ops_agent_engine&quot;</pre><p>e. To confirm that log messages are appearing in Cloud Logging, follow these steps:</p><p>1. Open the Navigation Menu and navigate to the Logging section.<br>2. Click on “Logs Explorer.”<br>3. You should be able to see log messages similar to the image below. These messages indicate that the log data is being collected and displayed in Cloud Logging.</p><p>This allows you to monitor your validator node’s activities and troubleshoot any issues effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9FVLJah8sudVnSqEFi125Q.png" /></figure><p><strong>STEP 2: Monitoring Validator with Prometheus and Grafana</strong></p><p>Prometheus is a monitoring platform that collects metrics response from monitored targets by scraping metrics HTTP endpoints on these targets. ex (our Validator Connection to Lighthouse) — which we can use to supply data to insightful dashboards in a Program like Grafana.</p><p>Let’s get to work!</p><p>a. To confirm the Lighthouse metrics endpoint is active, execute the following command:</p><pre>curl localhost:5064/metrics</pre><p>b. Install prometheus and prometheus node exporter.</p><pre>sudo apt-get install -y prometheus prometheus-node-exporter</pre><p>c. Install Grafana</p><pre>wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -<br>echo &quot;deb https://packages.grafana.com/oss/deb stable main&quot; &gt; grafana.list<br>sudo mv grafana.list /etc/apt/sources.list.d/grafana.list<br>sudo apt-get update &amp;&amp; sudo apt-get install -y grafana</pre><p>d. Enable services so they start automatically.</p><pre>sudo systemctl enable grafana-server.service prometheus.service prometheus-node-exporter.service</pre><p>e. Create the prometheus.yml config file, then open the File and Paste the following config into it:</p><pre>cat &gt; $HOME/prometheus.yml &lt;&lt; EOF<br><br>global:<br>  scrape_interval:     15s # By default, scrape targets every 15 seconds.<br><br>  # Attach these labels to any time series or alerts when communicating with<br>  # external systems (federation, remote storage, Alertmanager).<br>  external_labels:<br>    monitor: &#39;codelab-monitor&#39;<br><br># A scrape configuration containing exactly one endpoint to scrape:<br># Here it&#39;s Prometheus itself.<br>scrape_configs:<br>   - job_name: &#39;node_exporter&#39;<br>     static_configs:<br>       - targets: [&#39;localhost:9100&#39;]<br>   - job_name: &#39;nodes&#39;<br>     metrics_path: /metrics    <br>     static_configs:<br>       - targets: [&#39;http://localhost:5054&#39;]<br>   - job_name: &#39;validators&#39;<br>     metrics_path: /metrics<br>     static_configs:<br>       - targets: [&#39;localhost:5064&#39;]<br>EOF<br></pre><p>f. Run the following commands to update permissions and start the service:</p><pre>sudo mv $HOME/prometheus.yml /etc/prometheus/prometheus.yml<br><br>sudo chmod 644 /etc/prometheus/prometheus.yml<br><br>sudo systemctl restart grafana-server.service prometheus.service prometheus-node-exporter.service<br><br>sudo systemctl status grafana-server.service prometheus.service prometheus-node-exporter.service</pre><p><strong>STEP 3: Setup Grafana Dashboards</strong></p><p>Your access to Grafana Localhost Account, which we will be using in the next few steps to set up Dashboards successfully should be through your <strong>VM Instance External IP Address. </strong>Based upon your current Firewall settings, your sever might refuse connection on certain ports.</p><p>To prevent connection issues down the road, we would manually instruct our VMto allow connections on these ports : 3000, 9090, 8080.<br>Enable this by going to your VM Instance &gt; Edit VM &gt; Under Network Interfaces (view details on default), Under VPC Firewall &gt; Select <strong>default-allow-http. </strong>Click on it to Edit, Then Under TPC Ports; include 3000,9090,8080.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMk4V9dZuPwhQ_QGeKL00g.png" /></figure><ol><li>Open http://&lt;your_vm_external_ip_address&gt;:3000 in your web browser.</li><li>Login with <strong>admin</strong> / <strong>admin </strong>and Change the Password next</li><li>Click the <strong>configuration gear</strong> icon, then <strong>Add data Source</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*peABd4mq1BGRFt3_a3xVFQ.png" /></figure><p>4. Select <strong>Prometheus &amp; </strong>Set <strong>Name</strong> to <strong>“Prometheus-1</strong>”</p><p>5. Set <strong>URL</strong> to <a href="http://localhost:9090/">http://&lt;vm_external_ip_address&gt;:9090</a> then Click <strong>Save &amp; Test</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OHUUjzAeOhozpGYXEIrVXg.png" /></figure><p>6. <strong>Download and save</strong> the consensus client’s json file[For Lighthouse] <a href="https://raw.githubusercontent.com/Yoldark34/lighthouse-staking-dashboard/main/Yoldark_ETH_staking_dashboard.json">HERE</a></p><p>7. <strong>Download and save</strong> the <a href="https://grafana.com/api/dashboards/11074/revisions/9/download">node-exporter dashboard</a> for general system monitoring</p><p>8. Click Import Dashboard in top-right and Upload the <strong><em>Consensus Client dashboard</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IhCIee5M143uck70xU1pTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V7euv_sx32Vk6w5ylKP9Kg.png" /></figure><p>9. Repeat this step to import the node-exporter dashboard.</p><p>10. View the Imported Data-Source Updates in real-time ( 15 secs)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKLC_FppoHAUEYT51Ob99Q.png" /></figure><p><strong>STEP 3: Setting UPTIME Checks and Monitoring</strong></p><p>We’ve just completed setting up Prometheus and Grafana services, which help us gather, analyze, and display important information about our Node and Validator. However, these Dashboards only work when our Node and Instance is active. If problems arise, like <strong><em>running out of disk space</em></strong>, <strong><em>not having enough resources</em></strong>, or the <strong><em>Node shutting down</em></strong>, these services won’t be able to help.</p><p><strong>NB:</strong> These are all in the context of using BNE for our Node setup. However, in scenarios where we host the setup locally, we can implement uptime checks to monitor factors like <strong><em>internet outages</em></strong>, <strong><em>power interruptions</em></strong>, and <strong><em>hardware failures</em></strong>. To achieve this, we can utilize the free Uptime Check service offered by GCP.</p><p>a. To begin, search for <strong><em>Monitoring</em></strong> (Infrastructure and application quality checks) in the search bar</p><p>b. Next, click on the “Uptime checks” tab, and then select the option to “CREATE UPTIME CHECK.” This will allow us to create a new uptime check for monitoring our services.</p><p>c. Using the following option values, create your uptime check:</p><blockquote>|property| value |<br>| — | — |<br>| name | eth-val-node2 |<br>| protocol | TCP |<br>| applies to | single |<br>| instance | &lt;your_vm_machine&gt; |<br>| port | 3000 |<br>| check freq | 5 mins |<br>| response timeout | 10 secs |<br>| log check failures | enabled |<br>| name | Validator Node Uptime |<br>| duration | 1 mins |<br>| log check failures | enabled |<br>| notification channels | manage (create email channel in new tab) |</blockquote><blockquote><strong>Using this service, you can create additional uptime checks to monitor various aspects of your setup, such as ensuring your VM instance is running, checking if the Grafana port is functioning, monitoring the Execution Client endpoint, and more. This helps you stay informed about the uptime and availability of your projects components.</strong></blockquote><h3>Final Remarks and Reading Resources</h3><p>We arrive at the end of this comprehensive guide which has equipped you with the knowledge, tools, and practical steps to confidently embark on the path of running an Ethereum Validator Node on the Google Cloud Platform.</p><p>By utilizing the power of GCP’s operational services and pairing them with the Blockchain Node Service ➡ GETH/Lighthouse combination, you’ve been able to setup an efficient and secure Validator in a most straightforward way.</p><p>As you move forward in your role as a Validator, remember that the Ethereum blockchain environment is vast and continuously changing, and even in-depth guides like this can’t cover everything.</p><p>Stay engaged with communities, stay informed about the latest developments, and consistently focus on security and best practices in your activities. This approach will help you navigate the ever-evolving Ethereum landscape successfully.</p><h4>Join Communities &amp; Next Steps</h4><ul><li>Join the <a href="https://discord.io/ethstaker">Ethstaker Discord Channel</a></li><li>Explore <a href="https://goerli.beaconcha.in/">beaconcha.in</a>, where you can monitor validators</li><li>S<strong><em>etup Alerts with Beaconcha.in</em></strong></li></ul><blockquote><strong>Setting Email Alerts — Using Beaconcha.in</strong></blockquote><blockquote>Sign up for an account @ <a href="https://goerli.beaconcha.in/">beaconcha.in</a></blockquote><blockquote>Verify your <strong>email address</strong></blockquote><blockquote>Search for your <strong>validator’s public address</strong></blockquote><blockquote>Add validators to your watchlist by clicking the <strong>bookmark symbol</strong>.</blockquote><blockquote>Choose the options for which you want to receive notifications on; Eg — When Validator is Offline, when Attestation has been missed, when withdrawal is processed.</blockquote><h4>Further Reading Resources</h4><ul><li><a href="https://ethereum.org/en/learn/">Ethereum Foundation</a></li><li>Execution Client Docs: <a href="https://geth.ethereum.org/docs/">GETH</a></li><li>Explore Lighthouse Docs: <a href="https://lighthouse-book.sigmaprime.io/">Lighthouse</a></li><li>One of the Best Library Guide on ETH Staking: <a href="https://www.coincashew.com/">CoinCashew Guides</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44e85e61f4fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Metarace NFTs Horse Racing Game: A Blockchain Game with Badass Graphics and A Unique Gameplay]]></title>
            <link>https://medium.com/@chel_koby/metarace-nfts-horse-racing-game-a-blockchain-game-with-badass-graphics-and-a-unique-gameplay-fb5cc002616d?source=rss-1385188734d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb5cc002616d</guid>
            <category><![CDATA[gamefi]]></category>
            <category><![CDATA[metaverse]]></category>
            <category><![CDATA[playtoearn]]></category>
            <category><![CDATA[blockchain-gaming]]></category>
            <category><![CDATA[vr-experiences]]></category>
            <dc:creator><![CDATA[Chelsea Koby]]></dc:creator>
            <pubDate>Wed, 09 Feb 2022 03:05:56 GMT</pubDate>
            <atom:updated>2022-02-13T13:42:30.408Z</atom:updated>
            <content:encoded><![CDATA[<h3>Metarace NFTs Horse Racing Game: A Blockchain Game with Top Notch Graphics and A Unique Gameplay</h3><h3>INTRO</h3><blockquote><strong>What is better than writing about blockchain games like Axie Infinity, Splinterlands, with playable content that are readily available? Well, Writing about games that are still in development! Apart from the investments advantage it poses for the writer (and readers), you can explore the future of Gamefi and dream in it.</strong></blockquote><p>As a true Believer of Gamefi (Gaming + NFTs), I’m truly excited to see games that promise enjoyable gameplay, immersive graphics, and flexible ways to earn. There are not a lot of games like this, <strong>BUT </strong>that doesn’t mean we should throw in the bucket and give up on Good quality blockchain games <strong>FAR FROM IT</strong>. Because you only need to see the number of games in development with insane graphics to know what the future of Gamefi would be like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKFJq9B9ITIWHg9pPxdk5w.jpeg" /></figure><p>And right here, I’ve found one such <strong><em>game that promises both unique gameplay, superb graphics, and multiple ways to earn</em></strong>;</p><h3>Metarace Horse Racing Game: First Impressions</h3><p>My very first impression of this Game Metarcae was that it has solid badass graphics. In reality, I can only go by the officially shared graphics on Twitter and Discord but I can’t help myself but appreciate a good-looking game when I see one, can I?. The second next impression I had in mind, was like ‘<strong>Yeah, This is not a Card Game!</strong>’. It sounds funny and somewhat rude? But at this stage, I cannot stand any Blockchain Card Game that pops up.</p><p>Splinterlands and Axie Infinity implemented this design in a way that I consider Original(when there were no flocks of them card games, you know) but many [necessarily not All] such games claiming to bring a new strategy, mass load of fun, enjoyment, etc <strong>With card games</strong> are just pfft.</p><p>One more thing that was intriguing was the unique idea that I could never really envisage seeing in a Blockchain Game. We all have thoughts about Car Racing with fast realistic-looking cars for example but never really Horse Racing with Gear built mechanical Digital Horses. So it got my mind working about the elements that would constitute this unique game, and before I knew it I wanted to see more.</p><h3>Gameplay Experience</h3><p>The Gameplay of Metarace involves players matching their horses against players in Racecourses of varying metres between 1200 meters and up to 3600 metres. There are extra and crucial NFTs to gear up your mechanical horses such as jockeys silks, tail decorations, helmets, saddles, and of course the racecourses NFTs. How sick is that?, so many items as gears, I’m loving this — furthermore, I’m thinking if all these would have little tweaks towards a successful win in a race? OR is that dependent on Horses Genes/Genome alone(Read on below to discover about genes)? These NFTs are in-game assets that would all be tradeable in the marketplace.</p><p>All Mechanical Horses are supposedly driven by genes. Like biological real horses, each NFT horse is made up of Bloodline genetic gene pools that will directly impact race performance, results, and assets value in general. The NFT mechanical Horses in Metarace are let me say — made up of six core parts(genomes), that influence their performance levels. They are;</p><ul><li>Horseshoe — Impacts <strong>GRIP</strong></li><li>Rear Leg Gear — Impacts <strong>ACCELERATION</strong></li><li>Front Leg Gear — Impacts <strong>ENDURANCE</strong></li><li>Engine — Impacts <strong>SPEED</strong></li><li>Horse Head — Impacts Well, <strong>Horse Head</strong></li><li>Electronic Reins — Impacts <strong>INTELLIGENCE</strong></li></ul><p>As seen below;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*P9e6P-5rxCjxmvS1e_ShRg.png" /><figcaption>MetaRace Mechanical Horses NFTs Genome Parts</figcaption></figure><h3>Immersive XR</h3><p>Ok at this stage, I don’t want to get too all in over myself BUT Gosh, I do love VR. I mean, there are lots of Vr games around but the big deal is when A Blockchain NFTs Play2Earn Game Implements this. It’s crazy, and yeah because you get an immersive experience in a game that you own assets and can trade, control your funds and grow your stashes. It’s my ideal experience — I believe would be the same for many hardcore gamers.</p><p>In Metarace NFT there would be XR integration for players to immersively connect in the experience of racing and managing their racing courses. Since it wasn’t specified in detail about the type of XR content, I can’t really spoil you with extra details on this… But since I doubt it would be AR content, my mind turns to VR which is the perfect combo for PC or Web games.</p><p>In summary(and accd to their whitepaper), this would be an extension of their main application where players can experience their NFTs and horse racing in VR. What’s not to Love? This adds up perfectly since Metarace long term plan is to create a metaverse with a collection of other games — you can even feel in their name!</p><h3>Earning Mechanics — NFTs + Race Course Ownership</h3><p>Okay, we are well aware(for the most part) of how most Blockchain Games implement Earnings. Let me just say that some of them really annoy the guts out of me, and those are exactly the games with absolutely NO gameplay and fully dependent on Trading NFTs on Opensea and Public sales.</p><p>I’m glad to see NFTs integrated into the gameplay, just like how (for example), splinterlands Cards are NFTs AND they provide engaging interactive gameplay. In this case, Metarace Earnings Mechanics has been implemented with the same unique notion than how many blockchain games today strive to be literally just a mining game or fully Defi application.</p><p>In Metarace, <strong>you earn by putting your horses against other players in different competitions</strong>(More on this later) a<strong>nd earn rewards with each successful race</strong>. To participate in races, players first need to <strong>own a mechanical horse AND jockey silks</strong> while <strong>other accessories are optional</strong>. The way I see it as a gamer, this introduces the competitive aspect in the game, where gamers are strategically choosing accessories that would hugely affect the outcome of a race.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*qWI6yU70wuNsR0CNAGsLlA.png" /><figcaption>I’m flexing for you Player— Showing that I’m worth every two-pence of your time</figcaption></figure><blockquote>For example (purely driven by imagination), <strong>Player 1</strong> with a Horse built strongly on Endurance would more likely have a victory outcome in a 3600 Metres race regardless of if 11 other Players have horses with higher Speed.<br>In a shorter racecourse track, speed should have an advantage. These gameplay mechanics alone could define if Metarace as a Blockchain NFTs Game is just <strong>very enjoyable or plain addictive</strong>.</blockquote><p>There are two tokens in MetaRace Metaverse; <strong>META and RACE</strong>. META &amp; RACE would be used for the entire in-game transactions like for <strong>race registration and other fees including breeding</strong>, probably also <strong>to purchase gears and genome parts</strong>. They would also be <strong>used to reward players</strong>, <strong>racetrack operators</strong>, and <strong>tournaments competitions</strong>. At the moment, there is no specific info on which token would be allocated for fees &amp; expenses and rewarding players.</p><p>Before every race, <strong>players need to pay a registration fee in Meta token</strong>, After the Race, <strong>80% of the fee is distributed to the top 3 Match winners</strong> in the correct proportion, <strong>10 % is paid to the race track owners,</strong> and the remaining 10% is used for Metarace tokens Buy Backs</p><p>Further <strong>utility and revenue streams of racecourses are sponsored advertisements </strong>Because Literally, there’s NO global sporting competition that exists without advertisements from sponsors — A superb implementation to add to the realism of a Horse Racing NFT game trying to provide a really sustainable and fair competition. 80% of the Revenues earned from sponsored advertisements would be distributed to the racecourse owners</p><h3>Tournaments &amp; Competitions</h3><p>Finally, we come down to the main event!. Tournaments are seasonal competitions that are divided into levels of 1 -5. <strong>1 being the highest and 5 being the lowest</strong> of which each NFTs mechanical horse must meet the level required to participate in corresponding levels.</p><p><strong>There’s the Integral Tournament;</strong> Where horses can race for free to improve their level and learn tactics to win</p><p><strong>There’s the Tournament level;</strong> Which is the most popular racing event I would guess, it’s what I have been referring to above, where players place their horses to race, and the top three horses earn rewards.</p><p>It’s also important I mention here that, the competition in Metarace is based on RNG Technology which means there’s a random distribution of winners, and <strong>dominant Genes could influence the outcomes of victory</strong> BUT <strong>there is yet NO such guarantee of victory</strong>. Great, aren’t you excited to see how this plays out?</p><p><strong>There’s also the Grand Pix;</strong> which is an elimination type tournament where 12 horses would compete at multiple races to determine the final 3 standing winners</p><p><strong>And Finally the Next Stage;</strong> Which is the combination of Death Mathes(Race to the Death I’m guessing, endurance rocks again), Battle Match, and Offline Levelling(This might be the first Blockchain Game to have an offline mode, correct me if I’m wrong)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*3CjcF57xT0tWNvI6WZnvLw.png" /><figcaption>Infographics of MetaRace NFTs Race &amp; victory outcomes</figcaption></figure><h3>Conclusions</h3><p>Woah, that was quite the write-up. It’s obvious how excited I’m about this game, <strong>that is yet to be fully released</strong>. It’s also basic knowledge BUT I’ll still mention that — <strong>some of the information I shared here have been gathered and summarised through Metarace Official pages and whitepaper</strong> and that since this game hasn’t even been released, <strong>expect to see changes</strong>.</p><p>I would constantly be looking up for new information and would strive to update this post regularly if need be OR maybe write a new one if there are too many exciting releases at once, but if you’re too excited to wait for my updates, feel free to look them up yourself. Links are provided for you to explore below Player, and with all of that said — <strong>I end this fantastic post about a fantastic Blockchain NFTs Game MetaRace</strong></p><p>Until next time,</p><p>Chel_</p><h3>Explore Helpful Links</h3><p><a href="https://twitter.com/MetaRace"><strong>Metarace Twitter Page</strong></a></p><p><a href="https://discord.gg/rvA87fmf"><strong>Metarace Discord Channel Comm</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb5cc002616d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>