<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kodjo Laboré Agbetsiassi on Medium]]></title>
        <description><![CDATA[Stories by Kodjo Laboré Agbetsiassi on Medium]]></description>
        <link>https://medium.com/@starlabman?source=rss-484b7e04070b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mIz1W6WOW4yz9V_VmUdqVw.jpeg</url>
            <title>Stories by Kodjo Laboré Agbetsiassi on Medium</title>
            <link>https://medium.com/@starlabman?source=rss-484b7e04070b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 00:08:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@starlabman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Wallet Is the Account: Pitching SweepBot, a Dust-Sweeping Bot That Pays Per Quote with x402]]></title>
            <link>https://medium.com/@starlabman/the-wallet-is-the-account-pitching-sweepbot-a-dust-sweeping-bot-that-pays-per-quote-with-x402-c56f16862302?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c56f16862302</guid>
            <category><![CDATA[x402]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[payments]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[solanas]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Sun, 08 Nov 2026 23:12:24 GMT</pubDate>
            <atom:updated>2026-11-08T23:12:24.842Z</atom:updated>
            <content:encoded><![CDATA[<p>A concept pitch for the Swap.io x402 bounty, backed by two real mainnet payments.</p><figure><img alt="SweepBot: pay per quote, sweep what’s worth it." src="https://cdn-images-1.medium.com/max/1024/1*RfgXA6ywaR2Zzy9N6FSB3w.jpeg" /><figcaption>SweepBot: pay per quote, sweep what’s worth it.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/0xWeb3DevRel/status/2119560583347581019&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Famplify_video_thumb%252F2119559767815229440%252Fimg%252FThg0KBHtqcFFSUGV%253Fformat%253Dwebp%2526name%253Dlarge%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4c90800f31cabff2aaa9f24c3fc0c8c/href">https://medium.com/media/d4c90800f31cabff2aaa9f24c3fc0c8c/href</a></iframe><h3>Every wallet is full of dust</h3><p>Open any Solana wallet you’ve used for a while. Forty cents of one token, a dollar of another, a few that rounded to $0.04. Individually they’re worthless. Together they’re real money, and nobody sweeps them, because the work isn’t worth it.</p><p>A bot could do it. But to sweep dust, a bot needs prices: 14 tokens means 14 quotes. And today, getting those quotes means an account, an API key, and a monthly plan, for a bot that might run three times a month.</p><p>That’s the mismatch x402 fixes.</p><h3>The idea: SweepBot</h3><p><strong>SweepBot</strong> is a Telegram bot that sweeps your dust into USDC and pays Swap.io per quote.</p><ol><li>You type /sweep.</li><li>The bot scans your wallet and finds the small tokens.</li><li>It buys a quote for each one from its own small USDC float, through the Swap.io Agent API.</li><li>It keeps only the tokens worth swapping after price impact.</li><li>It builds <strong>unsigned</strong> transactions. You review them and sign. The bot never holds your keys.</li></ol><p><em>SweepBot itself is a concept. The numbers in the demo (14 tokens, 6 worth swapping, about 20 calls for about $0.06) are illustrative. The payments below are not.</em></p><h3>How x402 works, in four steps</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YC8N20sYsJgUSpIlGItYGg.jpeg" /><figcaption>One round trip. No account. No key.</figcaption></figure><ol><li><strong>Request.</strong> The agent asks for a quote.</li><li><strong>402.</strong> Swap.io answers 402 Payment Required, with a price of about a third of a cent in USDC.</li><li><strong>Pay.</strong> The agent signs a USDC payment and retries the same request.</li><li><strong>Answer.</strong> It gets the ranked quotes back.</li></ol><p>One round trip. No account. No key. On Solana, Swap.io covers the network fee, so the agent doesn’t even need SOL, only a few dollars of USDC.</p><h3>It’s not a mockup</h3><p>I ran the flow for real on Solana mainnet with a script that holds a USDC wallet and calls the Swap.io Agent API:</p><ul><li>An unpaid request returned <strong>HTTP 402</strong>. The price in the response was maxAmountRequired: &quot;3007&quot;, which is <strong>$0.003007 USDC</strong>.</li><li>A paid quote request returned <strong>HTTP 200</strong> with 6 ranked results.</li><li>A paid build-tx request returned <strong>HTTP 200</strong> with an unsigned transaction, for about $0.003 (derived from the wallet balance difference).</li><li>Total spent: <strong>about $0.006, with 0 API keys.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vAv-qD0oY0JlayjR-bEHyA.jpeg" /><figcaption>Both payments finalized on Solana mainnet.</figcaption></figure><p>Receipts, both finalized on Solscan:</p><ul><li>Payment 1 (quote): <a href="https://solscan.io/tx/3irRBh96UWxgWhBiSCA8iPK1V3bU6ckdcc2x61ir7YW9gvhbrsYWa49WM7sjcG9ora9S32bLJD4GYzSWUuiPW9yn">https://solscan.io/tx/3irRBh96UWxgWhBiSCA8iPK1V3bU6ckdcc2x61ir7YW9gvhbrsYWa49WM7sjcG9ora9S32bLJD4GYzSWUuiPW9yn</a></li><li>Payment 2 (build-tx): <a href="https://solscan.io/tx/3Bx8YzkArhYKPXZkiCsN1NAMuUVVgRdBpePpzbV2ARW5DT7PqXhoLx3LVtUeRjhCSyvreRTRjLAPw28FzGRetaNK">https://solscan.io/tx/3Bx8YzkArhYKPXZkiCsN1NAMuUVVgRdBpePpzbV2ARW5DT7PqXhoLx3LVtUeRjhCSyvreRTRjLAPw28FzGRetaNK</a></li></ul><h3>Why x402 beats an API key here</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UpAtOTBi9bkyfMvoSxns4Q.jpeg" /><figcaption>A wallet beats a signup form.</figcaption></figure><p>Three things change when an agent pays per call instead of holding a key:</p><ul><li><strong>No signup, no idle bill.</strong> You fund a wallet and you’re done. A quiet week costs $0.</li><li><strong>You pay for the calls you make</strong>, not for a plan tier.</li><li><strong>A leaked wallet costs a few dollars</strong>, not a plan. The loss is capped at the small float.</li></ul><p>And there’s a bonus for open-source bots: every fork brings its own wallet. No shared key to rotate, no central account to abuse.</p><h3>The wallet is the account</h3><p>Agents don’t fill out signup forms. They carry wallets. For small, bursty, machine-to-machine workloads like sweeping dust, pay-per-call is the pricing model that fits, and x402 is what makes it a single HTTP round trip.</p><p>SweepBot: pay per quote, sweep what’s worth it.</p><p><em>Built for the “Pitch an x402 Use Case with Swap.io” bounty by Swap.io and Superteam. Docs: hermes.swap.io and x402.org.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c56f16862302" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Stellar and Soroban: Simplifying Blockchain for Everyone]]></title>
            <link>https://medium.com/@starlabman/understanding-stellar-and-soroban-simplifying-blockchain-for-everyone-9d214edf7359?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d214edf7359</guid>
            <category><![CDATA[africablockchaincommunity]]></category>
            <category><![CDATA[blockchain-101]]></category>
            <category><![CDATA[stellar]]></category>
            <category><![CDATA[stellarcontentchallenge]]></category>
            <category><![CDATA[soroban]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 11:11:42 GMT</pubDate>
            <atom:updated>2024-09-26T11:11:42.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*r_Vfb672VIcYQ64G1P-qhQ.jpeg" /></figure><p>Blockchain technology can feel complex, but its goal is simple: to make transactions faster, cheaper, and more accessible worldwide. Stellar, a decentralized open financial network, and Soroban, its smart contract platform, are making waves in the blockchain space. Let’s break down how they work and why they matter, in an easy-to-understand way.</p><h4>What is Stellar?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*57duW6E0gNVMgwcMvvjr4w.jpeg" /></figure><p>Stellar is an open financial network designed to connect banks, payment systems, and people. Imagine it as a global web where anyone, anywhere, can send money across borders as easily as sending an email. No need for middlemen or expensive transaction fees — Stellar brings everyone into the same digital economy.</p><p>One of the standout features of Stellar is its ability to issue digital assets. Just as how countries issue their currencies, businesses and individuals can issue their own digital versions of traditional currencies or even new tokens. For example, a company in Togo could issue a digital version of the CFA franc, making cross-border payments seamless for businesses and individuals across Africa.</p><h4>How Does Stellar Work?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*w0Zo9z9EeaPs9fkSnPngYA.jpeg" /></figure><p>Stellar operates on a network of connected nodes, known as the Stellar ledger, which tracks all accounts, balances, and transactions. Transactions are quick and cost-effective because they don’t rely on the traditional banking infrastructure. Instead, they use blockchain technology to maintain a public ledger of every transaction.</p><blockquote>For example, if Alice in Ghana wants to send money to Bob in France, she can do this via Stellar. She transfers her digital CFA to Bob, who receives it as euros. No need to go through currency exchanges, banks, or remittance services. This type of payment, called a “path payment,” is one of Stellar’s unique innovations.</blockquote><h4>Introducing Soroban: Stellar’s Smart Contract Platform</h4><p>Soroban takes Stellar a step further by introducing smart contracts. If Stellar is the highway that connects financial systems, Soroban is the engine that powers complex, programmable agreements. Smart contracts are like digital contracts that automatically enforce the terms when conditions are met.</p><p>Imagine you run an online marketplace. You can set up a smart contract to automatically release funds to a seller once the buyer confirms receipt of their goods. No need for an intermediary to manage the payment — the contract does it for you. Soroban allows developers to build these kinds of solutions on Stellar, unlocking endless possibilities for decentralized apps (dApps).</p><h4>Real-Life Examples</h4><p>1. Cross-Border Remittances:<br> Maria, who lives in Mexico, works in the US and needs to send money to her family back home. Using traditional methods like Western Union or a bank transfer can be slow and expensive. With Stellar, Maria can send funds instantly and at a fraction of the cost. Her family receives the funds in their local currency, converted automatically by Stellar’s network.</p><p>2. Tokenized Assets:<br> A Togolese company issues a tokenized version of its shares using Stellar. Investors worldwide can buy, sell, and trade these tokens easily. This brings liquidity and access to markets that were once hard to reach for small businesses in developing economies.</p><h4>How Stellar and Soroban Compare to Everyday Things</h4><p>Think of Stellar as the roads in a city and Soroban as the traffic lights. Stellar moves the cars (money and assets) from point A to point B. Soroban, the traffic lights, ensures the cars stop and go at the right times, preventing accidents (or errors). They work together to ensure a smooth, functional system.</p><p>Another way to think about it: Stellar is like your email inbox, handling messages (transactions) between people. Soroban, on the other hand, is like a filter that only lets through emails that meet certain criteria (smart contract rules).</p><h4>Why This Matters</h4><p>Blockchain can seem like just a fancy buzzword, but technologies like Stellar and Soroban are changing how we think about money, contracts, and the digital economy. For regions like Africa, where traditional banking systems can be limited, Stellar provides an accessible alternative that anyone with a smartphone can use. This opens up opportunities for financial inclusion and empowers individuals to participate in the global economy.</p><h4>Frequently Asked Questions</h4><p><strong>1. What is Stellar?</strong><br>Stellar is a decentralized network that connects banks, payment systems, and people, allowing them to send and receive money across borders quickly and cheaply.</p><p><strong>2. How are Stellar transactions different from bank transfers?</strong><br>Stellar transactions are faster and cheaper because they don’t rely on traditional banks. Instead, they use blockchain to record and verify transactions.</p><p><strong>3. What is Soroban?</strong><br>Soroban is Stellar’s smart contract platform that allows developers to create programmable agreements (smart contracts) on the Stellar network.</p><p><strong>4. How does Stellar help businesses in developing countr</strong><br>Businesses can issue digital assets on Stellar, like tokenized shares or digital currencies, allowing them to access global markets easily.</p><p><strong>5. Can I use Stellar to send money internationally?</strong><br>Yes! Stellar allows for fast and low-cost international money transfers.</p><h4>Conclusion</h4><p>Stellar and Soroban are more than just blockchain buzzwords. They’re tools for creating a fairer, more connected world where people can transact freely and securely. By providing the infrastructure for developers and businesses, Stellar is building bridges to financial systems that were once out of reach. If you’re curious about blockchain but unsure where to start, Stellar is a great entry point to understanding how this technology can benefit everyone.</p><p>Want to learn more? Check out <a href="https://stellar.org/">Stellar’s official site</a></p><p>To support me, here are my crypto wallets:</p><p>EVM : 0xf249F24182CdE7bAd264B60Ed38727Fd3674FE6A</p><p>SOL : Fq9sgX7UHqEEwpVMu7UKjpstQGcf1JD3kPnUTYRbEdcZ</p><p>For more information and to see other articles, projects, you can follow me on :</p><ul><li>LinkedIn : <a href="https://www.linkedin.com/in/starlabman">AGBETISIASSI KODJO LABORE</a></li><li>GitHub : <a href="https://github.com/starlabman">Github Profile</a></li><li>Twitter : <a href="https://twitter.com/0xWeb3Devrel">Twitter Profile</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d214edf7359" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Stellar and Soroban Are Revolutionizing Finance: A Simple Guide]]></title>
            <link>https://medium.com/@starlabman/how-stellar-and-soroban-are-revolutionizing-finance-a-simple-guide-3f62cd36be22?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f62cd36be22</guid>
            <category><![CDATA[soroban]]></category>
            <category><![CDATA[stellar]]></category>
            <category><![CDATA[stellarcontentchallenge]]></category>
            <category><![CDATA[blockchain-101]]></category>
            <category><![CDATA[africablockchaincommunity]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 11:10:43 GMT</pubDate>
            <atom:updated>2024-09-26T11:10:43.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*93iPu_Ayxq5X_iuq0lRmuw.jpeg" /></figure><p>The world of finance is undergoing a revolution, and blockchain technology is at the forefront of this change. Stellar and Soroban, two important projects within the blockchain ecosystem, are simplifying access to global financial systems and creating new opportunities. In this article, we will explain Stellar and Soroban in simple terms and show how they are transforming the financial landscape for everyone, including people with no prior knowledge of blockchain.</p><h4><strong>What is Stellar?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*57duW6E0gNVMgwcMvvjr4w.jpeg" /></figure><p>Stellar is a decentralized financial network that connects people, payment systems, and financial institutions globally. Think of it as a worldwide financial highway where you can send and receive money almost instantly, no matter where you are. Stellar’s mission is to make financial systems more inclusive by providing the infrastructure for people who may not have access to traditional banking services.</p><blockquote>Here’s a real-world example: Imagine you’re working in France, but your family lives in Togo. Normally, sending money home through a bank or a remittance service would cost a lot in fees and take several days. With Stellar, you can send money to your family in Togo instantly and with very low fees. Your family can receive the funds in their local currency through Stellar’s network, and they don’t even need a bank account.</blockquote><h4>How Stellar Works</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*UQhwzMgqMMiPYGWqCvpyAg.jpeg" /></figure><p>Stellar’s technology is built on a public ledger, similar to a giant book that records every transaction. The ledger is maintained by a network of computers, called nodes, that work together to validate and secure every transaction. Each account on the Stellar network holds balances, like your bank account, but instead of just one currency, you can hold digital assets like Stellar’s native cryptocurrency (XLM), US dollars, euros, or even tokenized assets like gold.</p><blockquote>For example, businesses in Africa can issue their own tokens on Stellar to represent real-world assets like the CFA franc or company shares. This gives them access to global financial markets that were previously out of reach, allowing them to trade, raise funds, or offer new services without the need for traditional financial intermediaries.</blockquote><h4>Introducing Soroban: Stellar’s Smart Contract Platform</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*RJmdAzvdCjqyTQexxGbpTw.jpeg" /></figure><p>Smart contracts are an exciting part of blockchain technology. They are essentially computer programs that automatically execute when certain conditions are met, like an agreement between two parties without needing a third-party middleman. Soroban is Stellar’s platform for creating and running smart contracts, and it allows developers to build innovative decentralized applications (dApps).</p><p>Here’s a practical example: Let’s say you are renting an apartment. Instead of signing a paper contract, you and your landlord agree to use a smart contract built on Soroban. The smart contract will automatically release the rent payment to the landlord every month when you confirm that you’ve received your utility bill. This removes the need for lawyers, banks, or rental agencies to manage the transaction, saving both time and money.</p><h4>Stellar and Soroban in Everyday Life</h4><p><strong>1. Microfinance for Small Businesses</strong></p><p>Small businesses in developing countries often struggle to get loans due to high costs or lack of credit history. With Stellar, a microfinance company can issue loans as digital assets, which the business can use to pay suppliers or customers. These loans can be repaid through Stellar’s network, providing access to capital for entrepreneurs who would otherwise be left out of the formal financial system.</p><p><strong>2. International Trade:</strong></p><p>Imagine a business in Kenya exporting coffee to Europe. Normally, payments would take several days to process and would involve currency exchanges and high fees. Using Stellar, the exporter can receive payments instantly in Kenyan shillings while the buyer in Europe pays in euros. The transaction is transparent, and both parties avoid hefty fees.</p><h3>Why This Matters</h3><p>Blockchain can seem like a complicated, distant concept, but Stellar and Soroban bring it down to earth. These platforms offer practical solutions to real-world problems, particularly in regions where access to financial services is limited. By eliminating intermediaries and creating a decentralized, transparent system, Stellar empowers individuals, businesses, and entire economies.</p><p>Stellar and Soroban’s real impact is in financial inclusion. In many parts of the world, people don’t have access to basic banking services. With just a smartphone and an internet connection, anyone can use Stellar to make payments, transfer money, or access decentralized financial services. Soroban, on the other hand, enables developers to create contracts that automate complex financial transactions, further enhancing the efficiency and accessibility of financial systems.</p><h3>Frequently Asked Questions</h3><p><strong>1. What is Soroban, and why is it important?</strong></p><p>Soroban is Stellar’s smart contract platform that allows developers to build decentralized applications (dApps). These smart contracts can automate agreements and transactions, making financial processes more efficient.</p><p><strong>2. How does Stellar benefit people in developing countries?</strong></p><p>Stellar allows people to send and receive money across borders at low costs and without the need for a bank account. It opens up access to the global economy for people who are excluded from traditional financial systems.</p><p><strong>3. What is a Stellar digital asset?</strong></p><p>A digital asset on Stellar is a token that can represent any real-world asset, like a currency, commodity, or even company shares. These assets can be traded and transferred easily on the Stellar network.</p><p><strong>4. How are Stellar transactions different from traditional bank transfers?</strong></p><p>Stellar transactions are faster, cheaper, and don’t require intermediaries like banks or money transfer services. They use blockchain technology to validate and record transactions.</p><p><strong>5. What can I build with Soroban?</strong></p><p>Soroban allows you to create smart contracts for various use cases, such as automated payments, decentralized finance (DeFi) applications, and tokenized assets.</p><h4>Conclusion</h4><p>Stellar and Soroban are leading the way in making financial systems more accessible, efficient, and transparent. Whether you’re a small business owner in Africa looking for capital or someone sending money to family overseas, these platforms provide practical solutions to real-world financial challenges. By using blockchain to simplify transactions and automate contracts, Stellar and Soroban are democratizing access to the global economy.</p><p>Want to dive deeper? Explore <a href="https://stellar.org/">Stellar’s website</a> and try out Soroban’s smart contract capabilities to see how blockchain can transform your financial life!</p><p>To support me, here are my crypto wallets:</p><p>EVM : 0xf249F24182CdE7bAd264B60Ed38727Fd3674FE6A</p><p>SOL : Fq9sgX7UHqEEwpVMu7UKjpstQGcf1JD3kPnUTYRbEdcZ</p><p>For more information and to see other articles, projects, you can follow me on :</p><ul><li>LinkedIn : <a href="https://www.linkedin.com/in/starlabman">AGBETISIASSI KODJO LABORE</a></li><li>GitHub : <a href="https://github.com/starlabman">Github Profile</a></li><li>Twitter : <a href="https://twitter.com/0xWeb3Devrel">Twitter Profile</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f62cd36be22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To-do List Blockchain dApp avec NextJS + Solidity + Web3.js — Tutoriel pas à pas [FRENCH]]]></title>
            <link>https://medium.com/@starlabman/to-do-list-blockchain-dapp-avec-nextjs-solidity-web3-js-tutoriel-pas-%C3%A0-pas-french-86b3ca4976cc?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/86b3ca4976cc</guid>
            <category><![CDATA[solidity-developer]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3-development]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Fri, 28 Jun 2024 08:02:46 GMT</pubDate>
            <atom:updated>2024-06-28T08:02:46.594Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ypn77zjGYBlJU-kTA7WizA.jpeg" /><figcaption>I’m Full Stack and Blockchain Dev</figcaption></figure><h3><strong>To-do List Blockchain dApp avec NextJS + Solidity + Web3.js — Tutoriel pas à pas [FRENCH]</strong></h3><h4><strong>Introduction</strong></h4><p>Dans ce tutoriel, nous allons créer une application décentralisée (dApp) de liste de tâches en utilisant plusieurs technologies clés : NextJS pour le front-end, Solidity pour les smart contracts, Web3.js pour l’interaction avec la blockchain et Alchemy pour la connexion à Ethereum. Nous utiliserons également Sepolia, un réseau de test Ethereum, pour déployer et tester notre application sans utiliser de véritables ethers (ETH).</p><h4><strong>Technologies utilisées</strong></h4><p>1. <strong>dApp (Application Décentralisée)</strong> : Une dApp fonctionne sur un réseau décentralisé, comme la blockchain. Contrairement aux applications traditionnelles, les dApps n’ont pas de point central de contrôle et utilisent des smart contracts pour gérer la logique applicative de manière sécurisée et transparente.</p><p>2. <strong>Front-end</strong> : Le front-end est la partie visible de l’application avec laquelle les utilisateurs interagissent directement. Il inclut les interfaces utilisateur (UI) et est généralement construit avec des technologies comme HTML, CSS et JavaScript. Dans ce projet, nous utilisons Next.js pour le front-end.</p><p>3.<strong> Backend</strong> : Le backend est la partie de l’application qui gère la logique, les calculs, et les interactions avec la base de données. Dans une dApp, une partie de la logique backend est gérée par des smart contracts sur la blockchain. Nous utiliserons Hardhat pour développer et tester notre backend en Solidity.</p><p>4. <strong>JavaScript</strong> : JavaScript est un langage de programmation utilisé pour développer à la fois le front-end et certaines parties du backend des applications web. Dans ce projet, nous utiliserons JavaScript pour créer et gérer notre front-end avec Next.js, ainsi que pour interagir avec la blockchain via Web3.js.</p><p>5. <strong>Web3.js</strong> : Web3.js est une bibliothèque JavaScript qui permet d’interagir avec la blockchain Ethereum. Elle permet aux applications web d’envoyer des transactions, de lire des données et d’interagir avec des smart contracts.</p><p>6. <strong>Hardhat </strong>: Hardhat est un environnement de développement Ethereum pour compiler, déployer, tester et déboguer vos smart contracts. Il simplifie le processus de développement des smart contracts en fournissant des outils puissants.</p><p>7. <strong>Alchemy</strong> : Alchemy est une plateforme de développement blockchain qui fournit des outils et une infrastructure pour interagir avec la blockchain Ethereum. Elle offre des APIs améliorées et une infrastructure de nœud supérieure pour faciliter le développement et le déploiement de dApps.</p><p>8. Sepolia : Sepolia est un réseau de test (testnet) Ethereum utilisé pour déployer et tester des smart contracts sans utiliser de véritables ethers (ETH). Les testnets comme Sepolia permettent aux développeurs de tester leurs applications dans un environnement simulé.</p><p><strong>Vue d’ensemble des étapes</strong></p><p>1. <strong>Développement du Smart Contract</strong> :<br> — Définir un smart contract pour gérer les éléments de la liste de tâches.<br> — Compiler et déployer le contrat.</p><p>2. <strong>Frontend Next.js </strong>:<br> — Configurer un projet Next.js.<br> — Connecter le frontend au réseau Ethereum en utilisant Web3.js.<br> — Implémenter la fonctionnalité pour créer, lire et gérer les éléments de la liste de tâches.</p><p>3. <strong>Déploiement du Frontend en Local</strong>:<br> — Exécuter l’application localement pour tester l’intégration avec le smart contract.</p><p><strong>1. Développement du Smart Contract</strong></p><p><strong>Configuration du Projet Backend</strong></p><p>Pour commencer, nous devons créer un projet Hardhat. Hardhat est un environnement de développement Ethereum pour compiler, déployer, tester et déboguer vos smart contracts. Ouvrez votre terminal, créez ou accédez à un nouveau répertoire vide et exécutez la commande suivante :</p><pre>npm install ethers hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers @openzeppelin/contracts dotenv</pre><blockquote><strong>Explication </strong>: Cette commande installe plusieurs packages essentiels pour développer et tester des smart contracts avec Hardhat, y compris `ethers` pour interagir avec Ethereum, `hardhat` pour le développement local, et `dotenv` pour gérer les variables d’environnement.</blockquote><p>Ensuite, initialisez un nouvel environnement de développement avec la commande Hardhat :</p><pre>npx hardhat</pre><blockquote><strong>Explication </strong>: Cette commande initialise un nouveau projet Hardhat dans le répertoire courant. Suivez les instructions pour créer un projet de base.</blockquote><p>Après avoir exécuté cette commande, sélectionnez l’option “Create a basic sample project” et pour les autres options, appuyez sur “yes”. Vous devriez voir les fichiers et dossiers suivants créés dans votre répertoire racine :</p><p>- hardhat.config.js : Contient la configuration de Hardhat.<br>- scripts : Contient un script nommé sample-script.js qui déploiera votre smart contract lorsqu’il sera exécuté.<br>- test : Contient un exemple de script de test.<br>- contracts : Contient un exemple de smart contract Solidity.</p><p><strong>Obtenir une clé API Ethereum avec Alchemy</strong></p><p>Alchemy est une plateforme de développement blockchain. Pour créer une API, suivez les étapes suivantes :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lG7k8Y48YfM5JGLG_T-eQA.png" /></figure><p>1. Inscrivez-vous sur Alchemy <a href="https://www.alchemy.com/">https://www.alchemy.com/</a>.<br>2. Allez sur le Dashboard.<br>3. Sélectionnez le réseau “Sepolia”.<br>4. Copiez la clé HTTP après avoir créé l’application sur Alchemy.</p><p>Créez un fichier `.env` dans la racine de votre projet et stockez cette clé HTTP comme suit :</p><pre>ALCHEMY_SEPOLIA_URL=&quot;VOTRE_CLE_HTTP_ALCHEMY&quot;</pre><blockquote>Explication : Le fichier `.env` stocke les variables d’environnement de manière sécurisée, comme l’URL de votre API Alchemy, pour ne pas les exposer directement dans votre code source.</blockquote><p><strong>Obtenir votre clé privée de compte depuis Metamask</strong></p><p>Metamask est un portefeuille de cryptomonnaies qui permet d’interagir avec la blockchain Ethereum. Cette clé privée est nécessaire pour notre script de déploiement du smart contract afin de l’exécuter et de prendre des frais de gaz en ether depuis notre portefeuille.</p><ol><li>Cliquez sur l’icône de profil.<br>2. Sélectionnez le compte que vous souhaitez exporter.<br>3. Cliquez sur “Account Details”.<br>4. Cliquez sur “Export Private Key” et entrez votre mot de passe.<br>5. Copiez et collez cette clé privée dans votre fichier `.env`.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*qLwbu8LilYxVMREe7vIkiw.png" /></figure><pre>ACCOUNT_PRIVATE_KEY=&quot;VOTRE_CLE_PRIVEE&quot;</pre><blockquote>Explication : La clé privée de votre compte Metamask est nécessaire pour signer et envoyer des transactions sur le réseau Ethereum. Ne partagez jamais cette clé et gardez-la sécurisée.</blockquote><p><strong>Obtenir des tokens de test pour Sepolia</strong></p><p>Pour tester vos smart contracts sur Sepolia, vous aurez besoin de tokens de test. Vous pouvez obtenir des tokens de test (ETH) à partir de faucets de testnet. Voici quelques faucets que vous pouvez utiliser :</p><ul><li>Sepolia Faucet : <a href="https://sepoliafaucet.io/">https://sepoliafaucet.io</a>/</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*3-BQOR2c_VsN20BfsPgYgg.png" /></figure><blockquote>Explication : Les faucets de testnet vous fournissent des ETH gratuits que vous pouvez utiliser pour payer les frais de gaz lors du déploiement et du test de vos smart contracts sur les réseaux de test comme Sepolia.</blockquote><p><strong>Mise à jour de hardhat.config.js</strong></p><p>Mettez à jour la configuration dans hardhat.config.js comme suit :</p><pre>require(&quot;@nomiclabs/hardhat-waffle&quot;);<br>require(&#39;dotenv&#39;).config();<br>module.exports = {<br> solidity: &quot;0.8.4&quot;,<br> networks: {<br> sepolia: {<br> url: process.env.ALCHEMY_SEPOLIA_URL,<br> accounts: [process.env.ACCOUNT_PRIVATE_KEY]<br> }<br> }<br>};</pre><blockquote>Explication : Cette configuration permet à Hardhat de se connecter au réseau Sepolia via Alchemy en utilisant l’URL de votre API et la clé privée de votre compte Metamask pour déployer et tester les smart contracts.</blockquote><p><strong>Création de la logique du Smart Contract</strong></p><p>Créez un nouveau fichier dans le répertoire contracts nommé `TaskContract.sol`. Ajoutez le code suivant :</p><pre>// SPDX-License-Identifier: GPL-3.0<br>pragma solidity 0.8.4;<br>contract TaskContract {<br>event AddTask(address recipient, uint taskId);<br> event DeleteTask(uint taskId, bool isDeleted);<br>struct Task {<br> uint id;<br> address username;<br> string taskText;<br> bool isDeleted;<br> }<br>Task[] private tasks;<br> mapping(uint256 =&gt; address) taskToOwner;<br>function addTask(string memory taskText, bool isDeleted) external {<br> uint taskId = tasks.length;<br> tasks.push(Task(taskId, msg.sender, taskText, isDeleted));<br> taskToOwner[taskId] = msg.sender;<br> emit AddTask(msg.sender, taskId);<br> }<br>function getMyTasks() external view returns (Task[] memory) {<br> Task[] memory temporary = new Task[](tasks.length);<br> uint counter = 0;<br> for (uint i = 0; i &lt; tasks.length; i++) {<br> if (taskToOwner[i] == msg.sender &amp;&amp; tasks[i].isDeleted == false) {<br> temporary[counter] = tasks[i];<br> counter++;<br> }<br> }<br>Task[] memory result = new Task[](counter);<br> for (uint i = 0; i &lt; counter; i++) {<br> result[i] = temporary[i];<br> }<br> return result;<br> }<br>function deleteTask(uint taskId, bool isDeleted) external {<br> if (taskToOwner[taskId] == msg.sender) {<br> tasks[taskId].isDeleted = isDeleted;<br> emit DeleteTask(taskId<br>, isDeleted);<br> }<br> }<br>}</pre><blockquote>Explication : Ce smart contract gère une liste de tâches. Il permet d’ajouter, de récupérer et de supprimer des tâches. Les tâches sont associées à l’adresse de l’utilisateur qui les crée.</blockquote><p><strong>Tester les Smart Contracts</strong></p><p>Pour tester le smart contract, créez et ouvrez `test/TaskContractTest.js` et mettez-le à jour avec le code suivant :</p><pre>const { expect } = require(&quot;chai&quot;);<br>const { ethers } = require(&quot;hardhat&quot;);<br>describe(&quot;Task Contract&quot;, function () {<br> let TaskContract;<br> let taskContract;<br> let owner;<br>const NUM_TOTAL_TASKS = 5;<br> let totalTasks;<br>beforeEach(async function () {<br> TaskContract = await ethers.getContractFactory(&quot;TaskContract&quot;);<br> [owner] = await ethers.getSigners();<br> taskContract = await TaskContract.deploy();<br>totalTasks = [];<br> for (let i = 0; i &lt; NUM_TOTAL_TASKS; i++) {<br> let task = {<br> &#39;taskText&#39;: &#39;Task number: &#39; + i,<br> &#39;isDeleted&#39;: false<br> };<br> await taskContract.addTask(task.taskText, task.isDeleted);<br> totalTasks.push(task);<br> }<br> });<br>describe(&quot;Add Task&quot;, function () {<br> it(&quot;should emit AddTask event&quot;, async function () {<br> let task = {<br> &#39;taskText&#39;: &#39;New Task&#39;,<br> &#39;isDeleted&#39;: false<br> };<br> await expect(await taskContract.addTask(task.taskText, task.isDeleted))<br> .to.emit(taskContract, &#39;AddTask&#39;)<br> .withArgs(owner.address, NUM_TOTAL_TASKS);<br> });<br> });<br>describe(&quot;Get All Tasks&quot;, function () {<br> it(&quot;should return the correct number of total tasks&quot;, async function () {<br> const tasksFromChain = await taskContract.getMyTasks();<br> expect(tasksFromChain.length).to.equal(NUM_TOTAL_TASKS);<br> });<br> });<br>describe(&quot;Delete Task&quot;, function () {<br> it(&quot;should emit delete task event&quot;, async function () {<br> const TASK_ID = 0;<br> const TASK_DELETED = true;<br>await expect(taskContract.deleteTask(TASK_ID, TASK_DELETED))<br> .to.emit(taskContract, &#39;DeleteTask&#39;)<br> .withArgs(TASK_ID, TASK_DELETED);<br> });<br> });<br>});</pre><blockquote>Explication : Ces tests vérifient que le smart contract fonctionne correctement en ajoutant, récupérant et supprimant des tâches. Les tests utilisent `chai` pour les assertions et `ethers` pour interagir avec le contrat.</blockquote><p>Exécutez les tests unitaires avec la commande suivante :</p><pre>npx hardhat test</pre><blockquote>Explication : Cette commande exécute les tests définis dans le répertoire `test` pour vérifier que le smart contract fonctionne comme prévu.</blockquote><p><strong>Déployer le Smart Contract sur le réseau SEPOLIA</strong></p><p>Pour déployer le contrat, créez un fichier `deploy.js` dans le dossier `scripts` et ajoutez le contenu suivant :</p><pre>const main = async () =&gt; {<br> const contractFactory = await ethers.getContractFactory(&#39;TaskContract&#39;);<br> const contract = await contractFactory.deploy();<br> await contract.deployed();<br>console.log(&quot;Contract deployed to:&quot;, contract.address);<br>};<br>const runMain = async () =&gt; {<br> try {<br> await main();<br> process.exit(0);<br> } catch (error) {<br> console.log(error);<br> process.exit(1);<br> }<br>};<br>runMain();</pre><blockquote>Explication : Ce script déploie le smart contract sur le réseau Sepolia en utilisant Hardhat. Il affiche l’adresse du contrat déployé une fois le déploiement terminé.</blockquote><p>Exécutez le script avec la commande suivante :</p><pre>npx hardhat run scripts/deploy.js - network sepolia</pre><blockquote>Explication : Cette commande exécute le script de déploiement sur le réseau Sepolia, utilisant les informations de configuration fournies dans `hardhat.config.js`.</blockquote><p><strong>2. Frontend Next.js</strong></p><p><strong>Initialiser le projet Next.js</strong></p><pre>npx create-next-app todo-dapp-frontend<br>cd todo-dapp-frontend</pre><p>Explication : Cette commande crée un nouveau projet Next.js et accède au répertoire du projet.</p><p><strong>Installer les dépendances nécessaires</strong></p><p>Installez Web3.js et les autres dépendances requises pour le frontend :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ntdiZl3mLfE6aoZzIaJYZA.png" /></figure><pre>npm install web3 axios @emotion/react @emotion/styled @mui/icons-material @mui/material react-toastify</pre><blockquote><strong>Explication </strong>: Cette commande installe les bibliothèques nécessaires pour construire l’interface utilisateur, gérer les notifications, et interagir avec la blockchain.</blockquote><p><strong>Configuration du Frontend</strong></p><p><strong>Création de la structure de l’application</strong></p><p>1. <strong>Dossier src et pages</strong> : Dans le dossier `src`, puis dossier `pages` avec un fichier `index.js`.</p><p>Voici le contenu du fichier `pages.js` :</p><pre>&quot;use client&quot;;<br>import { React, useState, useEffect } from &#39;react&#39;;<br>import { Container, Box, Typography, TextField, Button, AppBar, Toolbar, IconButton } from &#39;@mui/material&#39;;<br>import MenuIcon from &#39;@mui/icons-material/Menu&#39;;<br>import { ToastContainer, toast } from &#39;react-toastify&#39;;<br>import &#39;react-toastify/dist/ReactToastify.css&#39;;<br>import TaskTable from &#39;../components/Task&#39;;<br>import Web3 from &#39;web3&#39;;<br>import { TaskContractAddress } from &#39;../config&#39;;<br>import TaskAbi from &#39;../utils/TaskContract.json&#39;;<br>export default function Home() {<br> const [tasks, setTasks] = useState([]);<br> const [input, setInput] = useState(&#39;&#39;);<br> const [currentAccount, setCurrentAccount] = useState(&#39;&#39;);<br> const [correctNetwork, setCorrectNetwork] = useState(false);<br>// Fonction pour récupérer toutes les tâches<br> const getAllTasks = async () =&gt; {<br> try {<br> const { ethereum } = window;<br>if (ethereum) {<br> const web3 = new Web3(ethereum);<br> const TaskContract = new web3.eth.Contract(TaskAbi.abi, TaskContractAddress);<br>let allTasks = await TaskContract.methods.getMyTasks().call();<br> allTasks = allTasks.map(task =&gt; ({<br> id: task.id.toString(),<br> taskText: task.taskText,<br> wallet: task.wallet,<br> taskDate: new Date(task.taskDate * 1000).toLocaleDateString(),<br> taskTime: new Date(task.taskDate * 1000).toLocaleTimeString(),<br> isDeleted: task.isDeleted<br> }));<br> setTasks(allTasks);<br> } else {<br> console.log(&quot;Ethereum object doesn&#39;t exist&quot;);<br> }<br> } catch (error) {<br> console.log(error);<br> }<br> };<br>useEffect(() =&gt; {<br> getAllTasks();<br> }, []);<br>// Fonction pour connecter le portefeuille Metamask<br> const connectWallet = async () =&gt; {<br> try {<br> const { ethereum } = window;<br>if (!ethereum) {<br> toast.error(&#39;Metamask not detected&#39;);<br> return;<br> }<br> let chainId = await ethereum.request({ method: &#39;eth_chainId&#39; });<br> console.log(&#39;Connected to chain:&#39; + chainId);<br>const sepoliaChainId = &#39;0xaa36a7&#39;;<br>if (chainId !== sepoliaChainId) {<br> alert(&#39;You are not connected to the Sepolia Testnet!&#39;);<br> return;<br> } else {<br> setCorrectNetwork(true);<br> }<br>const accounts = await ethereum.request({ method: &#39;eth_requestAccounts&#39; });<br>console.log(&#39;Found account&#39;, accounts[0]);<br> setCurrentAccount(accounts[0]);<br> toast.success(&#39;Wallet connected&#39;);<br> } catch (error) {<br> console.log(&#39;Error connecting to metamask&#39;, error);<br> }<br> };<br>// Fonction pour ajouter une tâche<br> const addTask = async (e) =&gt; {<br> e.preventDefault();<br>const task = {<br> &#39;id&#39;: tasks.length + 1,<br> &#39;taskText&#39;: input,<br> &#39;isDeleted&#39;: false<br> };<br>try {<br> const { ethereum } = window;<br>if (ethereum) {<br> const web3 = new Web3(ethereum);<br> const TaskContract = new web3.eth.Contract(TaskAbi.abi, TaskContractAddress);<br>await TaskContract.methods.addTask(task.taskText, task.isDeleted).send({ from: currentAccount });<br> setTasks([…tasks, task]);<br> setInput(&#39;&#39;);<br> toast.success(&#39;Task added&#39;);<br> } else {<br> console.log(&quot;Ethereum object doesn&#39;t exist!&quot;);<br> }<br> } catch (error) {<br> console.log(&quot;Error submitting new Task&quot;, error);<br> toast.error(&#39;Error adding task&#39;);<br> }<br> };<br>// Fonction pour supprimer une tâche<br> const deleteTask = async (taskId) =&gt; {<br> try {<br> const { ethereum } = window;<br> <br> if (ethereum) {<br> const web3 = new Web3(ethereum);<br> const TaskContract = new web3.eth.Contract(TaskAbi.abi, TaskContractAddress);<br> <br> await TaskContract.methods.deleteTask(taskId, true).send({ from: currentAccount });<br> <br> const updatedTasks = tasks.map(task =&gt; <br> task.id === taskId.toString() ? { …task, isDeleted: true } : task<br> );<br> <br> setTasks(updatedTasks);<br> toast.success(&#39;Task deleted&#39;);<br> } else {<br> console.log(&quot;Ethereum object doesn&#39;t exist&quot;);<br> }<br> } catch (error) {<br> console.log(error);<br> toast.error(&#39;Error deleting task&#39;);<br> }<br> };<br>return (<br> &lt;div&gt;<br> &lt;ToastContainer /&gt;<br> &lt;AppBar position=&quot;static&quot;&gt;<br> &lt;Toolbar&gt;<br> &lt;IconButton edge=&quot;start&quot; color=&quot;inherit&quot; aria-label=&quot;<br>menu&quot;&gt;<br> &lt;MenuIcon /&gt;<br> &lt;/IconButton&gt;<br> &lt;Typography variant=&quot;h6&quot; style={{ flexGrow: 1 }}&gt;<br> TodoList DApp<br> &lt;/Typography&gt;<br> {currentAccount === &#39;&#39; ? (<br> &lt;Button color=&quot;inherit&quot; onClick={connectWallet}&gt;Connect Wallet&lt;/Button&gt;<br> ) : (<br> &lt;Typography variant=&quot;h6&quot;&gt;{currentAccount}&lt;/Typography&gt;<br> )}<br> &lt;/Toolbar&gt;<br> &lt;/AppBar&gt;<br> &lt;Container&gt;<br> {currentAccount === &#39;&#39; ? (<br> &lt;Box display=&quot;flex&quot; justifyContent=&quot;center&quot; alignItems=&quot;center&quot; height=&quot;100vh&quot;&gt;<br> &lt;Button variant=&quot;contained&quot; color=&quot;primary&quot; size=&quot;large&quot; onClick={connectWallet}&gt;<br> Connect Wallet<br> &lt;/Button&gt;<br> &lt;/Box&gt;<br> ) : correctNetwork ? (<br> &lt;Box mt={4}&gt;<br> &lt;Typography variant=&quot;h4&quot; align=&quot;center&quot; gutterBottom&gt; TodoList DApp &lt;/Typography&gt;<br> &lt;Box component=&quot;form&quot; onSubmit={addTask} display=&quot;flex&quot; justifyContent=&quot;center&quot; mb={2}&gt;<br> &lt;TextField <br> id=&quot;outlined-basic&quot; <br> label=&quot;New Task&quot; <br> variant=&quot;outlined&quot; <br> value={input}<br> onChange={e =&gt; setInput(e.target.value)}<br> style={{ marginRight: 8 }}<br> /&gt;<br> &lt;Button variant=&quot;contained&quot; color=&quot;primary&quot; type=&quot;submit&quot;&gt;Add Task&lt;/Button&gt;<br> &lt;/Box&gt;<br> &lt;TaskTable tasks={tasks} onDelete={deleteTask} /&gt;<br> &lt;/Box&gt;<br> ) : (<br> &lt;Box display=&quot;flex&quot; flexDirection=&quot;column&quot; alignItems=&quot;center&quot; mt={4}&gt;<br> &lt;Typography variant=&quot;h6&quot; color=&quot;error&quot;&gt;Please connect to the Sepolia Testnet&lt;/Typography&gt;<br> &lt;Typography variant=&quot;subtitle1&quot;&gt;and reload the page&lt;/Typography&gt;<br> &lt;/Box&gt;<br> )}<br> &lt;/Container&gt;<br> &lt;/div&gt;<br> );<br>}</pre><blockquote><strong>Explication</strong>: Ce composant React représente la page principale de notre dApp. Il permet de connecter le portefeuille Metamask, de récupérer et d’afficher les tâches depuis la blockchain, et de gérer l’ajout et la suppression de tâches. `useEffect` est utilisé pour récupérer les tâches au chargement de la page.</blockquote><p>2. <strong>Dossier components</strong> : Créez un dossier `components` dans `src` et ajoutez le fichier `Task.js`.</p><p>Voici le contenu du fichier `Task.js` :</p><pre>import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Paper } from &#39;@mui/material&#39;;<br>import DeleteIcon from &#39;@mui/icons-material/Delete&#39;;<br>import &#39;./Task.css&#39;;<br>const TaskTable = ({ tasks, onDelete }) =&gt; {<br> return (<br> &lt;TableContainer component={Paper} className=&quot;task-table&quot;&gt;<br> &lt;Table&gt;<br> &lt;TableHead&gt;<br> &lt;TableRow&gt;<br> &lt;TableCell&gt;ID&lt;/TableCell&gt;<br> &lt;TableCell&gt;Task&lt;/TableCell&gt;<br> &lt;TableCell&gt;Action&lt;/TableCell&gt;<br> &lt;/TableRow&gt;<br> &lt;/TableHead&gt;<br> &lt;TableBody&gt;<br> {tasks.map((task) =&gt; (<br> &lt;TableRow key={task.id}&gt;<br> &lt;TableCell&gt;{task.id.toString()}&lt;/TableCell&gt;<br> &lt;TableCell&gt;{task.taskText}&lt;/TableCell&gt;<br> &lt;TableCell&gt;<br> &lt;DeleteIcon fontSize=&quot;large&quot; style={{ opacity: 0.7, cursor: &#39;pointer&#39; }} onClick={() =&gt; onDelete(task.id)} /&gt;<br> &lt;/TableCell&gt;<br> &lt;/TableRow&gt;<br> ))}<br> &lt;/TableBody&gt;<br> &lt;/Table&gt;<br> &lt;/TableContainer&gt;<br> );<br>};<br>export default TaskTable;</pre><blockquote><strong>Explication</strong> : Ce composant représente le tableau des tâches. Il affiche chaque tâche dans une ligne de tableau et inclut un bouton de suppression pour chaque tâche. Le bouton appelle la fonction `onDelete` passée en tant que prop lorsqu’il est cliqué.</blockquote><p>3. <strong>Fichier CSS</strong> : Ajoutez un fichier `Task.css` dans `components`.</p><p>Voici le contenu du fichier `Task.css` :</p><pre>/* Task.css */<br>.task-table {<br> margin-top: 25px;<br>}<br>.task-table th {<br> background-color: #f5f5f5;<br> font-weight: bold;<br>}<br>.task-table td, .task-table th {<br> padding: 12px 15px;<br>}<br>.todo__list {<br> display: flex;<br> justify-content: space-between;<br> align-items: center;<br> padding: 10px 20px;<br> border-bottom: 1px solid #ddd;<br> background-color: #ffffff;<br> transition: background-color 0.3s ease;<br> border-radius: 4px;<br> margin-bottom: 10px;<br>}<br>.todo__list:last-child {<br> border-bottom: none;<br>}<br>.todo__list:hover {<br> background-color: #f1f1f1;<br>}<br>.MuiSvgIcon-root {<br> cursor: pointer;<br> transition: opacity 0.3s, transform 0.3s;<br> opacity: 0.7;<br>}<br>.MuiSvgIcon-root:hover {<br> opacity: 1;<br> transform: scale(1.1);<br> color: #ee0808;<br>}</pre><blockquote>Explication : Ce fichier CSS stylise le tableau des tâches et le bouton de suppression. Il définit les marges, les couleurs de fond, et les transitions pour améliorer l’apparence visuelle de la liste de tâches.</blockquote><p>4. <strong>Dossier utils</strong> : Créez un dossier `utils` dans `src` et ajoutez le fichier `TaskContract.json` récupéré au niveau du backend dans le dossier `artifacts/contracts/TaskContract`.</p><p>Voici le contenu du fichier `TaskContract.json` :</p><pre>{<br> &quot;_format&quot;: &quot;hh-sol-artifact-1&quot;,<br> &quot;contractName&quot;: &quot;TaskContract&quot;,<br> &quot;sourceName&quot;: &quot;contracts/TaskContract.sol&quot;,<br> &quot;abi&quot;: [<br> {<br> &quot;anonymous&quot;: false,<br> &quot;inputs&quot;: [<br> {<br> &quot;indexed&quot;: false,<br> &quot;internalType&quot;: &quot;address&quot;,<br> &quot;name&quot;: &quot;recipient&quot;,<br> &quot;type&quot;: &quot;address&quot;<br> },<br> {<br> &quot;indexed&quot;: false,<br> &quot;internalType&quot;: &quot;uint256&quot;,<br> &quot;name&quot;: &quot;taskId&quot;,<br> &quot;type&quot;: &quot;uint256&quot;<br> }<br> ],<br> &quot;name&quot;: &quot;AddTask&quot;,<br> &quot;type&quot;: &quot;event&quot;<br> },<br> {<br> &quot;anonymous&quot;: false,<br> &quot;inputs&quot;: [<br> {<br> &quot;indexed&quot;: false,<br> &quot;internalType&quot;: &quot;uint256&quot;,<br> &quot;name&quot;: &quot;taskId&quot;,<br> &quot;type&quot;: &quot;uint256&quot;<br> },<br> {<br> &quot;indexed&quot;: false,<br> &quot;internalType&quot;: &quot;bool&quot;,<br> &quot;name&quot;: &quot;isDeleted&quot;,<br> &quot;type&quot;: &quot;bool&quot;<br> }<br> ],<br> &quot;name&quot;: &quot;DeleteTask&quot;,<br> &quot;type&quot;: &quot;event&quot;<br> },<br> {<br> &quot;inputs&quot;: [<br> {<br> &quot;internalType&quot;: &quot;string&quot;,<br> &quot;name&quot;: &quot;taskText&quot;,<br> &quot;type&quot;: &quot;string&quot;<br> },<br> {<br> &quot;internalType&quot;: &quot;bool&quot;,<br> &quot;name&quot;: &quot;isDeleted&quot;,<br> &quot;type&quot;: &quot;bool&quot;<br> }<br> ],<br> &quot;name&quot;: &quot;addTask&quot;,<br> &quot;outputs&quot;: [],<br> &quot;stateMutability&quot;: &quot;nonpayable&quot;,<br> &quot;type&quot;: &quot;function&quot;<br> },<br> {<br> &quot;inputs&quot;: [<br> {<br> &quot;internalType&quot;: &quot;uint256&quot;,<br> &quot;name&quot;: &quot;taskId&quot;,<br> &quot;type&quot;: &quot;uint256&quot;<br> },<br> {<br> &quot;internalType&quot;: &quot;bool&quot;,<br> &quot;name&quot;: &quot;isDeleted&quot;,<br> &quot;type&quot;: &quot;bool&quot;<br> }<br> ],<br> &quot;name&quot;: &quot;deleteTask&quot;,<br> &quot;outputs&quot;: [],<br> &quot;stateMutability&quot;: &quot;nonpayable&quot;,<br> &quot;type&quot;: &quot;function&quot;<br> },<br> {<br> &quot;inputs&quot;: [],<br> &quot;name&quot;: &quot;getMyTasks&quot;,<br> &quot;outputs&quot;: [<br> {<br> &quot;components&quot;: [<br> {<br> &quot;internalType&quot;: &quot;uint256&quot;,<br> &quot;name&quot;: &quot;id&quot;,<br> &quot;type&quot;: &quot;uint256&quot;<br> },<br> {<br> &quot;internalType&quot;: &quot;address&quot;,<br> &quot;name&quot;: &quot;username&quot;,<br> &quot;type&quot;: &quot;address&quot;<br> },<br> {<br> &quot;internalType&quot;: &quot;string&quot;,<br> &quot;name&quot;: &quot;taskText&quot;,<br> &quot;type&quot;: &quot;string&quot;<br> },<br> {<br> &quot;internalType&quot;: &quot;bool&quot;,<br> &quot;name&quot;: &quot;isDeleted&quot;,<br> &quot;type&quot;: &quot;bool&quot;<br> }<br> ],<br> &quot;internalType&quot;: &quot;struct TaskContract.Task[]&quot;,<br> &quot;name&quot;: &quot;&quot;,<br> &quot;type&quot;: &quot;tuple[]&quot;<br> }<br> ],<br> &quot;stateMutability&quot;: &quot;view&quot;,<br> &quot;type&quot;: &quot;function&quot;<br> }<br> ],<br> &quot;bytecode&quot;: &quot;0x608060405234801561001057600080fd5b50610e62806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806320df4581146100465780636e13f81814610062578063aaba290714610080575b600080fd5b610060600480360381019061005b91906108fc565b61009c565b005b61006a610229565b6040516100779190610b34565b60405180910390f35b61009a60048036038101906100959190610950565b61067f565b005b600080805490509050600060405180608001604052808381526020013373ffffffffffffffffffffffffffffffffffffffff168152602001858152602001841515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000155602082<br>01518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190610176929190610787565b5060608201518160030160006101000a81548160ff0219169083151502179055505050336001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f1f54e1ba1832d428fbd7e7792beaf62b1fc5a382c207ffd614209c1413e94fda338260405161021c929190610b0b565b60405180910390a1505050565b60606000808054905067ffffffffffffffff811115610271577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156102aa57816020015b61029761080d565b81526020019060019003908161028f5790505b5090506000805b600080549050811015610553573373ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801561038857506000151560008281548110610365577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160030160009054906101000a900460ff161515145b1561054057600081815481106103c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201604051806080016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461045090610cb4565b80601f016020809104026020016040519081016040528092919081815260200182805461047c90610cb4565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b505050505081526020016003820160009054906101000a900460ff161515151581525050838381518110610526577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250818061053c90610d17565b9250505b808061054b90610d17565b9150506102b1565b5060008167ffffffffffffffff811115610596577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156105cf57816020015b6105bc61080d565b8152602001906001900390816105b45790505b50905060005b8281101561067557838181518110610616577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610657577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061066d90610d17565b9150506105d5565b5080935050505090565b3373ffffffffffffffffffffffffffffffffffffffff166001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610783578060008381548110610721577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160030160006101000a81548160ff0219169083151502179055507ff88a35c3d2016c409a46570b994a17b408dbc83c14a03f521512d50b85386d06828260405161077a929190610b56565b60405180910390a15b5050565b82805461079390610cb4565b90600052602060002090601f0160209004810192826107b557600085556107fc565b82601f106107ce57805160ff19168380011785556107fc565b828001600101855582156107fc579182015b828111156107fb5782518255916020019190600101906107e0565b5b509050610809919061084d565b5090565b604051806080016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016000151581525090565b5b8082111561086657600081600090555060010161084e565b5090565b600061087d61087884610ba4565b610b7f565b90508281526020810184848401111561089557600080fd5b6108a0848285610c72565b509392505050565b6000813590506108b781610dfe565b92915050565b600082601f8301126108ce57600080fd5b81356108de84826020860161086a565b91505092915050565b6000813590506108f681610e15565b92915050565b6000806040838503121561090f57600080fd5b600083013567ffffffffffffffff81111561092957600080fd5b610935858286016108bd565b9250506020610946858286016108a8565b9150509250929050565b6000806040838503121561096357600080fd5b6000610971858286016108e7565b9250506020610982858286016108a8565b9150509250929050565b60006109988383610a8a565b905092915050565b6109a981610c2a565b82525050565b6109b881610c2a565b82525050565b60006109c982610be5565b6109d38185610c08565b9350836020820285016109e585610bd5565b8060005b85811015610a215784840389528151610a02858261098c565b9450610a0d83610bfb565b925060208a019950506001810190506109e9565b50829750879550505050505092915050565b610a3c81610c3c565b82525050565b610a4b81610c3c565b82525050565b6000610a5c82610bf0565b610a668185610c19565b9350610a76818560208601610c81565b610a7f81610ded565b840191505092915050565b6000608083016000830151610aa26000860182610aed565b506020830151610ab560208601826109a0565b5060408301518482036040860152610acd8282610a51565b9150506060830151610ae26060860182610a33565b508091505092915050565b610af681610c68565b82525050565b610b0581610c68565b82525050565b6000604082019050610b2060008301856109af565b610b2d6020830184610afc565b9392505050565b60006020820190508181036000830152610b4e81846109be565b905092915050565b6000604082019050610b6b6000830185610afc565b610b786020830184610a42565b9392505050565b6000610b89610b9a565b9050610b958282610ce6565b919050565b6000604051905090565b600067ffffffffffffffff821115610bbf57610bbe610dbe565b5b610bc882610ded565b9050602081019050919050565b600081905060208201905<br>0919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000610c3582610c48565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015610c9f578082015181840152602081019050610c84565b83811115610cae576000848401525b50505050565b60006002820490506001821680610ccc57607f821691505b60208210811415610ce057610cdf610d8f565b5b50919050565b610cef82610ded565b810181811067ffffffffffffffff82111715610d0e57610d0d610dbe565b5b80604052505050565b6000610d2282610c68565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610d5557610d54610d60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b610e0781610c3c565b8114610e1257600080fd5b50565b610e1e81610c68565b8114610e2957600080fd5b5056fea26469706673582212209cf2120d1c2331a546dc67e1b144e55ded28e1e2a9bbcd5277ea9cf6eaec679464736f6c63430008040033&quot;,<br> &quot;deployedBytecode&quot;: &quot;0x608060405234801561001057600080fd5b50600436106100415760003560e01c806320df4581146100465780636e13f81814610062578063aaba290714610080575b600080fd5b610060600480360381019061005b91906108fc565b61009c565b005b61006a610229565b6040516100779190610b34565b60405180910390f35b61009a60048036038101906100959190610950565b61067f565b005b600080805490509050600060405180608001604052808381526020013373ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184151581525090806001815401808255809150506001900390600052602060002090600402016000909190919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002019080519060200190610176929190610787565b5060608201518160030160006101000a81548160ff0219169083151502179055505050336001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f1f54e1ba1832d428fbd7e7792beaf62b1fc5a382c207ffd614209c1413e94fda338260405161021c929190610b0b565b60405180910390a1505050565b60606000808054905067ffffffffffffffff811115610271577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156102aa57816020015b61029761080d565b81526020019060019003908161028f5790505b5090506000805b600080549050811015610553573373ffffffffffffffffffffffffffffffffffffffff166001600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801561038857506000151560008281548110610365577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160030160009054906101000a900460ff161515145b1561054057600081815481106103c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201604051806080016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201805461045090610cb4565b80601f016020809104026020016040519081016040528092919081815260200182805461047c90610cb4565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b505050505081526020016003820160009054906101000a900460ff161515151581525050838381518110610526577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250818061053c90610d17565b9250505b808061054b90610d17565b9150506102b1565b5060008167ffffffffffffffff811115610596577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156105cf57816020015b6105bc61080d565b8152602001906001900390816105b45790505b50905060005b8281101561067557838181518110610616577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151828281518110610657577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181905250808061066d90610d17565b9150506105d5565b5080935050505090565b3373ffffffffffffffffffffffffffffffffffffffff166001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610783578060008381548110610721577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160030160006101000a81548160ff0219169083151502179055507ff88a35c3d2016c409a46570b994a17b408dbc83c14a03f521512d50b85386d06828260405161077a929190610b56565b60405180910390a15b5050565b82805461079390610cb4565b90600052602060002090601f0160209004810192826107b557600085556107fc565b82601f106107ce57805160ff19168380011785556107fc565b828001600101855582156107fc579182015b828111156107fb5782518255916020019190600101906107e0565b5b509050610809919061084d565b5090565b604051806080016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001606081526020016000151581525090565b5b8082111561086657600081600090555060010161084e565b5090565b600061087d61087884610ba4565b610b7f565b905082815260208101<br>84848401111561089557600080fd5b6108a0848285610c72565b509392505050565b6000813590506108b781610dfe565b92915050565b600082601f8301126108ce57600080fd5b81356108de84826020860161086a565b91505092915050565b6000813590506108f681610e15565b92915050565b6000806040838503121561090f57600080fd5b600083013567ffffffffffffffff81111561092957600080fd5b610935858286016108bd565b9250506020610946858286016108a8565b9150509250929050565b6000806040838503121561096357600080fd5b6000610971858286016108e7565b9250506020610982858286016108a8565b9150509250929050565b60006109988383610a8a565b905092915050565b6109a981610c2a565b82525050565b6109b881610c2a565b82525050565b60006109c982610be5565b6109d38185610c08565b9350836020820285016109e585610bd5565b8060005b85811015610a215784840389528151610a02858261098c565b9450610a0d83610bfb565b925060208a019950506001810190506109e9565b50829750879550505050505092915050565b610a3c81610c3c565b82525050565b610a4b81610c3c565b82525050565b6000610a5c82610bf0565b610a668185610c19565b9350610a76818560208601610c81565b610a7f81610ded565b840191505092915050565b6000608083016000830151610aa26000860182610aed565b506020830151610ab560208601826109a0565b5060408301518482036040860152610acd8282610a51565b9150506060830151610ae26060860182610a33565b508091505092915050565b610af681610c68565b82525050565b610b0581610c68565b82525050565b6000604082019050610b2060008301856109af565b610b2d6020830184610afc565b9392505050565b60006020820190508181036000830152610b4e81846109be565b905092915050565b6000604082019050610b6b6000830185610afc565b610b786020830184610a42565b9392505050565b6000610b89610b9a565b9050610b958282610ce6565b919050565b6000604051905090565b600067ffffffffffffffff821115610bbf57610bbe610dbe565b5b610bc882610ded565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000610c3582610c48565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015610c9f578082015181840152602081019050610c84565b83811115610cae576000848401525b50505050565b60006002820490506001821680610ccc57607f821691505b60208210811415610ce057610cdf610d8f565b5b50919050565b610cef82610ded565b810181811067ffffffffffffffff82111715610d0e57610d0d610dbe565b5b80604052505050565b6000610d2282610c68565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610d5557610d54610d60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b610e0781610c3c565b8114610e1257600080fd5b50565b610e1e81610c68565b8114610e2957600080fd5b5056fea26469706673582212209cf2120d1c2331a546dc67e1b144e55ded28e1e2a9bbcd5277ea9cf6eaec679464736f6c63430008040033&quot;,<br> &quot;linkReferences&quot;: {},<br> &quot;deployedLinkReferences&quot;: {}<br> }</pre><blockquote>Explication : Ce fichier JSON contient l’ABI (Application Binary Interface) et le bytecode compilé du smart contract. L’ABI est utilisée par Web3.js pour interagir avec le smart contract déployé.</blockquote><p>Ensuite, créez un fichier `config.js` à la racine du dossier `client` et collez l’adresse du contrat déployé :</p><pre>export const TaskContractAddress = &quot;ADRESSE_DU_CONTRAT_DEPLOYE&quot;;</pre><blockquote><strong>Explication</strong>: Ce fichier JavaScript exporte l’adresse du smart contract déployé. Cette adresse sera utilisée par le front-end pour interagir avec le smart contract sur la blockchain.</blockquote><p><strong>Déploiement du frontend en local</strong></p><p>Pour exécuter le projet en local, suivez ces étapes :</p><p>1. Ouvrez votre terminal et accédez au répertoire racine de votre projet frontend.<br>2. Assurez-vous que toutes les dépendances sont installées en exécutant `npm install`.<br>3. Lancez l’application avec `npm run dev`.</p><p>Accédez à votre navigateur et ouvrez `<a href="http://localhost:3000`">http://localhost:3000`</a> pour voir votre application en action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYSVlR9KSk3NSRdt4dbTbQ.png" /></figure><p><strong>Conclusion</strong></p><p>Ce tutoriel vous a guidé à travers le processus de création d’une dApp de liste de tâches avec Next.js, Solidity et Web3.js. En suivant ces étapes, vous pouvez maintenant développer et déployer vos propres applications décentralisées. Pour plus de tutoriels et de ressources, restez connectés et continuez à explorer les possibilités infinies offertes par la blockchain.</p><p>Voir le projet sur GitHub : <a href="https://github.com/starlabman/TodoList_DApp_using_Nextjs_Solidity_Web3js.git">https://github.com/starlabman/TodoList_DApp_using_Nextjs_Solidity_Web3js.git</a><br>Regarder le tutoriel sur YouTube : <a href="https://www.youtube.com/watch?v=MYjdFSyl_7E">https://www.youtube.com/watch?v=MYjdFSyl_7E</a></p><p><strong>Références des outils utilisés</strong></p><p>- Next.js : <a href="https://nextjs.org/">https://nextjs.org/</a>)<br>- Web3.js : <a href="https://web3js.readthedocs.io/">https://web3js.org/</a><br>- Hardhat : <a href="https://hardhat.org/">https://hardhat.org/</a><br>- Alchemy : <a href="https://www.alchemy.com/">https://www.alchemy.com/</a><br>- Metamask : <a href="https://metamask.io/">https://metamask.io/</a></p><p><strong>Présentation de l’auteur</strong></p><p>Je m’appelle <strong>AGBETISIASSI KODJO LABORE</strong>, développeur blockchain passionné par la création de solutions innovantes et sécurisées. Avec une expérience approfondie dans le développement de dApps, je suis dévoué à partager mes connaissances et à aider la communauté à explorer le monde fascinant de la blockchain.</p><blockquote><strong>Pour me soutenir, voici mes wallets crypto : </strong><br><strong>EVM </strong>: 0xf249F24182CdE7bAd264B60Ed38727Fd3674FE6A<br><strong>SOL </strong>: Fq9sgX7UHqEEwpVMu7UKjpstQGcf1JD3kPnUTYRbEdcZ</blockquote><p>Pour plus d’informations et pour voir d’autres projets, vous pouvez me suivre sur :</p><p>- LinkedIn : <a href="https://www.linkedin.com/in/starlabman">https://www.linkedin.com/in/starlabman</a><br>- GitHub : <a href="https://github.com/starlabman">https://github.com/starlabman</a><br>- Twitter : <a href="https://twitter.com/0xWeb3Devrel">https://twitter.com/0xWeb3Devrel</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86b3ca4976cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unraveling ZeroLend: The Future of Decentralized Finance]]></title>
            <link>https://medium.com/@starlabman/unraveling-zerolend-the-future-of-decentralized-finance-87fcf831c937?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/87fcf831c937</guid>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[zerolend]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[zerolend-airdrop]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Wed, 21 Feb 2024 13:33:53 GMT</pubDate>
            <atom:updated>2024-02-21T13:33:53.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Title: Unraveling ZeroLend: The Future of Decentralized Finance" src="https://cdn-images-1.medium.com/max/1024/0*GkpcG7oNnwrnpjel" /></figure><p>In the ever-evolving landscape of decentralized finance (DeFi), innovations emerge rapidly, promising to revolutionize the way we interact with financial services. One such innovation that has been gaining attention recently is ZeroLend ($ZERO). In this article, we’ll delve into what ZeroLend is all about and why it’s generating excitement in the DeFi community.</p><p><strong>What is </strong><a href="https://twitter.com/zerolendxyz"><strong>ZeroLend</strong></a><strong>?</strong></p><p>ZeroLend is a decentralized lending protocol built on the Ethereum blockchain. It aims to provide users with a seamless and secure platform for borrowing and lending digital assets without the need for intermediaries. By leveraging smart contracts, ZeroLend eliminates the need for traditional financial institutions, allowing users to interact with the platform directly.</p><p><strong>Key Features of ZeroLend</strong></p><p>1. Decentralization: ZeroLend operates as a decentralized platform, meaning there is no central authority controlling the lending process. Instead, smart contracts govern the lending and borrowing activities, ensuring transparency and security.</p><p>2. Privacy: ZeroLend prioritizes user privacy by enabling borrowers and lenders to interact pseudonymously. This anonymity fosters a trustless environment where users can transact without revealing their identities.</p><p>3. Collateralization: To borrow funds on ZeroLend, users must provide collateral in the form of digital assets. This collateral serves as security against default, reducing the risk for lenders and enabling trustless lending.</p><p>4. Efficiency: With ZeroLend, borrowing and lending are executed seamlessly through smart contracts, eliminating the need for intermediaries and streamlining the process. This efficiency translates to lower fees and faster transactions for users.</p><p>5. Community Governance: ZeroLend is governed by its community of users through decentralized autonomous organization (DAO) mechanisms. This ensures that platform decisions are made collectively, reflecting the interests of the community.</p><p><strong>How ZeroLend Works</strong></p><p>1. Borrowing: Users looking to borrow funds on ZeroLend can do so by providing collateral in the form of supported digital assets. Once the collateral is locked in a smart contract, borrowers can withdraw funds based on the collateral’s value.</p><p>2. Lending: Lenders on ZeroLend can earn passive income by providing liquidity to the platform. By depositing digital assets into lending pools, lenders can earn interest on their holdings, which is distributed proportionally based on their contributions.</p><p>3. Liquidation: In the event of collateral depreciation or default, ZeroLend’s smart contracts automatically liquidate the collateral to repay lenders, ensuring the integrity of the lending pools.</p><p><strong>The Future of ZeroLend</strong></p><p>As DeFi continues to expand, platforms like ZeroLend play a crucial role in democratizing access to financial services. With its focus on decentralization, privacy, and efficiency, ZeroLend has the potential to reshape the lending landscape, providing users with greater financial autonomy and opportunities for wealth generation.</p><p>In conclusion, ZeroLend represents a promising advancement in the realm of decentralized finance, offering a trustless and efficient platform for borrowing and lending digital assets. As the DeFi ecosystem evolves, ZeroLend stands at the forefront of innovation, poised to unlock new possibilities for financial inclusion and empowerment.</p><p>$ZERO #DeFi #Crypto #Finance #Blockchain $ZERO <a href="http://twitter.com/zerolendxyz">@zerolendxyz</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87fcf831c937" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[COMBO et Polyhedra s’unissent pour célébrer les déploiements sur la chaîne opBNB]]></title>
            <link>https://medium.com/@starlabman/combo-et-polyhedra-sunissent-pour-c%C3%A9l%C3%A9brer-les-d%C3%A9ploiements-sur-la-cha%C3%AEne-opbnb-a1955e0016ed?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1955e0016ed</guid>
            <category><![CDATA[opbnb-airdrop]]></category>
            <category><![CDATA[openbb]]></category>
            <category><![CDATA[bnb-chain]]></category>
            <category><![CDATA[airdrop]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 11:29:50 GMT</pubDate>
            <atom:updated>2023-08-15T11:29:50.379Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*6BEd-B6ssaOiAJju.png" /></figure><p>COMBO et Polyhedra s’unissent dans une puissante alliance pour commémorer leurs déploiements sur la chaîne opBNB ! En guise de gratitude envers notre communauté, nous avons organisé une série d’activités passionnantes, offrant aux participants la chance de gagner un million de jetons COMBO grâce à un parachutage exclusif! Ne laissez pas passer cette occasion en or — joignez-vous à nous et faites partie de cet événement passionnant!</p><h3>💰Récompenses</h3><p>Les participants ont la chance de gagner des jetons COMBO. <strong>Chaque personne a une chance de recevoir 0,1 à 10 000 jetons COMBO.</strong> Le pool de récompense total s’élève à 1 million de jetons COMBO.</p><p>⏰ 10 août — 24 août</p><h3>📖Détails</h3><p>Rejoignez l’événement COMBO Cobee NFT III Series Mystery Box Task Event ! MINT Cobee NFT 3 Series Mystery Boxes et les relier à opBNB pour des ouvertures passionnantes!</p><h3>COMBO Mystery Box</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*8DOkXa_AotfNFVLd.gif" /></figure><p>Dévoilez la boîte mystère COMBO et embrassez le frisson de la chance et des surprises délicieuses!</p><h3>🤖️How to claim the Cobee NFT?</h3><p><strong>1) To get started, claim a mystery box in </strong><a href="https://combonetwork.io/"><strong>COMBO</strong></a><strong>. Check out our </strong><a href="https://medium.combonetwork.io/cobee-nft-mint-guideline-7e7de96a440a"><strong>tutorial </strong></a><strong>for detailed instructions.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*BA8sknVvPH-tbyqG.png" /></figure><p>Make sure you have enough tcBNB for the minting. There are two methods to obtain TCBNB:</p><p><strong>Method 1:</strong> 1) Claim TBNB here: <a href="https://testnet.bnbchain.org/faucet-smart">https://testnet.bnbchain.org/faucet-smart</a> 2) Bridge your TBNB tokens to TCBNB: <a href="https://bridge.combonetwork.io/">https://bridge.combonetwork.io</a></p><p><strong>Method 2: </strong>Claim via the faucet: <a href="https://discord.com/invite/ADj3BsXWvD">https://discord.com/invite/ADj3BsXWvD</a></p><p><strong>2) After claiming the mystery box, click “Join Now” and proceed to the next step.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*UDPTe9Vkkm_58qpp" /></figure><p>3) As you venture through various blockchains using <a href="https://zkbridge.com/zknft">https://zkbridge.com/</a>, click “Confirm Import” to import your mystery box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*QlbwStWFO8u6HJMe" /></figure><p>4) Choose opBNB chain to get the Master Cobee.</p><p><a href="https://docs.bnbchain.org/opbnb-docs/docs/build-on-opbnb/wallet-configuration">To process on opBNB Chain</a>, you need to:</p><p><strong>*** Add the BNB smart chain testnet to your wallet. This is the Layer 1 blockchain that opBNB is built on top of.</strong></p><ul><li>Network Name: opBNB Testnet</li><li>New RPC URL: <a href="https://opbnb-testnet-rpc.bnbchain.org/">https://opbnb-testnet-rpc.bnbchain.org</a></li><li>ChainID: 5611</li><li>Symbol: tBNB</li><li>Explorer: <a href="http://opbnbscan.com/">http://opbnbscan.com/</a></li></ul><p><strong>*** Ensure you have enough gas (tcBNB) on opBNB network for transfer COMBO to opBNB by using zkbridge.</strong></p><p>tcBNB Faucet: <a href="https://testnet.bnbchain.org/faucet-smart">https://testnet.bnbchain.org/faucet-smart</a></p><p><a href="https://opbnb-testnet-bridge.bnbchain.org/deposit">https://opbnb-testnet-bridge.bnbchain.org/deposit</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*RjLwmKlo66bvKKaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*h5qBhP901M1aGn2f" /></figure><p>It takes 15- 30 mins for the blockchain confirmations.</p><p>5) Your mystery box will evolve, representing your progress and mastery in the realm of NFT design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*vjsqMm18_vNeqrH7" /></figure><p>Note: If the status changes to “Completed,” that means the process is completed.</p><p>6) You will receive the following Cobee. Click the “My NFT” in the top right to check your NFT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*hFOCjr14VbIloii8" /></figure><h3>Master Cobee</h3><p>Cobee, l’âme de COMBO, incarne sa force, son énergie et son dynamisme. Maître Cobee est le summum de la transformation, incarnant la véritable essence de l’âme de COMBO. Avec une force, une énergie et un potentiel illimités, Master Cobee signifie votre maîtrise de la conception et de l’art NFT, inspirant les autres dans leur voyage créatif.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*pRhJcz-dliN7A_bD.gif" /></figure><p>Maître Cobee</p><h3>À propos du réseau Polyhedra</h3><p>Polyhedra Network construit la prochaine génération d’infrastructure pour l’interopérabilité, l’évolutivité et la confidentialité Web3 grâce à la technologie avancée de preuve à connaissance nulle (ZKP). Polyhedra Network fournit des solutions d’interopérabilité fiables et hautement efficaces pour les transferts d’actifs, la transmission de messages et le partage de données entre différents systèmes Web2 et Web3. Pour en savoir plus, <a href="https://polyhedra.network/"><strong>cliquez ici</strong></a><strong>.</strong></p><h3>À propos de COMBO</h3><p>COMBO est l’un des principaux fournisseurs de solutions de mise à l’échelle pour les développeurs de jeux Web3. En tirant parti du meilleur moteur de jeu au monde, COMBO construit une couche Layer2 open-source, décentralisée et orientée jeu accessible à tous. Il vise à maximiser le potentiel des jeux Web3 en connectant les développeurs de jeux à l’ensemble de l’écosystème de manière efficace, abordable et sécurisée.</p><p><a href="https://combonetwork.io/"><strong>Site web</strong></a><strong>|</strong><a href="https://t.me/COMBONetworkio"><strong>Télégramme</strong></a><strong>| </strong><a href="https://medium.com/combonetwork"><strong>Moyen</strong></a><strong>| </strong><a href="https://twitter.com/combonetworkio"><strong>Twitter</strong></a><strong>| </strong><a href="https://discord.gg/combonetwork"><strong>Discorde</strong></a><strong>| </strong><a href="https://t.me/COMBONetworkNews"><strong>Chaîne d’information</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1955e0016ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pairs of Programmable Ciphers (PKP) : A revolutionary approach to cryptographic key management.]]></title>
            <link>https://medium.com/@starlabman/pairs-of-programmable-ciphers-pkp-a-revolutionary-approach-to-cryptographic-key-management-5a8a5afc495c?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8a5afc495c</guid>
            <category><![CDATA[pkp]]></category>
            <category><![CDATA[cipher]]></category>
            <category><![CDATA[pair-programming]]></category>
            <category><![CDATA[lit-protocol]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 10:32:36 GMT</pubDate>
            <atom:updated>2023-06-25T10:32:36.045Z</atom:updated>
            <content:encoded><![CDATA[<h3>Pairs of Programmable Ciphers (PKP) : A revolutionary approach to cryptographic key management.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cw4-09SjWqON8DQnd2I7ng.png" /></figure><p>Programmable keys (PKP) are an innovative concept in the field of cryptography, offering flexibility and security in the management of keys. The PKP allow developers to dynamically create and manage cryptographic key pairs, thus opening the way to new possibilities in terms of data security and authentication.</p><p>In this article, we’ll explore how PKP works, common use cases and provide a practical introduction to help developers get started with this powerful tool.</p><p><strong>Overview of how PKP works</strong><br>The PKP are based on the concept of programmability of cryptographic keys. Instead of using static keys generated in advance, PKPs allow developers to generate and dynamically manage keys according to their specific needs. Programmable keys are generally derived from a master key called the “root key”. This root key is used to generate daughter keys that can be updated, revoked or regenerated according to security requirements.<br>The PKP’s main advantage lies in its ability to offer centralised and dynamic management of the keys. By enabling developers to create keys on the fly, the PKP reduces the risks associated with static key management. Moreover, the PKP offer a greater granularity of control, allowing developers to specify personalised policies, such as restrictions on the duration of validity, access authorisations and signatures.</p><p><strong>Use of the PKP<br></strong>The PKP are used in various fields, in particular</p><p>1. Reinforced authentication: The PKP allow to implement more robust authentication mechanisms by generating temporary keys for each session or transaction. This reduces the risk of key compromise and identity theft.</p><p>2. Data security: The PKP offer an additional security layer for the storage and the transfer of sensitive data. By generating unique encryption keys for each operation, the PKP reduce the risks of data fire and brute force attacks.</p><p>3. Authorisation management : PKPs enable granular access policies to be implemented by generating keys with specific authorisations. This facilitates fine-grained authorisation management for users and applications.</p><p>4. Numerical signature: The PKP can be used to generate unique digital signatures for each transaction or document. This ensures data integrity and authenticity.</p><p><strong>Rapid demarrage with the PKP.</strong><br>For developers interested in getting started with the PKP, there is an<br>excellent resource available on the Lit Protocol developer site. You can access the full PKP documentation, including code examples, tutorials and implementation guides at [developer.litprotocol.com](<a href="https://developer.litprotocol.com/">https://developer.litprotocol.com/</a>).</p><p>Here are a few quick steps to help you get started using the PKP:</p><p>1. Installation of the development environment: Follow the instructions provided in the documentation to install the libraries and dependencies required to use the PKP.</p><p>2. Generation of a root key: Use the tools provided to generate a key file from which you can extract key files.</p><p>3. Creating child keys: Use the clone generation functions to create clones based on the clone. You can specify parameters such as the validity period and access authorisations when generating keys.</p><p>4. Integration in your application: Integrate PKP into your application using the APIs and libraries provided. Be sure to follow security best practices when using programmable keys.</p><p>The pair of programmable keys (PKP) represent a new approach to the management of cryptographic keys, offering flexibility and increased security. Enabling the dynamic generation and centralised management of keys, the PKP open up new possibilities in terms of data security, authentication and authorisation management. Developers interested in exploring PKP can consult the complete documentation available on the Lit Protocol developer website and begin integrating this revolutionary technology into their applications.</p><p><strong>Useful links</strong> :<br>- Documents intended for developers](<a href="https://developer.litprotocol.com/">https://developer.litprotocol.com/</a>)<br>- Introduction to PKP](<a href="https://developer.litprotocol.com/pkp/intro/">https://developer.litprotocol.com/pkp/intro/</a>)<br>- Lit Blog](<a href="https://spark.litprotocol.com/">https://spark.litprotocol.com/</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8a5afc495c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Naviguer vers l’excellence : Guide complet du développeur Front-End en 2023 (Roadmap)]]></title>
            <link>https://medium.com/@starlabman/naviguer-vers-lexcellence-guide-complet-du-d%C3%A9veloppeur-front-end-en-2023-roadmap-8a64c3b6adf7?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a64c3b6adf7</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[roadmaps]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 09:37:22 GMT</pubDate>
            <atom:updated>2023-06-26T13:54:42.841Z</atom:updated>
            <content:encoded><![CDATA[<h3>Naviguer vers l’excellence : Guide complet du développeur Front-End en 2023 (Roadmap)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tGWaB3C13OISvmgxXWKx_w.png" /></figure><p>Google est un endroit incroyable pour trouver des ressources sur le développement frontal, le problème est, que dois-je apprendre?</p><p>Voici un <strong>feuille de route complète pour le développement frontal de 2021, avec 15 + ressources GRATUITES</strong>, pour démarrer votre carrière et commencer à monétiser vos compétences en développement.</p><p>Vous partirez du<strong> fondamentaux de la programmation</strong>, apprendre ce qu’est une variable et comment les données sont stockées. Vous vous dirigerez ensuite vers<strong> construire votre première page Web</strong>, ajoutant une certaine interactivité avec <a href="https://medium.com/javarevisited/10-best-online-courses-to-learn-javascript-in-2020-af5ed0801645"><strong>JavaScript </strong></a>et style avec <a href="https://medium.com/javarevisited/10-best-css-online-courses-for-beginners-and-experienced-developers-54aa2e8c0253"><strong>CSS</strong></a>.</p><p>À la fin de cette feuille de route, vous pourrez créer pleinement une application frontale petite à moyenne en utilisant la dernière <a href="https://medium.com/javarevisited/10-javascript-frameworks-and-libraries-to-learn-in-2020-best-of-lot-5f61f86c60b4"><strong>Cadres JavaScript</strong></a><strong> et </strong><a href="https://medium.com/javarevisited/top-5-advanced-css-courses-to-learn-flexbox-grid-and-sass-da8e37b09b1d?source=---------8------------------"><strong>Préprocesseurs CSS</strong></a>, mais attention:</p><p><em>Peu importe la qualité de la feuille de route, sans pratique, il n’y aura pas d’apprentissage. Cela vous prendra un certain temps, mais les récompenses seront énormes!</em></p><p>Prêt? Commençons par le <strong>principes fondamentaux de l’informatique.</strong></p><h3>1. Il n’y a pas de front sans fondamentaux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*_U-iLiTrvPGeCiFe.jpeg" /></figure><p>Avant JavaScript et <strong>cadres front-end</strong>, vous devrez maîtriser le <a href="https://medium.com/javarevisited/8-best-computer-science-courses-for-beginners-to-learn-online-696379aa4e96"><strong>fondamentaux de l’informatique</strong></a>.</p><p>Apprendre ce qu’est une fonction, comment votre code est interprété et comment les données sont traitées accélérera considérablement votre compréhension de <a href="https://medium.com/javarevisited/top-5-programming-languages-for-web-development-in-2021-f6fd4f564eb6">langages de programmation</a> pendant <strong>construire les bases de votre parcours de développement Web</strong>.</p><p>Pour commencer, je vous suggère de jeter un œil à:<br><a href="https://learning.edx.org/course/course-v1:HarvardX+CS50+X/home"><strong>Fundamentals of Computer Science, un cours gratuit publié par Harvard lui-même.</strong></a></p><h3>2. Avant Front End: découvrez comment le Web fonctionne</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*WiV6V7Rflf6JasdE.jpeg" /></figure><p>C’est la clé pour un développeur frontal de comprendre quoi <strong>HTTP ou DNS</strong> signifie, qu’est-ce qu’un <strong>Cookie</strong>, ou comment un navigateur peut afficher un site Web sur un écran.</p><p>Vous devrez communiquer avec <strong>API</strong>, gérer, envoyer et recevoir des données: <em>mieux être préparé.</em></p><p><a href="https://www.freecodecamp.org/news/how-the-web-works-a-primer-for-newcomers-to-web-development-or-anyone-really-b4584e63585c/"><strong>Apprenez comment fonctionne le Web</strong></a><strong> — </strong><a href="https://www.freecodecamp.org/news/how-the-web-works-a-primer-for-newcomers-to-web-development-or-anyone-really-b4584e63585c/"><strong>Une introduction pour les nouveaux arrivants au développement Web</strong></a><strong>.</strong></p><h3>3. Apprenez HTML et CSS</h3><p>Tout a commencé avec <a href="https://medium.com/javarevisited/top-10-free-courses-to-learn-html-5-css-3-and-web-development-872d62d97a97"><strong>HTML</strong></a>, puis quelqu’un a pensé à faire des choses “ cool ” et a créé <a href="https://medium.com/javarevisited/10-best-html-and-css-courses-for-beginners-in-2021-6757eec00032"><strong>CSS</strong></a>.</p><p>Apprenez à créer votre <strong>première page Web avec HTML</strong> et comment styliser les éléments, en leur donnant le look que vous aimez.</p><p><a href="https://www.freecodecamp.org/learn/responsive-web-design/"><strong>Un cours gratuit de 300 + heures par freecodecamp.com, le meilleur endroit pour démarrer votre carrière de développeur frontal en 2021.</strong></a></p><h3>4. Développez un portfolio pour présenter vos projets front-end.</h3><p>Pour conserver les notions, vous devez vous entraîner et vous pouvez vous entraîner en développant des choses. Mieux si ce “ ” vous sert vers votre objectif de devenir un <strong>réussi </strong><a href="https://medium.com/javarevisited/6-best-frontend-development-courses-for-beginners-to-learn-in-2021-f2772157864"><strong>développeur frontal</strong></a>.</p><p>La première chose que l’on vous demandera de présenter lorsque vous contactez un nouveau client est <strong>un portefeuille</strong>. Pourquoi ne pas en faire un, maintenant que vous maîtrisez le <strong>les fondamentaux du HTML et du CSS?</strong></p><p><a href="https://www.youtube.com/watch?v=OY5ISdymgiY&amp;t=3055s"><strong>Voici un guide étape par étape sur la façon de créer un portefeuille HTML et CSS simple.</strong></a></p><h3>5. Ne perdez pas votre travail — Apprenez Git.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*3539YjCrQpsIBiji.jpeg" /></figure><p><em>Connaître le contrôle de version n’est pas facultatif.</em></p><p>Il existe une myriade de systèmes de contrôle de version, comme:</p><ul><li><a href="https://github.com/"><strong>GitHub</strong></a><strong>.</strong></li><li><a href="https://azure.microsoft.com/en-us/services/devops/"><strong>DevOps</strong></a><strong>.</strong></li><li><a href="http://bitbucket.org/"><strong>BitBucket</strong></a><strong>.</strong></li></ul><p>Ce qui est commun à tous, <strong>est </strong><a href="https://medium.com/javarevisited/11-best-online-places-to-learn-git-for-beginners-in-2021-6dc2b7c6ef48"><strong>GIT</strong></a>:<br>Un système de contrôle de version distribué gratuit et open source conçu pour gérer tout, des petits aux très grands projets, avec rapidité et efficacité.</p><p><strong>Simplement</strong>, GIT seul est un historique local des modifications de fichiers dans un dossier, qui vous aidera:</p><ul><li><strong>Gardez une trace de votre code.</strong></li><li><strong>Sauvegardez votre code.</strong></li><li><strong>Évitez les conséquences désastreuses</strong> en raison de changements indésirables.</li><li><strong>Collaborer avec les coéquipiers </strong>et d’autres personnes, de manière transparente.</li></ul><p><a href="https://www.youtube.com/watch?v=8JJ101D3knE"><strong>Apprenez GIT dans ce cours intensif sur YouTube.</strong></a></p><h3>6. Ajoutez de l’interactivité à votre front-end — Apprenez JavaScript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AX3kLlPcF7cBeJ8Y.jpeg" /></figure><p><a href="https://medium.com/javarevisited/my-favorite-free-tutorials-and-courses-to-learn-javascript-8f4d0a71faf2"><strong>JavaScript </strong></a>avec ses cadres, alimente essentiellement tout front-end qui doit avoir un certain degré de <strong>interactivité ou gestion des données </strong>comme:</p><ul><li><strong>Un formulaire,</strong></li><li><strong>pop-up,</strong></li><li><strong>Flux de Twitter.</strong></li></ul><p>L’apprendre en 2021 est<strong> l’un des meilleurs investissements</strong> vous pouvez faire en tant que développeur Web, au fur et à mesure de son ouverture <strong>des milliers d’opportunités d’emploi</strong> en tant que développeur frontal.</p><p><a href="https://www.edx.org/course/javascript-introduction"><strong>Développeur Sites Web interactifs avec ce cours d’introduction JavaScript gratuit.</strong></a></p><h3>7. Optimisez votre code: apprenez les algorithmes et les structures de données</h3><p><em>Être un bon développeur signifie beaucoup de choses: l’une d’entre elles est de connaître vos outils.</em></p><p>Avoir une bonne compréhension de <a href="https://medium.com/javarevisited/top-10-data-structure-and-algorithms-courses-for-java-developers-25161ee2edc0"><strong>algorithmes et structures de données</strong></a>, comprendre les différences entre<strong> une liste, une file d’attente et une pile</strong>, sachant comment un <strong>algorithme de tri</strong> fonctionne, est la clé pour écrire un code plus optimisé et plus propre.</p><p>Freecodecamp propose gratuitement <a href="https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/"><strong>300 + hs cours JavaScript certifié</strong></a>, qui passe également par les principes fondamentaux des algorithmes et des structures de données.</p><h3>8. Connectez votre front-end — En savoir plus sur les API</h3><p>En tant que développeur frontal en 2021, vous devrez trouver un moyen de communiquer avec les gars dans la salle backend, d’échanger des données ou de vérifier un utilisateur.</p><p>Pour ce faire, vous utiliserez probablement certaines API et HTTP, mais qu’est-ce qu’une API, comment puis-je en envoyer et en recevoir des données?</p><p><a href="https://www.youtube.com/watch?v=Yzx7ihtCGBs"><strong>Découvrez ce qu’est une API sur YouTube</strong></a><strong>.</strong></p><p><a href="https://www.youtube.com/watch?v=tc8DU14qX6I"><strong>Apprenez à récupérer des données à partir d’une API en JavaScript</strong></a><strong>.</strong></p><h3>9. Pour apprendre le développement front-end, vous devez faire des front-end</h3><p><em>Comme dit précédemment: apprendre en faisant est essentiel.</em></p><p>Maintenant que vous avez appris JavaScript, il est temps d’en développer <strong>applications frontales à part entière.</strong></p><p>Essayez de créer:</p><ul><li><strong>Une application de TodoList,</strong></li><li><strong>Formulaire d’inscription,</strong></li><li><strong>Composante de tarification,</strong></li><li><strong>Page d’atterrissage.</strong></li></ul><p>Pour tester comment <strong>HTML, CSS et vanillaJs</strong> travailler ensemble dans une application frontale du monde réel.</p><p><a href="https://www.youtube.com/watch?v=Ttf3CEsEwMQ"><strong>Voici un didacticiel incroyable sur la façon de créer votre frontal d’application To-do.</strong></a></p><p>Et voici <a href="https://dev.to/frontendmentor/16-front-end-projects-with-designs-to-help-improve-your-coding-skills-5ajl">16 projets frontaux inspirations pour éclairer votre créativité</a>.</p><h3>Que signifie vanillaJs?</h3><p>Lorsque vous lisez “ vanilla JavaScript ”, vous devez l’entendre comme <strong>JavaScript utilisé sans aucun cadre </strong>(<a href="https://medium.com/javarevisited/top-10-free-courses-to-learn-react-js-c14edbd3b35f">Reactjs</a>, <a href="https://medium.com/javarevisited/top-5-online-courses-to-learn-vue-js-in-2021-249e66b60646">Vue</a>, etc. )</p><h3>Comment choisir le bon projet frontal à développer?</h3><p><em>Cela dépend vraiment de vos objectifs:</em></p><p>Voulez-vous développer des applications Web? Développez un clone Netflix.<br>Voulez-vous développer SaaS? Développer un outil basé sur l’abonnement.<br>Voulez-vous développer des pages de destination? Créez une page de destination. Être pertinent.</p><h3>10. Accélérez le développement front-end — Apprenez un cadre JavaScript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*8qoGR_Blos_GZ_eV.jpeg" /></figure><p>Bien que <strong>vanillaJs</strong> est capable de créer <strong>frontaux complètement fonctionnels</strong>,<strong> ce n’est pas évolutif</strong> et ne vous apporte pas ces outils prêts à l’emploi qui encadrent et bibliothèques tels que:</p><ul><li><a href="https://medium.com/javarevisited/10-free-vue-js-nuxt-js-online-courses-for-beginners-in-2021-a347ea2ad144"><strong>Vue.js</strong></a><strong>,</strong></li><li><a href="https://medium.com/javarevisited/5-best-react-js-books-for-beginners-and-experienced-web-developers-e7b90b1ab9d2?source=---------36----------------------------"><strong>Reactjs</strong></a><strong>,</strong></li><li><strong>et </strong><a href="https://medium.com/javarevisited/5-best-svelet-js-courses-for-beginners-in-2021-fadf0c4e2bab"><strong>Svelte</strong></a><strong>,</strong></li></ul><p>Pourrait apporter à votre développement. Choisir un <a href="https://medium.com/javarevisited/10-best-frontend-and-backend-frameworks-for-java-python-ruby-and-javascript-developers-cce3c951787a"><strong>Framework front-end JavaScript</strong></a> fera également monter en flèche vos opportunités d’emploi.</p><p>Sachez cependant que vous devriez passer suffisamment de temps à construire des projets JavaScript avec vanilla avant de passer à un cadre, sinon, <strong>vous pourriez perdre de nombreux concepts fondamentaux du développement front-end.</strong></p><p>Choisissez votre cadre en fonction de vos préférences et de la demande de votre pays.</p><h3>11. Apprendre: Reactjs pour le développement front-end</h3><p>React est un incroyable framework open source qui rend indolore la création d’interfaces utilisateur interactives. Sorti par Facebook en 2013, est devenu très populaire en raison de sa simplicité et de sa flexibilité.</p><p>React alimente plus de 100 000 sites Web</p><p><a href="https://www.youtube.com/watch?v=j942wKiXFu8&amp;list=PL4cUxeGkcC9gZD-Tvwfod2gaISzfRiP9d"><strong>Voici une playlist incroyable du net ninja pour lancer votre voyage React.</strong></a></p><h3>12. Apprendre: Vue.js Frontend Development</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*IAXztCnS-Oy4tLCs.jpeg" /></figure><p>Vue ( prononcé / vjuː /, comme vue ) est un <strong>cadre progressif pour la création d’interfaces utilisateur.</strong></p><p>Sa feuille de route est similaire à <strong>React</strong>, avec une excellente documentation, et facile à apprendre si déjà expérimenté avec la vanille JavaScript et le développement frontal d’entrée de gamme.</p><p><a href="https://www.youtube.com/watch?v=qZXt1Aom3Cs">Apprenez à vous repérer dans ce parcours intensif incroyable par les médias Traversy</a>.</p><h3>13. Apprendre: développement front-end de Svelte</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*i0D-RtOmoQ4apFvq.png" /></figure><p><strong>Svelte a une nouvelle approche pour créer des interfaces utilisateur.</strong></p><p>Alors que les cadres aiment <a href="https://www.java67.com/2018/02/5-free-react-courses-for-web-developers.html">React</a> et Vue fait l’essentiel de leur travail dans le navigateur, Svelte se déplace qui fonctionne dans une étape de compilation qui se produit lorsque vous créez votre application.</p><p><a href="https://svelte.dev/tutorial/basics"><strong>Apprenez Svelte avec ses tutoriels gratuits officiels</strong></a>.</p><h3>14. Améliorez votre flux de travail de style front-end</h3><p><em>Apprenez un préprocesseur CSS.</em></p><p>Un préprocesseur CSS est <strong>un programme qui vous permet de générer du CSS à partir de la propre syntaxe unique du préprocesseur</strong>. Il existe de nombreux préprocesseurs CSS parmi lesquels choisir, cependant, tous ajouteront certaines fonctionnalités qui n’existent pas dans CSS pur, telles que:</p><ul><li><strong>Mélanger</strong></li><li><strong>Sélecteur de nidification</strong></li><li><strong>Sélecteur d’héritage, etc.</strong></li></ul><p>Sass est considéré comme le meilleur préprocesseur CSS pour le développement frontal.</p><h3>15. Apprenez à manier votre front-end</h3><p><em>CSS avec superpuissances.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/0*fXzAs_YppvT0OpHq.png" /></figure><p><strong>Sass</strong> est l’acronyme de “ Feuilles de style géniales sur le plan syntaxique ”. Sass est non seulement le préprocesseur CSS le plus populaire au monde, mais aussi l’un des plus anciens, lancé en 2006 par Hampton Catlin et développé plus tard par Natalie Weizenbaum.</p><p><a href="https://www.youtube.com/watch?v=_a5j7KoflTs"><strong>Apprenez Sass dans ce cours gratuit, encore une fois, avec freecodecamp.org</strong></a></p><h3>Conclusions: devenir développeur front-end en 2023 est le meilleur choix.</h3><p><strong>Devenir développeur frontal en 2023 et entrer dans le monde informatique, c’est le meilleur investissement que vous puissiez faire.</strong></p><p>N’oubliez pas qu’un projet autodidacte vaut des dizaines de projets réalisés en suivant un tutoriel. Dans cette feuille de route, j’ai répertorié les meilleures ressources gratuites que j’ai trouvées tout en apprenant le développement front-end.</p><p>Présentez votre projet de manière appropriée dans votre portefeuille, <strong>ce sera la première chose que vos clients examineront!</strong></p><p>Profil Linkedin : <a href="https://www.linkedin.com/in/starlabman/">https://www.linkedin.com/in/starlabman/</a><br>Mon Portfolio <a href="https://starlabman.netlify.app/">https://starlabman.netlify.app/</a><br>Profil Instagram <a href="https://instagram.com/labore_agbetsiassi">https://instagram.com/labore_agbetsiassi</a><br>Profil Github <a href="https://github.com/starlabman">https://github.com/starlabman</a><br>Profil Twitter <a href="https://github.com/starlabman">https://twitter.com/starlabman</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a64c3b6adf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bonjour à tous !]]></title>
            <link>https://medium.com/@starlabman/bonjour-%C3%A0-tous-9f9931e754b3?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f9931e754b3</guid>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 16:30:46 GMT</pubDate>
            <atom:updated>2023-06-14T16:30:46.688Z</atom:updated>
            <content:encoded><![CDATA[<h3>Voici donc le Top 6 des outils de développement Web3 pour 2023 !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ovWnmeCiBeM7C8kENosPw.jpeg" /></figure><p>Êtes-vous prêt à explorer le monde futuriste des outils de développement Web3 ?</p><p>Nous allons examiner de plus près certains des outils les plus intéressants qui façonnent le paysage du développement des applications décentralisées.</p><p>Langages de contrats intelligents : Le fondement de Web3 🔍</p><p>Solidity continue de régner en maître, mais d’autres langages comme Vyper, Huff, Reach, Cairo, Fe, Sway et Yul gagnent du terrain. Ces langages joueront un rôle essentiel dans la construction de contrats intelligents qui facilitent les transactions sécurisées sur les plateformes blockchain.</p><p>Cadres de déploiement et de test : L’épine dorsale de tout projet 🏗️</p><p>Hardhat est actuellement en tête du peloton des cadres de déploiement et de test. Cependant, Foundry gagne rapidement en popularité grâce à son interface intuitive et à sa facilité d’utilisation. Brownie est peut-être en train de passer en mode maintenance, mais le nouveau venu Apeworx est entré dans la compétition avec des fonctionnalités uniques.</p><p>Outils essentiels pour les contrats intelligents : Ne réinventez pas la roue 🛠️</p><p>La bibliothèque de contrats d’Openzeppelin fournit aux développeurs des modèles de code pré-audités et Chainlink propose un réseau oracle décentralisé qui permet aux contrats intelligents de communiquer avec des sources de données externes. Ces deux outils permettent de gagner du temps et de l’efficacité lors de la création d’applications complexes.</p><p>Interrogation de la blockchain et interactions : Permettre des dApps évolutives 📈</p><p>Des outils comme Etherscan fournissent des informations en temps réel sur les transactions effectuées sur les réseaux Ethereum, tandis que Cast de Foundry permet d’effectuer des requêtes efficaces sur plusieurs blockchains. D’autres outils puissants d’analyse de données incluent Tenderly, Dune Analytics Moralis ainsi que les API d’Alchemy.</p><p>Sécurisation du paysage Web3 : Une priorité incontournable 🔒</p><p>Eth Security Toolbox fournit un ensemble de ressources, y compris des audits pour le code des contrats intelligents ainsi que des examens de l’architecture. Mythril est un autre outil robuste pour identifier les vulnérabilités dans les contrats avant qu’ils ne se déploient ou ne soient exploités par des pirates. Code4rena récompense les hackers qui corrigent les bogues de sécurité, tandis qu’Immunefi offre des primes provenant de divers projets prêts à payer pour trouver et corriger des problèmes de sécurité.</p><p>L’IA : un nouvel allié pour le développement du Web3 🤖</p><p>GitHub Co-pilot et ChatGPT sont deux outils alimentés par l’IA qui peuvent améliorer drastiquement la productivité des développeurs. Malgré un certain niveau de controverse, ces outils d’IA s’avèrent inestimables pour aider les développeurs à créer des applications meilleures et plus efficaces.</p><p>Avec ces puissantes ressources à portée de main, vous pouvez partir à la découverte du monde des applications décentralisées. Bon codage !</p><p>Profil Linkedin : <a href="https://www.linkedin.com/in/starlabman/">https://www.linkedin.com/in/starlabman/</a><br>Mon Portfolio <a href="https://starlabman.netlify.app/">https://starlabman.netlify.app/</a><br>Profil Instagram <a href="https://instagram.com/labore_agbetsiassi">https://instagram.com/labore_agbetsiassi</a><br>Profil Github <a href="https://github.com/starlabman">https://github.com/starlabman</a>Profil Twitter <a href="https://github.com/starlabman">https://twitter.com/starlabman</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f9931e754b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Plongez dans l’avenir avec Web3.0 et Solidity : Guide de développement pour 2023]]></title>
            <link>https://medium.com/@starlabman/plongez-dans-lavenir-avec-web3-0-et-solidity-guide-de-d%C3%A9veloppement-pour-2023-2599cc1c4020?source=rss-484b7e04070b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2599cc1c4020</guid>
            <category><![CDATA[roadmaps]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[Kodjo Laboré Agbetsiassi]]></dc:creator>
            <pubDate>Wed, 07 Jun 2023 16:59:53 GMT</pubDate>
            <atom:updated>2023-06-07T16:59:53.418Z</atom:updated>
            <content:encoded><![CDATA[<h3>Plongez dans l’avenir avec Web3.0 et Solidity : Guide de développement pour 2023</h3><p><em>Apprendre le développement Web3.0 et blockchain aujourd’hui, c’est comme acheter un Bitcoin à $ 0.06 en 2011 .</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fi87XpTNCysNQhTwMk6DnA.png" /></figure><p>Entrer dans l’industrie de la blockchain où <strong>le programmeur moyen est payé environ $ 140k / an, </strong>est probablement le meilleur investissement que vous puissiez faire en tant que développeur.</p><p>Malheureusement, le Web a une pénurie de bonnes ressources et trouver une bonne feuille de route pour le développement de la blockchain pourrait rapidement devenir fastidieux.</p><p>J’ai pris le temps de rassembler les meilleures vidéos, cours et sites Web en ligne et de rassembler les <strong>les meilleures ressources pour apprendre le développement web3.0 et blockchain.</strong></p><p>Des connaissances complètes de programmation zéro à l’expert en solidité et en blockchain, c’est pourquoi nous commencerons par les principes fondamentaux de l’informatique.</p><h3>1. Avant Web3.0 et Blockchain: principes fondamentaux de CS</h3><p><em>Un gratte-ciel a besoin de fondations solides pour ne pas s’effondrer.</em></p><p>Le développement de la blockchain est un sujet difficile, je ne mentirai pas. Avant de creuser plus profondément dans les nœuds et les blocs et de commencer votre feuille de route, mieux apprendre les principes fondamentaux de l’informatique:</p><p><a href="https://learning.edx.org/course/course-v1:HarvardX+CS50+X/home"><strong>Les célèbres fondamentaux CS50 — pour l’informatique — cours gratuit émis par Harvard lui-même</strong></a><strong> </strong>vous apprendra tout ce que vous devez savoir pour comprendre les bases des ordinateurs et de la gestion des données.</p><p>Une fois que vous aurez une certaine compréhension CS, il est temps d’apprendre comment fonctionne la Blockchain, pourquoi elle est utile et ses limites.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*crtOvgnp8fUaj3ge.jpeg" /></figure><h3>2. Apprenez les principes fondamentaux de la blockchain</h3><p>En tant que développeur Web3.0, vous devez comprendre <strong>ce qu’est la Blockchain</strong>, comment cela fonctionne et pourquoi cela pourrait perturber la façon dont nous échangeons des marchandises et effectuons des paiements.<br>La technologie Blockchain n’est plus liée uniquement aux pièces de cryptographie, mais elle est devenue un système de cloud computing véritablement distribué capable d’exécuter des backends complets pour alimenter les applications décentralisées ( Dapps ).</p><p>Apprenez les principes fondamentaux de la Blockchain sur <a href="https://www.udemy.com/course/blockchain-theory-101/?LSNPUBID=JVFxdTr9V80&amp;ranEAID=JVFxdTr9V80&amp;ranMID=39197&amp;ranSiteID=JVFxdTr9V80-5jnCta624e46I9A5_CU6Uw&amp;utm_medium=udemyads&amp;utm_source=aff-campaign"><strong>Coursera gratuit avec Blockchain 101</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*1MBVgGXoqRbpex3A.jpeg" /></figure><h3>3. Qu’est-ce qu’une application décentralisée?</h3><p>Lorsque vous aurez appris la blockchain, les nœuds, le consensus et toutes les principales composantes de cette technologie, vous commencerez à vous demander:</p><p><em>“ Quel type d’applications puis-je développer à l’aide de la blockchain? ”</em></p><p><strong>Les applications construites au-dessus de Blockchain sont appelées applications décentralisées ou DApp</strong>, et avoir:</p><ul><li><strong>Un frontal standard</strong> construit en utilisant JavaScript ou des frameworks / bibliothèques comme React, Vue, Svelte, etc.</li><li><strong>Un backend Solidité / Solana / Rust</strong>, construit au-dessus de la blockchain.</li></ul><p><strong>Découvrez ce qu’est une application décentralisée:</strong></p><p><a href="https://dappradar.com/">Vérifiez DApp Radar pour voir des exemples réels de Defi ( Finance décentralisée ) et d’autres applications basées sur la blockchain</a></p><p>Pour comprendre comment le frontal et le backend d’une DApp fonctionnent ensemble: communiquer et échanger des données, vous devez<strong> apprendre le développement frontal</strong> et les principes de base du développement de backend standard, des API et des modèles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Wy68snQQAG4M_1mt.jpeg" /></figure><h3>4. Apprenez le développement frontal en 2021</h3><p>Comme dit<strong> Les applications décentralisées ont une vanille standard JavaScript ou JavaScript Framework Front-end</strong>, c’est pourquoi avant de vous lancer dans le développement de votre premier DApp, il est essentiel d’apprendre les bases du développement frontal et le fonctionnement du Web.</p><p>Apprenez HTML, CSS, HTTP, JavaScript, choisissez un framework et commencez à créer des sites Web statiques.</p><p><a href="https://medium.com/javarevisited/2021-zero-to-hero-front-end-developer-roadmap-30c7ed630a8f"><strong>La feuille de route complète pour le développement frontal 2021 avec 15 + Ressources gratuites</strong></a> pour relancer votre voyage et commencer à monétiser vos compétences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*icn2uHvcgbWxtv5Q.jpeg" /></figure><h3>5. Dois-je apprendre le développement backend?</h3><p><em>Oui et maintenant.</em></p><p><strong>Backends d’applications décentralisées</strong> diffèrent considérablement des backends des applications “ standard ”, à partir du fait que <strong>La technologie Blockchain est utilisée comme principale source de stockage de données décentralisé</strong>, tandis que les backends standard utilisent généralement des bases de données ou des stockages d’objets.</p><p>La majorité des principes techniques restent cependant les mêmes.</p><h3>5.1 Apprendre le développement du backend en 2021</h3><p><em>Comprenez comment les données d’échange frontales et backend.</em><br>Apprenez: Node, Express, DBs, HTTP, comment développer des API et commencer à déployer des applications de pointe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*e8a_yWrsAU7_c1vB.jpeg" /></figure><h3>6. Apprenez ce qu’est Ethereum et comment cela fonctionne</h3><p><em>Un développeur Web3.0 doit comprendre comment Ethereum fonctionne.</em></p><p><strong>Ethereum </strong>est un logiciel fonctionnant sur un réseau d’ordinateurs qui assure la réplication et le traitement de petits programmes appelés <strong>Contrats intelligents.</strong></p><p><a href="https://www.youtube.com/watch?v=gjwr-7PgpN8"><strong>En savoir plus sur Ethereum dans cette vidéo avec Vitalik Buterin</strong>,</a> l’un des inventeurs de la Blockchain Ethereum parle de cette technologie.</p><p>Si vous voulez explorer davantage ce qu’est Ethereum, <a href="https://ethereum.org/en/developers/docs/"><strong>Je vous suggère à peine d’aller vérifier la documentation et le site Web original d’Ethereum</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*_f3OYf9uOgOWizQq.png" /></figure><h3>7. Logiciel sur la blockchain: Smart Contracts</h3><p><em>Ethereum et Smart Contracts sont comme le pain et le beurre, vous devez comprendre les deux.</em></p><p>Un contrat intelligent est un logiciel stocké sur une plate-forme basée sur la blockchain, qui exécute automatiquement un accord.</p><p>Il est écrit en solidité, rouille ou vide ( solidité mais en saveur Python ).</p><p><a href="https://www.coursera.org/learn/smarter-contracts"><strong>Découvrez ce que sont les contrats intelligents, dans ce cours gratuit de l’Université de Virginie.</strong></a></p><h3>8. Apprenez la solidité pour développer et déployer des contrats intelligents</h3><p>Bien sûr, sachant quoi<strong> Contrats intelligents</strong> ne suffisent pas, en tant que développeur Web3.0 ou Blockchain, vous devez savoir<strong> comment rédiger vos propres contrats intelligents. </strong>C’est à ce moment que Solidity vient en aide.</p><p>Solidity est un langage de programmation de haut niveau axé sur les contrats pour rédiger des contrats intelligents, permettant aux programmeurs d’écrire du code d’auto-exécution qui alimente les DApp de blockchain.</p><p>Malheureusement, comme nous le disions, le Web manque de bonnes ressources pour en savoir plus sur le développement de la solidité et de la blockchain.</p><p><strong>Voici les meilleurs cours gratuits 2021 Solidity que j’ai trouvés:</strong></p><ul><li><a href="https://youtu.be/M576WGiDBdQ">Solidité en 16 heures + Blockchain — freecodecamp</a></li><li><a href="https://www.youtube.com/watch?v=p3C7jljTXaA&amp;feature=emb_title">Cours complet de solidité — EatTheBlocks</a></li><li><a href="https://www.youtube.com/watch?v=YJ-D1RMI0T0&amp;t=17s">2 heures Master Solidity Full Course — Dapp University</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*soQA1Kcmkzf7EgBa.jpeg" /></figure><h3>9. Apprenez la solidité en créant des zombies</h3><p>Il s’avère que l’une des meilleures ressources pour en savoir plus sur Solidity est un <strong>Cours de programmation gamifiée</strong>, où vous apprendrez à développer des contrats intelligents tout en créant une usine Zombie pour démarrer votre plan de domination mondiale.</p><p><a href="https://cryptozombies.io/"><strong>Découvrez CryptoZombies, est complètement gratuit.</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*la5IKJsQYVgWaHpM.jpeg" /></figure><h3>10. Connectez votre frontal DApp: apprenez Web3.js ou Eters.js</h3><p>Maintenant que vous savez comment créer<strong> Contrats intelligents</strong>, vous avez besoin d’un moyen de connecter votre frontal avec votre backend Solidity ( local ou distant ou similaire ), en utilisant quoi que ce soit de <strong>HTTP aux sites Web.</strong></p><p>Pour ce faire, vous pouvez choisir entre deux bibliothèques JavaScript:</p><ul><li><strong>Web3.js</strong></li><li><strong>Eters.js</strong></li></ul><h3>10.1 Apprendre Web3.js</h3><p>web3.js est un <strong>collection de bibliothèques </strong>qui vous permettent de vous connecter avec un nœud Ethereum local ou distant à l’aide <strong>HTTP</strong>, <strong>Websockets</strong>, et d’autres protocoles de communication directement depuis votre frontal basé sur JavaScript.</p><p><a href="https://www.youtube.com/watch?v=t3wM5903ty0"><strong>Voici le cours complet sur le crash web3.js par DApp University</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*XsikgIgikAIjwr99.jpeg" /></figure><h3>10.2 Learn Eters.js</h3><p>Eters.js est un poids léger <strong>Bibliothèque JavaScript </strong>utilisé comme alternative à Web3.js pour connecter le frontal JavaScript avec Smart Contacts.</p><p><a href="https://youtu.be/a0osIaAOFSE"><strong>Apprenez le développement DApp frontal avec Eters.js par Nader Dabit.</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*iFZk4UZeQhWFLMQA.jpeg" /></figure><h3>11. Développez votre première application décentralisée</h3><p>Apprendre en pratiquant et en résolvant des problèmes est essentiel, c’est littéralement la meilleure façon pour notre cerveau de conserver des informations.</p><p>Commencez à construire vos premiers DApp pour renforcer votre compréhension du développement de la blockchain.</p><p><a href="https://www.youtube.com/watch?v=8wMKq7HvbKw"><strong>Développez 5 DApps dans ce cours gratuit en freecodecamp</strong></a><strong>.</strong></p><h3>Autres inspirations du projet DApps</h3><p>Trouver des idées de projet à présenter dans votre portefeuille de développeurs de blockchain, peut ne pas être aussi intuitif.</p><p>Laisse-moi partager avec toi <a href="https://ethhole.com/challenge"><strong>6 projets d’idées pour pratiquer vos connaissances web3.0</strong></a><strong>.</strong></p><h3>12. Apprenez à tester vos contrats intelligents</h3><p><em>Tester vos contrats intelligents Blockchain est essentiel.</em></p><p>Ce qui rend la Blockchain si spéciale, c’est la non-réversibilité: une fois qu’un contrat intelligent est ajouté, il ne peut pas être édité ou rappelé, et son déploiement coûte également de l’argent réel ( GAS fees ).</p><p>C’est la raison pour laquelle<strong> vous devez apprendre à tester soigneusement vos contrats intelligents </strong>avant de les déployer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Ltc-as35cK-UtcYU.jpeg" /></figure><h3>Comment tester mon application décentralisée?</h3><p>Il existe 4 types de tests pour tester vos contrats intelligents:</p><ul><li><strong>Test de nœud.</strong></li><li><strong>Tests fonctionnels.</strong></li><li><strong>Test de performance.</strong></li><li><strong>Test API.</strong></li></ul><p><a href="https://www.youtube.com/watch?time_continue=2129&amp;v=1WZdH3kD1d8&amp;feature=emb_title">En savoir plus sur les tests de vos applications décentralisées et de vos contrats intelligents, dans cette introduction gratuite de 1 heure aux tests de blockchain.</a></p><h3>13. Apprenez la truffe et la ganache</h3><p>Accélérez votre développement avec Truffle: un environnement de développement, un cadre de test et un pipeline d’actifs pour toute chaîne de blocs EVM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*muxT-piBXUubfCZD.png" /></figure><p>Il vient avec:</p><ul><li><strong>Compilation intelligente des contrats intégrée</strong></li><li><strong>Cadre de migration scriptable</strong></li><li><strong>et plus encore.</strong></li></ul><p><strong>Ganache </strong>de l’autre côté vient inclus dans le <strong>Truffe </strong>suite et est habitué à <strong>Testez les contacts Ethereum</strong>. Il crée essentiellement une blockchain simulée avec des comptes pour tester vos transactions et éviter de configurer des passerelles inutiles pour démarrer votre développement DApp.</p><p><a href="https://www.youtube.com/watch?v=62f757RVEvU&amp;t=172s"><strong>Commencez à explorer la truffe dans ce tutoriel pour les débutants</strong></a><strong>.</strong></p><p><a href="https://www.trufflesuite.com/docs/ganache/overview"><strong>Apprenez Ganache à partir de la documentation officielle.</strong></a></p><h3>Conclusions</h3><p>Apprendre le développement Web3.0 et blockchain peut sembler intimidant au début, mais tout le monde peut le faire.</p><p>Apprenez étape par étape en utilisant le démarrage des principes fondamentaux de l’informatique, à JavaScript, de la solidité aux applications DeFi de pointe.</p><p>Vous n’apprendrez pas le développement de la blockchain en 1 semaine, mais vous pouvez le faire en 1 an d’engagement total.</p><p>Profil Linkedin : <a href="https://www.linkedin.com/in/starlabman/">https://www.linkedin.com/in/starlabman/</a><br> Mon Portfolio <a href="https://starlabman.netlify.app/">https://starlabman.netlify.app/</a> <br>Profil Instagram <a href="https://instagram.com/labore_agbetsiassi">https://instagram.com/labore_agbetsiassi</a><br>Profil Github <a href="https://github.com/starlabman">https://github.com/starlabman</a></p><p>Profil Twitter <a href="https://github.com/starlabman">https://twitter.com/starlabman</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2599cc1c4020" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>