<?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 Ugo Chinemerem Franklin on Medium]]></title>
        <description><![CDATA[Stories by Ugo Chinemerem Franklin on Medium]]></description>
        <link>https://medium.com/@ugofranklin22?source=rss-445520abdcb4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fqMxaRGI9vBx4zwuzh42lg.jpeg</url>
            <title>Stories by Ugo Chinemerem Franklin on Medium</title>
            <link>https://medium.com/@ugofranklin22?source=rss-445520abdcb4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 23:02:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ugofranklin22/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[Behind the Scenes: Building CloutChain — Instant Creator Tipping on Solana (Solo at Sonic…]]></title>
            <link>https://medium.com/@ugofranklin22/behind-the-scenes-building-cloutchain-instant-creator-tipping-on-solana-solo-at-sonic-370c1f424fd7?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/370c1f424fd7</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Mon, 28 Apr 2025 23:36:35 GMT</pubDate>
            <atom:updated>2025-04-28T23:36:35.397Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ioRUgGMg-4ZlKVLi" /><figcaption>Photo by <a href="https://unsplash.com/@timmossholder?utm_source=medium&amp;utm_medium=referral">Tim Mossholder</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><em>Behind the Scenes: Building CloutChain — Instant Creator Tipping on Solana (Solo at Sonic Hackathon)</em></h3><p><em>I designed, coded, and deployed this project solo here’s what I learned about juggling frontend, backend, and blockchain integration alone.</em></p><h3><strong>Introduction</strong></h3><p>In the recent sonic hackathon, I built <a href="https://www.cloutchain.xyz/"><strong>CloutChain</strong></a>: a platform that lets fans tip creators instantly in $SONIC tokens via a single link. No waiting, no hidden fees, no geographic limits. Just instant monetization and global reach for creators.</p><p>I didn’t win. But what I built was bigger than a trophy — it was a proof-of-concept with real-world potential.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HDCfIVojYdQrvL4czvL3aw.png" /><figcaption>Screenshot of landing page of clouthcain</figcaption></figure><h3>Going Solo: The Full-Stack Journey</h3><p>For CloutChain, I wore every hat:</p><ul><li><strong>Design:</strong> Figma for UI/UX layouts, Adobe Illustrator for branding and logos.</li><li><strong>Frontend:</strong> React and Next.js with TypeScript.</li><li><strong>Backend:</strong> Node.js, Express.js, and TypeScript.</li><li><strong>Blockchain Integration:</strong> Solana smart contracts written with Anchor.</li><li><strong>Deployment:</strong> Railway for hosting both server and frontend.</li></ul><p>Juggling design and development forced me to think like a product architect, not just a coder.</p><h3>Tech Stack Deep Dive</h3><p>Here’s the full toolkit I used:</p><ul><li><strong>Frontend:</strong> React, Next.js, TypeScript</li><li><strong>Backend:</strong> Node.js, Express.js, TypeScript</li><li><strong>Blockchain:</strong> Solana, Anchor</li><li><strong>Design:</strong> Figma, Adobe Illustrator</li><li><strong>Deployment:</strong> Railway</li></ul><p>This combination let me iterate fast without sacrificing performance or UX polish.</p><h3>The Biggest Challenges</h3><h4>Dual Write Dilemma</h4><p>One major hurdle was addressing a critical race condition in the withdrawal flow. The system’s original design allowed users to withdraw funds via two separate endpoints , one for bank transfers and another for crypto wallets both interacting with the same user balance data.</p><pre>// processWithdrawal function demonstrating the dual write issue<br>const processWithdrawal = async () =&gt; {<br>  if (!validateWithdrawal()) return;<br>  const initialBalance = balanceData?.balances.sonic || 0;<br>  setIsProcessing(true);<br>  <br>  try {<br>    // Prepare common withdrawal data<br>    const withdrawalData = {<br>      tiktokUsername: userData?.tiktokUsername,<br>      amount: parseFloat(amount),<br>    };<br><br>    // Use the same token key for both methods<br>    const authToken = localStorage.getItem(&quot;jwt&quot;) || localStorage.getItem(&quot;token&quot;);<br><br>    // FIRST POTENTIAL WRITE: Bank transfer withdrawal path<br>    if (selectedMethod === &quot;bank&quot;) {<br>      Object.assign(withdrawalData, {<br>        bankDetails: bankDetails,<br>      });<br><br>      console.log(&quot;Sending bank withdrawal request:&quot;, withdrawalData);<br>      console.log(&quot;API endpoint:&quot;, API_ENDPOINTS.WITHDRAWALS.BANK);<br><br>      // Make API call to bank withdrawal endpoint - FIRST DATABASE WRITE<br>      const response = await fetch(API_ENDPOINTS.WITHDRAWALS.BANK, {<br>        method: &quot;POST&quot;,<br>        headers: {<br>          &quot;Content-Type&quot;: &quot;application/json&quot;,<br>          Authorization: `Bearer ${authToken}`,<br>        },<br>        body: JSON.stringify(withdrawalData),<br>      });<br><br>      if (!response.ok) {<br>        // Error handling for bank withdrawal<br>        const contentType = response.headers.get(&quot;content-type&quot;);<br>        if (contentType &amp;&amp; contentType.includes(&quot;application/json&quot;)) {<br>          const errorData = await response.json();<br>          throw new Error(errorData.message || &quot;Failed to process bank withdrawal&quot;);<br>        } else {<br>          const errorText = await response.text();<br>          console.error(&quot;Non-JSON error response:&quot;, errorText);<br>          throw new Error(&quot;Server error - received non-JSON response&quot;);<br>        }<br>      }<br><br>      const data = await response.json();<br>      setWithdrawalReference(data.reference);<br>    } <br>    // SECOND POTENTIAL WRITE: Wallet withdrawal path<br>    else if (selectedMethod === &quot;wallet&quot; &amp;&amp; publicKey) {<br>      // For wallet withdrawal, use the connected wallet&#39;s public key<br>      Object.assign(withdrawalData, {<br>        destinationWallet: publicKey.toString(),<br>      });<br><br>      console.log(&quot;Sending wallet withdrawal request:&quot;, withdrawalData);<br>      console.log(&quot;API endpoint:&quot;, API_ENDPOINTS.WITHDRAWALS.WALLET);<br><br>      // Make API call to wallet withdrawal endpoint - SECOND DATABASE WRITE<br>      const response = await fetch(API_ENDPOINTS.WITHDRAWALS.WALLET, {<br>        method: &quot;POST&quot;,<br>        headers: {<br>          &quot;Content-Type&quot;: &quot;application/json&quot;,<br>          Authorization: `Bearer ${authToken}`,<br>        },<br>        body: JSON.stringify(withdrawalData),<br>      });<br><br>      if (!response.ok) {<br>        // Error handling for wallet withdrawal<br>        const contentType = response.headers.get(&quot;content-type&quot;);<br>        if (contentType &amp;&amp; contentType.includes(&quot;application/json&quot;)) {<br>          const errorData = await response.json();<br>          throw new Error(errorData.message || &quot;Failed to process wallet withdrawal&quot;);<br>        } else {<br>          const errorText = await response.text();<br>          console.error(&quot;Non-JSON error response:&quot;, errorText);<br>          throw new Error(&quot;Server error - received non-JSON response&quot;);<br>        }<br>      }<br><br>      const data = await response.json();<br>      setWithdrawalReference(data.transactionId);<br>    }<br><br>    toast.success(&quot;Withdrawal request submitted successfully&quot;);<br><br>    // After successful withdrawal, reset form and fetch new balance<br>    setAmount(&quot;&quot;);<br>    setSelectedMethod(null);<br>    setBankDetails({<br>      accountName: &quot;&quot;,<br>      accountNumber: &quot;&quot;,<br>      bankName: &quot;&quot;,<br>    });<br>    setShowConfirmation(false);<br>    fetchBalance();<br>  } catch (error) {<br>    console.error(&quot;Error processing withdrawal:&quot;, error);<br>    if (error instanceof Error &amp;&amp; error.message.includes(&quot;Transaction error&quot;)) {<br>      // Wait a moment for the blockchain to update<br>      await new Promise((resolve) =&gt; setTimeout(resolve, 5000));<br><br>      // Fetch new balance<br>      await fetchBalance();<br><br>      // Compare old and new balances<br>      const newBalance = balanceData?.balances.sonic || 0;<br><br>      if (newBalance &lt; initialBalance) {<br>        // Balance decreased, transaction likely succeeded<br>        toast.success(&quot;Your withdrawal appears to have succeeded! Your balance has been updated.&quot;);<br>        setWithdrawalReference(&quot;Transaction completed&quot;);<br>        return;<br>      }<br>    }<br>  } finally {<br>    setIsProcessing(false);<br>  }<br>};<br><br></pre><p>This created a risk of ‘dual writes’, if a user triggered both withdrawal types simultaneously, one transaction could succeed while the other failed (e.g., due to network latency or insufficient balance checks), leading to inconsistent balances or overdrafts. For example:</p><ol><li>A user has 100 SONIC tokens in their balance</li><li>They open two browser tabs simultaneously</li><li>In Tab A: They initiate a bank withdrawal for 90 SONIC tokens</li><li>In Tab B: They initiate a wallet withdrawal for 80 SONIC tokens</li><li>Both requests read the user’s initial balance of 100 SONIC before either transaction completes</li><li>Both withdrawals pass the balance check (since 90 &lt; 100 and 80 &lt; 100)</li><li>Both requests are processed in parallel:</li></ol><ul><li>The bank withdrawal deducts 90 SONIC</li><li>The wallet withdrawal deducts 80 SONIC</li></ul><p>The final balance would be -70 SONIC (100–90–80), allowing the user to withdraw 170 SONIC when they only had 100 sonic.</p><p>This race condition creates several critical issues:</p><ul><li>Funds could be withdrawn beyond available balances</li><li>Accounting inconsistencies could propagate throughout the system</li><li>The platform could suffer financial losses from these over-withdrawals</li><li>Transaction history would become unreliable for auditing purposes</li></ul><p>The fundamental issue is that the withdrawal operations lack atomicity, there’s no transaction isolation between these concurrent operations, and no distributed locking mechanism to ensure balance consistency across multiple withdrawal endpoints.</p><p>To solve this, I need to implement a centralized withdrawal service with proper concurrency control, ensuring that balance checks and updates happen atomically within a single transaction.</p><h3>Building the Sonic Gift Hyperlink System</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PIR4S2rx8nSr3cQaR683bA.png" /><figcaption>Cloutchain gift page screenshot</figcaption></figure><p>The heart of CloutChain was the tipping page powered by Solana and $SONIC tokens. Each creator could generate a unique link, typically shared in their TikTok bio or promoted during TikTok Live sessions. When clicked, it led to a custom gift page where followers could:</p><ul><li>Connect their Solana wallet</li><li>Select or enter an amount of $SONIC to send</li><li>Scan a QR code</li><li>Instantly tip the creator directly on-chain</li></ul><h3>TikTok Hyperlink Limitation</h3><p>While hyperlink tipping was the plan, TikTok’s app doesn’t allow clickable links in bios. To work around this, I advised creators to promote their gift links during <strong>TikTok Live sessions</strong>, where users are more likely to copy-paste the link manually.</p><h3>Creating Wallet Infrastructure for Creators</h3><p>The logic behind the project was simple but powerful. I created Solana accounts tied to each user’s TikTok username.</p><pre>export const register = async (req: Request, res: Response) =&gt; {<br>  try {<br>    const errors = validationResult(req);<br>    if (!errors.isEmpty()) {<br>      return res.status(400).json({ errors: errors.array() });<br>    }<br><br>    const { email, password, tiktokUsername } = req.body;<br><br>    // Check if user already exists<br>    const existingUser = await User.findOne({<br>      $or: [{ email }, { tiktokUsername }],<br>    });<br><br>    if (existingUser) {<br>      return res.status(400).json({<br>        message: &quot;User with this email or TikTok username already exists&quot;,<br>      });<br>    }<br><br>    // Create Solana wallet<br>    const {<br>      publicKey,<br>      privateKey,<br>      tokenAccount,<br>      tokenAccountCreated,<br>      tokenAccountTxSignature,<br>    } = await solanaService.createWallet();<br><br>    // Create user<br>    const user = new User({<br>      email,<br>      password,<br>      tiktokUsername,<br>      walletAddress: publicKey,<br>      privateKey,<br>      tokenAccountAddress: tokenAccount,<br>      tokenAccountCreated: tokenAccountCreated,<br>      tokenAccountCreationDate: tokenAccountCreated ? new Date() : undefined,<br>    });<br><br>    await user.save();<br><br>    // Request airdrop if in development environment<br>    // if (process.env.NODE_ENV !== &quot;production&quot;) {<br>    //   try {<br>    //     await solanaService.requestAirdrop(publicKey);<br>    //   } catch (airdropError) {<br>    //     console.error(&quot;Airdrop failed but user was created:&quot;, airdropError);<br>    //   }<br>    // }<br><br>    // Create JWT token<br>    const token = jwt.sign(<br>      { userId: user._id },<br>      process.env.JWT_SECRET || &quot;your-secret-key&quot;,<br>      { expiresIn: &quot;24h&quot; }<br>    );<br><br>    // Return response (exclude password and private key)<br>    res.status(201).json({<br>      message: &quot;User registered successfully&quot;,<br>      token,<br>      user: {<br>        id: user._id,<br>        email: user.email,<br>        tiktokUsername: user.tiktokUsername,<br>        walletAddress: user.walletAddress,<br>        tokenAccountAddress: user.tokenAccountAddress,<br>        tokenAccountCreated: user.tokenAccountCreated,<br>      },<br>    });<br>  } catch (error) {<br>    console.error(&quot;Registration error:&quot;, error);<br>    res.status(500).json({<br>      message: &quot;Error registering user&quot;,<br>      error: (error as Error).message,<br>    });<br>  }<br>};</pre><p>For every new user:</p><ul><li>A Solana wallet was created.</li><li>An associated $SONIC token account was created and funded with the minimal required balance.</li></ul><p>This ensured that any creator could instantly receive tips without needing to manually set up their own blockchain wallets. I funded the initial setup using a server-side wallet that distributed minimal amounts of $SONIC to create accounts. This was critical because many Nigerian creators, facing regional restrictions, couldn’t access TikTok’s built-in tipping features. CloutChain gave them an alternative path to monetize their fanbase.</p><h3>Building a Real Withdrawal System</h3><p>Beyond tipping, creators needed a way to actually cash out their $SONIC earnings.</p><p>I built a <strong>Withdrawal Dashboard</strong> that showed:</p><ul><li><strong>Live $SONIC token price</strong> fetched from the Pyth Network.</li><li><strong>Real-time balance tracking</strong>.</li><li><strong>Flexible withdrawal options</strong>:</li><li>Bank transfer (to Nigerian bank accounts via the merchant system).</li><li>Wallet transfer (to a connected crypto wallet).</li></ul><p>Here’s a preview of the withdrawal dashboard:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7m2781wsEzYgrvtlzcRRVg.png" /><figcaption>Cloutchain withdrawal dashboard screenchot</figcaption></figure><p>On top of that, the system handled:</p><ul><li>Minimum withdrawal thresholds.</li><li>Withdrawal fees.</li><li>Live USD/NGN exchange rate calculations.</li><li>Pending withdrawal status tracking.</li></ul><p>This system closed the loop from tipping, to balance, to withdrawal making <a href="https://www.cloutchain.xyz/gift?id=m.e.r.e.m.a.r..t">CloutChain </a>a <strong>real alternative</strong> for creators unable to monetize traditionally.</p><h3>Reusing and Extending an SMS Server</h3><p>To expand CloutChain’s accessibility in regions with limited internet connectivity, I integrated a novel SMS-based Solana token transfer system as an added feature. Leveraging Africa’s Talking shortcode API and low-latency WebSocket connections, this subsystem enables users to send $SOL/$SONIC tokens via simple SMS commands even without a smartphone or internet access. For example, a user could text ‘SEND 0.1 SOL [PHONE]’ to a dedicated shortcode, triggering an automated flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*XmYgfzLVtC9v1jLduiRGeA.jpeg" /><figcaption>Success notification showing the transaction via SMS</figcaption></figure><ol><li><em>The SMS is routed to a Node.js microservice via Africa’s Talking API.</em></li><li><em>The service validates the sender’s identity and balance using atomic database checks.</em></li><li><em>A signed Solana transaction is generated and broadcast via WebSocket to the blockchain.</em></li><li><em>Both parties receive SMS confirmations of the on-chain transfer.</em></li></ol><p><em>This integration required solving critical challenges, such as:</em></p><ul><li><strong>Idempotency:</strong> <em>Preventing duplicate transactions via unique SMS request IDs.</em></li><li><strong>Security:</strong> <em>Encrypting sensitive data (e.g., wallet keys) in transit and at rest.</em></li><li><strong>Latency Optimization:</strong> <em>Caching frequent RPC calls to Solana validators to meet SMS’s real-time expectations.</em></li></ul><p>While the prototype functioned flawlessly in testing, scaling to production introduced unforeseen challenges. Operational costs for SMS shortcodes, transaction fees, and infrastructure scaling (particularly in Africa’s fragmented telecom landscape) made the feature cost-prohibitive for a solo developer.</p><p><em>Though unshipped, this work laid critical groundwork for future iterations. The codebase includes modular SMS logic, rate-limiting safeguards, and documentation for grant-funded or enterprise partnerships to resurrect the feature sustainably.</em></p><h3>Key Takeaways</h3><ul><li><strong>Time Management Is Survival:</strong> Solo means no fallback. Prioritizing ruthlessly saved me.</li><li><strong>Think Like a Product Manager:</strong> Balancing technical ambition with “what actually needs to ship” was critical.</li><li><strong>Adapt to Platform Limitations:</strong> TikTok link issues taught me to plan for edge cases early.</li><li><strong>Solve Real Problems:</strong> Understanding regional constraints helped me build a tool creators actually needed.</li><li><strong>Leverage Existing Work:</strong> Extending my old SMS server saved precious hackathon hours.</li><li><strong>Design for Scale Early:</strong> Watching for hidden dual-write risks made me think more like a systems architect.</li></ul><h3>Screenshots &amp; Architecture</h3><p>Here’s a quick look at the UI I designed in Figma:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LbY-T4Sl_mEGJ2hBsEw9xQ.png" /><figcaption>Cloutchain initial Architecture diagram</figcaption></figure><h3>Open-Source: Let’s Build Together</h3><p>The entire project is open source! Feel free to fork it, improve it, or just study it.</p><ul><li><strong>Frontend:</strong> <a href="https://github.com/MeremArt/cloutchain">CloutChain Frontend GitHub Repo</a></li><li><strong>Backend:</strong> <a href="https://github.com/MeremArt/PeerDrop.git">PeerDrop Backend GitHub Repo</a></li></ul><p>If you’re into solo developer journeys, AI + blockchain mashups, or Solana smart contracts, I’d love your feedback.</p><h3>Final Thoughts</h3><p>I didn’t win but I shipped something real. Building CloutChain solo taught me how much you grow when you take full ownership of every piece of the stack.</p><p><strong>What would YOU add to CloutChain?</strong></p><p>Let’s build better tools for creators together.</p><ul><li><a href="https://app.pitch.com/app/presentation/a200afca-d8fb-4518-a22e-3d409695bd4b/ba55458b-16e6-4ef0-a1cc-e80beb644290/2be29428-db2e-4dab-91d1-1f0eabf4fc7c">View the Full Pitch Deck</a></li><li><a href="https://x.com/merem___">Connect with me on twitter</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=370c1f424fd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Agents Made Simple: A Beginner’s Guide]]></title>
            <link>https://medium.com/@ugofranklin22/ai-agents-made-simple-a-beginners-guide-d0424bbed5b1?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0424bbed5b1</guid>
            <category><![CDATA[eliza]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Tue, 07 Jan 2025 18:08:39 GMT</pubDate>
            <atom:updated>2025-01-07T18:08:39.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*RlUC9NqUOtn_VrWg8xUz4g.jpeg" /><figcaption>Image courtesy of <a href="https://www.artstation.com/jcpark">JC Jongwon Park</a> via <a href="https://www.artstation.com/artwork/A9gLYy">ArtStation</a></figcaption></figure><h3>Introduction</h3><p>There are several misconceptions surrounding the capabilities and concept of AI agents. This article aims to clarify these misunderstandings and provide a clearer understanding of what AI agents are and how they function.</p><h4>What is an AI agent?</h4><p>AI agents go beyond the traditional models, such as ChatGPT and Claude, which rely heavily on the knowledge they were trained on. These agents are models enabled with real-world access to allow them to execute tasks and provide information through interaction with external sources using plugins and tools.</p><p>To make it clearer, Imagine a landlord-tenant scenario. A tenant searching for an apartment hires a real estate agent for assistance. In this context, the AI agent acts like the real estate agent, matching tenants with the right apartment by leveraging knowledge of the tenant’s needs and real-world data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxkGA8ShI3lgilgxHdE5Xw.jpeg" /><figcaption>Figure 1 : landlord-tenant scenario</figcaption></figure><h3><strong>Plugins: </strong>The Lifeline of AI Agents</h3><p>Plugins or tools are essential for AI agents, serving as the bridge between the intelligence of the model and the real world. While AI models excel at understanding, reasoning, and generating responses, plugins extend their functionality by enabling interactions with external systems, data sources, and actions.</p><p>No matter how much data is fed into a model, it fundamentally lacks the ability to interact with the outside world. This is where plugins or tools come in , they act as the “eyes and hands” of AI agents in the real world. They provide access to data, enhance functionality, and empower agents to perform meaningful actions.</p><p>This is what <a href="https://x.com/_Chimera___">Chimera</a> aims to deliver, a marketplace where plugins are easily accessible accessed and used to enhance AI agents. With Chimera, the gap between passive AI models and dynamic, interactive solutions is bridged.</p><h3>Differences Between AI Agents and AI Models</h3><p>To gain a deeper understanding of the differences between agents and models, here’s a comparison chart to make the distinctions clearer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d2aQGoxJQBfSV5a9oRhrQQ.jpeg" /><figcaption>Figure 2: Differences Between AI Agents and AI Models</figcaption></figure><h3>How to Build or Use an AI Agent with the ELIZA Framework</h3><h3>1. Understand the ELIZA Framework</h3><p>The ELIZA Framework is a powerful tool for creating AI agents. It provides an easy-to-use interface and modular components, making it accessible to both beginners and experienced developers alike by providing:</p><ul><li><strong>Modular components</strong> for creating dialogue systems.</li><li><strong>Extensibility</strong> to integrate plugins, APIs, and external data sources.</li><li>A focus on <strong>user-defined workflows</strong> and conversational logic.</li></ul><p>The framework helps developers create intelligent agents capable of interacting with users in meaningful ways.</p><h4>2. Set Up the ELIZA Framework</h4><ol><li><strong>Visit the ELIZA Framework Documentation:</strong></li></ol><ul><li>Go to the <a href="https://elizaos.github.io/eliza/docs/intro/">official documentation</a> for installation and setup instructions.</li></ul><p><strong>2. Watch the Setup Video</strong><br>To make the setup process even easier, i’ve included a video below that walks you through setting up an AI agent with the ELIZA Framework step-by-step.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6PZVwNTl5hI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6PZVwNTl5hI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6PZVwNTl5hI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4164155e50f58a8bb4acdf26041488a7/href">https://medium.com/media/4164155e50f58a8bb4acdf26041488a7/href</a></iframe><h3>Conclusion</h3><p>AI agents act as accelerators between advanced model capabilities and practical applications of their potential. To simplify, no traditional model in AI uses plugins and tools to interact with live data, execute tasks, and bring dynamic solutions into being. Whether you are a developer who wants to tap into their potential or an explorer of their capabilities, AI agents mean understanding the first step towards unleashing their power.</p><p>By understanding AI agents, you’re stepping into the future of intelligent, interactive solutions. Whether you’re a developer or someone exploring AI’s potential, the time to dive into AI agents is now, begin your journey today with frameworks like ELIZA!.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0424bbed5b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethereum Rollups vs Solana Compression: Exploring the Future of Blockchain Scalability]]></title>
            <link>https://medium.com/@ugofranklin22/ethereum-rollups-vs-solana-compression-exploring-the-future-of-blockchain-scalability-3a299443f894?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a299443f894</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Sat, 06 Jul 2024 07:58:38 GMT</pubDate>
            <atom:updated>2024-07-06T11:42:46.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_IepzdoYVWORr3vrMM8ew.png" /><figcaption>Zk Rollups vs Zk Compressions</figcaption></figure><p>In the heart of blockchain innovation, where innovation meets scalability, two technologies are making waves: zk Rollups on Ethereum and zk Compression on Solana. Imagine a vast, digital landscape where transactions flow seamlessly, data storage is optimized, and efficiency reigns supreme. This is the promise of zk Rollups and zk Compression, each offering unique pathways to a more scalable and efficient blockchain ecosystem.</p><p>Picture a bustling metropolis split into two distinct districts. In one, Ethereum’s zk Rollups operate like a well-oiled machine, bundling transactions together to reduce congestion and enhance throughput. In the other, Solana’s zk Compression acts like a masterful architect, compressing data to ensure that information flows swiftly and smoothly. Both technologies aim to address the same fundamental challenge: how to handle an ever-growing volume of transactions without compromising speed or security.</p><p>Much like the allegorical red pill and blue pill from the Matrix, choosing between zk Rollups and zk Compression requires a deep dive into their respective mechanics and benefits. Are you ready to explore the rabbit hole of zero-knowledge proofs, state channels, and cryptographic marvels that power these solutions?</p><p>In this comprehensive guide, we will unravel the secrets behind Ethereum’s zk Rollups and Solana’s zk Compression. We’ll delve into their architectures, examine their strengths and weaknesses, and provide a clear comparison to help you understand which technology might best suit your needs. Whether you’re a blockchain developer seeking cutting-edge solutions or an enthusiast eager to grasp the latest advancements, this deep dive will equip you with the knowledge to navigate the future of decentralized applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tqds03gLf5DAo0SNAT6qdA.png" /><figcaption>Table of content</figcaption></figure><h3>Introduction to zk Rollups on Ethereum</h3><p>Ethereum, one of the pioneering blockchain platforms, has long been celebrated as a revolutionary technology. However, its widespread adoption has also led to significant scaling challenges. As the network’s usage increases, the notorious “Ethereum gas fees” have become a major pain point for users, occasionally soaring to astronomical levels.</p><p>Take, for example, the 2021 NFT craze. As demand for digital collectibles exploded, Ethereum’s network became congested, leading to gas fees that could exceed hundreds of dollars per transaction. This pricing out of many users highlighted the urgent need for scalable solutions.</p><p>One of the most promising approaches is the use of rollups, which aim to execute transactions off-chain and submit compressed data to the Ethereum mainnet.</p><h4>What are Rollups?</h4><p><a href="https://www.moonpay.com/learn/blockchain/what-are-rollups">Rollups</a> process transactions off-chain on a specific rollup chain, then batch and compress the data before posting it back to Ethereum. This reduces the load on Ethereum, lowering fees and enhancing blockchain adoption. Additionally, rollups allow existing Ethereum smart contracts to be redeployed with minimal changes.</p><p>There are two main types of rollups: optimistic rollups and zk rollups. In this article, we will focus on zk rollups.</p><h4>What is a ZK-Rollup?</h4><p>A ZK-Rollup, or Zero-Knowledge Rollup, utilizes zero-knowledge proofs (ZK proofs) to validate batches of transactions off-chain. Each batch includes a cryptographic proof called a Succinct Non-Interactive Argument of Knowledge (SNARK), verified by a contract deployed on Ethereum’s main network. This contract manages the state of transfers on the rollup chain, updating only with valid proofs. As a result, only the validity proof needs storage on Ethereum’s main network, rather than bulky transaction data, optimizing efficiency and scalability.</p><p>Examples: <a href="https://loopring.org/#/">Loopring</a>, <a href="https://starkware.co/">STARKWARE</a>, <a href="https://zksync.io/">zkSync</a>.</p><p><em>Check out this youtube video below to gain deeper insights into zk Rollups.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIwY-D5J8otU&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIwY-D5J8otU&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FIwY-D5J8otU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d4ce61eaf85aa3636c83b32d8447534/href">https://medium.com/media/2d4ce61eaf85aa3636c83b32d8447534/href</a></iframe><h4>How exactly does ZK-Rollups work?</h4><p>Typically, blockchain rollups consolidate multiple transactions into one compact proof, which is then sent to the main chain for verification. But what are Zero-Knowledge proofs, and how do they operate?.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S3IB5Sk-sqzwwEOt5-MmMg.png" /><figcaption>Zk Rollup Transaction process, Source:<a href="https://mapleblock.capital/blog/taiko-revolutionizing-ethereum-scaling-with-zk-rollups/">mapleblock</a></figcaption></figure><p>Let’s break down the workings of ZK-rollups, step by step.</p><p><strong>Step 1: Transaction Aggregation:</strong> ZK-Rollups start by aggregating multiple transactions off-chain into a single data structure called a “rollup.” This process reduces the amount of data that needs to be processed on the main blockchain, enhancing its scalability.</p><p><strong>Step 2: Zero-Knowledge (ZK) Proofs:</strong> After aggregating the transactions, a zero-knowledge (ZK) proof is generated to validate their correctness without revealing sensitive information. ZK proofs are unique because they allow verification of the validity of transactions without inspecting their contents, thus preserving data privacy while ensuring integrity.</p><p><strong>Step 3: Data Availability:</strong> Even though the transaction data is aggregated off-chain, system integrity requires that this data remains available and accessible. Zero-knowledge rollups typically use data availability checks and decentralized storage solutions to ensure that all necessary information is retrievable by participants.</p><p><strong>Step 4: Submission to the Main Chain:</strong> Once the ZK proof is generated and data availability is ensured, the aggregated transaction data along with the validity proof is submitted to the main blockchain for verification. This task is typically performed by an aggregator or operator, who collects ZK-rollup transactions, generates validity proofs, and interacts with the main chain on behalf of users.</p><p><strong>Step 5: Verification and Finality:</strong> The main blockchain verifies the aggregated data and validity proof upon submission. Once the proof is verified, the transactions are considered finalized and included in the blockchain’s ledger, effectively settling the off-chain transactions. This finality gives users confidence in the integrity and security of their transactions without requiring on-chain validation of each individual transaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g-d4388jctHsMIoU1cjU1A.png" /><figcaption>Solana zk Compression</figcaption></figure><h3>Transitioning to zk Compression on Solana</h3><p>Having explored the intricacies of zk Rollups on Ethereum and how they leverage zero-knowledge proofs to enhance scalability and efficiency, it’s time to shift our focus to another groundbreaking technology: zk Compression on Solana.</p><p>Just as Ethereum’s zk Rollups offer innovative solutions to its scaling challenges, Solana’s zk Compression presents a different yet equally compelling approach to managing high transaction volumes and optimizing data storage.</p><h4>Introduction to zk Compression on Solana</h4><p>ZK Compression is a groundbreaking feature on Solana that enables developers to build hyper-scaled applications by compressing on-chain state. This allows more data to be stored at a fraction of the cost while maintaining security and composability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*FaZqPer_H6p09UBeIQtbCw.png" /><figcaption>Source : <a href="https://www.zkcompression.com/">https://www.zkcompression.com</a></figcaption></figure><p>Before diving into ZK Compression, let’s review two essential Solana concepts: Accounts and State Compression.</p><h4>Everything is an Account</h4><p>In Solana, all data is stored in a structure called an ‘<a href="https://solana.com/docs/core/accounts">Account</a>,’ resembling a key-value store. This design separates state and logic, unlike the Ethereum Virtual Machine (EVM).</p><p><strong>Solana adopts a unified approach where</strong>:</p><ul><li><strong>Account Structure:</strong> Each account in Solana encapsulates both executable program code and its associated state data. This design simplifies data management and enhances transaction processing efficiency.</li><li><strong>Flexibility:</strong> By treating everything as an account, Solana allows developers to efficiently manage and access data without the constraints of traditional blockchain architectures.</li></ul><h4>Rent Requirement on Accounts</h4><p>Solana implements a state rent system to manage the persistence of data on the blockchain:</p><ul><li><strong>Active Accounts:</strong> To maintain data on-chain, active accounts require a rent deposit paid in SOL (Solana’s native token). This deposit is refunded upon closure of the account, ensuring active participation in the network’s resource management.</li><li><strong>Inactive Accounts:</strong> Accounts that are not actively used can be stored in Solana’s ledger at a reduced cost. However, these inactive accounts are not directly executable, balancing cost efficiency with accessibility.</li></ul><h4>State Compression on Solana</h4><p>State Compression optimizes on-chain data storage by creating compact representations of account states using Merkle Trees. This approach reduces storage requirements and enhances data retrieval efficiency.</p><ul><li><strong>Merkle Trees:</strong> Solana uses concurrent Merkle trees to hash and organize account data efficiently. Each account’s state is hashed and stored as part of a Merkle tree structure.</li><li><strong>Reduced On-Chain Footprint:</strong> Instead of storing detailed account data directly on the blockchain, Solana stores a compact representation of account states. This reduces storage requirements and enhances data retrieval efficiency.</li></ul><p><strong>let’s break down what a Merkle Tree is a bit</strong></p><p>Imagine you have a big puzzle made up of many small pieces. Each piece of the puzzle has its own picture, and when you put them all together, they form one big picture. Now, think of each small piece of data as a puzzle piece. A Merkle Tree is like a special way of putting the puzzle pieces together. Instead of making the whole big picture, it creates a smaller summary of the entire puzzle.</p><p><strong>Hashing Each Piece</strong>: First, each small piece of data gets turned into a unique code (called a “hash”). This is like taking a snapshot of each puzzle piece.</p><p><strong>Combining Pieces</strong>: Then, pairs of these hashes are combined to create a new hash. Imagine you take two puzzle pieces, put them side by side, and take a new snapshot of them together.</p><p><strong>Building Up</strong>: This combining process keeps going, pairing up the new hashes, until you end up with just one final hash. This final hash is like a summary picture of the entire puzzle.</p><p><strong>Storing the Final Hash</strong>: Instead of storing every single piece of the puzzle on the blockchain (which would take up a lot of space), only this final summary hash is stored. This summary hash can be used to check if any of the original puzzle pieces have been changed or tampered with, without having to look at all of them.</p><p>So, a Merkle Tree is a clever way of summarizing a lot of information into one small piece that can be easily checked and stored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*-WRUSInrPdgYRirYFWbjyw.png" /><figcaption>Source: <a href="https://www.zkcompression.com/learn/core-concepts/state-trees">https://www.zkcompression.com/learn/core-concepts/state-trees</a></figcaption></figure><h4>Compressed Account Model</h4><p>ZK compressed state is stored in compressed accounts, which are similar to regular Solana accounts but with key differences:</p><ul><li>Each compressed account is identified by its hash.</li><li>Each write to a compressed account changes its hash.</li><li>An optional address field can serve as a permanent unique ID.</li><li>All compressed accounts are stored in ‘state trees,’ with only the tree’s final state root stored on-chain.</li></ul><h4><strong>State Trees</strong></h4><p>Compressed state is stored in multiple ‘state trees,’ a special type of Merkle Tree used in ZK Compression that takes compressed account hashes as leaves. The final hash (Merkle Root/final puzzle) is stored on-chain, while raw state is stored as calldata in Solana’s ledger space, inheriting Solana L1’s security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XwV1D24XticO2TFS6yW9XA.png" /><figcaption>Source: <a href="https://www.zkcompression.com/learn/core-concepts/state-trees">https://www.zkcompression.com/learn/core-concepts/state-trees</a></figcaption></figure><h4><strong>Zero-Knowledge Proofs (ZK Proofs)</strong></h4><p>Zero-Knowledge proofs, known as Validity proofs, ensure that a certain number of compressed accounts are leaves within specific state trees while maintaining a constant byte size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*aBFWNpG7WDQJmEMqnmLmSg.png" /><figcaption>Source: <a href="https://x.com/0xSumanth/status/1807765675244445838">Sumanth Twitter thread</a></figcaption></figure><h4>Transaction Flow</h4><ol><li><strong>State Storage</strong>: State is stored as calldata in the Solana ledger, eliminating account rent costs.</li><li><strong>Transaction Payload</strong>: Transactions define the state they read or write and include it in the payload.</li><li><strong>Program Invocation</strong>: A program invokes Light Protocol’s System Program to update and validate compressed state, enforcing the Compressed Account schema.</li><li><strong>State Recording</strong>: The new state is recorded in Solana’s ledger space after the transaction.</li></ol><h4>Support and Future Developments</h4><ol><li><strong>RPC Support :</strong>While standard nodes do not yet support zk Compression, providers like Helius Labs offer specialized RPC APIs for accessing account state stored in state trees.</li><li><strong>Future Outlook: </strong>zk Compression is currently live on Light Protocol’s ZK testnet, with expanding support expected to unlock new possibilities for memory-intensive applications on Solana.</li></ol><p>By understanding these foundational concepts , you can appreciate how zk Compression on Solana represents a significant advancement in blockchain technology, offering unique solutions for data management and scalability.</p><h3>Key differences between zk Rollups and zk Compression on Ethereum and Solana</h3><p>Understanding the distinctions between zk Rollups on Ethereum and zk Compression on Solana is crucial for grasping how each blockchain addresses scalability and efficiency.</p><p><em>Check out the image below for a deeper insight into these key differences.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0QLhxPaPlgkYa50RpeMQQ.png" /><figcaption>Key differences between zk Rollups and zk Compression on Ethereum and Solana</figcaption></figure><h3>Use Cases for ZK-Rollups on Ethereum &amp; ZK-Compression on Solana</h3><p>Both zk Rollups on Ethereum and zk Compression on Solana represent two innovative approaches to addressing scalability and efficiency challenges in blockchain technology. Each offers unique benefits and use cases tailored to their respective platforms.</p><p><em>Below are some potential use cases for both technologies.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S656idEVC4yKshAVV1eAbA.png" /><figcaption>Use Cases for ZK-Rollups on Ethereum &amp; ZK-Compression on Solana</figcaption></figure><h3>Conclusion</h3><p>After evaluating the potential of zk Rollups on Ethereum versus zk Compression on Solana in this article, several factors come into play, including scalability, cost-efficiency, flexibility, and ecosystem development. While both technologies offer significant advancements in blockchain scalability and efficiency, zk Compression on Solana presents some compelling advantages that make it particularly promising. Solana’s architecture already supports high throughput, and zk Compression further enhances this by reducing the on-chain data footprint, allowing Solana to handle an even larger number of transactions per second without compromising performance. Additionally, by compressing state data, zk Compression significantly reduces storage costs, making it more economical for developers and users, which is especially beneficial for applications with high data requirements, such as dApps and NFT marketplaces.</p><p>Solana’s rapidly expanding ecosystem, with increasing developer adoption and a strong focus on DeFi, gaming, and NFT sectors, is further strengthened by the integration of zk Compression. This technology allows for efficient management of large datasets, privacy-preserving financial applications, and scalable NFT and gaming platforms. While Ethereum boasts a mature ecosystem and zk Rollups improve scalability and privacy, the inherent limitations of Ethereum’s base layer can slow down the adoption and effectiveness of zk Rollups. In contrast, Solana’s high throughput, cost efficiency, flexible data management, and robust security model combined with the cryptographic guarantees of zero-knowledge proofs make zk Compression a more promising technology for the future of blockchain applications.</p><h3><strong>References</strong></h3><ul><li><a href="https://www.quicknode.com/guides/web3-fundamentals-security/cryptography/introduction-to-ethereum-rollups">Introduction to Ethereum Rollups | QuickNode</a></li><li><a href="https://www.zkcompression.com/">Overview | ZK Compression</a></li><li><a href="https://www.moonpay.com/learn/blockchain/what-are-zk-rollups">What are ZK-Rollups? How Zero-Knowledge Rollups work</a></li><li><a href="https://mapleblock.capital/blog/taiko-revolutionizing-ethereum-scaling-with-zk-rollups/">Taiko - Revolutionizing Ethereum Scaling with ZK-Rollups</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/0xSumanth/status/1807765675244445838&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/ead8fde4c70723b3e9957d4c95bfbe03/href">https://medium.com/media/ead8fde4c70723b3e9957d4c95bfbe03/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FIwY-D5J8otU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DIwY-D5J8otU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FIwY-D5J8otU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/efc6cce245847cfc5e34421cd9c5a172/href">https://medium.com/media/efc6cce245847cfc5e34421cd9c5a172/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a299443f894" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Dive on Token Extensions]]></title>
            <link>https://medium.com/@ugofranklin22/deep-dive-on-token-extensions-0889dc3f8286?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/0889dc3f8286</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Mon, 03 Jun 2024 23:37:28 GMT</pubDate>
            <atom:updated>2024-06-03T23:37:28.013Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vOPEuDN0FsT-fu-yKvoWg.png" /><figcaption>Deep Dive on Token Extensions</figcaption></figure><p>Tokens on Solana have been built using the same technical foundation which is the Token Program. If you’re familiar with SPL Tokens, you probably know they provide a structured way to create and manage tokens.</p><p>However, SPL tokens have their limits, and Solana’s setup requires every program to be part of transactions, complicating things when dealing with multiple token programs simultaneously.</p><p>To address these challenges and make token management smoother, Solana has launched an innovative token program called Token-2022. This new program aims to expand the native features available to tokens through a set of advanced tools known as Token Extensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lynEUrDqqODAgObBsaC1_g.png" /></figure><h3><strong>What are token extensions?</strong></h3><p>Token-2022 might look like a clone of the existing Token Program at first glance.</p><p>But here’s the twist,Token-2022 is packed with a bunch of cool extras called <strong>Token Extensions</strong>. With over a dozen different types, each extension acts like a superhero, swooping in to solve the common problems faced with the current token program.</p><p>For developers, these extensions act like adding boosters to their projects — optional but capable of elevating functionality to new heights. Token-2022 operates from a different address than the current Token Program, allowing both SPL token standards to coexist seamlessly.</p><p>With token extensions, you can create advanced, regulatory-friendly, and versatile blockchain tokens that are quick to build, flexible, and tailored to meet enterprise needs. All this is achieved while leveraging the scalability, security, and reliability of the Solana blockchain.</p><p><em>Watch this video to learn more about Solana token extensions</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCEuKahqOYbs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCEuKahqOYbs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCEuKahqOYbs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd78f151a59ababce76166c18a9dfa70/href">https://medium.com/media/bd78f151a59ababce76166c18a9dfa70/href</a></iframe><h4>How Exactly Do Token Extensions Work?</h4><p>When you create a new token using the Token-2022 program, you can choose to enable one or more types of token extensions. These extensions give your token specific capabilities, like confidentiality or the ability to add custom logic to every transfer.</p><p>Token extensions are a native feature of Solana, offering developers a standardized, plug-and-play solution for exploring new use cases. This means token issuers can spend less time patching together various smart contracts and more time focusing on their core business logic.</p><p>Plus, developers benefit from the built-in compatibility of token extensions. Apps and wallets only need to integrate an extension once to provide robust support for each new token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTjka5RgTEPkjLUFWXOz0g.png" /><figcaption>Benefits of token extensions</figcaption></figure><h4><strong>The Benefits of Token Extensions</strong></h4><p>As a significant upgrade to the original SPL Token Program, token extensions offer numerous benefits, including:</p><p><strong>Flexibility</strong>: With extensions, you can customize the behavior of your tokens to fit your team’s specific blockchain use case — all at the base layer of your stack.</p><p><strong>No Additional Programs Needed:</strong> Because extensions are integrated into the core protocol layer, you can easily create tokens with advanced functionality without needing extra libraries. Plus, you won’t have to persuade wallets and other protocols to support your token.</p><p><strong>Enterprise Ready</strong>: Token extensions provide enterprises with a fast, reliable way to leverage blockchain advancements. Customize your projects with advanced token behavior and economics while benefiting from Solana’s scalability, low costs, enterprise-grade security, and speed.</p><p><strong>Faster Pilots</strong>: Speed up testing, development, and reduce security risks, drastically cutting the time needed to create blockchain-powered projects. Since token extensions are standardized, there’s no need to lobby wallets and other projects to support your custom tokens. This results in faster pilots, quicker user feedback, and a shorter path to product/market fit.</p><p><strong>Reduced Risk</strong>: By using audited and well-tested extensions, you minimize attack vectors and protect protocols and funds. With token extensions on Solana, you benefit from enterprise-grade security and reliability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6t6zBgDba8StBLreT4Vdg.png" /></figure><h3>Diving into Token Extensions</h3><p>Now that we’ve grasped why token extensions are a significant advancement for blockchain, let’s explore the extensions currently available.</p><p><strong>Extensions can be of two types</strong>:</p><ol><li><strong>Mint Extensions: </strong>Mint Extensions: These enhancements build on the original Solana Token Program, expanding the capabilities of tokens. Extensions.</li><li><strong>Account Extensions:</strong> These enhancements build on Solana accounts, adding additional account-related features.</li></ol><h3>Let’s Talk About Mint Extensions</h3><h4><strong>Transfer Fees</strong></h4><p>You know, with the Transfer Fees Extension, token creators can actually slap on fees for every single token transfer. It’s like, you want to move tokens around? Sure thing, but there’s a little fee attached to it now.</p><p>Before this extension, if projects wanted to charge fees, they had to go through this whole process of freezing the account, dealing with third parties to get the fees, and then unfreezing the account. It was a hassle, to say the least.</p><p>But now, thanks to this extension, Projects can set up automatic fee transfers without any extra fuss. It’s all done seamlessly in the background.</p><p>So, what does this mean? Well, it basically creates a steady stream of revenue for teams. They can charge fees during transfers and even customize where those fees go. It’s like getting paid effortlessly every time someone moves tokens around. Pretty cool, huh?.</p><p>Example: BonkEarn CKfatsPMUf8SkiURsDXs7eK6GWb4Jsd6UDbs7twMCWxo (<a href="https://solana.fm/address/CKfatsPMUf8SkiURsDXs7eK6GWb4Jsd6UDbs7twMCWxo?cluster=mainnet-alpha">Mainnet</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*qVa1xndinRe6zjxD3p9dVg.png" /><figcaption>A Transfer Fee displayed</figcaption></figure><h4>Group &amp; Group Pointer</h4><p>The <a href="https://spl.solana.com/token-2022/extensions#group">Group </a>and<a href="https://spl.solana.com/token-2022/extensions#group-pointer"> Group Pointer</a> extensions empower token creators to organize tokens into specific configurations. These extensions are particularly useful for non-fungible tokens and are supported within the Collectibles tab.</p><p>When a mint includes a memberAddress under a groupMemberPointer, the system searches for the mint and group fields stored at this memberAddress. If the mint address matches the mint value, the group is designated as the new group identifier.</p><p>Example: 8eDYWjDKmCR5B3UJm95gaG8zCdT5anWakTZG1PyWpBm9 (<a href="https://solana.fm/address/8eDYWjDKmCR5B3UJm95gaG8zCdT5anWakTZG1PyWpBm9/extensions">Mainnet</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*obHNgI9Lvxv9Uc21WjsHIw.png" /><figcaption>A collection configured by the Group &amp; Group Pointer Extensions</figcaption></figure><h4>Metadata Extension</h4><p>The <a href="https://spl.solana.com/token-2022/extensions#metadata">Metadata Extension</a> allows a token creator to include their metadata directly in the token’s mint account.The name and symbol stored in the mint account will be displayed, and the uri field can be used to provide additional information, such as the token’s image.</p><p>Example: EGKdqrXxFeTpRTskrH81xmefuTAU9MJGCDLoNss28a2 (<a href="https://solana.fm/address/EGKdqrXxFeTpRTskrH81xmefuTAU9MJGCDLoNss28a2?cluster=devnet-solana">Devnet</a>)</p><h4>Metadata Pointer Extension</h4><p>The Metadata Pointer Extension allows a token creator to specify an address that defines the canonical metadata. This extension is supported and, as of now, all metadata schemas are assumed to follow the<a href="https://developers.metaplex.com/"> Metaplex Standard</a>.</p><h4>Transfer Hooks</h4><p>The Transfer Hook Extension is a game-changer for blockchain functionality, allowing you to add custom logic to every token transfer. Here’s how it works:</p><p>Developers create and deploy a program that adheres to a specific interface to execute their business logic. They then configure their tokens to interact with this new program.</p><p>For example, imagine a charity that automatically donates a small percentage of each token transfer to their cause. It’s a simple and flexible way to customize token behavior on the Solana blockchain.</p><p>The best part? Since transfer hooks are part of Token Extensions, they seamlessly work across all marketplaces, wallets, and apps. No extra steps or special knowledge are required from other projects. This integration ensures that your custom logic is consistently applied, making it a robust solution for various use cases.</p><h4>Permanent delegate</h4><p>This feature allows for the appointment of a permanent account delegate for a mint, giving the delegate unrestricted authority over any account tied to that mint. This includes the ability to perform actions such as burning or transferring any amount of tokens. Examples include the ability to seize assets from a sanctioned entity or repossess a token.</p><h4>Mint close authority</h4><p>The Mint Close Authority feature allows owners to easily close mint accounts and reclaim the lamports associated with them. This functionality enhances control and efficiency in managing the minting processes within the system.</p><h4>Interest-Bearing Tokens</h4><p>The <a href="https://spl.solana.com/token-2022/extensions#interest-bearing-tokens">Interest-Bearing Tokens Extension</a> allows creators to set an interest rate on their tokens. This interest rate is for cosmetic purposes only, meaning no new tokens are created as a result of the interest.</p><p>With the interest-bearing mint extension, developers can create interest-bearing assets natively on-chain. This enables projects to mirror real-world interest-bearing instruments such as bonds, with interest rate configuration, compounded interest, and more. This feature opens up possibilities for creating sophisticated financial products directly on the blockchain.</p><h4>Confidential Transfers</h4><p>Confidential transfers enable private transactions between users, keeping transaction amounts hidden while maintaining trust within the blockchain. This boosts security and ensures a transparent, accountable data repository.</p><p>For example, a company paying employees in USDC might want to keep salary amounts confidential. With this extension, an account owner can set up their account for confidential transfers. They can then move tokens from their public balance to a confidential balance. Once set up, any transfers from this confidential balance to another confidential account remain private, visible only to the sender, receiver, and an optional third-party auditor.</p><p>This feature uses advanced cryptographic protocols, making it a significant advancement in token extensions. It ensures privacy while retaining the transparency and security blockchain is known for.</p><p>Note that the transfers themselves are not anonymous — the source, destination, and token are public, as is the history of transactions between interacting parties. However, the amount transferred between parties remains private.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*NZGtDPyqQzi-YzvsB8tiGg.png" /></figure><h4>Member and Member Pointer</h4><p>These configurations relate to a group member, including details such as the group address and the unique identifier assigned to each member.</p><p>The Member Pointer functionality allows the token creator to designate a specific member account responsible for defining the minting process.</p><h4>Non-Transferable Tokens</h4><p>Some teams might want to restrict trading, exchanging, or transferring their tokens. The non-transferable extension meets this need by creating non-fungible tokens (NFTs) that are minted for a specific address and permanently stay with the original recipient.</p><p>These tokens can represent personal credentials such as degrees, achievements, badges, trophies, and points. They can also serve as on-chain loyalty cards or verifiable proof of purchase, ensuring a lasting connection with the user.</p><h4>Introduction to Account Extensions</h4><p>Now that we’ve covered the various mint extensions, let’s dive into account extensions. These extensions enhance the functionality of individual accounts on the Solana blockchain, adding features that help manage and interact with tokens more efficiently.</p><p>Current account extensions include:</p><h4>Memo Required on Transfer</h4><p>This feature mandates the inclusion of a message with every token transfer. It serves various purposes such as regulatory compliance, reporting obligations, and creating stronger audit trails.</p><h4>Immutable Owner</h4><p>In traditional token programs, the token account owner has special rights, including minting new tokens, halting transfers, upgrading programs, and emergency actions.</p><p>However, when ownership is transferred without proper notification, it poses a security risk as applications might still assume the account is under the original owner.</p><p>The immutable owner extension fixes this issue by creating token accounts that don’t allow ownership transfer. Token account ownership is fixed, offering verified integrity and resilient security. With the extension, you can eliminate potential account misappropriation.</p><h4>Default Account State</h4><p>This feature automatically freezes all newly created token accounts. Users must engage with the project to unfreeze their accounts and access their tokens, adding a layer of control and security.</p><h4>CPI Guard</h4><p>CPI Guard restricts how external programs can interact with your token. It delineates and prohibits specific actions within cross-program invocations, ensuring a secure and controlled environment for token interactions.</p><h4>Reallocate</h4><p>Some extensions can be activated after account creation. The Reallocate feature allows owners to adjust their token accounts to optimize space for additional extensions, enhancing functionality even after the account has been created.</p><h3>Exploring Use Cases for Token Extensions</h3><p>Now that we’ve delved into the various types of token extensions available on Solana, let’s explore how these extensions can be practically applied in real-world scenarios. Token extensions are not just theoretical enhancements, they bring tangible benefits and innovative solutions to various industries. Whether it’s improving security, enhancing functionality, or creating new financial instruments, token extensions open up a world of possibilities.</p><p>Here are examples of few early adopters:</p><h3>BERN</h3><p><strong>Token extensions used:</strong> Transfer Fees</p><p>As the inaugural token created with Token-22, BERN provides an entertaining way to interact with Solana’s popular community coin, BONK. Each time a BERN holder transfers their tokens, the Transfer Fee extension kicks in, automatically deducting 6.9% of the transferred amount as a fee.</p><p>This fee is allocated as follows: 1% is used to burn BONK, 0.5% is used to burn BERN, and the remaining 5% is redistributed to BERN holders. To date, nearly $1.5 million worth of BONK has been burned, and over $500,000 worth of BERN has been distributed to its holders.(<a href="https://www.bernboard.com/">source</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*UTeVzCd1QvbXgCc-EVcdGg.png" /></figure><h3>Wen New Standard (WNS)</h3><p>Inspired by Meow’s innovations, Wen New Standard (WNS) introduces a new NFT standard built on token extensions. Designed as an open-source public good, WNS seeks to enhance compatibility and eliminate unnecessary third-party fees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ei3nV3Z8CjUdj8pu0V-i5w.png" /></figure><p>Wen New Standard (WNS) harnesses the power of the <strong>Immutable Owner</strong> and <strong>Transfer Hook extensions</strong>, enabling creators to set up and enforce royalties on their collections at the protocol level, ensuring they cannot be bypassed.</p><p>Additionally, WNS simplifies the process of linking metadata to each token. By utilizing the <strong>Metadata</strong> and <strong>Metadata Pointer extensions</strong>, core information such as the token’s Name, Symbol, and URI are embedded directly within the token mint itself. This approach eliminates the need for external metadata accounts or supplementary programs.</p><p>WNS also employs the <strong>Group </strong>and <strong>Group Pointer extensions</strong>, facilitating an effortless association of individual NFTs with their parent collection.</p><p>Notably, AssetDash Elementals have already adopted WNS, marking it as the first major NFT collection to do so, with expectations of more collections transitioning to this standard in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*PcLUpfNBaXKQhUKtVVMWLw.png" /></figure><h3>Paxos USDP Stablecoin</h3><p><strong>Token extensions used:</strong> Mint Close Authority, Permanent Delegate, Confidential Transfer, Transfer Hook, Metadata &amp; Metadata Pointer</p><p>Paxos, a US-dollar stablecoin issuer fully regulated by the New York Department of Financial Services (NYDFS) as a trust company, opted to incorporate token extensions for the launch of its Pax Dollar (USDP) stablecoin.</p><p>Although Solana is a permissionless blockchain, allowing anyone to create transactions, NYDFS mandates that Paxos prevent bad actors from accessing USDP. To comply with these regulations, Paxos enabled the Permanent Delegate extension. This powerful feature allows Paxos to claw back funds if they are used for illegal purposes, ensuring adherence to NYDFS’s strict regulatory requirements.</p><p>USDP also utilizes the Confidential Transfer extension, which enhances privacy by encrypting token balances and transfer amounts using zero-knowledge proofs. This feature makes USDP suitable for various business applications, such as B2B payments, treasury management, and on-chain employee payrolls.</p><p>Overall, USDP demonstrates how regulated companies can leverage token extensions to enhance security, improve efficiency, and facilitate economic activity on-chain.</p><h3>GameFi Tokens</h3><p><strong>Token Extensions Used:</strong> Transfer Hooks, Non-Transferable Tokens, Metadata Extension</p><p><strong>Description</strong>: In the gaming industry, token extensions can enhance the functionality of in-game assets. GameFi tokens can utilize <strong>Transfer Hooks</strong> to implement custom logic for in-game purchases, such as deducting fees for marketplace transactions. Non-Transferable Tokens can be used to create achievements or badges that players earn and keep permanently, signifying their progress and status. The <strong>Metadata Extension</strong> allows detailed information about each asset, such as its rarity, power level, and history, to be embedded directly in the token.</p><p><strong>Example</strong>: A popular blockchain game could use these extensions to enhance the gaming experience by ensuring fair transactions and providing a rich, interactive ecosystem for players.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZOEAfGdO8G2QWM6K7kl3WA.png" /></figure><h3>Creating and Minting Tokens with Token Extensions</h3><p>Let’s look at an example of creating and minting tokens with token extensions, using the Solana tool suite and the spl-token library.</p><h4>Prerequisites</h4><ul><li>Solana CLI installed and configured</li><li>Node.js and npm</li><li>Local development environment or connection to Solana devnet/mainnet-beta</li><li>spl-token library</li></ul><h4>Step 1: Create a New Token</h4><p>Run this command to create a new token with specific extensions enabled:</p><pre>spl-token create-token --enable-mint-close-authority --enable-interest-rate 5</pre><p>This command creates a new token with the Mint Close Authority and Interest-Bearing Token extensions enabled. Safely store the token public key that is output.</p><h4>Step 2: Create a Token Account</h4><pre>spl-token create-account &lt;TOKEN_PUBLIC_KEY&gt;</pre><p>This command outputs the public key of the newly created token account.</p><h4>Step 3: Mint Tokens</h4><pre>spl-token mint &lt;TOKEN_PUBLIC_KEY&gt; &lt;TOKEN_ACCOUNT_PUBLIC_KEY&gt; &lt;AMOUNT&gt;</pre><p>Replace &lt;AMOUNT&gt; with the desired number of tokens to mint.</p><p>And that’s it! You have successfully created and minted tokens with token extensions on Solana.</p><h4>Modifying Token Settings</h4><p>With token extensions, you can also modify the token settings, such as changing authorities, enabling confidential transfers, and adding transfer hooks.</p><p>Here are commands you can run in the terminal to modify the token settings:</p><ol><li><strong>Enabling Confidential Transfers</strong></li></ol><pre>spl-token authorize &lt;TOKEN_PUBLIC_KEY&gt; confidential-transfer-mint --enable</pre><p>This command enables the Confidential Transfer extension, allowing for encrypted token balances and transfer amounts using zero-knowledge proofs.</p><p>2. <strong>Adding Transfer Hooks</strong></p><pre>spl-token authorize &lt;TOKEN_PUBLIC_KEY&gt; transfer-hook --program-id &lt;HOOK_PROGRAM_ID&gt;</pre><p>Replace &lt;HOOK_PROGRAM_ID&gt; with the public key of the transfer hook program.</p><p>3. <strong>Changing Token Authorities</strong></p><p>To change the mint authority, run this command:</p><pre>spl-token authorize &lt;TOKEN_PUBLIC_KEY&gt; mint --new-mint-authority &lt;NEW_MINT_AUTHORITY_PUBLIC_KEY&gt;</pre><p>Replace &lt;NEW_MINT_AUTHORITY_PUBLIC_KEY&gt; with the new mint authority&#39;s public key. This process can be used to change other authorities by specifying the appropriate authority type.</p><h4>Removing Authorities</h4><p>To fully secure a token, you can remove all authorities, making the token immutable and unchangeable. Here are the commands to run in your terminal:</p><p><strong>Remove Mint Authority</strong></p><pre>spl-token authorize &lt;TOKEN_MINT_ADDRESS&gt; mint --disable</pre><p><strong>Remove Freeze Authority</strong></p><pre>spl-token authorize &lt;TOKEN_MINT_ADDRESS&gt; freeze --disable</pre><p><strong>Remove Account Authority</strong></p><pre>spl-token authorize &lt;TOKEN_MINT_ADDRESS&gt; owner --disable</pre><h4>Best Practices for Token Creation</h4><p>To ensure the security and efficiency of your tokens, follow these best practices:</p><ol><li><strong>Security First:</strong> Always make your tokens immutable once they are configured.</li><li><strong>Clear Documentation</strong>: Maintain clear records of all token configurations and settings.</li><li><strong>Regular Audits</strong>: Conduct regular audits to verify the security and integrity of your tokens.</li><li><strong>Community Engagement</strong>: Engage with the community to share best practices and gather feedback.</li></ol><p>Creating and managing tokens in the Solana ecosystem involves careful planning and execution to ensure security and efficiency. By following this guide, you can create, mint, and configure tokens with best practices, making them immutable and removing all authorities to safeguard your assets.</p><h3>Conclusion</h3><p>Token extensions on Solana are a game-changer, offering developers tools to create secure, versatile, and efficient tokens. They enable advanced functionalities, streamline processes, and ensure regulatory compliance across various industries.</p><p>This article has provided a step-by-step guide on creating, minting, and managing tokens with extensions, as well as real-world applications showcasing their benefits. By leveraging these extensions and following best practices, developers can build robust and compliant tokens, driving innovation in the blockchain ecosystem.</p><p>Embrace token extensions to unlock new potentials and create the next generation of blockchain applications, ensuring your tokens are functional, secure, and future-proof.</p><h3>Resources</h3><ul><li><a href="https://phantom.app/learn/crypto-101/solana-token-extensions">A beginner&#39;s guide to Solana token extensions</a></li><li><a href="https://docs.phantom.app/developer-powertools/solana-token-extensions-token22">Solana Token Extensions (Token22) | Phantom Developer Docs</a></li><li><a href="https://spl.solana.com/token-2022">Token-2022 Program | Solana Program Library Docs</a></li></ul><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//cdn.builder.io/o/assets%252Fce0c7323a97a4d91bd0baa7490ec9139%252F83c26b9268f64400b8eb67442579a31a%3Falt%3Dmedia%26token%3D525415b0-d3ea-48d7-83d6-0fb0d9e522c6&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/eeafd75d0e3b31dd7161334f746c71cc/href">https://medium.com/media/eeafd75d0e3b31dd7161334f746c71cc/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0889dc3f8286" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Developer’s Intro to Huddle01 SDK and Ideas to Build]]></title>
            <link>https://medium.com/@ugofranklin22/a-developers-intro-to-huddle01-sdk-and-ideas-to-build-9da965e1e8da?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9da965e1e8da</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Mon, 27 May 2024 14:37:20 GMT</pubDate>
            <atom:updated>2024-05-27T14:37:20.386Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8KukO-3_tXRQPRiVWe0nMQ.png" /></figure><p>In today’s fast-paced digital landscape, developers encounter significant challenges when creating applications with real-time communication capabilities. Traditional centralised systems often fall short in delivering the high performance, cost-effectiveness, and privacy that modern applications demand. Consequently, developers are on the lookout for solutions that can overcome these limitations and provide a solid foundation for their applications.</p><p>In this blog post, I will delve into how the Huddle01 SDK tackles these challenges directly. I’ll offer a detailed overview of its features and benefits, highlighting its decentralised infrastructure and innovative approach to digital connectivity. Learn how the Huddle01 decentralised physical infrastructure network (DePIN) is revolutionising digital connectivity, particularly in audio and video conferencing. This decentralised, people-powered network leverages unused bandwidth resources from around the world, enabling seamless digital connectivity between users while reducing server costs by up to 95% compared to giants like AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-rs_yByhILS7RFYxVJvPw.png" /></figure><p><strong>What Huddle01 is and Why it Matters ?</strong></p><p>Huddle is a DePIN (Decentralised Physical Infrastructure Network) on a mission to democratize digital connectivity, particularly in audio and video conferencing. By leveraging WebRTC, Huddle enhances these communications with privacy, security, cost-effectiveness, and speed through web3 infrastructure and the dRTC network.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEOaw_QUal48%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEOaw_QUal48&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEOaw_QUal48%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/be03417ad79f14280eaa51ce30e1efc4/href">https://medium.com/media/be03417ad79f14280eaa51ce30e1efc4/href</a></iframe><p><strong>But hold on a second! What exactly is a DePIN?</strong></p><p>Well, a DePIN, or Decentralized Physical Infrastructure Network, uses blockchain technology to make physical infrastructure more decentralized, secure, and efficient. It’s all about bringing the benefits of blockchain into the real world!.</p><p><strong>Now, let’s dive deeper into the dRTC network and how it powers Huddle01 to achieve its ambitious goals.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkujczfOBaQtvb-w_kAXvQ.png" /></figure><p><strong>dRTC stands for decentralised Real-Time Communication.</strong></p><p>A significant issue with most of today’s infrastructure is that it is typically owned by a single entity, such as AWS (owned by Amazon) or GCP (owned by Google). This centralised ownership leads to several problems, including:</p><p>1.<strong>High Cost of RTC(real time communication): </strong>The expenses associated with scaling these services can become a financial burden, limiting accessibility and innovation.For a deeper dive into the high costs and challenges of real-time communication, <a href="https://huddle01.com/blog/the-hight-cost-of-rtc(real-time-communication)">click here</a> to learn more.</p><p>2.<strong>Privacy Concerns</strong>: Centralised WebRTC solutions may raise privacy concerns as user data is often stored and managed by a single entity, increasing the risk of data breaches or unauthorised access.</p><p>3.<strong>Security Vulnerabilities</strong>: Susceptibility to security vulnerabilities, such as DDoS attacks or man-in-the-middle attacks, which can compromise the integrity and confidentiality of communications.</p><p><strong>Exploring the Huddle01 SDK as the Solution</strong></p><p>To address modern communication challenges, let’s explore the Huddle01 SDK as the solution. Did you know Huddle01 has developed a dRTC protocol for their video conferencing app and communication infrastructure? This protocol routes data through community-powered nodes, ensuring end-to-end encryption. Have you wondered how node operators benefit? They earn $HUDL tokens for providing infrastructure, which in turn ensures users a secure, private, and fast communication experience.</p><p>Discover how Huddle01 leverages decentralized infrastructure to deliver a real-time communication experience that is secure, cost-effective, and privacy-focused. Can you imagine the peace of mind knowing your communications are not only swift and reliable but also protected by cutting-edge encryption? That’s the power of Huddle01’s decentralized approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZurmEhRR5z2ZG50wyxgQkw.png" /></figure><p>Understanding the core principles behind the architecture of Huddle01’s React SDK is essential for seamless integration. Explore the key concepts and glossary to familiarize yourself before utilising the SDK. <a href="https://docs.huddle01.com/docs/concepts">Click here</a> to delve into these foundational principles and terms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9DOZ7ZnPuVFdIelNbCskxQ.png" /></figure><h3><strong>Deep Diving into Huddle01 SDK</strong></h3><blockquote>Have you heard about the latest update? Huddle has transitioned its SDKs from v1 to v2. For details about earlier versions, visit the<a href="https://legacy.docs.huddle01.com/docs"> Huddle v1 documentation</a>.</blockquote><p>Huddle01 offers SDKs and APIs for creating top-tier, secure communication experiences across mobile and web applications. Integration with the Huddle infrastructure can be accomplished through two methods: SDKs or the iFrame package.</p><h4><strong>Huddle01 iFrame</strong></h4><p>Imagine you want to seamlessly integrate Huddle01’s Web App into your website. The Huddle01 iFrame is the perfect solution for this. With just a few lines of code, you can effortlessly embed the Huddle01 Web App within your application. Can you guess how easy it makes real-time collaboration with your team or clients? It’s incredibly straightforward.</p><p><strong>Ready to get started? Let’s dive into the steps of the code:</strong></p><p><strong>Prerequisites:</strong><em>Ensure that you have the most recent version of Node.js installed on your device. The latest version of Node.js can be downloaded from </em><a href="https://nodejs.org/en/download/"><strong><em>here</em></strong></a><em>.</em></p><p><strong>Set Up Your NextJS Project:</strong> Make sure you have a NextJS project set up. If not, you can create one using the following command:</p><pre>npx create-next-app@latest</pre><p>On installation, you’ll see the following prompts:</p><pre>What is your project named? my-app<br>Would you like to use TypeScript? No / Yes<br>Would you like to use ESLint? No / Yes<br>Would you like to use Tailwind CSS? No / Yes<br>Would you like to use `src/` directory? No / Yes<br>Would you like to use App Router? (recommended) No / Yes<br>Would you like to customize the default import alias (@/*)? No / Yes<br>What import alias would you like configured? @/*</pre><pre>cd &quot;Project-name&quot;<br><br>npm install @huddle01/iframe<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*mlvsH5GzzyCys5YotgI9qg.png" /></figure><p><strong>Create an iFrame Component</strong>: In your NextJS project, create a new component for the iFrame. You can place this component in the components directory.</p><blockquote>Add this in your iFrame component and render on your App.tsx.</blockquote><pre>import { HuddleIframe } from &quot;@huddle01/iframe&quot;;<br> <br>function App() {<br>    return (<br>        &lt;div&gt;<br>            &lt;HuddleIframe roomUrl=&quot;https://iframe.huddle01.com/YOUR_ROOM_ID&quot; className=&quot;w-full aspect-video&quot; /&gt;<br>        &lt;/div&gt;<br>    );<br>}</pre><pre>npm run dev </pre><p>Run npm run dev to start the development server on your local host.</p><p>Go to localhost:3000 and you would see the screen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJDuxtgAOC88u-21SseqWw.png" /></figure><p>There are two frameworks available for implementing the iFrame: vanilla JS and ReactJS. Explore the vanilla JS iFrame <a href="https://docs.huddle01.com/docs/iFrame/vanilla">here</a> and the ReactJS iFrame <a href="https://docs.huddle01.com/docs/iFrame/react">here</a> to find the one that best suits your needs.</p><p>Huddle01 iFrame offers a seamless integration of all Huddle01’s powerful features into your website. Whether it’s hosting a meeting, sharing a presentation, or discussing a project, Huddle01 iFrame makes it easy. Customize the iFrame to match your website’s branding for a seamless user experience.</p><p>Ready to see how you can customize the iFrame? Watch this video for a feel on how Huddle01 iFrame can seamlessly integrate and enhance your website’s look and feel.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_e2LOvS6cpE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_e2LOvS6cpE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_e2LOvS6cpE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/253189ae948a790ae3c9f1a3d43ee722/href">https://medium.com/media/253189ae948a790ae3c9f1a3d43ee722/href</a></iframe><h4><strong>Let’s talk about how we can integrate Huddle’s React SDK into your application</strong></h4><blockquote><em>Before we dive into the project, make sure you have </em><a href="https://nodejs.org/en/download"><em>Node</em></a><em>.js installed on your computer. It’s essential for running the project. Also, consider installing </em><a href="https://bun.sh/docs/installation"><em>Bun</em></a><em>. It’s a super fast tool for setting up and compiling your project, and it can really speed things up.</em></blockquote><p>We’re going to build a React app using Bun, which will help us set up and compile our project super quickly. To get started, follow the steps shown in the video below. It will guide you through the entire process, including setting up your environment.</p><ol><li>Initialise the project.</li></ol><pre> bun create next-app@latest  </pre><p>By following these steps, you’ll be able to set up a Next app quickly and efficiently using Bun.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*whAldCK64e4CNw3qBxL3bA.png" /></figure><p>2.Head over to <a href="https://docs.huddle01.com/docs/api-keys"><em>Huddle’s API Keys page</em></a> to get your API Key and Project ID. Once you have them, save these credentials in a `.env` file for safekeeping and easy access.</p><pre> # .env<br>PROJECT_ID=&quot;YOUR_PROJECT_ID&quot;<br> API_KEY=&quot;YOUR_API_KEY&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dESapdZF2Ue-UQOGSm-Gjg.png" /></figure><p>Install @huddle01/react in your react app</p><pre>bun install @huddle01/react @huddle01/server-sdk</pre><p>4.Once done, initialise your project by creating an instance of HuddleClient and pass it in HuddleProvider. Make sure that you wrap HuddleProvider in your root i.e.</p><pre> // layout.tsx<br> &quot;use client&quot;;<br> import { HuddleClient, HuddleProvider } from &quot;@huddle01/react&quot;;<br> ...<br><br> const huddleClient = new HuddleClient({<br>   projectId: process.env.PROJECT_ID!,<br> });<br><br> export default function RootLayout({<br>   children,<br> }: Readonly&lt;{<br>   children: React.ReactNode;<br> }&gt;) {<br>   return (<br>     &lt;html lang=&quot;en&quot;&gt;<br>       &lt;HuddleProvider client={huddleClient}&gt;<br>         &lt;body className={inter.className}&gt;{children}&lt;/body&gt;<br>       &lt;/HuddleProvider&gt;<br>     &lt;/html&gt;<br>   );<br> }</pre><p>5. To join a room, you need a roomId, which can be generated by calling the Create Room API. The following code demonstrates how to call this API, including your API KEY in the header, and returns the roomId as part of the response.</p><pre> // utils/createRoom.ts<br> &quot;use server&quot;;<br><br> export const createRoom = async () =&gt; {<br>   const response = await fetch(&quot;https://api.huddle01.com/api/v1/create-room&quot;, {<br>     method: &quot;POST&quot;,<br>     body: JSON.stringify({<br>       title: &quot;Huddle01 Room&quot;,<br>     }),<br>     headers: {<br>       &quot;Content-type&quot;: &quot;application/json&quot;,<br>       &quot;x-api-key&quot;: process.env.API_KEY!,<br>     },<br>     cache: &quot;no-cache&quot;,<br>   });<br><br>   const data = await response.json();<br>   const roomId = data.data.roomId;<br>   return roomId;<br> };</pre><p>6. After generating the roomId, you need an accessToken to join the room. To achieve this, create a route.ts file in the token folder. This file will use the @huddle01/server-sdk to generate and return a token, including the status code in the response. Here is how you can structure the route.ts file:</p><pre> // token/route.ts<br><br> import { AccessToken, Role } from &quot;@huddle01/server-sdk/auth&quot;;<br><br> export const dynamic = &quot;force-dynamic&quot;;<br><br> export async function GET(request: Request) {<br>   const { searchParams } = new URL(request.url);<br><br>   const roomId = searchParams.get(&quot;roomId&quot;);<br><br>   if (!roomId) {<br>     return new Response(&quot;Missing roomId&quot;, { status: 400 });<br>   }<br><br>   const accessToken = new AccessToken({<br>     apiKey: process.env.API_KEY!,<br>     roomId: roomId as string,<br>     role: Role.HOST,<br>     permissions: {<br>       admin: true,<br>       canConsume: true,<br>       canProduce: true,<br>       canProduceSources: {<br>         cam: true,<br>         mic: true,<br>         screen: true,<br>       },<br>       canRecvData: true,<br>       canSendData: true,<br>       canUpdateMetadata: true,<br>     }<br>   });<br><br>   const token = await accessToken.toJwt();<br><br>   return new Response(token, { status: 200 });<br> }</pre><p>7. To facilitate joining and leaving a room using the useRoom hook from the SDK, you can follow these steps in a Next.js application. The useRoom hook provides methods like joinRoom and leaveRoom. It&#39;s recommended to send the roomId over a URL such as [url]/roomId.</p><ol><li>Create a folder named [roomId] in the pages directory.</li><li>Inside this folder, create a file named page.tsx.</li><li>Paste the following code into page.tsx:</li></ol><pre> import { useRoom } from &#39;@huddle01/react/hooks&#39;;<br><br> const App = () =&gt; {<br>   const { joinRoom, leaveRoom } = useRoom({<br>     onJoin: () =&gt; {<br>       console.log(&#39;Joined the room&#39;);<br>     },<br>     onLeave: () =&gt; {<br>       console.log(&#39;Left the room&#39;);<br>     },<br>   });<br><br>   return (<br>     &lt;div&gt;<br>       &lt;button onClick={() =&gt; {<br>         joinRoom({<br>           roomId: &#39;YOUR_ROOM_ID&#39;,<br>           token: &#39;YOUR_ACCESS_TOKEN&#39;<br>         });<br>       }}&gt;<br>         Join Room<br>       &lt;/button&gt;      <br>       &lt;button onClick={leaveRoom}&gt;<br>         Leave Room<br>       &lt;/button&gt; <br>     &lt;/div&gt;<br>   );<br> };</pre><p>8. To send media to participants, you can use the `useLocalVideo`, `useLocalAudio`, and `useLocalScreenShare` hooks.</p><pre>   import { useLocalVideo, useLocalAudio, useLocalScreenShare } from &#39;@huddle01/react/hooks&#39;;<br><br>   const App = () =&gt; {<br>     const { stream, enableVideo, disableVideo, isVideoOn } = useLocalVideo();<br>     const { stream, enableAudio, disableAudio, isAudioOn } = useLocalAudio();<br>     const { startScreenShare, stopScreenShare, shareStream } = useLocalScreenShare();<br><br>     return (<br>       &lt;div&gt;<br>         {/* Webcam */} <br>         &lt;button <br>           onClick={() =&gt; {<br>             isVideoOn ? disableVideo() : enableVideo()<br>           }}&gt;<br>           Fetch and Produce Video Stream<br>         &lt;/button&gt;<br><br>         {/* Mic */} <br>        &lt;button <br>           onClick={() =&gt; {<br>             isAudioOn ? disableAudio() : enableAudio();<br>           }}&gt;<br>           Fetch and Produce Audio Stream<br>         &lt;/button&gt;<br><br>         {/* Screen Share */}<br>         &lt;button <br>           onClick={() =&gt; {<br>             shareStream ? stopScreenShare() : startScreenShare();<br>           }}&gt;<br>           Fetch and Produce Screen Share Stream<br>         &lt;/button&gt;<br>       &lt;/div&gt;<br>     );<br>   };</pre><p>9. To receive audio, video, and screen capture streams, you can follow these steps.</p><pre> &quot;use client&quot;;<br> import {<br>   usePeerIds,<br>   useRemoteVideo,<br>   useRemoteAudio,<br>   useRemoteScreenShare,<br> } from &quot;@huddle01/react/hooks&quot;;<br> import { Audio, Video } from &quot;@huddle01/react/components&quot;;<br> import { FC } from &quot;react&quot;;<br> import { Role } from &quot;@huddle01/server-sdk/auth&quot;;<br><br> interface RemotePeerProps {<br>   peerId: string;<br> }<br><br> const RemotePeer: FC&lt;RemotePeerProps&gt; = ({ peerId }) =&gt; {<br>   const { stream: videoStream } = useRemoteVideo({ peerId });<br>   const { stream: audioStream } = useRemoteAudio({ peerId });<br>   const { videoStream: screenVideoStream, audioStream: screenAudioStream } =<br>     useRemoteScreenShare({ peerId });<br><br>   return (<br>     &lt;div&gt;<br>       {videoStream &amp;&amp; &lt;Video stream={videoStream} /&gt;}<br>       {audioStream &amp;&amp; &lt;Audio stream={audioStream} /&gt;}<br>       {screenVideoStream &amp;&amp; &lt;Video stream={screenVideoStream} /&gt;}<br>       {screenAudioStream &amp;&amp; &lt;Audio stream={screenAudioStream} /&gt;}<br>     &lt;/div&gt;<br>   );<br> };<br><br> const ShowPeers = () =&gt; {<br>   const { peerIds } = usePeerIds({ roles: [Role.HOST, Role.CO_HOST] }); // Get Hosts And Cohost&#39;s peerIds<br>   console.log(&quot;show peers called&quot;);<br>   console.log(peerIds);<br>   return (<br>     &lt;div&gt;<br>       {peerIds.map((peerId) =&gt; {<br>         return &lt;RemotePeer peerId={peerId} key={peerId} /&gt;;<br>       })}<br>     &lt;/div&gt;<br>   );<br> };<br><br> export default ShowPeers;</pre><p>And that’s a wrap!.</p><blockquote>In addition to `useRoom`, Huddle01 offers more advanced hooks like `useRoomControls`, `usePeerIds`, and `useDevices`, allowing for extensive customization to fit your needs. Besides the ReactJS SDK, Huddle01 also provides SDKs for React Native and Flutter for mobile applications, as well as a Server SDK for executing protected admin actions on the server side.</blockquote><blockquote>Beyond SDKs, Huddle01 offers a variety of powerful APIs. For example, the Token Gated Create Room API enables you to create rooms with access restricted based on the type and value of a token. Other available APIs include the Get Key Metrics API, Live Meetings API, Get Recordings API, and many more.</blockquote><p>You can learn all about it at <a href="https://docs.huddle01.com/docs">Huddle01 Documentation</a>. Additionally, check out this<a href="https://github.com/Huddle01/client-next-ts-example/tree/main/src"> repository </a>for more insights into the completed app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gJM8ZZelsAz14tFQlGLm7g.png" /></figure><p>Let’s explore some unique and viable ideas that can be developed using the Huddle01 SDK.</p><ol><li><strong>City Infrastructure Management</strong></li></ol><ul><li>Description: Develop a platform for managing a cities infrastructures, such as traffic systems, utilities, and public safety services. Use the Huddle01 SDK to provide real-time video communication between city managers and field personnel.</li><li>Features: Live video feeds from various city infrastructure points, incident reporting via video calls, and virtual coordination of city services.</li></ul><p>2. <strong>Virtual Book Clubs</strong></p><ul><li>Description: Create a platform for book enthusiasts to join virtual book clubs, discuss their favorite reads, and participate in live video discussions with authors and fellow readers.</li><li>Features: Scheduled video discussions, book recommendation systems, and live Q&amp;A sessions with authors.</li></ul><p>3. <strong>Virtual Health Clinics</strong></p><ul><li>Description: Develop a platform that allows patients to book virtual appointments with healthcare providers. The Huddle01 SDK can enable seamless video consultations between patients and doctors.</li><li>Features: Secure video consultations, appointment scheduling, electronic health records (EHR) integration, and prescription management.</li></ul><p>4. <strong>Geriatric Care Solutions</strong></p><ul><li>Description: Develop a telemedicine solution tailored for elderly patients, providing easy access to healthcare services and regular check-ups. The Huddle01 SDK can support video calls with healthcare providers and caregivers.</li><li>Features: Simplified video calls, medication management, health monitoring, and caregiver coordination.</li></ul><p>5. Language Exchange Community</p><ul><li>Description: Create a social app where users can practice languages with native speakers through live video sessions. The Huddle01 SDK can facilitate real-time language exchange and learning.</li><li>Features: Language matching, live practice sessions, language learning resources, and cultural exchange events.</li></ul><p>Many apps are already leveraging Huddle01, check them out <a href="https://docs.huddle01.com/docs/showcase">here</a>.</p><h4><strong>To know more about </strong><a href="https://hashnode.com/@Huddle01com"><strong>Huddle01</strong></a><strong> , here are some resources</strong></h4><ul><li>Huddle01 <a href="https://docs.huddle01.com/docs/guides">guides and sample apps</a> to get you started</li><li><a href="https://huddle01.com/network">Network Guide</a></li><li><a href="https://docs.huddle01.com/docs/showcase">Examples of Apps</a> leveraging Huddle01’s SDK</li><li><a href="https://huddle01.com/blog">Blogs</a></li><li><a href="https://huddle01.com/">Website</a></li><li><a href="https://docs.huddle01.com/docs">Docs</a></li><li><a href="https://huddle01.com/">Discord</a></li><li><a href="https://twitter.com/huddle01com">Twitter</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9da965e1e8da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nigeria’s Solana Saga: A Riveting Exploration into the Pulse of Innovation within the Nation’s…]]></title>
            <link>https://medium.com/@ugofranklin22/nigerias-solana-saga-a-riveting-exploration-into-the-pulse-of-innovation-within-the-nation-s-f4f7653cb7f4?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4f7653cb7f4</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Mon, 26 Feb 2024 16:42:26 GMT</pubDate>
            <atom:updated>2024-02-26T16:42:26.848Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hoj1UBQRh9AvIjJXcoIIeA.png" /></figure><h3>Nigeria’s Solana Saga: A Riveting Exploration into the Pulse of Innovation within the Nation’s Booming Blockchain Ecosystem</h3><h4><strong>Introduction</strong></h4><p>In the vibrant landscape of the Nigerian blockchain ecosystem, Solana transcends its technological prowess to become a key player. Beyond its advanced features, Solana’s impact is amplified by the active and collaborative community in Nigeria. Super Team Nigeria, a prominent contributor to Solana’s development and adoption, orchestrates events that serve as hubs for collaboration and innovation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HBnYhunTq6vnzc4XqsOq9Q.jpeg" /></figure><p>Developer Community and Innovation Super Team Nigeria has cultivated a dynamic ecosystem, hosting regular events that unite developers, enthusiasts, and industry experts. These gatherings facilitate knowledge exchange, networking, and the showcasing of Solana’s potential in addressing Nigerian challenges. A standout initiative involves weekly tasks for developers, stimulating creativity and fostering continuous improvement in Solana-based applications. Developers engaged in these tasks not only have the chance to earn prize rewards but also contribute to the growth of a skilled and innovative community within Nigeria.</p><p>As Super Team Nigeria and other communities persist in organizing events, they significantly contribute to expanding Solana’s influence in the Nigerian blockchain ecosystem. This community-driven engagement enhances understanding of Solana’s unique features and accelerates the adoption of decentralized technologies in the region, moving the vision of a fast, scalable, and cost-effective blockchain closer to reality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ysfBc0GJx1V-t0-OvrFTjw.jpeg" /></figure><p>Collaborating with various communities, Super Team Nigeria takes the lead in hackathons, bringing together a diverse group of developers, enthusiasts, and industry experts. These hackathons act as catalysts for innovation, driving participants to explore the full potential of Solana’s fast, scalable, and cost-effective blockchain.</p><p>Notably, these hackathons have yielded tangible outcomes, giving rise to projects like <a href="https://x.com/cryptoconvo1?s=21">CryptoConvo</a>. This promising venture exemplifies the power of collective creativity and underscores the positive impact of community-driven initiatives within the Nigerian Solana ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mtIzLBDN4LqSkW4D2FDRJQ.png" /></figure><p><strong>Real-World Success: Raydium</strong></p><p>An exemplary success story within the dynamic Solana ecosystem is <a href="https://raydium.io/">Raydium</a>, a non-custodial decentralized exchange (DEX) that has garnered significant acclaim. Built on the Solana blockchain, Raydium exemplifies the principles of fast, scalable, and cost-effective trading.</p><p>Raydium facilitates seamless and private trading experiences for users, enabling quick and affordable transactions with others on the Solana network. The platform’s integration of Solana’s advanced features, such as its unique consensus mechanism (Proof of History) and fast transaction processing capabilities, has contributed to its success.</p><p>By leveraging Solana’s optimized architecture, Raydium has enhanced scalability, making it an ideal choice for users seeking efficient and low-cost trading solutions. The platform’s commitment to providing a decentralized and user-friendly exchange experience aligns with the broader vision of Solana in fostering innovation within the blockchain space.</p><p>Raydium’s achievements underscore the practical application of Solana’s technology, showcasing how a decentralized exchange built on this blockchain can thrive, offering users a reliable and efficient alternative to traditional centralized exchanges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*5NylYI9FnFALeBGb_xyDLQ.jpeg" /></figure><h4><strong>Getting Started with Solana Development</strong></h4><p><a href="https://solana.com/docs/intro/dev">Getting started with Solana development </a>involves a step-by-step process to set up your environment, understand the key concepts, and begin building decentralized applications (DApps). Here’s a comprehensive guide to help you kickstart your Solana journey:</p><ol><li><strong>Set Up Your Development Environment:</strong></li></ol><p>a. Install Solana CLI: Download and install the S<a href="https://docs.solanalabs.com/cli/">olana Command Line Interface (CLI) </a>following official documentation.</p><p>b. Install Node.js and npm: Ensure<a href="https://nodejs.org/en"> Node.js </a>and npm are installed for compatibility with Solana tools and libraries.</p><p>c. Set Up a Wallet<strong>:</strong> Create a Solana wallet using popular choices like <a href="https://phantom.app/">Phantom</a>.</p><p>2. <strong>Learn Solana Basics:</strong></p><p>a. Understand the Solana Blockchain: — Familiarize yourself with the fundamental concepts of the Solana blockchain, such as its unique consensus mechanism (Proof of History) and its fast transaction processing capabilities.</p><p>b. Explore Documentation: — Delve into the o<a href="https://solana.com/docs">fficial Solana documentation</a>. Understand the core components, smart contract development, and best practices for building on Solana.</p><p>3. <strong>Choose Your Development Language:</strong></p><p>a. Rust: — If you’re comfortable with systems programming, <a href="https://doc.rust-lang.org/book/ch01-01-installation.html">learn Rust</a>. Solana’s primary development language is Rust, and Anchor is a popular Rust-based framework for Solana smart contract development.</p><p>b. JavaScript/TypeScript: — If you prefer web development languages, explore Solana’s JavaScript and TypeScript support. Use libraries like @solana/web3.js for interacting with the Solana blockchain.</p><p>4. <strong>Set Up Your IDE:</strong></p><ul><li>Choose an Integrated Development Environment (IDE) such as Visual Studio Code and install relevant extensions for Rust or JavaScript/TypeScript, depending on your chosen language.</li></ul><p>5. <strong>Develop Your First Smart Contract:</strong></p><p>a. Use Anchor Framework (Rust): — Follow the<a href="https://www.anchor-lang.com/"> Anchor framework documentation </a>to set up your first Solana smart contract using Rust.</p><p>b. Use Solana SPL (JavaScript/TypeScript): — Explore Solana’s Program Library (SPL) and follow tutorials to develop decentralized applications using JavaScript or TypeScript.</p><p>6. <strong>Join the Solana Community:</strong></p><ul><li>Engage with the <a href="https://solana.com/community">Solana community</a> through forums, <a href="https://x.com/solana?s=20">social media</a>, and Discord channels. This is an invaluable resource for seeking help, sharing experiences, and staying updated on the latest developments.</li></ul><p>7.<strong> Test on Devnet:</strong></p><ul><li>Test your smart contracts on the Solana Devnet (development network) before deploying them to the mainnet. This helps identify and resolve issues in a controlled environment.</li></ul><p>8. <strong>Explore Solana Ecosystem:</strong></p><ul><li>Dive into existing Solana projects, decentralized finance (DeFi) applications, and NFT marketplaces. Understanding the broader ecosystem can provide inspiration and insights for your own projects.</li></ul><p>9. <strong>Keep Learning and Experimenting:</strong></p><ul><li>Stay updated on Solana’s evolving features and enhancements. Experiment with new tools, frameworks, and contribute to the Solana open-source community.</li></ul><h4>Fostering Connections in Independent Communities</h4><ul><li>Metaplex: Join the dynamic <a href="http://discord.gg/metaplex">Metaplex community,</a> a hub for NFT development on Solana.</li><li>Serum: Engage with the Serum DEX community for discussions on DeFi development within the Solana ecosystem.</li></ul><h4>Continued Learning Resources</h4><ul><li>Solana University: Enroll for a comprehensive Solana development course suitable for developers at various skill levels.</li><li>Solana Developer Blog: <a href="https://solana.com/news/tag/developer">Stay connected</a> with the latest news, technical improvements, and community initiatives.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*VaCsKnMQjf08uI4wFQQLTA.jpeg" /></figure><h4><strong>Why Choose Solana?</strong></h4><ol><li><strong>Enhanced Scalability:</strong></li></ol><p>Solana stands out as a compelling alternative to layer 2 scaling solutions, thanks to its optimized architecture. This results in improved scalability, making it an ideal choice for crafting DApps handling substantial transaction volumes.</p><p>2.<strong> Rich Set of Advanced Features:</strong></p><p>Solana’s development tools introduce unique functionalities, elevating the entire DApp development lifecycle with distinct advantages. Packed with advanced features, Solana empowers developers to create innovative DApps, supporting layer 2 scalability solutions like optimistic rollups.</p><p>3. <strong>Expansive Ecosystem:</strong></p><p>Solana’s ever-growing ecosystem, driven by a community of investors, entrepreneurs, and developers, propels its surging popularity. Learning Solana development positions you as a valuable contributor to this vibrant community, contributing to the growth of the Solana blockchain.</p><p>4. <strong>Growing Demand for Solana Developers:</strong></p><p>With Solana’s rising acclaim, there’s a surge in demand for skilled developers specializing in Solana development. Equipping yourself with the right skills not only positions you as a proficient developer but also makes you a sought-after asset for companies building cutting-edge DApps on the Solana blockchain.</p><p>Investing time in mastering Solana development best practices opens doors to enhanced scalability, advanced features, and aligns you with a thriving community in the dynamic world of blockchain development.</p><p><strong>Conclusion</strong></p><p>In the dynamic landscape of Nigeria’s blockchain ecosystem, Solana has emerged not just as a technological powerhouse but as a catalyst for innovation driven by its vibrant community. Super Team Nigeria, at the forefront of Solana’s development, orchestrates events that not only showcase the blockchain’s potential but actively contribute to shaping its future.</p><p>As developers actively participate in weekly tasks, hackathons, and collaborative initiatives, they not only sharpen their skills but also play a pivotal role in cultivating a community that thrives on skillful innovation. This collective effort, personally exemplified by my own achievements such as winning nearly $50 from weekly tasks and actively participating in various hackathons, serves as a driving force behind the accelerated adoption of decentralized technologies in Nigeria. This firsthand involvement brings the vision of a fast, scalable, and cost-effective blockchain even closer to reality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4f7653cb7f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Pixel Pusher to Data Dynamo: Navigating the Coding Odyssey]]></title>
            <link>https://medium.com/@ugofranklin22/from-pixel-pusher-to-data-dynamo-navigating-the-coding-odyssey-d51069cd559a?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d51069cd559a</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Tue, 02 Jan 2024 09:05:33 GMT</pubDate>
            <atom:updated>2024-01-02T09:05:33.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*vAei6dZwWNjCtTCetKqPCQ.jpeg" /></figure><p>Embarking on a new year this time last year , I found myself situated in the heart of technological innovation — a front-end intern in a vibrant tech hub in the southeast. The journey from a humble graphic design internship as a student to navigating the intricate world of front-end development has been nothing short of a rollercoaster. There were moments of sheer beauty, the exhilaration of creating visually stunning interfaces, and the thrill of being part of a leading tech hub.</p><p>Yet, amid the highs, lingered a persistent sense of dissatisfaction. The front-end space , with its myriad challenges and occasional encounters with less-than-ideal colleagues (they know who they are), left me yearning for more. Always driven by a relentless thirst for knowledge and a penchant for exploring the uncharted. I made a daring decision to pivot towards the mysterious terrain of back-end development.</p><p>This shift was not merely a professional detour but a conscious choice to transcend my comfort zone. The pursuit of satisfaction and the hunger for broader horizons led me to unravel the unknown complexities of back-end development , fuelled by a relentless passion for continuous growth and discovery.</p><p>Fortunately, I had a great friend who I meet from a past internship by name Adaobi, a brilliant and reserved friend who became a pivotal figure in my coding odyssey. Despite her quiet nature, her brilliance spoke volumes. I confided in Adaobi about my ambitions, sharing the exciting news that I had decided to apply for the Coursera Financial Aid program, specifically targeting the IBM course on Developing Backend Apps with Node.js and Express.</p><p>The thrill was palpable when I received the successful application mail, and I completed the course in less than three weeks while working on a gig alongside Adaobi, who handled the backend development while I took on the front-end developer and designer roles.</p><p>Yet, the realization struck that while the course had equipped me with fundamental insights, translating that into a fully functioning server proved to be a formidable challenge. Undeterred, I reached out to Adaobi once again. In a late-night coding session, she recommended a couple of Udemy courses that had been instrumental in her own journey . Without hesitation, I invested in these courses, marking the beginning of a new chapter in my learning journey. Adaobi’s guidance, combined with the structured content of the Udemy courses, proved invaluable. As lines of code multiplied on my screen, so did my understanding of server-side intricacies.</p><p>Navigating the intricacies of back-end development not only led to personal growth but also opened doors to exciting opportunities. Landing a gig to design the server side and craft a landing page for a startup’s eagerly awaited waitlist was a rewarding validation of my journey.</p><p>The allure of back-end challenges lies in their ability to stimulate the mind. It’s a domain where success is not just about what you know but, more importantly, about how you think. Each project I undertake becomes a canvas for intellectual exploration, fueling my curiosity to delve deeper into the vast unknown. Recently, my fascination led me to explore an intriguing article on creating a virus with Node.js. Now, let me be clear — I’m no Elliot Alderson from Mr. Robot. I’m simply someone captivated by the intricacies of this field and compelled to share my musings.</p><p>Continuing to forge ahead, I am optimistic that these acquired skills not only pay the bills but also provide the gateway to ongoing exploration, growth, learning, and most importantly, thriving.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d51069cd559a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crafting a Movie Library App with Firebase and React]]></title>
            <link>https://medium.com/@ugofranklin22/crafting-a-movie-library-app-with-firebase-and-react-1b5b79a59d73?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b5b79a59d73</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Wed, 30 Aug 2023 06:06:38 GMT</pubDate>
            <atom:updated>2023-08-30T06:06:38.579Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H4Y1ymOLj8G7c3Pp" /></figure><h4><strong>Introduction: Let the Movie Magic Begin</strong></h4><p>Hey there, coding enthusiast! 🚀 The allure of Firebase and its seamless services has always captured my imagination. So, brace yourself as I take you through my personal journey of creating a web app with a simple yet functional UI. Get ready to join me on an exhilarating adventure where we’ll be crafting a comprehensive CRUD app by harnessing the powerful synergy of Firebase and React. Regardless of whether you’re a coding veteran or just embarking on your coding expedition, you can count on me to lead you through every step of my approach. Let’s dive in and explore how I tackled this exciting endeavor!</p><h3>What is CRUD?</h3><p>CRUD is an acronym for Create, Read, Update, and Delete — the fundamental actions used to work with a database. In your Firestore-based movie app:</p><p>- <strong>Create:</strong> Add new movie entries.<br>- <strong>Read</strong>: Retrieve and display movie details.<br>- <strong>Update</strong>: Modify existing movie data.<br>- <strong>Delete</strong>: Remove movie records.</p><p>CRUD forms the foundation for managing data in your app’s Firestore database.</p><h4><strong>Prerequisites: Getting Your Tools Ready</strong></h4><p>Before we embark on this coding journey, make sure you’re equipped with basic React knowledge, possess a free Firebase account (yes, it’s as free as the wind in the North), and summon the spirit of Game of Thrones characters as we forge ahead. Remember, in the realm of coding, as in the world of Westeros, great things await those who dare to venture forth.</p><h4><strong>Setting Up the Project</strong></h4><p>1.Begin by creating a new React app using Vite, a tool as swift as Arya Stark’s sword. With Vite’s rapid setup, you’ll be well on your way to crafting your app.<br>2. Set up Firebase project and obtain configuration keys.</p><h4>Firebase Integration</h4><p>In the initial step, once you’ve installed the Firebase CLI, proceed to include the required packages: `cloud_firestore` and `firebase_storage`.</p><p>Firebase Storage serves as an accessible platform for rapid data storage and utilization. To interact effectively with Firebase storage, we establish instances and access methods to seamlessly engage with the Firebase storage component.</p><p>Here’s the integration process broken down:</p><ol><li><strong>Import the Essential Components and Configurations:</strong></li></ol><p>Begin by importing the vital components and configurations that facilitate communication between your React app and Firebase services. This establishes the necessary groundwork for your app to interact with Firestore and Firebase Storage effectively.</p><p>2.<strong> Integrate Firebase SDK with the React App:</strong></p><p>Seamless integration of Firebase SDK into your React app is pivotal. This integration ensures that your app can harness the power of Firebase services, including Firestore for database management and Firebase Storage for efficient data storage and retrieval.</p><p><em>Representation of Firebase storage</em></p><figure><img alt="representation of firebase cloud storage." src="https://cdn-images-1.medium.com/max/1024/1*65tyYQClnCuVces68_jK0A.png" /></figure><p>3. <strong>Establish a Firestore Collection for CRUD Items:</strong></p><p>With the Firebase integration underway, it’s time to set up a Firestore collection that will serve as the repository for your CRUD operations. This collection acts as a structured container to house the movie entries, enabling you to create, read, update, and delete movie records as needed.</p><p><em>A representation illustrating the concept of creating a Firestore collection for CRUD (Create, Read, Update, Delete) operations.</em></p><figure><img alt="A graphical representation illustrating the concept of creating a Firestore collection for CRUD (Create, Read, Update, Delete) operations. The image depicts a collection of stacked rectangular blocks, symbolizing the collection. Each block contains the letters “C,” “R,” “U,” and “D” to represent the respective CRUD actions. Arrows connect from each letter to a circular representation of a movie reel, indicating that the CRUD actions involve managing movie data within the collection. This visual" src="https://cdn-images-1.medium.com/max/1024/1*6oxVZIG1WQLZ6wOphlyH2A.png" /></figure><p>By following these steps, your React app becomes intricately linked with Firebase, laying the foundation for a dynamic and robust movie library app that adeptly handles data management and storage.</p><p>Remember, these actions are the cornerstones that bridge your app with Firebase’s capabilities, ushering in a world of possibilities for crafting powerful and responsive applications.</p><pre>import { useEffect, useState } from &quot;react&quot;;<br>import { db, auth } from &quot;./config/fireBase&quot;;<br>import {<br>  getDocs,<br>  collection,<br>  addDoc,<br>  deleteDoc,<br>  doc,<br>  updateDoc,<br>} from &quot;firebase/firestore&quot;;<br>import &quot;./App.css&quot;;<br><br>function App() {<br>  // Your integrated code here<br>}</pre><h4><strong>Creating Data (Create)</strong></h4><p>1. Build a form component for adding new items.<br>2. Implement a form submission handler to add new items to the Firestore collection.<br>3. Show success/error messages to the user.</p><pre> const addMovie = async () =&gt; {<br>    try {<br>      await addDoc(movieCollectionRef, {<br>        title: newMovieTitle,<br>        releasedate: newReleaseDate,<br>        awards: newAward,<br>        userId: auth?.currentUser?.uid,<br>      });<br>      setNewMovieTitle(&quot;&quot;); // Clear the input fields after adding<br>      setNewReleaseDate(0);<br>      setAward(false);<br>      getMovieList(); // Refresh the movie list after addition<br>    } catch (error) {<br>      console.table(error);<br>    }<br>  };</pre><h4><strong>Reading Data (Read)</strong></h4><p>1. Fetch data from Firestore collection and display it in the app.<br>2. Use React’s state to manage the fetched data.<br>3. Render the data in a presentable format, such as a list or cards.</p><pre>const getMovieList = async () =&gt; {<br>    try {<br>      const data = await getDocs(movieCollectionRef);<br>      const filteredData = data.docs.map((doc) =&gt; ({<br>        ...doc.data(),<br>        id: doc.id,<br>      }));<br>      setMovieList(filteredData);<br>      console.log(data);<br>    } catch (error) {<br>      console.log(error);<br>    }<br>  };</pre><h4>Updating Data (Update)</h4><p>1. Implement an edit feature for each item in the list.<br>2. Populate an edit form with the existing data of the selected item.<br>3. Update the Firestore record with the edited data.</p><pre>  const updateMovieTitle = async (id) =&gt; {<br>    const movieDoc = doc(db, &quot;movies&quot;, id);<br>    await updateDoc(movieDoc, { title: updatedTitle });<br>    getMovieList(); // Refresh the movie list after updating<br>  };</pre><h4>Deleting Data (Delete)</h4><p>1. Add a delete button for each item.</p><p>2. Implement a delete handler to remove the item from the Firestore collection.</p><p>3. review the rules set in console.firebase dashboard, ours was confirgued to let only signed in user certain permission such as deleting the list.</p><pre>  const deleteMovie = async (id) =&gt; {<br>    const movieDoc = doc(db, &quot;movies&quot;, id);<br>    await deleteDoc(movieDoc);<br>    getMovieList(); // Refresh the movie list after deletion<br>  };</pre><h4>Conclusion: And… Cut!</h4><p>Congratulations, you’ve created a movie library app from scratch! 🍿🎬 Firebase and React joined forces, and you’ve witnessed the magic of CRUD operations unfold. Remember, this is just the beginning — you can add authentication, search, and much more to your blockbuster.</p><h4>Next Steps: The Sequel</h4><p>You’ve already built an impressive CRUD app, but taking it a step further with user authentication can truly enhance the user experience. With authentication, users can personalize their interactions, securely access their data, and even synchronize their preferences across different devices. Firebase Authentication simplifies this process by offering options like Google Sign-In and regular email/password authentication. To dive into the specifics of integrating these methods, you can refer to the documentation. This will empower you to provide a professional touch to your app and create a more secure and personalized environment for your users.</p><p>If you’re interested in learning more about implementing Firebase authentication in a similar context, you might find this article helpful: [Flutter Firebase Auth Process](<a href="https://medium.com/@yoncayeprem/flutter-firebase-auth-process-85e8cc45d54e?source=post_page-----55ec3ad700c0--------------------------------">https://medium.com/@yoncayeprem/flutter-firebase-auth-process-85e8cc45d54e?source=post_page-----55ec3ad700c0--------------------------------</a>). It can provide insights and guidance on how to effectively incorporate Firebase authentication into your application.</p><h4>Exploring the Live App</h4><p>Want to see your masterpiece in action? Check out the hosted version of the CRUD app on Firebase at<a href="https://receipe-webapp-e809b.web.app/"> https://receipe-webapp-e809b.web.app</a>. Take it for a spin and play around with the movie entries.</p><h4>Final Thoughts: The Director’s Chair</h4><p>Remember, this integration is just a guide — you should adapt it to your article’s formatting and structure. Also, ensure that your code snippets are properly formatted and displayed for readability. Happy writing and coding! If you have any more questions or need further assistance, feel free to reach me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b5b79a59d73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Embarking on My TypeScript Journey]]></title>
            <link>https://medium.com/@ugofranklin22/embarking-on-my-typescript-journey-67222655d227?source=rss-445520abdcb4------2</link>
            <guid isPermaLink="false">https://medium.com/p/67222655d227</guid>
            <dc:creator><![CDATA[Ugo Chinemerem Franklin]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 23:20:41 GMT</pubDate>
            <atom:updated>2023-08-27T23:30:06.176Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oLdTTnHOgBpz8fyY6fJXqQ.jpeg" /></figure><p>Recently, I embarked on a journey of discovery into the realm of TypeScript. As someone who has been honing my JavaScript skills, delving into TypeScript was an exciting yet slightly intimidating leap. However, this journey has been a transformative one, not only in mastering TypeScript itself but also in how it has enriched my understanding of JavaScript and introduced me to powerful debugging tools. Join me as I share insights into the basics of TypeScript, its synergy with JavaScript, and the newfound debugging magic it brings to the table.</p><h4>1. The Spark of Understanding</h4><p>As I set foot on my TypeScript journey, I anticipated a learning curve. What I didn’t expect was the profound synergy between TypeScript and JavaScript. TypeScript, being a superset of JavaScript, extends the language with static typing and more. This dynamic duo of languages deepened my comprehension of variable types and their impact on code execution.</p><p>By embracing static typing, TypeScript not only provides early error detection but also serves as an insightful guide through the dynamic world of JavaScript. As I began defining types and type annotations, I found that my grasp of JavaScript’s dynamic nature grew stronger. This dual perspective on types enhanced my ability to craft cleaner and more resilient code.</p><h4>2. Beyond `console.log`</h4><p>While the interplay between TypeScript and JavaScript was enlightening, another revelation awaited: alternative debugging techniques that transcended the trusty `console.log`.</p><p>Enter `console.table`! This magical command transformed the way I visualized data. Instead of wading through a sea of logged objects, I could now see my data as a neatly organized table. This newfound clarity allowed me to quickly grasp complex data structures.</p><p>And then came `console.trace`. By using this command, I uncovered the intricate web of function calls that led to a specific point in my code. The call stack, previously hidden, was now laid bare, empowering me to trace the origins of issues and streamline my debugging process.</p><pre>// Beyond console.log<br>const fruits = [{ name: &quot;Apple&quot;, color: &quot;Red&quot; }, { name: &quot;Banana&quot;, color: &quot;Yellow&quot; }];<br>console.table(fruits); // A clean table view of objects<br><br>function nestedFunction() {<br>  console.trace(&quot;Tracing function calls&quot;); // Revealing the call stack<br>}</pre><h4>3. TypeScript Basics</h4><p>Venturing further into TypeScript, I encountered its foundational concepts that make it a powerful ally for developers. TypeScript introduces static typing through type annotations, lending an extra layer of structure to code. This not only enhances code clarity but also serves as a safety net against common type-related errors.</p><pre>// Type annotations and structure<br>function calculateTotal(amount: number, taxRate: number): number {<br>  return amount + (amount * taxRate);<br>}</pre><h4>4. Interfaces and Custom Types</h4><p>A standout feature of TypeScript is its ability to define custom types through interfaces and type aliases. Interfaces allow us to describe the shape of objects, promoting consistency and documentation.</p><pre>// Defining custom types<br>interface Person {<br>  name: string;<br>  age: number;<br>}<br><br>type Point = {<br>  x: number;<br>  y: number;<br>};</pre><h4>5. Conclusion: A Holistic Growth Journey</h4><p>As I continue along my TypeScript journey, I can’t help but reflect on how it has propelled my understanding of JavaScript to new heights. TypeScript’s structured approach has not only deepened my knowledge but also sparked a renewed appreciation for the intricacies of code execution.</p><p>By embracing TypeScript, I’ve tapped into a treasure trove of tools that make my code more resilient and readable. The enhanced debugging techniques and the harmony between TypeScript and JavaScript have reshaped my approach to development.</p><h4>In Conclusion</h4><p>If you’re standing at the crossroads of your TypeScript journey, wondering whether it’s worth the leap, let me assure you: it absolutely is. The symbiotic relationship between TypeScript and JavaScript offers a wealth of insights into both languages. Moreover, the debugging magic and TypeScript’s foundational concepts will enrich your coding arsenal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67222655d227" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>