<?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>DEV Community: Sunkanmi Fafowora</title>
    <description>The latest articles on DEV Community by Sunkanmi Fafowora (@sun_kanmii).</description>
    <link>https://dev.to/sun_kanmii</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%2F332041%2F347faaf7-aeeb-4273-8f96-21d07668967e.jpg</url>
      <title>DEV Community: Sunkanmi Fafowora</title>
      <link>https://dev.to/sun_kanmii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sun_kanmii"/>
    <language>en</language>
    <item>
      <title>Best Programming Languages to Build Smart Contracts - Part 1: Solidity</title>
      <dc:creator>Sunkanmi Fafowora</dc:creator>
      <pubDate>Tue, 18 Feb 2025 23:40:37 +0000</pubDate>
      <link>https://dev.to/sun_kanmii/best-programming-languages-to-build-smart-contracts-part-1-solidity-4bl5</link>
      <guid>https://dev.to/sun_kanmii/best-programming-languages-to-build-smart-contracts-part-1-solidity-4bl5</guid>
      <description>&lt;p&gt;Smart contracts are a set of instructions or computer programs that run on the blockchain to automatically execute a digital agreement when certain conditions and payments are met. Today, we will examine Solidity, one of the programming languages that supports smart contract development on the blockchain.&lt;/p&gt;

&lt;h2&gt;
  
  
  Analyzing Solidity
&lt;/h2&gt;

&lt;p&gt;We will measure each smart contract programming language by briefly discussing the following metrics and giving a rating for each of them on the language.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Security&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Developer experience&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Readability&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Composability&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Gas Efficiency&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Compatibility With The Blockchain Platform and Cross-Chain Compatibility&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The ratings are my personal opinions and should not be taken as fact, I think we should focus more on the analysis because ultimately it all depends on the developer’s choice for a smart contract programming language&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Currently, Solidity is the &lt;a href="https://chain.link/education-hub/smart-contract-programming-languages" rel="noopener noreferrer"&gt;most popular smart contract programming language&lt;/a&gt; and even the &lt;a href="https://coingeek.com/smart-contract-programming-languages-scrypt-vs-solidity/#:~:text=Solidity%20emerged%20as%20the%20first,Binance%20Smart%20Chain%20and%20Tron." rel="noopener noreferrer"&gt;first smart contract programming language&lt;/a&gt; that runs on the Ethereum Virtual Machine (EVM) and EVM-compatible blockchains. Here’s a quick breakdown of the metrics:&lt;/p&gt;

&lt;h3&gt;
  
  
  Security
&lt;/h3&gt;

&lt;p&gt;Solidity generally is &lt;a href="https://medium.com/coinmonks/solidity-security-tips-and-tricks-for-secure-smart-contract-development-1551456e63ac#:~:text=Solidity%20Security:%20Tips%20and%20Tricks%20for%20Secure%20Smart%20Contract%20Development,-Scofield%20O.&amp;amp;text=Solidity%20is%20a%20powerful%20programming,overflow/underflow%2C%20and%20frontrunning." rel="noopener noreferrer"&gt;not known as the most secure smart contract programming language&lt;/a&gt; out there, inherently because developers need to be very careful and strictly follow security best practices to avoid security issues due to the language’s design choices. From integer overflows to reentrancy attacks and improper access controls, managing Solidity’s security can be challenging and this remains Solidity’s biggest issue when it comes to using it as a smart contract programming language, ultimately developers should take caution when using this language and always follow best practices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating: 3/5&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Developer Experience
&lt;/h3&gt;

&lt;p&gt;Developer Experience refers to the developer’s interaction with various tools, environments, organizational structures, and processes in their workplace with an aim of creating a comfortable and enjoyable productive experience. It also has an additional definition that specifically includes our experience with SDKs, libraries and any technology we use for development including programming languages.&lt;/p&gt;

&lt;p&gt;Solidity’s developer experience is &lt;a href="https://metana.io/blog/learning-solidity/#:~:text=Solidity%20is%20more%20than%20just,the%20future%20of%20decentralized%20technology." rel="noopener noreferrer"&gt;&lt;strong&gt;generally considered good&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;,&lt;/strong&gt; due to the high demand of Solidity developers and the &lt;a href="https://metana.io/blog/solidity-developer-salary-2024/" rel="noopener noreferrer"&gt;good pay&lt;/a&gt; that is attached to it. Its existence &lt;a href="https://soliditylang.org/about/" rel="noopener noreferrer"&gt;since 2014&lt;/a&gt; has allowed for numerous tutorials, edits, blog posts, and guides to be created for a better understanding of the language and its compatibility with the EVM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating: 4/5&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Readability
&lt;/h3&gt;

&lt;p&gt;If you’re familiar with the &lt;a href="https://www.tutorialspoint.com/software_architecture_design/object_oriented_paradigm.htm" rel="noopener noreferrer"&gt;object-oriented paradigm&lt;/a&gt; and you’re coming from a C++ or JavaScript side of development, then transitioning to Solidity would be easy as it has a syntax similar to theirs. If not, you may have to learn a new paradigm and get used to it which is also not hard to do.&lt;/p&gt;

&lt;p&gt;Here’s a sample of what a Solidity code looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract MyToken is ERC20, Ownable {
    int public myInt;
    uint public myUint;
    string public myString;

    constructor(uint256 initialSupply) ERC20("MyToken", "MTK") {
        _mint(msg.sender, initialSupply * (10 ** decimals()));
    }

    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I know some syntax may seem confusing right now, but give yourself time to get used to the new style even though it’s just a bit strict like assigning the specific data types for strings and integers. Without this strictness, however, there wouldn’t be consistency in your code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating: 5/5&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Composability
&lt;/h3&gt;

&lt;p&gt;Composability in blockchain refers to a blockchain’s ability to interact with any smart contract, different blockchain protocols, and decentralized applications (dApps) to create new applications. Solidity has this great feature.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating: 5/5&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Gas Efficiency
&lt;/h3&gt;

&lt;p&gt;Solidity’s gas efficiency is not largely dependent on the smart contract programming language itself but of the developer’s knowledge and implementation of its best practices to achieve good gas efficiency. The aim of gas in Ethereum is to reward fuel-efficient development. For example, two smart contracts might perform the same task, but it is the one with the lower computational effort that is rewarded with lower gas fees.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Gas is the computational cost or effort required to run a smart contract on a blockchain. It is also a fee paid to the validators on the blockchain to execute a particular transaction or smart contract. The lesser the fee, the higher the chances your transaction is accepted and added to the blockchain&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ultimately, this depends on the developer and not the programming language so no rating here!&lt;/p&gt;

&lt;h3&gt;
  
  
  Compatibility With The Blockchain Platform and Cross-Chain Compatibility
&lt;/h3&gt;

&lt;p&gt;Super compatible with its blockchain platform (Ethereum). This is A-okay here.&lt;/p&gt;

&lt;p&gt;To help us understand better, cross-chain compatibility with other blockchain platforms doesn’t usually stem from the programming language itself but from some protocols that facilitate this, however, Solidity is EVM-compatible with other blockchains in the EVM network.&lt;/p&gt;

&lt;p&gt;Solidity can also be used to build cross-chain functionality by utilizing cross-chain protocols like &lt;a href="https://chain.link/cross-chain" rel="noopener noreferrer"&gt;Chainlink CCI&lt;/a&gt;P, and &lt;a href="https://wormhole.com/docs/tutorials/by-product/contract-integrations/cross-chain-contracts/" rel="noopener noreferrer"&gt;Wormhole&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In essence, you can have some form of interoperability, communication and compatibility with the blockchain platform and others.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating: 5/5&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to learn Solidity?
&lt;/h2&gt;

&lt;p&gt;Here are two great platforms for learning solidity online:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. &lt;a href="https://www.alchemy.com/university/courses/solidity" rel="noopener noreferrer"&gt;Alchemy University&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="(https://www.alchemy.com/university/courses/solidity)"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdl8an66zlutj0c4magzs.png" alt="Alchemy University home page" width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Alchemy University is what I’m currently using to learn Solidity and it is awesome! The course videos and its interactive code platform to test out what you learn are amazing. Totally would recommend this!&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h3&gt;
&lt;br&gt;
  &lt;br&gt;
  

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://cryptozombies.io/" rel="noopener noreferrer"&gt;CryptoZombie&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/h3&gt;


&lt;p&gt;&lt;a href="https://cryptozombies.io/" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnz814dxm5u8wv7d5ubgf.png" alt="CryptoZombie's home page" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;With over 400,000+ students and 1 million+ course completions, CryptoZombies takes you through an interactive session on not just Solidity, but a whole bouquet of courses on blockchain including NFTs (Non-Fungible Tokens), Chainlink, Ethereum, and more.&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Conclusion&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;Solidity is a great programming language for building smart contracts, it excels in various aspects such as developer experience, composability, and more. It does lack a bit in the security aspect which the other programming languages like Rust have stated to be better at. We will be looking into more smart contract programming languages like Move, Vyper, etc in the future so I hope to see you in the next article!&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
      <category>solidity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Understanding L0, L1, L2, and L3 Blockchains</title>
      <dc:creator>Sunkanmi Fafowora</dc:creator>
      <pubDate>Sat, 08 Feb 2025 20:22:04 +0000</pubDate>
      <link>https://dev.to/sun_kanmii/understanding-l0-l1-l2-and-l3-blockchains-457f</link>
      <guid>https://dev.to/sun_kanmii/understanding-l0-l1-l2-and-l3-blockchains-457f</guid>
      <description>&lt;p&gt;Blockchain refers to a decentralized digital ledger that records digital transactions and tracks various assets across a large network of computers.&lt;/p&gt;

&lt;p&gt;Blockchain technology has several layers, from L0 (layer 0) to L1 (layer 1), L2 (layer 2), and L3 (layer 3) blockchain. These layers are responsible for making blockchain technology’s operations work, with each layer building on top of the previous one and leveraging the architecture of the previous one to produce a better one.&lt;/p&gt;

&lt;p&gt;In this article, we will specifically dive into the layers of blockchain available and understand what they are about.&lt;/p&gt;

&lt;h1&gt;
  
  
  Understanding Different Blockchain Layers
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg5a00fr3qwh8hty4r5vn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg5a00fr3qwh8hty4r5vn.png" alt="Image description" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are 4 different layers of blockchain which make sure the blockchain technology functions properly. These layers usually build on top of one another’s infrastructure and architecture to make up for faster and better technology. These are:&lt;/p&gt;

&lt;h2&gt;
  
  
  L0 (Layer 0) Blockchain
&lt;/h2&gt;

&lt;p&gt;The foundational layer facilitates communication and interaction between different blockchains. This is done through a protocol called the Cross-Chain Interoperability Protocol (CCIP), which operates in this layer. This layer acts as the foundational base upon which all the other layers build and provides a solid architecture for other blockchain networks. Examples of blockchains here include Avalanche, Cosmos, and Polkadot. These blockchains also often address issues such as developer flexibility and scalability.&lt;/p&gt;

&lt;h2&gt;
  
  
  L1 (Layer 1) Blockchain
&lt;/h2&gt;

&lt;p&gt;Blockchains like Bitcoin and Ethereum exist in this layer. The layer 1 blockchain provides the fundamental architecture and infrastructure for the entire blockchain system. Building upon layer 0, they act as the main handlers for security through mechanisms like consensus and proof of work (PoW), process transactions, and support the deployment of smart contracts and applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  L2 (Layer 2) Blockchain
&lt;/h2&gt;

&lt;p&gt;Layer 2 adds on top of the layer 1 blockchain layer to make transactions cheaper, and faster by storing the data off-chain, reducing the number of nodes needed for transaction validation, and more. There’s nothing much to it. That’s what you need to know. Examples of layer-2 blockchains include Optimism, Lightning Network, Arbitrum etc&lt;/p&gt;

&lt;h2&gt;
  
  
  L3 (Layer 3) Blockchain
&lt;/h2&gt;

&lt;p&gt;Layer 3 adds on top of layer 2 and layer 1 blockchain to give us application-specific functionalities or decentralized applications (DApps). These applications focus on interoperability between different blockchains to allow communication between them in a single application. This improves blockchain scalability and complexity making it more accessible to the layman. Examples include Polkadot, Cosmos (IBC Protocol), Superchain, Polygon etc.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Blockchain is the future of online transactions. With its innovative technology and even &lt;a href="https://101blockchains.com/future-of-blockchain-technology/#:~:text=The%20expectations%20for%20the%20future,introduction%20of%20privacy%2Denhancing%20technologies." rel="noopener noreferrer"&gt;integration with AI&lt;/a&gt;, it is set to explode in the coming years. Heck, even &lt;a href="https://www.mastercard.com/news/perspectives/2025/what-to-expect-in-crypto-in-2025/#:~:text=Blockchain%20technology%20that%20is%20safe,new%20capabilities%20and%20more%20innovation." rel="noopener noreferrer"&gt;Mastercard believes banks and financial services will integrate blockchain&lt;/a&gt; into their everyday transactions, setting a new global standard for payment processing and digital business. So keep an eye out for this.&lt;/p&gt;

&lt;h1&gt;
  
  
  Next Articles
&lt;/h1&gt;

&lt;p&gt;The next set of articles will focus on web3 and blockchain-specific technologies where I would dive deep into their specifics, making it understandable and simpler to understand. Thank you for reading and I do hope to see you in the next article!&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
