<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shivam Agarwal</title>
    <description>The latest articles on DEV Community by Shivam Agarwal (@shivamagarwalcode).</description>
    <link>https://dev.to/shivamagarwalcode</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F948428%2F0716c1de-e294-4228-8e2c-049fe547c98b.png</url>
      <title>DEV Community: Shivam Agarwal</title>
      <link>https://dev.to/shivamagarwalcode</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivamagarwalcode"/>
    <language>en</language>
    <item>
      <title>Agentic Meme</title>
      <dc:creator>Shivam Agarwal</dc:creator>
      <pubDate>Mon, 27 Jan 2025 05:24:42 +0000</pubDate>
      <link>https://dev.to/shivamagarwalcode/agentic-meme-42e9</link>
      <guid>https://dev.to/shivamagarwalcode/agentic-meme-42e9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://srv.buysellads.com/ads/long/x/T6EK3TDFTTTTTT6WWB6C5TTTTTTGBRAPKATTTTTTWTFVT7YTTTTTTKPPKJFH4LJNPYYNNSZL2QLCE2DPPQVCEI45GHBT" rel="noopener noreferrer"&gt;Agent.ai&lt;/a&gt; Challenge: Full-Stack Agent (&lt;a href="https://dev.to/challenges/agentai"&gt;See Details&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Agentic Meme is an AI-powered Web3 platform designed to simplify and revolutionize the memecoin ecosystem by streamlining the creation, trading, and sniping of memecoins. Leveraging advanced custom large language models (LLMs) and blockchain technology, it makes the traditionally complex processes of token deployment and trading accessible to users of all skill levels. The platform features seamless onboarding through Web3Auth, eliminating the need for cumbersome wallet setups and enabling smooth blockchain interactions. With its Memecoin Factory Contract, users can effortlessly customize and launch their ERC-20 tokens, including automatic Uniswap liquidity pool creation, using user-supplied USDT. Additionally, the integration of Lit Protocol's on-chain Lit Actions allows AI-powered automation for memecoin trading and sniping, ensuring precise and efficient execution. Detailed analytics and cross-chain compatibility across Polygon, BNB, Supra, and Base further enhance the platform's accessibility, transparency, and scalability.&lt;/p&gt;

&lt;p&gt;One of the key challenges we addressed during the development was optimizing the process of AI-driven operations within the constraints of Lit Protocol's 30-second execution time for Lit Actions. As our AI agent automates the signing and execution of on-chain transactions for memecoin sniping, this limitation required us to design innovative workflows that could split operations into manageable segments. Despite these challenges, the experience provided valuable insights into building robust systems that adapt to protocol constraints. This also highlighted the importance of balancing cutting-edge AI integrations with the limitations of current blockchain infrastructure to ensure a seamless user experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://memeagent.club/" rel="noopener noreferrer"&gt;https://memeagent.club/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/j2LRJmPWlvA" rel="noopener noreferrer"&gt;https://youtu.be/j2LRJmPWlvA&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent.ai Experience
&lt;/h2&gt;

&lt;p&gt;Working with Builder and AI Agents was both a delightful and insightful experience. The platform's capabilities enabled us to design and deploy an AI-powered solution that leverages the full potential of blockchain technology while remaining user-friendly. The ease of integrating custom large language models into the workflow allowed us to automate processes that typically require significant manual effort, such as token deployment and trading optimization. The ability to provide an intuitive interface for users who may not have prior experience with Web3 was particularly satisfying, as it aligned with our vision of democratizing access to the memecoin ecosystem. Seeing the AI agents perform complex on-chain operations with precision was a testament to the power of combining advanced AI models with decentralized technology.&lt;/p&gt;

&lt;p&gt;However, the experience was not without its challenges. The Lit Protocol's execution time limit required us to rethink how we structured our AI-driven workflows, which initially disrupted our development timeline. This constraint taught us the importance of optimizing processes and finding creative ways to split operations across multiple Lit Actions while maintaining system efficiency. Additionally, testing cross-chain compatibility with platforms like Polygon, BNB, and Base introduced unique challenges in ensuring consistent performance across different blockchain ecosystems. Despite these hurdles, the experience with Builder and AI Agents was ultimately rewarding, showcasing the potential of integrating AI with Web3 technologies to create innovative and impactful solutions.&lt;/p&gt;

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

</description>
      <category>devchallenge</category>
      <category>agentaichallenge</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>A Step-by-Step Guide to Using Spheron's GitHub Actions</title>
      <dc:creator>Shivam Agarwal</dc:creator>
      <pubDate>Fri, 14 Jul 2023 15:21:51 +0000</pubDate>
      <link>https://dev.to/shivamagarwalcode/a-step-by-step-guide-to-using-spherons-github-actions-4ki4</link>
      <guid>https://dev.to/shivamagarwalcode/a-step-by-step-guide-to-using-spherons-github-actions-4ki4</guid>
      <description>&lt;p&gt;Warning: This post contains a high dose of code, humor, and life-changing revelations. Proceed at your own risk. 😎&lt;/p&gt;

&lt;p&gt;When people ask me how to use spheron's github actions, I usually reply with "build a dapp." But recently, I decided to put that statement to the test by providing step-by-step solution on how to use spheron's github actions.&lt;/p&gt;

&lt;p&gt;In this roller-coaster ride of an article, we'll build elucidate in 4 steps.&lt;/p&gt;

&lt;p&gt;🙅‍♂️ Let's dive into some intro stuff!&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction🔥
&lt;/h2&gt;

&lt;p&gt;GitHub Actions is a powerful tool that can transform the way you manage your software projects. It allows you to automate various workflows, from continuous integration to continuous deployment (CI/CD), directly within your GitHub repository. In this comprehensive guide, we will delve deep into the world of GitHub Actions and show you how to leverage Spheron's GitHub Actions for effortless project deployment. Whether you're a seasoned developer or just starting, this step-by-step tutorial will provide you with the knowledge you need to streamline your development process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;Before we embark on this journey, let's ensure you have everything you need to get started:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;A GitHub account: If you don't already have one, sign up for a GitHub account. GitHub is a platform where you can host your code repositories and collaborate with others.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A project repository on GitHub: You should have a GitHub repository for the project you want to automate with GitHub Actions. If you don't have one, create a new repository or use an existing one.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Basic understanding of GitHub Actions: While we'll guide you through the process, having a fundamental grasp of GitHub Actions will be beneficial. If you're new to GitHub Actions, you can check out GitHub's official documentation to get started.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's get to know step-by-step procedure:)&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Set up your GitHub repository and workflow
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Create a new repository or use an existing one for this tutorial. Make sure your repository has the necessary files for your project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to the "Actions" tab in your repository and click on "Set up a workflow yourself".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Give a name to your workflow file, such as "spheron-deployment.yml", and click "Edit new file".&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 2: Configure the Spheron deployment workflow😤
&lt;/h2&gt;

&lt;p&gt;Copy the following code and paste it into the new workflow file to configure the GitHub action to deploy your project with Spheron:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: Deploy to Spheron

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout code
      uses: actions/checkout@v2

    - name: Set up Node.js
      uses: actions/setup-node@v2
      with:
        node-version: 14

    - name: Install dependencies
      run: npm ci

    - name: Build project
      run: npm run build

    - name: Deploy to Spheron
      uses: spheron/platform/action@v2
      with:
        username: ${{ secrets.SpheronUsername }}
        password: ${{ secrets.SpheronPassword }}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;This configuration will trigger the action on every push to the main branch. It sets up Node.js, installs the dependencies, builds the project, and deploys it to Spheron.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: Add your Spheron credentials as "secrets"🤐
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to the repository settings, and then click on "Secrets".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add two new secrets named SpheronUsername and SpheronPassword with your Spheron username and password, respectively.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 4: Push your changes to GitHub
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Commit the new workflow file to the main branch of your repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once you push your changes, the GitHub Actions will trigger the deployment workflow, and you can view the progress in the "Actions" tab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Upon successful completion, your project will be deployed to Spheron.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion🚀
&lt;/h2&gt;

&lt;p&gt;In this tutorial, you’ve learned how to leverage Spheron's GitHub Actions to automate the deployment of your projects seamlessly. With this powerful feature, you can create efficient workflows for your development process and ensure that the latest changes are always deployed without manual intervention. Happy coding!😄&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/Shiv2002Agarwal" rel="noopener noreferrer"&gt;Follow me on twitter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>spheron</category>
      <category>githubactions</category>
      <category>cicd</category>
      <category>yaml</category>
    </item>
  </channel>
</rss>
