<?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: Deep Mondal </title>
    <description>The latest articles on DEV Community by Deep Mondal  (@takeaswing420).</description>
    <link>https://dev.to/takeaswing420</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%2F1435440%2F13782337-50d1-4559-a3a5-467e64389ed1.png</url>
      <title>DEV Community: Deep Mondal </title>
      <link>https://dev.to/takeaswing420</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/takeaswing420"/>
    <language>en</language>
    <item>
      <title>os.Relife : A flutter lifestyle web3 app</title>
      <dc:creator>Deep Mondal </dc:creator>
      <pubDate>Sat, 20 Apr 2024 09:46:16 +0000</pubDate>
      <link>https://dev.to/takeaswing420/osrelife-a-flutter-lifestyle-web3-app-2mi5</link>
      <guid>https://dev.to/takeaswing420/osrelife-a-flutter-lifestyle-web3-app-2mi5</guid>
      <description>&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/0n1pLT2S4wk"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;h2&gt;
  
  
  Team Details
&lt;/h2&gt;

&lt;p&gt;Me (currently)&lt;/p&gt;

&lt;h2&gt;
  
  
  Description of Project
&lt;/h2&gt;

&lt;p&gt;Through this app one can earn tokens via challenges, redeem those to get bonuses.&lt;/p&gt;

&lt;p&gt;We also have Live location tracking during chllenges. The main motive of this project was to build an application similar to &lt;a href="https://www.stepn.com/"&gt;STEPN&lt;/a&gt; with the exception of users will not have to buy &lt;u&gt;custom sneakers&lt;/u&gt; to complete tasks using their own cryptocurrency.&lt;/p&gt;

&lt;p&gt;Instead, I made an in-app currency named &lt;u&gt;Relife token&lt;/u&gt; using openzeppelin ERC20 protocol and all the transactions fee will be covered by the contract deployer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Marketing Strategy:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We can tie up with companies (like refreshment drink selling and &lt;br&gt;
insurance companies) to cover the expenses &lt;strong&gt;in return of their product promotion&lt;/strong&gt; to our users during challenges.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I also implemented feature of &lt;strong&gt;staking some coins&lt;/strong&gt; as participation fee for certain challenges to ensure integrity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can later adopt a &lt;strong&gt;freemium model&lt;/strong&gt; if needed with more features.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Submission Track:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Polygon Ethereum track&lt;/li&gt;
&lt;li&gt;Rebase Blockchain track&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Overview of My Submission
&lt;/h2&gt;

&lt;p&gt;os.Relife is aiming to connect socially challenged individuals through challenges that earn them "Relife tokens" redeemable for bonuses. Live location tracking enhances engagement. This also covers transaction fees and plans to offset costs via partnerships. The project prioritizes transparency with public code repositories and thorough documentation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;FrameWorks&lt;/strong&gt;&lt;br&gt;
Flutter&lt;br&gt;
Node.js&lt;br&gt;
ethers.js&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;br&gt;
Postman&lt;br&gt;
&lt;a href="https://openrouteservice.org/"&gt;OpenRouteService&lt;/a&gt;&lt;br&gt;
Pinata IPFS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Languages&lt;/strong&gt;&lt;br&gt;
Solidity&lt;br&gt;
JavaScript&lt;br&gt;
Dart&lt;/p&gt;
&lt;h2&gt;
  
  
  Challenges We Faced
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We are returning a private key for security measures(based on the Proof of Knowledge concept)...but if each time while logging into the app, user has to give all the credentials he/she would be intimidated. So I implemented an access token feature.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Initially my plan was to deploy this project on Polygon zkEVM.&lt;br&gt;
But owing to deprecation of previous testnet in the start of april and unavailability of test funds I went with Sepolia.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To give user a better experience, web3model has been employed to directly connect to your metamask or any other wallet&lt;br&gt;
from the app through deep linking.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Public Code Repo
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9-wwsHG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/TakeASwing-420"&gt;
        TakeASwing-420
      &lt;/a&gt; / &lt;a href="https://github.com/TakeASwing-420/Relife-frontend"&gt;
        Relife-frontend
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;os.Relife&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;os.Relife is an app targeted for socially challenged people which will help them get upskill bonuses and incentives by completing challenges.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Setup&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Before starting, please ensure you have set the following environment variables in a &lt;code&gt;.env&lt;/code&gt; file:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;API_KEY=your_openrouteservice_api_key
JWT=your_jwt_secret_key
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="https://openrouteservice.org/" rel="nofollow"&gt;Open Route Service&lt;/a&gt;
&lt;br&gt;
I have hosted the server on AWS.
If you want to run the server locally, change the &lt;code&gt;baseURL&lt;/code&gt; in the &lt;code&gt;dbmshelper.dart&lt;/code&gt; file.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Running the App&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;After doing so, run the app by executing the following command in your terminal:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;flutter run&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Contributing&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Feel free to contribute to this project by forking it and submitting a pull request. I welcome any improvements or suggestions! Also every plugin used in this project is free and open source.&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/TakeASwing-420/Relife-frontend"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;






&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9-wwsHG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/TakeASwing-420"&gt;
        TakeASwing-420
      &lt;/a&gt; / &lt;a href="https://github.com/TakeASwing-420/Relife-backend"&gt;
        Relife-backend
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;os.Relife&lt;/h1&gt;

&lt;/div&gt;
&lt;p&gt;os.Relife is an app targeted for socially challenged people which will help them get upskill bonuses and incentives by completing challenges.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Setup&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Before starting, please ensure you have set the following environment variables in the &lt;code&gt;.env&lt;/code&gt; file:&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;&lt;pre class="notranslate"&gt;&lt;code&gt;PRIVATE_KEY=your_private_key
JWT_SECRET=your_jwt_secret_key
CONTRARCT_ADDRESS=your deployed contract's address
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Also change the &lt;code&gt;RPCURL&lt;/code&gt; in the &lt;code&gt;web3helper.mjs&lt;/code&gt; file.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Running the App&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;After doing so, run the app by executing the following command in your terminal:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm start&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Contributing&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Feel free to contribute to this project by forking it and submitting a pull request. I welcome any improvements or suggestions! Also every plugin used in this project is free and open source.&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/TakeASwing-420/Relife-backend"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;





&lt;h2&gt;
  
  
  Doc proposal
&lt;/h2&gt;

&lt;p&gt;All details and figma template source credits are in the doc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.google.com/document/d/1-2SMTYZdTMTLJYPSa_-AshxJiqmbLM1idNWm_fiOIMA/edit?usp=drive_link"&gt;project proposal&lt;/a&gt;&lt;/p&gt;

</description>
      <category>rebase01</category>
      <category>gdsciiitkalyani</category>
    </item>
  </channel>
</rss>
