<?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: Crypto Gig</title>
    <description>The latest articles on DEV Community by Crypto Gig (@crypto_gig_1995).</description>
    <link>https://dev.to/crypto_gig_1995</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%2F1691887%2F1d3d3fa6-a503-4109-b476-6a35e5931de1.png</url>
      <title>DEV Community: Crypto Gig</title>
      <link>https://dev.to/crypto_gig_1995</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crypto_gig_1995"/>
    <language>en</language>
    <item>
      <title>How to build a NFT presale and staking dapp in open network?</title>
      <dc:creator>Crypto Gig</dc:creator>
      <pubDate>Thu, 27 Jun 2024 08:23:35 +0000</pubDate>
      <link>https://dev.to/crypto_gig_1995/how-to-build-a-nft-presale-and-staking-dapp-in-open-network-16da</link>
      <guid>https://dev.to/crypto_gig_1995/how-to-build-a-nft-presale-and-staking-dapp-in-open-network-16da</guid>
      <description>&lt;p&gt;I have recently developed a nft presale and staking dapp in open network and it was a really thrilling challenge for me! I was new to open network and especially to FunC language. Nobody knows that and I cannot search for documents needed and no source code.&lt;br&gt;
I have developed dozens of dapps like that in EVM and Solana and I had some experience in it but that was still no easy job.&lt;/p&gt;

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

&lt;p&gt;I started with building presale smart contract with FunC. I first studied the FunC language and smart contract samples in open network documentation.&lt;/p&gt;

&lt;p&gt;I have gotten to know that all data in open network is stored in cells and the cells can have 1023 bits and 4 references. After that, I started building smart contract with blueprint framework.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install ton@latest&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;I have built smart contract and compiled and wrap class for that. After that I tested with my test script and deployed with script.&lt;br&gt;
After that, I have built presale website with React vite framework with following command&lt;/p&gt;

&lt;p&gt;&lt;code&gt;yarn create vite&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;And I have installed necessary packages like @tonconnect/ui-react and built interaction part with wallet. &lt;br&gt;
Finally when I sent a transaction with wallet confirmation, I was in the great mood that I cannot express my impression at that time.&lt;/p&gt;

&lt;p&gt;I think it is a really fun to develop a dapp in open network and really impressive experience.&lt;/p&gt;

&lt;p&gt;I attached the link here&lt;br&gt;
&lt;a href="https://presale-frontend-build.onrender.com/"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ton</category>
      <category>nft</category>
      <category>presale</category>
      <category>staking</category>
    </item>
  </channel>
</rss>
