<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: 08-swastik</title>
    <description>The latest articles on Forem by 08-swastik (@08swastik).</description>
    <link>https://forem.com/08swastik</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1054003%2F18376e16-f1cc-440a-b56f-f48d04cc0626.png</url>
      <title>Forem: 08-swastik</title>
      <link>https://forem.com/08swastik</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/08swastik"/>
    <language>en</language>
    <item>
      <title>DRepo - A Decentralized Version Control System- DAY 1</title>
      <dc:creator>08-swastik</dc:creator>
      <pubDate>Sat, 16 Dec 2023 15:46:54 +0000</pubDate>
      <link>https://forem.com/08swastik/drepo-a-decentralized-version-control-system-day-1-11g4</link>
      <guid>https://forem.com/08swastik/drepo-a-decentralized-version-control-system-day-1-11g4</guid>
      <description>&lt;p&gt;In recent years, we know, &lt;strong&gt;blockchain&lt;/strong&gt; technology has emerged as a transformative force, revolutionizing traditional models of data storage, security, and trust. In the 2 parts of this article series, we have explored the various terms related to Blockchain like &lt;strong&gt;Ethereum&lt;/strong&gt;, &lt;strong&gt;Solidity smart Contracts&lt;/strong&gt;, and we have built an actual working &lt;strong&gt;DApp&lt;/strong&gt; (a decentralized application), where we have guided you in building the project from ground zero. This project was built as part of our flagship event &lt;strong&gt;Ten Days of Code&lt;/strong&gt; held from &lt;strong&gt;16th December 2023&lt;/strong&gt; to &lt;strong&gt;25th December 2023&lt;/strong&gt;, where we mentored students all over India in building projects from scratch across various domains.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nNEJbLj0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fyggv9zg4e54m2esn76m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nNEJbLj0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fyggv9zg4e54m2esn76m.png" alt="Home Page" width="800" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this project ,we built a &lt;strong&gt;decentralised&lt;/strong&gt; web based &lt;strong&gt;version control platform&lt;/strong&gt;, serving as a &lt;strong&gt;central repository&lt;/strong&gt; for developers to manage code and track changes. Now decentralised as by the name it goes there is no central authority for validation and verification instead the functionality is distributed across a network of nodes, eliminating the need for a &lt;strong&gt;central governing body&lt;/strong&gt;. The project contains all basic features of user registration, &lt;strong&gt;repository creation&lt;/strong&gt;, adding &lt;strong&gt;multiple commits&lt;/strong&gt; with proper &lt;strong&gt;file storage&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This &lt;strong&gt;DApp&lt;/strong&gt; is built using Solidity Smart Contracts and the frontend is built using the framework &lt;strong&gt;React JS&lt;/strong&gt;, the application is deployed to the local blockchain network, &lt;strong&gt;Ganache&lt;/strong&gt;. The whole project runs on an Ethereum supported browser, with the help of the &lt;strong&gt;Metamask&lt;/strong&gt; extension. For building and compiling Truffle was used. Lastly, the frontend was connected to the solidity contract using &lt;strong&gt;web3&lt;/strong&gt;. And we have used &lt;strong&gt;thirdWebStorage&lt;/strong&gt; as a &lt;strong&gt;IPFS provider&lt;/strong&gt; for storing code files.&lt;/p&gt;

&lt;p&gt;To understand all these terms and how Blockchain works do watch the video below which was a live session from our event Ten Days of Code.&lt;/p&gt;

&lt;p&gt;(Attach the recording of the day 1 intro session if possible)&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Blockchain?
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;Blockchain&lt;/strong&gt; is a &lt;strong&gt;sequential chain&lt;/strong&gt; of &lt;strong&gt;blocks&lt;/strong&gt;, where each block contains a list of &lt;strong&gt;transactions&lt;/strong&gt;. These blocks are &lt;strong&gt;linked&lt;/strong&gt; together using &lt;strong&gt;cryptographic hashes&lt;/strong&gt;, forming a chain that spans the entire history of the system. The decentralized nature of the blockchain ensures that no single entity has control over the entire network, fostering transparency and resilience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Beginner's Guide for Blockchain&lt;/strong&gt;: &lt;a href="https://blockgeeks.com/guides/what-is-blockchain-technology/"&gt;Blockchain Guide&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What are Smart Contracts?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Smart contracts&lt;/strong&gt; are self-executing contracts with the terms of the agreement directly written into code. They operate on blockchain platforms, such as Ethereum, and automatically execute predefined actions when specific conditions are met. Essentially, they are programs that run on a blockchain, enabling trustless and automated transactions without the need for &lt;strong&gt;intermediaries&lt;/strong&gt;. Keep reading, we will be writing a smart contract for our project use cases.&lt;/p&gt;

&lt;p&gt;For in-depth details, &lt;a href="https://www.investopedia.com/terms/s/smart-contracts.asp"&gt;click here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solidity - A Programming Language for Ethereum Smart Contracts
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Solidity&lt;/strong&gt; is the main programming language for writing smart contracts on the &lt;strong&gt;Ethereum&lt;/strong&gt; blockchain. It is a &lt;strong&gt;contract-oriented&lt;/strong&gt; language, implying that smart contracts are responsible for storing all of the programming logic that interacts with the blockchain. Solidity is a high-level programming language that shares similarities with JavaScript, Python, and C++.&lt;/p&gt;

&lt;p&gt;You can refer to the &lt;a href="https://docs.soliditylang.org/en/v0.8.23/"&gt;official Solidity documentation here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Also,                    &lt;/p&gt;

&lt;p&gt;You can refer to the examples provided at &lt;a href="https://solidity-by-example.org/"&gt;Solidity by Example&lt;/a&gt;, where they teach Solidity through practical examples.&lt;/p&gt;




</description>
      <category>blockchain</category>
      <category>solidity</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
