Best of Solidity2024

  1. 1
    Article
    Avatar of communityCommunity Picks·1y

    Create a Blockchain App Using React

    Learn to build a decentralized application (dApp) using React, Vite, and Tailwind CSS that allows users to send Ethereum transactions, view their transaction history, and connect their MetaMask wallet. The tutorial covers the entire process from setting up the development environment and writing smart contracts using Solidity to deploying and testing the smart contract on the Ethereum Sepolia test network.

  2. 2
    Article
    Avatar of javarevisitedJavarevisited·1y

    5 Best 101 Blockchains Courses for Blockchain Developers in 2025

    Looking to become a Blockchain Developer in 2025? Here are the top blockchain courses from 101 Blockchains that offer comprehensive training. These courses cover essential blockchain skills like Ethereum, Solidity, and Web3, and include certifications such as the Certified Enterprise Blockchain Professional (CEBP). Whether you're interested in NFT development, decentralized finance (DeFi), or enterprise blockchain applications, 101 Blockchains provides self-paced, modular courses designed for both beginners and seasoned professionals. Enhance your blockchain expertise and explore various career paths with these training programs.

  3. 3
    Article
    Avatar of coinsbenchCoins Bench·2y

    Decentralization: The Heart of Blockchain’s Power 🌍 looks at real-world scenarios and potential…

    Decentralization is a transformative feature of blockchain technology, offering security, transparency, and efficiency. This post explores a Solidity-based smart contract for decentralized voting, detailing its structure, functionality, and best practices for deployment and security. It also provides insights into development tools like Foundry, Hardhat, and Truffle, and outlines a process for integrating decentralized systems into various industries, ensuring compliance, efficiency, and user-friendly interaction.

  4. 4
    Article
    Avatar of coinsbenchCoins Bench·2y

    How to Learn Blockchain Development: A Step-by-Step Guide

    Learn how to effectively master blockchain development through a strategic, project-oriented approach. This guide outlines six essential steps: defining clear project goals, breaking down projects into manageable components, gathering relevant information, conducting thorough research, iterative learning of each component, and teaching what you've learned. These steps will help streamline your learning process and build robust blockchain solutions like an NFT marketplace or a decentralized application.

  5. 5
    Article
    Avatar of soliditySolidity·2y

    Solidity 0.8.27 Release Announcement

    The Solidity Compiler v0.8.27 introduces notable features like legacy support for custom errors with the require function, and caching of optimized Intermediate Representation (IR) to improve compilation performance. New support for transient storage variables is added to the parser, though not fully implemented for bytecode generation. The release also includes multiple optimizations and bug fixes. For detailed installation instructions, refer to the official documentation.

  6. 6
    Article
    Avatar of coinsbenchCoins Bench·2y

    🔐 Master Solidity: Must-Know Interview Questions for Ethereum Developers 🛠️ (Practical Only)

    Solidity expertise is critical for Ethereum developers, particularly during interviews that often include practical coding challenges. Key topics include differences between transfer and send functions, gas-efficient for loops, avoiding storage collisions in proxy contracts, and distinguishing between storage and memory in array handling. Other important areas are encoding data with abi.encode and abi.encodePacked, preventing inflation attacks in ERC4626 contracts, using custom errors versus require statements with error strings, and understanding function selector clashes and beacons in proxy contexts. Recognizing common pitfalls and applying best practices is crucial for succeeding in real-world Ethereum development.

  7. 7
    Article
    Avatar of coinsbenchCoins Bench·2y

    How I build my first DApp project (Web3 NFT Marketplace) using Reactjs, Tailwind CSS, and Solidity (Part 2)

    This post continues the guide on building a Web3 NFT Marketplace using Reactjs, Tailwind CSS, and Solidity. It covers steps like updating the store file, creating and importing various components (UpdateNFT, Footer, Alert, Loading), and updating the smart contract with necessary functions. Additionally, it provides backend logic including setting up blockchain services and connecting to a wallet using Web3. The final step involves deploying the smart contract locally and running the DApp.

  8. 8
    Article
    Avatar of coinsbenchCoins Bench·2y

    Understanding Solidity: A Simple simpleStorage Contract

    Smart contracts are essential for decentralized applications on the blockchain. This post explores a basic Solidity smart contract called `simpleStorage`, detailing how to store and retrieve data. It breaks down key components like the pragma directive, contract definition, state variables, and functions. Deployment tips using tools like Remix or Hardhat are also provided, along with use cases for future expansion.

  9. 9
    Article
    Avatar of coinsbenchCoins Bench·2y

    Solidity Tips and Trick

    Tips and tricks for learning Solidity, including using console.log, locking the pragma version, avoiding the Stack Too Deep error, splitting large contracts, reusing functions and structs, working with percentages, reading state variables, instantiating nested mappings, working with nested arrays, returning all elements in an array, iterating over a mapping, applying the principle of least privilege, validating external values, saving gas with events, using the uncheck keyword, understanding storage vs. stack variables, using keywords, choosing between mappings and arrays, and optimizing variable stacking.

  10. 10
    Article
    Avatar of colkgirlCode Like A Girl·1y

    Web3 Development: A Beginner’s Guide to Decentralized Apps (dApps)

    Web3 promises a decentralized, user-controlled internet, revolutionizing how apps, or dApps, operate by eliminating middlemen through blockchain technology. Beginners can set up their development environment with tools like Node.js, Truffle Suite, and Ganache, learn Solidity for smart contracts, and deploy their dApps on platforms like Ethereum. The real-world applications are vast, from finance and gaming to social media, and now is the time to dive in and be part of this transformative movement.

  11. 11
    Article
    Avatar of soliditySolidity·2y

    Solidity 0.8.28 Release Announcement

    The Solidity Compiler v0.8.28 has been released, offering full support for transient storage state variables of value types, reduced memory usage during IR compilation, and faster compilation times. Key improvements include generating JSON representations of Yul ASTs only on demand and enabling per-contract pipeline configuration. Bug fixes and build system tweaks are also included. To upgrade, follow the installation instructions in the official documentation.

  12. 12
    Article
    Avatar of coinsbenchCoins Bench·2y

    Automating Inheritance on the Blockchain with Etheritance

    Etheritance is a Solidity-based smart contract on the Ethereum blockchain designed to automate and secure the inheritance process. The contract allows parents or guardians to set conditions under which beneficiaries can withdraw funds, ensuring transparency and security. Key features include automated funds distribution, customizable conditions, and several security measures. While it has limitations such as handling simple inheritance structures and lacking dispute resolution mechanisms, future enhancements aim to address these issues.

  13. 13
    Article
    Avatar of coinsbenchCoins Bench·2y

    Speed Up Your Smart Contract Development in VSCode

    Struggling to remember import paths and boilerplate code when developing Solidity smart contracts? A new Solidity Snippets Extension for VSCode can help. It provides reusable pieces of code for imports and boilerplate from popular smart contract libraries like OpenZeppelin and Chainlink, significantly speeding up development by eliminating repetitive tasks. Contributions to the extension are welcome.

  14. 14
    Article
    Avatar of coinsbenchCoins Bench·2y

    Top Smart Contract Languages in 2024: Solidity, Rust, Motoko

    This post discusses the top smart contract languages in 2024, including Solidity, Rust, and Motoko. Solidity is favored for its simplicity but has scalability and security limitations. Rust offers security and scalability, while Motoko is highly scalable and easy to use, although it has limited adoption.

  15. 15
    Article
    Avatar of coinsbenchCoins Bench·2y

    Solidity error handling — notes on require, revert and assert

    Learn about different error handling techniques in Solidity, including 'require', 'revert', and 'assert'. Discover their differences and when to use each one.

  16. 16
    Article
    Avatar of coinsbenchCoins Bench·2y

    Smart Contract Dev : Hands-On with Truffle, Ganache and Solidity

    This guide walks you through setting up a local Ethereum test environment using Truffle and Ganache, avoiding traditional testnets. It explains installing necessary tools, creating and compiling a smart contract with Solidity, and deploying and interacting with it using the Truffle console, providing a hands-on experience in smart contract development.

  17. 17
    Article
    Avatar of coinsbenchCoins Bench·2y

    How to Build a Decentralized House Rental Platform with Next.js, Redux, and Solidity

    Learn how to build a decentralized house rental platform using Next.js, Redux, and Solidity. Gain skills in building Web3 applications, crafting smart contracts, and incorporating static type checking. Explore the steps to set up the development environment, build the Redux store, and deploy the smart contract to the blockchain.

  18. 18
    Article
    Avatar of coinsbenchCoins Bench·2y

    From Code to Crypto: Writing Your First Smart Contract with Solidity

    Web3 represents a decentralized version of the internet, leveraging blockchain technology to empower users without relying on centralized authorities. A blockchain is a tamper-proof distributed ledger where each verified entry becomes a permanent record. Solidity, a high-level programming language, is used to write smart contracts that run on the Ethereum blockchain. When executing smart contracts, users must pay for computational work with 'gas' measured in Ether. Useful tools like Remix IDE and Metamask facilitate smart contract development and deployment.

  19. 19
    Article
    Avatar of coinsbenchCoins Bench·2y

    Building Blocks of Smart Contracts: Libraries in Solidity

    Solidity libraries are tools for organizing and reusing code, promoting modularity, reusability, and gas efficiency in Ethereum smart contracts. Libraries differ from standard contracts in that they don't store state variables and focus on 'pure' and 'view' functions. They can be deployed either internally or externally, the latter using delegate call for efficient updates and reduced gas costs. Examples include SafeMath for safe arithmetic operations and MerkleProof for data integrity checks.