<?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"><channel><title><![CDATA[therevealer's blog]]></title><description><![CDATA[Smart Contract Engineer | Security researcher.]]></description><link>https://therevealer.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 09:45:48 GMT</lastBuildDate><atom:link href="https://therevealer.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How To Deploy a Mode Subgraph using Goldsky]]></title><description><![CDATA[Goldsky is a platform that provides access to live and historical on-chain data while eliminating the need for developers to manage complex data streaming]]></description><link>https://therevealer.hashnode.dev/how-to-deploy-a-mode-subgraph-using-goldsky--deleted</link><guid isPermaLink="true">https://therevealer.hashnode.dev/how-to-deploy-a-mode-subgraph-using-goldsky--deleted</guid><category><![CDATA[goldsky]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[Mode Network]]></category><category><![CDATA[optimism]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Thu, 29 Feb 2024 11:30:57 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1709205763033/a03bcfe4-c9f3-4991-a0bf-3006586eb379.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A primary requirement for blockchain developers is quick, cheap, and reliable access to on-chain data. Since the blockchain is decentralized and costs little or no gas to "retrieve" data, it fits the "cheap" criteria. However, how can we quickly and reliably retrieve data stored on the blockchain?</p>
<p>Keep in mind that blockchains store data without considering any specific application or protocol, so whenever developers want to query specific data for their smart contract, they would have to search block by block with a JSON-RPC.</p>
<p>Using JSON-RPC works but is not reliable when building scalable and high-performance Dapps, this is where Goldsky comes in. In this tutorial, you will learn how to deploy a subgraph using Goldsky. </p>
<h1 id="heading-what-is-goldsky"><strong>What is Goldsky?</strong></h1>
<p><a target="_blank" href="https://goldsky.com/">Goldsky</a> is a platform that provides access to live and historical on-chain data while eliminating the need for developers to manage complex data streaming infrastructure for their Dapps.</p>
<p>Goldsky allows for the indexing of data from the blockchain and it can then be transformed and enhanced to meet the specific demands of your application. This data can be queried using webhooks or GraphQL(The language used for querying and interacting with data).</p>
<h2 id="heading-what-is-a-subgraph"><strong>What is a Subgraph?</strong></h2>
<p>A subgraph is a custom API built specifically for querying data from a blockchain. It acts as a filter, focusing on a specific subset of data relevant to a particular application or use case, instead of presenting the entire blockchain record.</p>
<p>Here's a breakdown of its key aspects:</p>
<p><strong>Data Extraction and Processing</strong>: A subgraph extracts relevant data from a blockchain, processes it, and stores it in a way that's optimized for efficient querying.</p>
<p><strong>GraphQL Interface</strong>: Subgraphs utilize the GraphQL language, allowing developers to precisely specify the data they need, similar to how you search for specific information on a website.</p>
<h2 id="heading-how-to-deploy-a-subgraph-on-goldsky"><strong>How to Deploy a Subgraph on Goldsky</strong></h2>
<p><strong>Step 1: Create a Goldsky Account</strong></p>
<p>Head to <a target="_blank" href="https://app.goldsky.com/">Goldsky</a> and create an Account</p>
<p><strong>Step 2: Create an API key</strong></p>
<p>Head to the settings page and create a new API key</p>
<p><img src="https://lh7-us.googleusercontent.com/BmE56dCCJOqNNecUgwfgzVixOYvYMgeDKC-9881nbYW7-6yzb-gY8wQbENK2BlocXu8ggY_CEMnadiRUuTNSn3O2pm5U5rCdh2-npequutmaLXab5ucJQVxZoeqHohk944bDmkwKSj69H4emH09nDfI" alt /></p>
<p><strong>Step 3: Install Goldsky CLI</strong></p>
<p>Open up your terminal and run</p>
<p><code>npm install -g @goldskycom/cli</code></p>
<p><img src="https://lh7-us.googleusercontent.com/5acRvCFyKdN3l3hE8qiiFgR1Wk7PASLntH9IG9LQWzE2ysJnrAF9T2c8yQ5goOGHx22S60UjNwNn0Alv1TQCFmVIQPtWzn-hFsuIkKPfJDfM4CRmwYGkSelsYtgXszu1M1hu20-fXkbDfcejqqma9lY" alt /></p>
<p><strong>Step 4: Log in with your API key created earlier</strong></p>
<p>Run;</p>
<p><code>goldsky login</code></p>
<p><strong>Step 5: Deploy your Subgraph</strong></p>
<p>To deploy Run;</p>
<p><code>cd your-subgraph-directory</code></p>
<p><code>graph build # Build your subgraph as normal.</code></p>
<p><code>goldsky subgraph deploy my-subgraph/1.0.0</code></p>
<h2 id="heading-mode-network-on-goldsky"><strong>Mode Network on Goldsky</strong></h2>
<p>Mode Network is a modular Defi layer 2 blockchain part of the Optimism superchain. Mode was designed with the growth of developers in mind, and the contract revenue and referral revenue systems are two features in Mode that foster developer growth.</p>
<p>Goldsky on Mode is a window for developers to build and scale their Dapps without worrying about running complex infrastructure while streaming on-chain data</p>
<p>Below are some of the data you can stream with your subgraph</p>
<p>Click on any of them to download the configuration and run;</p>
<p><img src="https://lh7-us.googleusercontent.com/R_V7lnYdVu3WrUCkyZ4_ximAPBiWugdVITbzI8FVrVvkkMPOMkuBkDTia5McaBt2XNEZsT3vPOP7fPM_RVErksNZ6MfKvIdxcGRyj18PpPZiEEfomj6xrvoy7wI-sCKSOsZeMHFpG2rshDC_YzLAa64" alt /></p>
<h3 id="heading-whats-next"><strong>What’s Next?</strong></h3>
<p>Done with Reading? You might want to check out some of our other resources.</p>
<p><a target="_blank" href="https://mode.hashnode.dev/comprehensive-guide">Mode Comprehensive Starter guide by CryptoFede</a></p>
<p><a target="_blank" href="https://mode.mirror.xyz/coXFPKoK6CvEXUQfTyTctL3dhr2lzg2TZbseqfYYKoQ">Introducing Mode</a></p>
<p><a target="_blank" href="https://mode.mirror.xyz/O6Q8JbL6Dn8v0d6EnqPzKgy2ZqcQ6JSxb3jLebc4mPI">Optimism Delta Upgrade</a></p>
]]></content:encoded></item><item><title><![CDATA[What is Docker? An Introduction to Containers]]></title><description><![CDATA[Software delivery is a process that spans from conceptualizing an Application idea to developing and deploying it to the market. Over the years, software…]]></description><link>https://therevealer.hashnode.dev/what-is-docker-an-introduction-to-containers</link><guid isPermaLink="true">https://therevealer.hashnode.dev/what-is-docker-an-introduction-to-containers</guid><category><![CDATA[Cloud Computing]]></category><category><![CDATA[Docker]]></category><category><![CDATA[Software Engineering]]></category><category><![CDATA[software architecture]]></category><category><![CDATA[ci-cd]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Wed, 02 Aug 2023 22:00:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/jOqJbvo1P9g/upload/3f87daf434b42ebc83f6a160ae1441e3.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-software-delivery-without-containers"><strong>Software Delivery without Containers</strong></h1>
<p>Software delivery is a process that spans from conceptualizing an Application idea to developing and deploying it to the market. Over the years, software delivery processes have changed as new technologies have been developed.</p>
<p>Software delivery relied on a method that involved manually configuring your software stack and services on your local environment or server; the configuration process would differ from one operating system to another.</p>
<p>Imagine you’re a developer working on a <strong>complex</strong> web application with a team, your routine would be to write code, run tests on your local machine, and deploy on a server.</p>
<p>Now here are some of the challenges associated with this method;</p>
<ol>
<li><p><strong>Inconsistent Environment</strong>: You’ve probably faced a scenario where your code works well in your development environment but has bugs when it is deployed to a production environment. Differences in operating systems and server configuration can lead to such issues.</p>
</li>
<li><p><strong>Dependency Management</strong>: Manually installing and configuring dependencies can lead to code conflicts, especially when working with a team. Different operating systems may require different dependency versions and configurations.</p>
</li>
<li><p><strong>Scalability Issues</strong>: As more users adopt your product, there will be a need to increase its capacity so it can handle more traffic and demand. However, this would require manual intervention, and this comes with some tradeoffs.</p>
</li>
<li><p><strong>Pushing new Updates</strong>: Updating the application would be a source of concern because of unforeseen bugs, code conflicts, and issues with backward compatibility for users that haven’t updated.</p>
</li>
<li><p><strong>Isolation Issues</strong>: This is an issue that occurs when multiple applications or processes in your local environment are running on the same server, leading to mysterious bugs. These bugs arise from contention for system resources and dependency conflicts.</p>
</li>
</ol>
<h2 id="heading-containers-to-the-rescue"><strong>Containers to the Rescue</strong></h2>
<p><img src="https://lh3.googleusercontent.com/9AAij-tt88ISHSbipsOO3xgUIm1J3lucXvjRjsCZqke1-FkIbd-SC2Q2hA4jKQyflZ8euQRYKYxBIWVKBTogOifGcBQfaPdGJjcig5xNAdTUZniZ1u-DaF3W6NrDd1WeOtQbrtHMU7ylj6Waxr_I_6Q" alt /></p>
<p>The intermodal containers depicted in the image are used to facilitate the transportation and delivery of goods to various destinations around the globe. For example, a car produced in Italy can be transported to the United Kingdom using these containers and still function optimally regardless of the environment. Software containers work similarly, they are primarily used to ship software from one environment to another.</p>
<p>Containers package software code with all the necessary tools and services it needs to run in any environment. This includes the Public cloud, Private data centers, and even your personal computer. This makes software development and deployment fast and efficient.</p>
<p>For instance, when working on a web application, you can store your core code base in one container and access database tools like <strong>PostgreSQL</strong> and <strong>MongoDB</strong> from different containers. You don’t need to configure any of these tools, and you can access them by simply running a simple command.</p>
<p>The idea of containers and virtualization can be traced back to <a target="_blank" href="https://gunkies.org/wiki/Unix_Seventh_Edition">Unix version 7</a> and its <a target="_blank" href="https://en.wikipedia.org/wiki/Chroot#:~:text=A%20chroot%20on%20Unix%20and,outside%20the%20designated%20directory%20tree.">chroot system</a>, which was introduced in 1979. The system isolation feature that chroot provided paved the way for the evolution of container technology, starting from <a target="_blank" href="https://docs.freebsd.org/en/books/handbook/jails/">Free BSD jails</a> to <a target="_blank" href="https://www.oracle.com/solaris/technologies/solaris-containers.html">Solaris Containers</a> and finally leading to the introduction of <a target="_blank" href="https://linuxcontainers.org">Linux Container</a> in 2008. This version of container technology was the most stable at the time, and newer container technologies such as <a target="_blank" href="https://docs.warden.dev/">Warden</a> and Docker were built upon it due to its reliability.</p>
<h2 id="heading-what-is-docker"><strong>What is Docker?</strong></h2>
<p><a target="_blank" href="https://www.docker.com/">Docker</a> is an open-source technology that allows you to build, test, and deploy applications in isolated environments called containers by virtualizing the application layer of an operating system. Docker can also be used to refer to a suite of tools and components that aid in the management of containers and are managed by the Docker community.</p>
<p>The term "container" is frequently used to refer to Docker due to its current level of adoption. However, there are still alternative containerization choices available, such as Linux containers. So why use Docker?</p>
<h3 id="heading-why-use-docker"><strong>Why use Docker?</strong></h3>
<p><a target="_blank" href="https://www.docker.com/">Docker</a> and other containerization technologies have the same fundamental concept of creating an isolated environment for applications. However, they differ in a few aspects, some of which include community support, architecture, and its suite of components.</p>
<p>Here are some reasons why you should use Docker;</p>
<ol>
<li><p><strong>Container Portability</strong>: Since the creation of the chroot system in 1979 till now the container technologies that have been made available have been everything but portable. For instance, LXC containers require configuration for specific environments due to kernel dependencies. On the other hand, Docker containers can run across different environments without any modifications.</p>
</li>
<li><p><strong>Automated Container Building</strong>: This is a feature that allows you to automatically build a Container image as you make changes to your application code repository.</p>
</li>
<li><p><strong>User Experience</strong>: Docker provides a range of tools, including Docker CLI and GUI, along with various components and features that make management and usage easier.</p>
</li>
<li><p><strong>Ecosystem and Orchestration</strong>: Docker is a cross-platform technology, which means that it has been made compatible with Windows, MacOS, Linux, and other operating systems. It also has strong support for container management and orchestration tools, such as Kubernetes and Docker Swarm.</p>
</li>
<li><p><strong>Strong Community Support</strong>: As of the time of writing, Docker is the leading container technology, with more than 4 million developers using the Docker desktop. Additionally, there are over 3,000 contributors and more than 105 billion container downloads.</p>
</li>
</ol>
<h2 id="heading-how-does-docker-work"><strong>How does Docker work?</strong></h2>
<p>Docker works by virtualizing the host operating system. It is usually compared to a virtual machine because of its method of virtualizing a layer of the OS, however, there are still some fundamental differences between the two. To get a better understanding of how Docker works, let’s take a look at these differences, and how an operating system works in relation to virtualization.</p>
<p>An operating system has two main layers;</p>
<p><img src="https://lh4.googleusercontent.com/PUP6HgsQUk5ZPW0v3e-D_35PR5Q3B0Jsp4WN516v_TduoTTw9GZUPwJwQibHtQGFcv_R_HUUpGsOal5u4s18Ayz-QUf6qDwjojjdkA16f0aYNmNng5fa585DElLILwagz9CLNeewHNI0CLIFynuZzs8" alt /></p>
<p><a target="_blank" href="https://www.mygreatlearning.com/blog/what-is-operating-system/"><em>A Kernel and Application Layer from The Great Learning Blog</em></a></p>
<ol>
<li><p><strong>Applications layer</strong>: This is where Applications are installed and run.</p>
</li>
<li><p><strong>OS kernel layer</strong>: This is the core of every operating system, and it is responsible for interacting with the hardware components and allocating system resources to the software components that run on the Application layer.</p>
</li>
</ol>
<p><img src="https://lh3.googleusercontent.com/IqOMunrApTjVrfmAh61cg7cjGgDJpEMnubUF5p4gMX4civrkzRap85-PQRYgN2W8hggucA3e82cPaLuJ9wJpK0u5SHoLU8qNIbOUqld_6g0EsB-t7CCV9MMBCzeck0br2j1bITF7zxQZUpSfFAaRmDk" alt /></p>
<p><a target="_blank" href="https://upload.wikimedia.org/wikipedia/commons/0/0a/Docker-containerized-and-vm-transparent-bg.png"><em>Containers vs Virtual Machines from Wikimedia</em></a></p>
<p>The main difference between virtual machines and Docker is that the former virtualizes both the OS kernel layer and the application layer, while the latter only does so for the application layer. This makes Docker packages or images occupy less disk space and run faster than virtual machines, which require more space and take more time to boot.</p>
<p>One challenge that Docker encounters with its method is compatibility, unlike virtual machines. For instance, attempting to run a Linux image on a Windows or macOS operating system would not be feasible. This is because Linux images require a Linux kernel for proper functionality.</p>
<p>One reason for this is that Docker was initially developed only for Linux. However, they introduced a solution for other operating systems to make use of Docker, and it is known as Docker Desktop. This application utilizes a hypervisor, which is software that creates and runs virtual machines, in combination with a lightweight Linux distribution in order to create Linux images.</p>
<h3 id="heading-docker-components-and-tools"><strong>Docker components and tools</strong></h3>
<p>Some of the tools you’ll encounter while using docker include;</p>
<ol>
<li><p><strong>Docker File</strong>: This is a text file that contains a list of command line instructions on how to build a Docker image.</p>
</li>
<li><p><strong>Docker Image</strong>: A Docker image contains your application's source code and all the tools and dependencies it needs to run as a container. Usually, developers get their images from repositories like Docker Desktop or build them from scratch.</p>
</li>
<li><p><strong>Docker Container</strong>: This is basically a running instance of an image.</p>
</li>
<li><p><strong>Docker Deamon</strong>: This is the background service that allows you to create images, run containers, monitor containers, and handle communication between containers.</p>
</li>
<li><p><strong>Docker Registry</strong>: This is like a huge online library that stores Docker images and allows anyone to access these images. Developers and organizations can also upload their own images and make them private.</p>
</li>
</ol>
<h2 id="heading-how-does-docker-fit-into-software-development"><strong>How does Docker fit into software development?</strong></h2>
<p>You’ve understood how Docker works, now let's get into its practical application in software development. When including docker in your development workflow, your Process  should look like this;</p>
<ol>
<li><p><strong>Conceptualization</strong>: You decide what you want to build, the Tech stack of your choice, and the features of your software.</p>
</li>
<li><p><strong>Setting Up Your Development Environment</strong>: You set up your directory that includes the files for your application in your desired development environment (Vscode, Sublime Text). You also need to install the Docker desktop application on your machine.</p>
</li>
<li><p><strong>Dockerizing your application</strong>: You create a docker file for different components of your application (frontend and backend). Your docker file would include instructions on how to build a docker image, and it would include instructions that copy your software code and dependencies into the image.</p>
<p> With your docker in place, you also get to use tools like docker-compose, which helps in the management of multi-container applications and your development environment. In simple terms, docker-compose helps you manage the different containers that make up your application and ensures that they are properly linked together (frontend, Backend, and database services).</p>
</li>
<li><p><strong>Code and Debug</strong>: At this stage, you write the code for your application and run it using docker-compose.</p>
</li>
<li><p><strong>Version Control</strong>: This is where Git integration comes in, you can also make use of any Repository of your choice (Github, Gitlab, Bitbucket), For the purposes of collaboration and code storage.</p>
</li>
<li><p><strong>Deployment</strong>: At this stage, you deploy your finished application to a production environment. Now, when deploying a small-scale application, you most likely use a single server, but for large-scale applications, you would make use of multiple servers for the sake of scalability, or choose to go serverless by using cloud-based services like AWS and Azure.</p>
</li>
</ol>
<h2 id="heading-conclusion"><strong>Conclusion</strong></h2>
<p>Docker is no doubt a valuable tool, it has streamlined the process of developing and deploying software for developers. Also, it has become an essential tool in the DevOps field alongside other CI/CD tools (tools used to automate repetitive tasks and speed up the software development process).</p>
<p>To learn more about Containers and Docker, check out the following resources;</p>
<p><a target="_blank" href="https://www.ibm.com/topics/docker">What is Docker by IBM</a></p>
<p><a target="_blank" href="https://www.sitepoint.com/docker-containers-software-delivery/">Understanding Docker Containers by Lucero del Alba</a></p>
<p><a target="_blank" href="https://docker-curriculum.com/#introduction">A Docker Tutorial for Beginners</a></p>
]]></content:encoded></item><item><title><![CDATA[What is a Blockchain Node provider]]></title><description><![CDATA[A Guide to understanding Blockchain Node Providers]]></description><link>https://therevealer.hashnode.dev/what-is-a-blockchain-node-provider</link><guid isPermaLink="true">https://therevealer.hashnode.dev/what-is-a-blockchain-node-provider</guid><category><![CDATA[Web3]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[Software Engineering]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Tue, 10 Jan 2023 21:04:30 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/8GXpptuzqBw/upload/417bcca6553b52431dc4a55b586f971c.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Setting up and maintaining a node can be quite challenging, especially if your business depends on the blockchain. This problem has paved the way for a section in the blockchain industry, Node providers. These companies provide a way for you to access and make use of the blockchain without having to do the hard work associated with running and maintaining a node.</p>
<p>In this article, we would understand what a node provider is and how it works.</p>
<h1 id="heading-what-is-a-node"><strong>What is a node</strong></h1>
<blockquote>
<p><em>A node is any electronic device connected to a blockchain and possesses an IP address. - Origin Stamp</em></p>
</blockquote>
<p>Gadgets like watches, routers, laptops, and mobile phones all serve as communication endpoints while connected to the internet despite having different functions.</p>
<p>This is no different for the blockchain, in the sense that different nodes have different functions. Some nodes store transaction records while others can only send and receive cryptocurrency.</p>
<h3 id="heading-nodes-in-a-blockchain-network"><strong>Nodes in a blockchain network</strong></h3>
<p>The Blockchain is unique because of its decentralization, which is a property that allows it to transfer a network's power from a single entity to everyone linked to it. This is made possible via nodes; the number of nodes a blockchain has connected to it determines how secure and decentralized it is.</p>
<p>When you hear about blockchain hacks, what it means on some occasions is that hackers gained access to the majority of the nodes in the network and manipulated them, this is also known as the <strong><em>51% attack</em></strong> and it usually occurs in blockchains that have fewer nodes.</p>
<p>It is essential to keep in mind that different nodes in a blockchain network perform a variety of tasks; some are responsible for recording every transaction, some for confirming transactions, and others are just able to process transactions.</p>
<h2 id="heading-types-of-nodes"><strong>Types of Nodes</strong></h2>
<p>Blockchain nodes are divided into two main types: full and partial nodes. They are further divided into different unique types of nodes but we won’t be going into that in this article.</p>
<h3 id="heading-full-nodes"><strong>Full nodes</strong></h3>
<p>These are usually computers that store the entire blockchain data, Ethereum, for example, is 891.60GB in size, which means an Ethereum full node has the capacity to store that amount of blockchain data. When a new block is mined, full nodes check that the block is genuine before adding it to the blockchain.</p>
<p>It is important to note that a blockchain <strong>mining node</strong> (Blockchain Miner) is different from a <strong>full node</strong>, a miner is responsible for <strong><em>verifying</em></strong> <em>transactions and mining new blocks</em>, but a full node <strong><em>stores</em></strong> <em>the blockchain and verifies blocks</em>, it can become a miner if it has mining software too.</p>
<p>Let’s make this clearer👇🏼👇🏼</p>
<blockquote>
<p>A full node needs a huge amount of storage to store the blockchain, you can use your personal computer as a full node, you’ll just need enough memory space.</p>
</blockquote>
<p>On the other hand</p>
<blockquote>
<p>A miner needs a considerable amount of computing and processing power to mine blocks of transactions. You can’t use your personal computer to mine a block, you’ll need more computing power and electricity.</p>
</blockquote>
<h3 id="heading-partial-or-light-nodes"><strong>Partial or light nodes</strong></h3>
<p>These are usually mobile devices that are only capable of making transactions. It stores only a part of the blockchain that allows it to make and process transactions. This node is used mainly for wallet and Decentralized application (Dapp) purposes.</p>
<p>Light nodes only download block headers; they don't download the entire block. Only a summary of the contents of the blocks is provided in these headers. The light node requests a full node for any additional information it needs.</p>
<h2 id="heading-how-to-deploy-a-node"><strong>How to deploy a node</strong></h2>
<blockquote>
<p>Running a node means that you should have a node software running on a dedicated machine and constantly online.</p>
</blockquote>
<p>A home computer can run a node, but an industry-standard machine will provide your node with better performance. However, when selecting hardware, the blockchain should be taken into consideration. Different blockchains have various specifications.</p>
<p>To Run an Ethereum node for instance you’ll need to fulfill these hardware requirements;</p>
<ol>
<li><p>4 - 8 GB of RAM.</p>
</li>
<li><p>2 TB SSD.</p>
</li>
<li><p>Intel NUC, 7th Gen or higher.</p>
</li>
<li><p>Wired internet connection.</p>
</li>
<li><p>Display screen and keyboard.</p>
</li>
</ol>
<p>You also should be able to use the command line interface or download the <strong>DappNode</strong> operating system to your computer in order to fulfill the software requirements. <a target="_blank" href="https://ethereum.org/en/developers/docs/nodes-and-clients/run-a-node">Click here</a> for further details on how to manage an Ethereum node.</p>
<h2 id="heading-node-providers"><strong>Node Providers</strong></h2>
<p>Node providers run node software/clients behind the scenes eliminating the need to do it natively. Instead of interacting with the blockchain mainet or test net. We send transaction requests to node providers using an API, and these node providers in turn interact with the blockchain to perform the given API instructions.</p>
<h3 id="heading-benefits-of-node-providers"><strong>Benefits of Node Providers</strong></h3>
<ul>
<li><p>They remove the complexity of scripting or coding.</p>
</li>
<li><p>They allow us to focus more on building scalable and performance-oriented products.</p>
</li>
<li><p>Integration with node providers is as easy as changing one line of code.</p>
</li>
<li><p>With a single API call, you can integrate multiple API instructions on a node provider without having to write code.</p>
</li>
</ul>
<h3 id="heading-drawbacks-of-node-providers"><strong>Drawbacks of Node Providers</strong></h3>
<p>Node providers are centralized networks. This means that if you’re building a product that prioritizes decentralization, it would be best if you run your own node.</p>
<p>You don't have complete control over your node because node providers have restrictions on the types of customization they allow and have established rules.</p>
<h2 id="heading-examples-of-node-providers"><strong>Examples of node providers</strong></h2>
<p>Some of the popular node providers we have are;</p>
<h3 id="heading-alchemyhttpswwwalchemycom"><a target="_blank" href="https://www.alchemy.com"><strong>Alchemy</strong></a></h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673363316953/67fd45a9-0fb5-4017-82b3-86a6e854ab04.png" alt class="image--center mx-auto" /></p>
<p>Trusted by some of the biggest tech companies including, Adobe, Coinbase, Aave, Open sea, and so on. Alchemy has processed over 30 billion in transaction volume and has over 10 million users. It provides one of the fastest node services called the <strong>supernode</strong> and has one of the biggest free tiers.</p>
<h3 id="heading-infurahttpswwwinfuraio"><a target="_blank" href="https://www.infura.io"><strong>Infura</strong></a></h3>
<p>Also known as one of the most popular node providers for Ethereum, with over 350,000 developers using its service Infura provides a suite of APIs and tools that gives access to the <strong>IPFS network</strong>.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673363620193/f7772ecf-29b5-45d0-82e4-a5cf4636512a.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-quicknodehttpswwwquicknodecomutmtermquicknodeandamputmcampaignbrandandamputmsourcegoogleandamputmmediumcpcandamphsaacc1365030395andamphsacam13601893599andamphsagrp125588458724andamphsaad528919518711andamphsasrcgandamphsatgtkwd-972169075647andamphsakwquicknodeandamphsamteandamphsanetadwordsandamphsaver3andampgclidcj0kcqiatvsdbhd0arisapf8onkf6uckmle9hyhlfxdxm3jelppoxararoocnouuuab3cax8ylrbmoaaus7ealwwcb"><a target="_blank" href="https://www.quicknode.com/?utm_term=quicknode&amp;utm_campaign=Brand&amp;utm_source=google&amp;utm_medium=cpc&amp;hsa_acc=1365030395&amp;hsa_cam=13601893599&amp;hsa_grp=125588458724&amp;hsa_ad=528919518711&amp;hsa_src=g&amp;hsa_tgt=kwd-972169075647&amp;hsa_kw=quicknode&amp;hsa_mt=e&amp;hsa_net=adwords&amp;hsa_ver=3&amp;gclid=Cj0KCQiAtvSdBhD0ARIsAPf8oNkf6UC_kMLE9hYhLFxdxM3jELppoXaRAROocnOUuuab3CaX8YLRbMoaAuS7EALw_wcB"><strong>Quicknode</strong></a></h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673363609677/3a15b450-0fb8-4753-9d71-ca0679a21366.png" alt class="image--center mx-auto" /></p>
<p>Founded in 2017, Quicknode provides lighting speed access to eleven blockchain networks. They offer elastic and dedicated nodes for your apps and Dapps. They also provide real-time node analytics and customization</p>
<h3 id="heading-moralishttpsmoralisioutmsourcegadsandamputmcampaign17592653463andamputmmedium143799510848andampnetworkgandampdevicecandampgclidcj0kcqiatvsdbhd0arisapf8onlye4tf1vvqtdmp3ikk2mi7vbrhtp3bwehhgb9sdmuqcxvikqhih0aasooealwwcb"><a target="_blank" href="https://moralis.io/?utm_source=gads&amp;utm_campaign=17592653463&amp;utm_medium=143799510848&amp;network=g&amp;device=c&amp;gclid=Cj0KCQiAtvSdBhD0ARIsAPf8oNlYE4TF1vVqtdMP3iKK2mI7VBRH_Tp3bwEhHGB9SDMuQcxVikqHiH0aAsOoEALw_wcB"><strong>Moralis</strong></a></h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673363595010/113c697e-e55d-4236-bd5f-bd45a6f4c013.png" alt class="image--center mx-auto" /></p>
<p>Moralis provides backend tools for blockchain Dapps, it provides support for Ethereum, Binance, and polygon. It also has an SDK that allows you to query data from different blockchains.</p>
<h3 id="heading-conclusion"><strong>Conclusion</strong></h3>
<p>Blockchain node providers have changed the way we interact with the blockchain, with a single API call they can perform multiple API instructions at the same time. There are several other node providers that are not mentioned in this article, some of which might pick your interest, so, I'll advise you make detailed research before picking anyone.</p>
]]></content:encoded></item><item><title><![CDATA[The Blockchain Trilemma]]></title><description><![CDATA[In October 2008 bitcoin released its whitepaper, it addressed a technology that was focused on creating a trustless system of electronic transactions...]]></description><link>https://therevealer.hashnode.dev/the-blockchain-trilemma</link><guid isPermaLink="true">https://therevealer.hashnode.dev/the-blockchain-trilemma</guid><category><![CDATA[Blockchain]]></category><category><![CDATA[Web3]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Thu, 25 Aug 2022 19:05:59 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1661449680300/Q76kTHxV_.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In October 2008 bitcoin released its whitepaper, it addressed a technology that was focused on creating a trustless system of electronic transactions, which includes decentralization and security, but little attention was paid to scalability.  However, for a blockchain to function efficiently it should be able to provide solutions for decentralization, security, and scalability simultaneously. The inability to do this is the blockchain trilemma.</p>
<h2 id="heading-what-is-the-blockchain-trilemma">What is the blockchain trilemma?</h2>
<blockquote>
<p>A trilemma is a difficult choice from three options, each of which is unacceptable or unfavorable ~ Wikipedia</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661454250933/GND091yc7.png" alt="scalabilty1.png" /></p>
<p><a target="_blank" href="https://medium.com/logos-network/everything-you-know-about-the-scalability-trilemma-is-probably-wrong-bc4f4b7a7ef">Source</a></p>
<p>The blockchain trilemma is the challenge faced by developers when trying to build a blockchain network that is secure, scalable, and decentralized without picking one over the other.</p>
<p><em>The blockchain trilemma consists of three parameters;</em></p>
<h4 id="heading-decentralization">Decentralization</h4>
<p>This is the main interest of blockchain tech, the ability to distribute computing power and authority across every node in the blockchain network, thereby eliminating single entity authority.</p>
<h4 id="heading-security">Security</h4>
<p>The ability of a blockchain to prevent bugs and external attacks. </p>
<h4 id="heading-scalability">Scalability</h4>
<p>The ability of a blockchain to process more transactions as new users are being added to the network and to accommodate future growth when updates to the blockchain are due to be made.</p>
<p><em>Decentralization</em> and <em>security </em>are non-negotiable for a blockchain network to thrive, this has made big blockchain projects like Bitcoin and Ethereum prioritize them both above <em>scalability</em>. On the other hand, private blockchains like Hyperlegder fabric are scalable and secure but centralized. Also, blockchain projects that have prioritized decentralization and scalability over security are usually targeted by hackers and malicious actors.</p>
<h2 id="heading-what-is-blockchain-decentralization">What is blockchain decentralization?</h2>
<p>Decentralization is the backbone of blockchain technology; the transfer of authority and computing power from a single entity to a network of nodes (computers connected to the blockchain network). This single concept has brought about a revolution in the tech ecosystem.</p>
<p>Decentralization eliminates the need for a middleman or third party. Let's compare centralized and decentralized finance to solidify our understanding. When using a bank to make transactions, you must receive authentication and verification from the bank before the transaction reaches the intended recipient; occasionally, these transactions are turned down. Decentralized finance, on the other hand, offers financial tools without relying on middlemen exchanges or banks by using smart contracts on a blockchain, This makes transactions censorship resistant.</p>
<p>Nodes, rather than a single organization, carry out transaction authentication and verification in a decentralized network. This means that when a transaction is made and broadcast to a blockchain network, a majority of the computers connected to the network must come to an agreement (a consensus) to decide whether the transaction is valid or not. This process is known as "blockchain mining." As more miners attempt to validate transactions through consensus, the speed of transactions tends to slow down.</p>
<h2 id="heading-what-is-blockchain-security">What is blockchain security?</h2>
<p>As more nodes are added to the network, transactions would need to be validated by each member node, slowing down the network's pace but making it more safe and resistant to manipulation. The more decentralized a blockchain network is, the more secure it becomes.</p>
<p>On the other hand, blockchain networks that are centralized are more prone to manipulation and attacks as they have a limited number of nodes. Hackers frequently target networks like this, attempting to access more than 50% of their mining power. This is called a <strong>51% attack</strong>.</p>
<h2 id="heading-what-is-blockchain-scalability">What is blockchain scalability?</h2>
<p>Scalability is the ability of the blockchain to accommodate large amounts of transactions and future growth. Although a blockchain network can be secure and decentralized, if it is not scalable, it will function poorly as more users adopt it, and adding future updates to the blockchain would cause its performance to suffer. </p>
<p>The only way blockchains can compete with centralized platforms is through scalability. For instance, while Visa handles about <em>1700 transactions per second</em>, bitcoin processes only <em>4.6 transactions per second</em>. Here, we can see that scalability is a constraint to the widespread use of blockchain technology.</p>
<p>Fortunately, scaling solutions and blockchains are being developed expressly to address the issue of transaction capacity, and progress is being made in overcoming blockchain's scaling limitations.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Understanding some of the concepts in this post may be difficult if you're new to web3. This is totally normal. I would encourage you to do some research and, if you can, reach out to people. You can also reach me on <a target="_blank" href="https://twitter.com/therevealerDev">Twitter</a>.</p>
<p>In the next article, I'll be addressing some of the blockchain scaling solutions, you can also drop questions in the comment section. I look forward to seeing you in the next article.</p>
]]></content:encoded></item><item><title><![CDATA[Hello Web3👀 - An introduction to a new series]]></title><description><![CDATA[A series to understand complex web3 concepts.]]></description><link>https://therevealer.hashnode.dev/hello-web3-an-introduction-to-a-new-series--deleted</link><guid isPermaLink="true">https://therevealer.hashnode.dev/hello-web3-an-introduction-to-a-new-series--deleted</guid><category><![CDATA[Blockchain]]></category><category><![CDATA[Web3]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Mon, 15 Aug 2022 22:39:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1660531058021/U1WwDss3Q.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I've been studying the web3 space for a while now and I think its important to document my learnings. An average person would think that web3 is just about <strong>Cryptocurrencies</strong> and <strong>NFTs</strong> but that is not true, there is a lot more to web3 than you think. Hence this series.</p>
<h3 id="heading-what-is-the-series-about">What is the series about?</h3>
<p>In this series, we will be exploring different <strong>complex blockchain concepts</strong> and they will be <em>simplified</em> as much as possible. Articles would be kept <em>short</em>, for easy processing and understanding. There are no prerequisites required, all you need is the willingness to learn and make additional research.</p>
<p>We'd be exploring the following topics ;</p>
<ul>
<li>Layer 1 and Layer 2 blockchains.</li>
<li>Blockchain scaling solutions.</li>
<li>Block Explorers.</li>
<li>EVM and Non-EVM Blockchains.</li>
<li>Authorization and identity applications.</li>
<li>File Storage in web3.</li>
<li>Smart contract languages.</li>
<li>Software developer kits (SDKs) and Protocols.</li>
<li>Frontend development Languages.</li>
<li>Blockchain Oracles.</li>
<li>Blockchain Development Environments.</li>
<li>Node Providers.</li>
<li>Web3 libraries.</li>
</ul>
<h3 id="heading-conclusion">Conclusion</h3>
<p>More topics might be added as we proceed with the series, If you noticed I didn't add anything about NFTs and Cryptocurrencies. Like I said earlier there is more to web3, in the next few weeks we'd be exploring web3. <strong>Welcome</strong> to my first series🤝, I look forward to seeing you in the next article.</p>
]]></content:encoded></item><item><title><![CDATA[How to know if you're Ready to Apply for Jobs]]></title><description><![CDATA[Talking about tech in general, there are lots of resources available on the internet to help you become a Software developer]]></description><link>https://therevealer.hashnode.dev/how-to-know-if-youre-ready-to-apply-for-jobs</link><guid isPermaLink="true">https://therevealer.hashnode.dev/how-to-know-if-youre-ready-to-apply-for-jobs</guid><category><![CDATA[software development]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[ui ux designer]]></category><category><![CDATA[technology]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Sat, 16 Jul 2022 02:14:14 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1657851356585/Zhox5EUAt.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Talking about tech in general, there are lots of resources available on the internet to help you become a Software developer, UI/UX Designer, and so on. The goal of using these resources is to actually make you ready to start working in the industry as soon as possible. But, how do you know you’re ready to apply for Jobs?</p>
<p>Learning a programming language is awesome and watching a 10hour youtube course is also cool, but these things are not how we actually measure if you are job ready or not. In this article, I’ll show you how to know if you’re job ready or not.</p>
<h2 id="heading-how-to-know-if-youre-job-ready">How to know if you're Job Ready</h2>
<p>To know if you’re job ready, you should first ask yourself the following questions, the answers will determine if you’re job ready or not.</p>
<h3 id="heading-1-can-you-build-a-project-without-a-step-by-step-tutorial">1. Can you build a project without a step-by-step tutorial?</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1657850439755/ZtcsVEpuy.png" alt="Tutorial.png" />
It’s easy for you to build anything when following a youtube tutorial or an udemy course, you are <strong>guided</strong> by the instructor and all you have to do is follow along. This is not the same as someone else who built something on his/her own.</p>
<p>Am not saying you shouldn’t Google stuff or do some <strong>research</strong> when building a project, that’s perfectly normal. What am saying is that you should be able to exhibit some level of <strong>confidence</strong> when building projects on your own. </p>
<h3 id="heading-2-do-you-have-the-in-demand-skillset">2. Do you have the in-demand skillset?</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1657852282115/rx4SypW_4.png" alt="Skillset.png" /></p>
<p>Let’s say you’re a developer and you have experience writing <em>HTML</em>, <em>CSS</em>, and <em>PHP</em>. It’s not bad but, this is not what recruiters are looking for. You have to know what <strong>recruiters</strong> are looking for and then update your <strong>skillset</strong>. Learn Something like <em>React</em>, <em>Typescript</em>, and tools are currently in demand. These depend on your field tho.</p>
<h3 id="heading-3-are-you-applying-because-of-pressure">3. Are you applying because of pressure?</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1657852086037/TfTtxCGzE.png" alt="Pressure.png" /></p>
<p>So you’ve been learning Javascript for three months now and you felt because you watched a <strong>YouTuber</strong> that said you can become a Javascript developer in three months and earn six figures, you decided to start applying for Jobs. That’s a NO NO!</p>
<p>Am not saying this isn’t possible, we all have different timelines. But, there is a high probability that during this three-month period you won’t have built enough projects to solidify your <strong>confidence</strong> and <strong>experience</strong>. Take your time and build a <strong>solid foundation</strong>, it might take a while but it would be worth it.</p>
<h3 id="heading-4-do-you-fill-50-of-the-job-description">4. Do you fill 50% of the job description?</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1657852964612/kNiXQHoVq.png" alt="checkbox.png" /></p>
<p>Most of the job opportunities you'll come across won't be 100% your fit, but this doesn’t stop you from applying. If you fill at least 50% of the job description <strong>Apply</strong>.</p>
<p>Even if there are new technologies you have to learn <strong>Apply</strong> if you've built a solid foundation with similar technologies beforehand <strong>transitioning</strong> won't be difficult. As a matter of fact, you have nothing to lose, the worst thing that could happen would be a <strong>rejection email</strong> or you actually getting the <strong>Job</strong>.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Thank you for reading to this point.</p>
<p>I would love to connect on <a target="_blank" href="https://twitter.com/therevealerDev">Twitter</a></p>
]]></content:encoded></item><item><title><![CDATA[My Experience in the virtual world built on Ethereum.]]></title><description><![CDATA[I visited Decentraland, a virtual world powered by the Ethereum blockchain, and I’ll be sharing my experience in this article.]]></description><link>https://therevealer.hashnode.dev/my-experience-in-the-virtual-world-built-on-ethereum</link><guid isPermaLink="true">https://therevealer.hashnode.dev/my-experience-in-the-virtual-world-built-on-ethereum</guid><category><![CDATA[Web3]]></category><category><![CDATA[Blockchain]]></category><category><![CDATA[Cryptocurrency]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Wed, 22 Jun 2022 04:54:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1655303278795/Tzze7O8ua.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I’ve always been a big fan of 3D animation, so when I learned about Metaverse tech, I naturally got in the flow. If you’ve been wondering what it feels like to be inside a virtual world, you came to the right place.</p>
<p>I visited Decentraland, a virtual world powered by the Ethereum blockchain, and I’ll be sharing my experience in this article.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655869863147/7sEXzR62t.png" alt="Talking.png" /></p>
<h2 id="heading-what-is-decentraland">What is Decentraland?</h2>
<p>Decentraland is a <strong>decentralized</strong> 3D virtual platform where users can build,*** explore***, and <strong><em>create</em></strong> things in the <strong>virtual space</strong>. You get to play games, buy plots of land host and attend events all in the virtual space.</p>
<p>Unlike every other virtual platform, it is powered by the <strong>Ethereum blockchain</strong> and it has its native cryptocurrency token💰 (MANA), which powers the economy in the platform. You can buy lands, wearables, and NFTs with the MANA Token.</p>
<h2 id="heading-my-experience">My Experience.</h2>
<p>I entered the <a target="_blank" href="https://decentraland.org">Decentraland</a> website link in my chrome browser, the program required that I connect my <strong>web3 wallet</strong> to make transactions and to fully enjoy the platform, this is not usually a simple task for a web3 noob.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655870126483/Dfm7DVgtH.png" alt="Wallets.png" /></p>
<p>I didn’t have one so I logged in as a guest, which had limited experience tho. After setting up my avatar, I was ready to explore the multiverse😂.</p>
<h3 id="heading-my-first-steps">My first steps</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655870321139/GpShhIePK.png" alt="Genesis.png" /></p>
<p>I was teleported to Genesis plaza, a place in the center of Decentraland. The music I received as a welcome was lit, gentle, and soothing to the ears. The place had <strong>portals</strong> that could be used to <strong>teleport</strong> to events and different parts of Decentraland.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655870506040/ekCurn8m-.png" alt="Pool.png" /></p>
<p>I was given a quick tutorial by a robot, after that, I had a look around the plaza then I decided to jump inside the pool. It felt like a kind of transport mechanism, it took me to another part of decentraland, a Bar.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655870595521/ZOb4JrFcF.png" alt="Bar.png" /></p>
<p>I saw myself in a bar and the next thing I saw was a walking dogecoin😂, coming straight to where I was standing. I would be scared if it were real but it wasn’t, the giant dogecoin walked past me anyways. I saw an octopus as a bar attendant, I went up to him and we spoke for a while then I took the pool back to genesis plaza.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655870714220/VG8pUdphQ.png" alt="beach.png" /></p>
<p>I clicked on one of the events then I appeared on a beach, the music there was dope too but the place felt lonely, I was the only one on the whole beach. I watched a video of a lady teaching yoga, and after a short while, I used a map to get back to the plaza.</p>
<h3 id="heading-my-final-steps">My final steps</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655871026928/xwi0PxDU9.png" alt="clicked.png" /></p>
<p>I wanted to interact with people so I search for events with a huge gathering of people and clicked it, then I appeared in a big hall with some very funny-looking figures. I saw a couple of people and tried interacting with them. it was difficult, it was as if everyone was deaf.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655871062384/nxE7AYWkK.png" alt="interact.png" /></p>
<p>After trying to interact with different people and failing, I took a portal out of the place. I appeared in front of a very nice-looking building, it was owned by <a target="_blank" href="https://airdrop.com">airdrop</a>, I took a look around the building and noticed how well-built it was.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1655871092690/T-OS7U7D8.png" alt="airdrop.png" /></p>
<p>I had been in decentraland for over 15 mins so I logged out and shut down my chrome browser.</p>
<h2 id="heading-my-reviews">My Reviews.</h2>
<h3 id="heading-excellent-sound-engineering">Excellent sound engineering.</h3>
<p>The welcome music for any place I entered was pretty impressive, it aligned with the environment. Also, every physical and naturally occurring element sounded real, the water felt real, and the sound of walking sounded real.</p>
<h3 id="heading-low-interaction">Low Interaction.</h3>
<p>Decentraland has a lot of space, and some places are empty, I guess it’s because not many people log in every day. You’d have to walk long distances before meeting with a single person, and even when you meet that person interacting is another difficult thing.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Decentraland is still in its early stage and it still has a long way to go. The idea of building and owning virtual properties is really impressive. The community currently has some ongoing projects like making a <strong>desktop version</strong> of the software available.</p>
<p>With its growing community and its native cryptocurrency token (MANA) already listed on Binance, it has a promising future.</p>
]]></content:encoded></item><item><title><![CDATA[HOW CRYPTOCURRENCY ACTUALLY WORK - Everything you need to know]]></title><description><![CDATA[The concept of Cryptocurrencies is no doubt overwhelming. Explaining one term leads to introducing more strange terms.]]></description><link>https://therevealer.hashnode.dev/how-cryptocurrency-actually-work-everything-you-need-to-know</link><guid isPermaLink="true">https://therevealer.hashnode.dev/how-cryptocurrency-actually-work-everything-you-need-to-know</guid><category><![CDATA[THW Web3]]></category><category><![CDATA[Web3]]></category><category><![CDATA[Cryptocurrency]]></category><category><![CDATA[Cryptography]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Wed, 04 May 2022 23:09:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1651705444962/3UD4p-sKc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>The concept of <strong>Cryptocurrencies </strong>and the <strong>Blockchain</strong> is no doubt overwhelming. For the past month, I have dedicated myself to the study of these topics, and I can attest to this. Explaining one term leads to introducing more strange terms and a simple explanation ends up being compounded.</p>
<p>This is the reason cryptocurrency is hard to explain especially to beginners. In this article, I have broken it down into a beginner-friendly crash course, cryptocurrencies have a world of possibilities, If you've never considered investing in them, you might reconsider after reading this article.</p>
<h1 id="heading-origin-of-cryptocurrency">Origin of Cryptocurrency</h1>
<blockquote>
<p>On the 31st of October 2008, Satoshi Nakamoto published a whitepaper containing his vision of the first cryptocurrency, the BITCOIN.</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680331532/8gl17PeA6.png" alt="Satoshi white-paper.png" /></p>
<p>It’s okay if you don’t understand what Satoshi wrote, I didn’t understand it at first either. By the way, nobody knows who SATOSHI NAKAMOTO is; no one knows if it's a man, a woman, or a group of people, but I'll assume it's a man in this article.</p>
<p>On the <em>9th of January 2009</em>, he released the bitcoin software on <a target="_blank" href="https://sourceforge.net">Sourceforge</a>, a platform that manages open-source software. He made bitcoin an open-source software, which means anyone can contribute to it, the source code can be gotten on Github currently.</p>
<p>One thing was evident from what he wrote on his <a target="_blank" href="https://bitcoin.org/bitcoin.pdf">whitepaper</a>: he wasn't okay with banks handling his transactions any longer, and he wanted to build a system that would allow him to send money to his buddies without going through the bank. This gave birth to cryptocurrency.</p>
<h1 id="heading-what-is-a-cryptocurrency">What is a Cryptocurrency</h1>
<blockquote>
<p>A cryptocurrency is a digital asset or digital form of money.</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680778783/gIcnyuMGa.jpg" alt="Money.jpg" /></p>
<p>Cryptocurrencies are similar to regular currencies except that they're in digital form. If you check a physical money bill properly, you’ll notice they have unique serial numbers, cryptocurrencies are similar to these serial numbers. </p>
<p>Now, imagine you can tell someone that unique serial number without having to give them the physical money. That's what I mean when I say ‘’digital form of money’’. You should have seen pictures of cryptocurrencies as physical coins on. These pictures make a beautiful representation but a cryptocurrency is not a physical coin. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680826639/6vHqA6lyO.jpg" alt="Coins.jpg" /></p>
<p>If you're to ask "what makes up a Cryptocurrency?", the answer would be "Nothing". You can’t call them a thing, they are just a string of letters and numbers that give them a unique identity just like serial numbers. If you used to think of cryptocurrency as a thing then you should probably change that.</p>
<h1 id="heading-what-is-cryptography">What is Cryptography</h1>
<blockquote>
<p>Cryptocurrency makes use of a secure communication technique called cryptography… hence the prefix crypto in the word Cryptocurrency.</p>
</blockquote>
<p>Cryptography is a common form of communication among criminals, spies, and hackers. When you want to send a message to someone and only want the person to understand the contents of that message, cryptography is what you use.</p>
<p>Cryptography involves encryption the process of turning plain text into ciphertext (unreadable text) and decryption the process of turning ciphertext into plain text. It is used to secure and verify transactions on a cryptocurrency network.</p>
<p>There are three main types of cryptography;</p>
<ol>
<li>Symmetric encryption cryptography</li>
<li>Asymmetric encryption cryptography</li>
<li>Hash functions</li>
</ol>
<h2 id="heading-symmetric-encryption-cryptography">Symmetric encryption cryptography</h2>
<p>Also known as <strong><em>Secret key cryptography</em></strong>, It's called secret key because it makes use of one secret key to encrypt and decrypt a message. Let’s say you want to send a message to a friend without allowing anyone to know the contents of the message except your friend.</p>
<p>You both meet and agree on the technique, a technique that involves encrypting a letter by shifting a number of places forward in the 24 alphabets and decrypting it by shifting the same number of places backward. You both agree to use +2 as the number which is also called a <strong>key</strong>.</p>
<ul>
<li>You write a plain message = "I love writeathons"</li>
<li>You encrypt it using +2 as key ="K Nqxg ytkvgcvjqpu" </li>
<li>You send the message to your friend</li>
<li>Your friend decrypts it 2 steps backward = "I love writeathons"</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651703336966/OoLuM2gUb.webp" alt="Encryption-3.webp" /></p>
<p><em>Symmetric encryption illustration from <a target="_blank" href="https://teachcomputerscience.com/encryption">teachcomputerscience.com</a></em></p>
<h2 id="heading-asymmetric-encryption-cryptography">Asymmetric encryption cryptography</h2>
<p>Also known as <strong><em>Public Key Cryptography</em></strong>, it's a more secure cryptographic system that makes use of two different keys, a public key that can be known by anyone for encryption and a private key that can only be known by you for decryption. </p>
<p>Unlike symmetric cryptography where you can just meet and agree on what the key would be, this cryptographic system generates its keys from something called an <strong>Asymmetric algorithm</strong>, these keys are different but are mathematically linked together. </p>
<p>Its works like this when you use it to send a message to a friend.</p>
<ul>
<li>You write a plain text = "I love writeathons"</li>
<li>You encrypt it using your friend’s public key = 1adf8475ncm94rridi3r3c</li>
<li>You send the encrypted message to your friend</li>
<li>Your friend decrypts it using his private key = "I love writeathons"</li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651703364486/X7GlWpIzD.webp" alt="Encryption-4.webp" /></p>
<p><em>Asymmetric encryption illustration  from <a target="_blank" href="https://teachcomputerscience.com/encryption">teachcomputerscience.com</a></em></p>
<h2 id="heading-hash-functions">Hash functions</h2>
<p>Also known as <strong><em>Trapdoor functions</em></strong>, when you enter into a trap you can neither go backward nor forward, you can only stay the same way till you get saved. Hash functions work the same way except that there is no saving . It makes use of a <strong>hashing algorithm</strong> to convert plain text into something called a <strong>hash value</strong>.</p>
<p>When this algorithm receives input data, it converts it to a unique hash value, unlike the regular encryption-decryption cryptography, you can’t convert this hash value back to its original form again, it stays the same way, Hence the name <strong>Trapdoor</strong>.</p>
<p>One unique thing about hash functions is that no matter the size of input data it is given, it brings out the same length of the output. This means if you take the contents of a dictionary and a line of sentence and pass it both through a hashing algorithm it brings out the same length of data.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680894729/aCIsDFGhX.avif" alt="bitpanda.avif" /></p>
<p><em>Hash functions from <a target="_blank" href="bitpanda.com">bitpanda.com</a></em></p>
<h1 id="heading-how-cryptocurrency-transactions-work">How Cryptocurrency Transactions Work</h1>
<p>If you happen to have banks handle your transaction, you’d be provided with an account, to pay into that account you’ll make use of an account number then the bank charges you from time to time for making transactions.</p>
<p>Cryptocurrency makes use of cryptocurrency wallets instead of accounts and a cryptocurrency address that is generated from a public key acts as an account number. When you receive cryptocurrencies and want to access them you’ll need your private key, this is where <strong>public-key cryptography</strong> comes in. </p>
<p>Another unique thing about cryptocurrency is that instead of storing and verifying transactions in a bank it is stored and verified on a blockchain and these transactions can be viewed using a <strong>blockchain explorer</strong>.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680916638/cdcg99fnh.png" alt="Blockchain Explorer.png" /></p>
<h1 id="heading-the-blockchain">The Blockchain</h1>
<p>The blockchain is just a more secure system of storing information. This information could be about anything but usually, they are transactions. These transactions are bundled into blocks and these blocks are linked using <strong>cryptographic hash functions</strong>. Hence the word Blockchain.</p>
<p>Unlike banks that have a private database of information, the blockchain distributes its database to everyone connected to that network, this means anyone can see the transactions on a network at any point in time using a blockchain explorer. The blockchain also permits anyone to verify blocks of transactions, this process is called <strong>blockchain mining</strong>.</p>
<p>It is called mining because it is also the process by which new cryptocurrencies are produced, when someone verifies a block of transaction successfully they are given cryptocurrency coins as a reward. It is a process that requires a lot of computing power and electricity and this is one of the drawbacks of cryptocurrency.</p>
<p>A good example of how blockchain transactions work is <a target="_blank" href="https://txstreet.com/v/eth-btc">Txstreet</a>, a live transaction visualizer featuring Bitcoin and other cryptocurrencies, When a new transaction is broadcasted to a cryptocurrency network, a person appears and attempts to board a bus in real-time. If the transaction has a high enough fee, they will board the first bus and be ready to be included in the next mined block.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651680936379/B_kRUgCj4.png" alt="Tx Street.png" /></p>
<h1 id="heading-types-of-cryptocurrency">Types of Cryptocurrency</h1>
<p>They are different varieties of cryptocurrencies, just as they are different types of traditional currencies, such as the Dollar, Pounds, Euros, and so on. One of the most distinctive features of cryptocurrencies is that each one is unique in terms of design and purpose. Some cryptocurrencies are not designed to be actually used for everyday transactions.</p>
<p>Broadly speaking there are two types of cryptocurrency:</p>
<ol>
<li>Coins</li>
<li>Tokens</li>
</ol>
<h3 id="heading-coins">Coins</h3>
<p>Cryptocurrency coins have their own native blockchain, this means that they have their own system of storing and verifying transactions. Creating a blockchain network usually requires a lot of resources to build and maintain, This explains why there are more tokens than coins.</p>
<p> Amongst these coins include;</p>
<ul>
<li>Bitcoin</li>
<li>Ether</li>
<li>Dogecoin</li>
<li>Litecoin</li>
<li>Binance coin</li>
</ul>
<h3 id="heading-tokens">Tokens</h3>
<p>On the other hand, Tokens use other networks' blockchains instead of creating a native blockchain that requires a lot of resources. Whenever these tokens make transactions, they pay transaction fees to the blockchain network, it's more like you renting an apartment and paying rent instead of buying it.</p>
<p> Amongst these Tokens include;</p>
<ul>
<li>Non Fungible Tokens (NFTs)</li>
<li>Platform Tokens</li>
<li>Security Tokens</li>
<li>Transactional Tokens</li>
<li>Utility Tokens</li>
</ul>
<h1 id="heading-benefits-and-drawbacks">Benefits and Drawbacks</h1>
<p>Dealing with cryptocurrencies has a lot of benefits, but it also has a lot of drawbacks as well. Here are some reasons why you should invest in this technology and the drawbacks it has.</p>
<h2 id="heading-benefits">Benefits</h2>
<h3 id="heading-1-value">1. Value</h3>
<p>The value of cryptocurrency depends on the specific one, Bitcoin, for example, has an economic profile similar to gold, only a small amount of bitcoin is produced every day and the number of bitcoins received when a block of transactions is mined is cut in half every four years.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651681933854/hESmn6Ofr.jpg" alt="golden.jpg" /></p>
<p>Also, bitcoin has a maximum limit of 21 million, which means once the bitcoin in circulation reaches this limit, no bitcoins would be produced again, this time is estimated to be 120 years from now, which is one of the reasons the price of bitcoin rises every year as time gets close.</p>
<p>Ethereum on the other hand supports the building of applications and websites that can’t be shut down by anyone on its blockchain. When these apps and sites make transactions, they pay transaction fees to the Ethereum network, this makes Ethereum valuable as it’s becoming widely adopted.</p>
<h3 id="heading-2-security">2. Security</h3>
<p>Security for cryptocurrencies also depends on the specific one, cryptocurrencies are not built the same way. Some are built to prioritize other things over security and this usually gives the hackers a chance to commit cryptocurrency hacks.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651681005728/GMX2qtBLp.png" alt="Crypto hacks.png" /></p>
<p><em>Cryptocurrency hacks from <a target="_blank" href="https://techmonitor.ai">tech monitor</a></em></p>
<p>These hacks usually occur on cryptocurrency exchange platforms (A place to buy and sell crypto currency) and cryptocurrencies with a small ecosystem, usually, these hackers would try to gain access to half of the cryptocurrency network, if the network doesn’t have a lot of people connected to it the cryptocurrency hack would be a success.</p>
<p>Cryptocurrencies like bitcoin, ether, and lite coin have a very large ecosystem, this makes it difficult to hack, as computers all over the globe are constantly double-checking and verifying transactions. As I said earlier, security depends on the cryptocurrency, so, we can say that cryptocurrencies like bitcoin are very secure.</p>
<h3 id="heading-3-privacy">3. Privacy</h3>
<p>When you wanted to open a bank account, you were required to provide details like your name, phone number, address, father’s name, and so on. You are usually required to provide as much information about yourself as possible. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651681674239/JP_t5NaN7.jpg" alt="privacy.jpg" /></p>
<p>For cryptocurrency, you are only required to generate an address for your cryptocurrency wallet, no name, no phone number, and all that disturbing information the bank usually ask of you. You can make transactions without anyone knowing who you are or where you are from. <strong>Absolute privacy</strong>.</p>
<h2 id="heading-drawbacks">Drawbacks</h2>
<h3 id="heading-1-volatility">1. Volatility</h3>
<p>Unlike regular currencies that are backed up by the government, the value of cryptocurrency is driven by supply and demand, government regulations, and media hype. This has caused a lot of people to become millionaires overnight and also caused some others to go bankrupt.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651682910796/x1H_Ya7yS.png" alt="Volatility.png" /></p>
<p>For example, when the Chinese government announced in <em>the year 2021</em> that cryptocurrency transactions were illegal, Minning farms were shut down in the country and this caused the prices of cryptocurrency to drop.</p>
<p>Dogecoin's story is a perfect example of how media hype affects the price of cryptocurrencies. It started like every normal cryptocurrency start-up until the <em>20th of December 2020</em> when Elon Musk tweeted one-word “Doge”, shortly after, the value rose by <strong>20%</strong>.</p>
<p>Elon musk continued making dogecoin-related tweets, this caused its value to rise by another <strong>40%</strong>. Today dogecoin is the 12th most valuable coin in the world with a market capitalization of <strong>$16,984,477,946</strong>.</p>
<h3 id="heading-2-acceptance">2. Acceptance</h3>
<p>Most governments haven't figured out how to handle cryptocurrency yet, maybe it's because of its volatility or because they can’t put it under their control like traditional currencies, I don’t know. But they usually either ban it or make regulatory changes that affect the price in a lot of ways.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651684026339/eVXFkU8CA.jpg" alt="Gavel.jpg" /></p>
<p>Coupled with the fact that it’s a new technology and people are resistant to change. On the <em>21st of May 2021</em>, Tesla made an announcement that it would start accepting bitcoin as a form of payment then on the <em>12th of May</em> they changed their mind. </p>
<h3 id="heading-3-environmental-impact">3. Environmental Impact</h3>
<p>I mentioned earlier that cryptocurrency mining consumes a lot of computing power and electricity, which has a huge impact on the environment. As more computers join a cryptocurrency network to verify transactions, more electricity production is required.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1651683879628/mPERnXBN3.jpg" alt="Enivironment.jpg" /></p>
<p>In the US, Bitcoin mining creates an estimated <strong>40 billion pounds</strong> of carbon dioxide emissions. I am not very proficient in chemistry but I know carbon dioxide to be a dangerous chemical to living things, just imagine the effect of 40 billion pounds of it on the environment.</p>
<h1 id="heading-conclusion">Conclusion</h1>
<p>Cryptocurrency is a vast subject; everything you've read is only the tip of the iceberg; as I stated at the outset, this is merely a crash course. There's a lot more to it. There's a popular slang phrase that goes like this: "DYOR" (Do your own research).</p>
<p>I couldn't delve too deeply into some concepts for fear of making them difficult to grasp. If you want to learn more about crypto, the <a target="_blank" href="https://web3.hashnode.com">hashnode web3 blog</a> is a wonderful place to start. It has a handpicked team of exceptional web3 authors, so you should be fine to go from there.</p>
<p>So this is where I stop typing🙂; I'm a software engineer and a web3 enthusiast who is passionate about the possibilities that cryptocurrencies are creating in this age. In my next posts, I'll go over some more advanced concepts concerning cryptocurrencies and web3. On <a target="_blank" href="https://twitter.com/therevealerDev">Twitter</a>, I'd like to connect with more techies.</p>
<p>Please leave a comment and consider buying me a coffee if you found this article useful. <strong>#WAGMI</strong>🚀</p>
<p><a href="https://www.buymeacoffee.com/ebubechikaU"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&amp;emoji=&amp;slug=ebubechikaU&amp;button_colour=FFDD00&amp;font_colour=000000&amp;font_family=Comic&amp;outline_colour=000000&amp;coffee_colour=ffffff" /></a></p>
]]></content:encoded></item><item><title><![CDATA[How To Solve Coding Problems Like A Pro]]></title><description><![CDATA[According to Indeed, an American worldwide employment website for job listings, problem-solving skills are the 4th most important skill required]]></description><link>https://therevealer.hashnode.dev/how-to-solve-coding-problems-like-a-pro</link><guid isPermaLink="true">https://therevealer.hashnode.dev/how-to-solve-coding-problems-like-a-pro</guid><category><![CDATA[Productivity]]></category><category><![CDATA[Programming Tips]]></category><category><![CDATA[newbie]]></category><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Sat, 09 Apr 2022 02:25:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1649244313990/HmpC_VGDq.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>According to <strong>Indeed</strong>, an American worldwide employment website for job listings, problem-solving skills are the 4th most important skill required as a programmer.</p>
<p>Code is often written to solve a problem, when I mean problems I don't mean mistakes in your code, I mean real-world problems that require solutions. You should have at some point encountered problems in your code, how you solve these problems not only shows your level of experience as a developer but also speak volumes as to how much of the problem you comprehend.</p>
<p>In this article, I'll work you through 4 step framework on how to solve problems like a professional, we'll also solve a real problem to solidify our understanding.</p>
<h1 id="heading-understand-the-problem">Understand the problem</h1>
<blockquote>
<p>“If I had an hour to solve a problem I'd spend 55 minutes thinking about the problem and five minutes thinking about solutions.” -- Albert Einstein</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649233978615/5cveK7PxQ.png" alt="Understand.png" /></p>
<p>Most of the hard problems we encounter are only hard because we don't understand them, understanding a problem simply means you know what is wrong and what it takes to correct it, one of the ways to know if you understand a problem is to try explaining it in simple terms to yourself. </p>
<p>If you can't explain the problem in simple terms then you simply don't understand it, to understand a problem try this;</p>
<ul>
<li>Read the question.</li>
<li>Make your observations.</li>
<li>Ask relevant questions.</li>
</ul>
<p>We would understand this while solving the simple problem below.</p>
<p><strong><em>Execute using JavaScript </em></strong></p>
<blockquote>
<p>If your age is greater than or equal to 18, log a string like this to the 
console: ''I am eligible to vote ''. Otherwise, log a string like this
''I am not eligible to vote because am ''2 years'' below voting age'' (the 2 is the 18 
minus our current age)</p>
</blockquote>
<p><strong><em>We make the following observations </em></strong></p>
<ul>
<li>If signifies a conditional statement.</li>
<li>Greater than or equal to signifies a logical operator.</li>
<li>We are required to log into the developer console.</li>
<li>What does otherwise mean?;
<strong><em>Ans</em></strong> -- since there is an if statement otherwise should mean an else statement.</li>
<li>We are required to replace the ''2'' yrs with 18 minus our current age.</li>
</ul>
<h1 id="heading-divide-and-conquer">Divide and conquer</h1>
<blockquote>
<p>A problem well stated is a problem half solved.
-- John Dewey</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649234046652/zOSvCBElc.png" alt="Divide.png" /></p>
<p>This is a popular strategy used by the army, you can't defeat a large enemy? divide them into small portions either by distraction or by taking calculated risks then attack them accordingly. The same applies in programming except that we are not distracting anybody or taking any risk, calculated or not.😂</p>
<p>Don't try to solve one big problem at a time, Always divide it into subproblems instead, you'll save yourself time, and stress and it makes the problem much easier to solve. To continue solving our problem we;</p>
<ul>
<li>We define our current age.</li>
<li>We define the resultant age.</li>
<li>We implement the conditional statements and log the strings to the console.</li>
<li>We perform the alternative operation if our age is not up to 18</li>
</ul>
<h1 id="heading-research">Research</h1>
<blockquote>
<p>"Research is what I'm doing when I don't know what I'm doing."
-- Wernher von Braun</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649234080611/F62hnG1GW.png" alt="Research.png" /></p>
<p>Whether you admit it or not, you don't know everything, and when you find yourself constantly hitting a wall, that is the point where you take a break and research. There is no problem you would come across that someone else hasn't encountered or solved.</p>
<p>It would interest you to know that some of the programmers you look up to are good researchers. The bulk of the job you'll do as a programmer is researching, this can't be overemphasized. </p>
<p>One thing you should take into consideration when researching is that you don't find the solution to a  problem at once, especially when solving bigger problems, break the problem into sub-problems then make your research. What I mean is this, when we want to make  research the problem we were given in this article, it would look like this;</p>
<ul>
<li>How to define a variable in javascript</li>
<li>How to write conditional statements in javascript</li>
<li>How to log strings to the developer console</li>
</ul>
<h1 id="heading-write-pseudocode">Write Pseudocode</h1>
<blockquote>
<p>Pseudocode is the informal description of the actual code.</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649234129575/TdoGZZzA5.png" alt="Pseudocode.png" /></p>
<p>Pseudocode is code written for humans to understand, there are no rules when writing it, it's like writing in your customized programming language. Writing pseudocode aims to make the code easy to comprehend especially if someone else wants to go through your code.</p>
<p>Writing pseudocode might not be necessary when solving small problems like the one we have in this article but when solving bigger problems, writing pseudocode goes a long way to help simplify the problem.</p>
<p>The pseudocode for the problem we are solving would look like this.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649434969646/jNDGRl5Cf.png" alt="pseudo code.png" /></p>
<h2 id="heading-problem-solution">Problem solution</h2>
<p>We all have different approaches to solving a particular problem so my answer might differ from that of another.
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649436289071/KOwYXVUrr.png" alt="code.png" /></p>
<h1 id="heading-conclusion">Conclusion</h1>
<p>Problem-solving is a broad topic and I only tried my best to capture what makes a better problem solver in this article, you would not become a professional by just solving one problem NO!. It takes consistent practice, solving a lot of problems would make you a better problem solver.</p>
<p>A good place to start practicing coding problems right away is <a target="_blank" href="https://leetcode.com/"><strong>leetcode</strong></a>, there are over 2300 questions for you to practice and you also get to participate in contests to challenge yourself and earn rewards. They didn't sponsor this article, by the way, I just love the platform.</p>
<p>So this is where I stop typing🙂, I am a software engineer and a web3 enthusiast passionate about making productive developers, I plan on dedicating a couple of my next articles to educating people on the concept of cryptocurrencies and web3, would also love to connect with more techies on <a target="_blank" href="https://twitter.com/therevealerDev">Twitter</a></p>
<p>If you found this article useful kindly drop a comment.
<strong>WAGMI</strong>🚀</p>
<p><a href="https://www.buymeacoffee.com/ebubechikaU"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&amp;emoji=&amp;slug=ebubechikaU&amp;button_colour=5F7FFF&amp;font_colour=ffffff&amp;font_family=Poppins&amp;outline_colour=000000&amp;coffee_colour=FFDD00" /></a></p>
]]></content:encoded></item><item><title><![CDATA[What Is An API?]]></title><description><![CDATA[An API (Application Programming Interface) is a piece of a program that allows two or more application to communicate with each other.]]></description><link>https://therevealer.hashnode.dev/what-is-an-api</link><guid isPermaLink="true">https://therevealer.hashnode.dev/what-is-an-api</guid><category><![CDATA[newbie]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Developer]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Mon, 07 Mar 2022 09:25:31 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1649244439224/4eIVHJ6rc.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1 id="heading-introduction">Introduction</h1>
<p>Although the term API is commonly used in the tech industry, it is a long-phrase for what it does and not many people understand how it works. This post is for you if you've done your research or made use of it but only have a basic understanding of it. If you're like me and have no idea what I'm talking about, welcome home.</p>
<p>An API is a set of programming codes that allows you to query data, parse responses, and transfer commands between different software platforms. They're widely employed in a variety of sectors and contexts to provide data services.</p>
<p>Did you get anything out of it? No, me too, lol. In this article, we'll be tackling this topic in simplicity, so sit back and enjoy.</p>
<h1 id="heading-brief-history-of-the-api">Brief History of the API</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646607139005/Sm8nnOgDA.jpg" alt="API history.jpg" /></p>
<blockquote>
<p>The past is behind, learn from it.
                                                       -Thomas S. Monson.</p>
</blockquote>
<p>The API was conceived in the 1940s by two British computer scientists working on a software library for an early computer. The library's <strong><em>subroutines</em></strong> ( a sequence of program instructions that performs a specific task) were stored on  <strong><em>punched paper tape</em></strong> ( A form of data storage that consists of a long strip of paper in which holes are punched), which was kept in a filing cabinet.</p>
<p>A "<strong>library catalog</strong>" was also kept in this cabinet. It was called a library catalog because it instructs a programmer on how to use or ("call") each subroutine that the programmer need, this catalog is known today as an <strong>API documentation</strong>.</p>
<p>In the 1970s and 1980s, computer networks grew more common. The API was made more widely available. As programmers desired to access libraries not only on their computers but also on computers in other locations. RPCs (remote procedure calls) and web APIs were born as a result of this.</p>
<p>Fast forward to now, and the API has evolved into the modern web's communication backbone.</p>
<h1 id="heading-meaning-of-an-api">Meaning of an API</h1>
<blockquote>
<p>An API can be likened to a phone, it receives information from you and sends it to the other person,  when the person receives the information and responds accordingly it sends the response back to you -The Revealer</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646609106243/LTQRSA2tJ.jpg" alt="API Meaning.jpg" /></p>
<p>An API (Application Programming Interface) is a piece of a program that allows two or more applications to communicate with each other. In the same manner, you communicate with your friend through your <strong>words</strong> same way apps communicate through the <strong>API</strong>. </p>
<p>It allows your application to interact with an external service using a simple set of commands. It is a powerful and versatile means to connect diverse software applications, as it allows a wide range of software products to interact with one another.</p>
<p>The API has a unique characteristic in that it hides the technical details of how the app works, only exposing the parts that are relevant only to the programmer. When you use your uber app to get food, for example, you simply select the meal you want and press the order button. APIs interface with one another behind the scenes of the app to ensure you don't starve to death, lol.</p>
<h1 id="heading-how-an-api-works">How an API works</h1>
<p>An API is made up of different parts, to understand how it works we would need to understand each part individually.</p>
<h3 id="heading-api-calls">API CALLS</h3>
<p>This is the process of the <strong>client API</strong>(The application that wants to access the resource) submitting a request to the <strong>server API</strong> (The application providing the resource). When a request is submitted to the server, the API sends the resource to the client if the server has it but, if it does not it returns an error message.</p>
<h3 id="heading-request-methods">REQUEST METHODS</h3>
<p>Sometimes clients want the server to perform specific functions, they are called request methods. The four most basic types of them are; </p>
<pre><code>GET: To get a resource
<span class="hljs-attr">POST</span>: To create a <span class="hljs-keyword">new</span> resource
<span class="hljs-attr">PUT</span>: To edit or update an existing resource
<span class="hljs-attr">DELETE</span>: To <span class="hljs-keyword">delete</span> a resource
</code></pre><h3 id="heading-api-key">API KEY</h3>
<p>Have you ever imagined how companies like Google manage their API services to millions of people, that's where an API key comes in. An API key is like a user name and password that uniquely identifies you. Companies use it to manage and control the people making use of their API. When you make use of youtube's API for example, youtube would be able to control the number of requests you make per time and even track how you make use of it.</p>
<h3 id="heading-api-documentation">API DOCUMENTATION</h3>
<p>API documentation which is sometimes called an API specification shows the programmer what the calls and requests mean and how to use them. It is similar to a manual for a gadget.</p>
<h1 id="heading-popular-examples-of-an-api">Popular Examples of an API</h1>
<h3 id="heading-social-media-bots">SOCIAL MEDIA BOTS</h3>
<blockquote>
<p>A bot, short for robot, is a software application that conducts automated operations. It is sometimes referred to as a web or internet robot. - Wikipedia</p>
</blockquote>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646609306689/N3ursJzIr.jpg" alt="twitter-bots.jpg" /></p>
<p>If you spend any time on Twitter, you're probably aware of the <strong>#100DaysofCode</strong> bot, which is in charge of retweeting any tweet made using the hashtag <strong>#100DaysofCode</strong>. These bots work in such a manner that whenever a specific event occurs, the Twitter API sends a signal to the bot, instructing it to reply to the event. The events act as triggers, causing the bot to respond as designed. According to how it is programmed to respond, it can like, retweet, and even comment 'Keep going.'</p>
<h3 id="heading-third-party-login">THIRD PARTY LOGIN</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646608677765/eM3Ab2Utn.png" alt="API third party.png" /></p>
<p>You've probably used web apps that asked you to log in with your Google, Facebook, Twitter, Github, or a third-party account. This technique is used to authenticate the user quickly. To see if the user is already signed in to the third-party website, the app does an API request. The API confirms the request and then handles the authentication in the app.</p>
<h3 id="heading-e-commerce">E-COMMERCE</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646610640576/JWhzOl5e3.jpg" alt="ebay paypal uk.jpg" /></p>
<p>If you're familiar with online purchasing sites like Walmart and eBay, you'll see a Paypal option on your paycheck. Similar to the third-party login, The purchase order is sent to the PayPal API in the same way that the third-party login is. The Paypal application handles the rest of the transaction.</p>
<h3 id="heading-weather-apps">WEATHER APPS</h3>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1646609813080/znBGU9Z_C.png" alt="API weather.png" /></p>
<p>You presumably have apps that you use to check the weather forecast; but, these apps do not generate this data on their own. They make use of a weather service's API, they simply send API requests to gain access to the weather service's data. </p>
<h1 id="heading-types-of-an-api">Types of an API</h1>
<p>There are four different sorts of APIs that are typically used in web applications.</p>
<h3 id="heading-public-api">Public API</h3>
<p>Public APIs are sometimes referred to as "free" or "open" APIs since they are provided to programmers for no cost and are always available without limits.</p>
<h3 id="heading-partner-api">Partner API</h3>
<p>Because they're not open to the public, the Partner API can only be accessed with a license.</p>
<h3 id="heading-internal-api">Internal API</h3>
<p>Also known as a private API, this type of API is solely meant to be used within a corporation to link systems and data, as well as to improve products and services.</p>
<h3 id="heading-composite-api">Composite API</h3>
<p>When two or more APIs are joined to conduct related actions at the same time, this is known as a composite API. They're typically better in performance and speed over individual APIs</p>
<h1 id="heading-benefits-of-using-an-api">Benefits of using an API</h1>
<h3 id="heading-it-boosts-productivity">It boosts productivity</h3>
<p>Imagine building a weather app from scratch when a service with the same functionalities is already available as an API. Instead of wasting time building up a weather service, you could just plug into an existing API and make use of those functionalities for your application. This increases productivity and eliminates unnecessary stress.</p>
<h3 id="heading-means-of-revenue">Means of revenue</h3>
<p>Some companies use this as a source of income by monetizing their APIs. They charge customers who want to gain access to their APIs functionality.</p>
<h3 id="heading-promotes-your-brand">Promotes your brand</h3>
<p>Companies expose their APIs to also expand their reach, by using their API you're helping spread their reach to more customers. For example, if a person wants to check into a website that requires a third-party account like Github or Google to log in, they would be required to create accounts for these third-party applications. </p>
<h1 id="heading-conclusion">Conclusion</h1>
<blockquote>
<p>According to Programmable Web, there are over 15,000 publicly available APIs excluding many thousands of private APIs that companies use.</p>
</blockquote>
<p>APIs are here to stay. There are about <strong>19.1 million</strong> API developers in the world and the trend for API developers is rising as APIs become more popular. So the big question is, how do I hook into APIs?.</p>
<p>Join me on <a target="_blank" href="https://twitter.com/therevealer101">Twitter</a> if you want to learn more, I also talk about web3 and developer productivity. </p>
<p><a href="https://www.buymeacoffee.com/ebubechikaU"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&amp;emoji=&amp;slug=ebubechikaU&amp;button_colour=5F7FFF&amp;font_colour=ffffff&amp;font_family=Poppins&amp;outline_colour=000000&amp;coffee_colour=FFDD00" /></a></p>
]]></content:encoded></item><item><title><![CDATA[Starting Out In Tech]]></title><description><![CDATA[With the number of opportunities coming out every day in the tech industry, there has never been a better time to join than now. Starting can be a bit…]]></description><link>https://therevealer.hashnode.dev/starting-out-in-tech</link><guid isPermaLink="true">https://therevealer.hashnode.dev/starting-out-in-tech</guid><category><![CDATA[Web Development]]></category><category><![CDATA[Web Design]]></category><category><![CDATA[software development]]></category><category><![CDATA[Technical writing ]]></category><category><![CDATA[technology]]></category><dc:creator><![CDATA[The Revealer]]></dc:creator><pubDate>Mon, 17 Jan 2022 12:29:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1649244874716/9UyvtGWsi.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-introduction">Introduction</h2>
<p>With the number of opportunities coming out every day in the tech industry, there has never been a better time to join than now. Starting can be a bit confusing because the technology field is so vast with numerous career paths to pick from, if you aren’t guided you might end up making wrong choices and wasting time. </p>
<p>By the end of this article, you would understand what it takes to break into the tech industry.
Sit tight, take out your pen and notepads let’s jump right into it.</p>
<h1 id="heading-1-make-your-research">1. Make your research</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642375262834/JUkiNpZ6z.jpeg" alt="Research1.jpg" /></p>
<p>The Tech industry is so vast, which means you have to be specific as to which path you would want to take. Making your research gives you background knowledge as to what that specified field looks like, how they work, and also gives you a preview as to if it's what you’d be able to do.</p>
<p>You can start by researching the major roles in tech below</p>
<pre><code>   •Web developer
   •Software engineer
   •Devops engineer
   •Blockchain developer
   •Game developer
   •Data scientist
   •Cloud architect
   •Technical writer
   •UI<span class="hljs-operator">/</span>UX designer
   •Web designer
</code></pre><p>Knowing how to Google is an essential skill for getting the right information. When using search engines be very specific, for example, if I am to search on web development here’s how I’d do it.</p>
<pre><code>• What <span class="hljs-keyword">do</span> web developers <span class="hljs-keyword">do</span>?
• What does it take <span class="hljs-keyword">to</span> become a web developer.
• What does web development mean.
• What <span class="hljs-keyword">are</span> the benefits <span class="hljs-keyword">of</span> becoming a web developer.
</code></pre><p>When you search like this you're sure to get your required information, also learn to use keywords such as <strong>How</strong>, <strong>What</strong> and <strong>Why</strong> when searching for information.</p>
<h1 id="heading-2-choosing-rightly">2. Choosing rightly</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642376168750/mZG1EwTJ0.jpeg" alt="Choosing.jpg" />
After making your research you have an idea of what it means to be in the tech industry. It's now time for you to choose your career path. Making a choice might seem overwhelming at first but here is a guide on how to do it.</p>
<h3 id="heading-seek-mentorship">Seek Mentorship</h3>
<blockquote>
<p>Mentorship is influence, <strong>guidance</strong> or direction given by a mentor.</p>
</blockquote>
<p>Just as you need guidance to succeed in every aspect of life, so it is in the tech industry. You need people who have gone ahead of you, gained <strong>experience</strong> and made <strong>mistakes</strong> to guide you. This way you won’t waste time doing the wrong things, this tends to make your process <strong>faster</strong>.</p>
<p>The tech industry is unique for having people who are dedicated to seeing others grow.
So as much as possible, search for these people, ask questions about the path you're about to take up, and actively seek mentorship. Online or offline. </p>
<h3 id="heading-consider-your-interests">Consider Your Interests</h3>
<p> When making these kinds of choices it is very important to consider your interests. 
<strong>Define;</strong></p>
<pre><code> •What draws your attention. 
 •What you love.
 •What you do with ease.
 •What you do well.
</code></pre><p>Then try and make a connection with the particular role it fits in tech. For example, if you have an eye for designs and you’re very creative with colors you should consider going for web design, also if you’re good with logic and math you should consider being a software engineer, if you have good writing and communication skills consider being a technical writer and so on.</p>
<p>It is important to note that irrespective of your current skills, you can take any path you want, what I mean is this, you don't have to be a maths genius to be a good software engineer, this also goes for every other career path in tech, just be ready to put in the hard work.</p>
<h1 id="heading-3-online-resources">3. Online Resources</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642376858575/HOwbtWu1X.jpeg" alt="Online.jpg" />
Getting into tech has never been easier than it has been in this 24thcentury, there are loads of free and useful resources online to enhance your tech journey. You have no excuse, no excuse at all.</p>
<p>Here is a list of platforms that can get you started in no time.</p>
<pre><code>• w3schools
• freecodecamp
• youtube
• codeacademy
• udemy
• Coursera
• scrimba
</code></pre><p>Some of these platforms are free while some are paid which means it requires a certain fee or subscription to gain access to the courses, either way, whatever you get from these platforms is worthwhile.</p>
<p>As you explore these platforms, understand what works well for you, for example, you might be very good at learning with videos while some others might prefer books, pdfs, and documentation. Whatever the case may be pick what suits you best.</p>
<h1 id="heading-4-draw-a-roadmap">4. Draw A Roadmap</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642377076849/Na1f9AWM3.jpeg" alt="Plan.jpg" /></p>
<p>Every successful endeavor requires a plan. Civil engineers need house plans to make buildings, mechanical engineers need technical drawings to build machines, soldiers need battle plans to win battles.</p>
<p>The tech field isn't any different, every path has a <strong>road map</strong>(a plan). Make research, know what it is you need to learn for your path, then draw out a roadmap for it.<br />An example of a road map for a <strong>web developer</strong> is this;</p>
<pre><code> •HTML
 •CSS
 •JAVASCRIPT
 •REACT js
 •Sass<span class="hljs-operator">/</span>Tailwind CSS
 •GIT<span class="hljs-operator">/</span>GIT<span class="hljs-operator">-</span>Version control
</code></pre><p>Note that there aren't fixed patterns as to how and when you learn these technologies, make your roadmap unique to you.</p>
<h1 id="heading-5the-learning-process">5.The Learning Process</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642377366497/9Tce89Uxj.jpeg" alt="Learn.jpg" /></p>
<blockquote>
<p>The first step is always the hardest.
 If you want to get what you've not gotten before you have to be ready to do what you've not done before.</p>
</blockquote>
<p>Becoming a success in tech requires;</p>
<pre><code> •Consistency<span class="hljs-operator">-</span><span class="hljs-operator">-</span>show up every day.
 •Being Deliberate<span class="hljs-operator">-</span><span class="hljs-operator">-</span> do everything <span class="hljs-keyword">for</span> a specific reason.
 •Connections <span class="hljs-operator">-</span><span class="hljs-operator">-</span> make good relationships.
 •Hardwork <span class="hljs-operator">-</span><span class="hljs-operator">-</span> be ready to keep late nights.
 •Online community <span class="hljs-operator">-</span><span class="hljs-operator">-</span> make use of your social media.
</code></pre><blockquote>
<p>It's okay if you don’t understand a particular concept.
It's okay if you have to watch a tutorial twice.
It's okay to be confused sometimes.
It's okay to take breaks.
It's okay to google what you don’t know.</p>
</blockquote>
<p>It's all part of a process to becoming a success in your specified path, don’t ever think you’re not good enough, good things take time. The tech industry is not a place for get-rich-quick schemes. Also, do not rush your process, enjoy every bit of it. Your failures and wins are all part of your making, you're not in competition with anyone. Take your time.</p>
<h1 id="heading-5-projects-based-learning">5. Projects Based Learning</h1>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642377584781/D6nipClnu.jpeg" alt="Project.jpg" />
You know what you’re to learn, you’ve drawn a learning roadmap and you’ve even started learning already. Now here’s a tip to speed up your learning process.</p>
<blockquote>
<p>Projects-based learning simply means you learn by doing.
You want to understand a design concept, design a webpage.
You want to learn a programming language build something with it.
You want to understand how application packages work, build an app.</p>
</blockquote>
<p>When you learn while building projects your learning becomes specific and much more productive. When you build you gain experiences and these experiences make you. it's important to note that the difference between you and senior engineers/developers is the experience they have, the number of projects they've worked on. So as much as possible while you follow tutorials, boot camps and courses actively build projects on your own. This, my friend, is one of the fastest tracks up your tech career.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1642381948891/kYntuAvBG.jpeg" alt="Conclusion.jpg" /></p>
<p>Starting isn't hard, after all, am sure you gained one or two things, now go and crush it, <strong>you got this</strong>. Feel free to reach out to me on <a target="_blank" href="https://twitter.com/therevealer101">Twitter</a> if you have any questions. <strong>Follow</strong> and watch out for my next post. <strong>Thank you.</strong></p>
<p><a href="https://www.buymeacoffee.com/ebubechikaU"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&amp;emoji=&amp;slug=ebubechikaU&amp;button_colour=5F7FFF&amp;font_colour=ffffff&amp;font_family=Poppins&amp;outline_colour=000000&amp;coffee_colour=FFDD00" /></a></p>
]]></content:encoded></item></channel></rss>