<?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: BHAVESHSINGH</title>
    <description>The latest articles on DEV Community by BHAVESHSINGH (@bhaveshsingh).</description>
    <link>https://dev.to/bhaveshsingh</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%2F3947913%2F280c6b78-a42d-4731-a8b4-0f6e6d881f3f.jpg</url>
      <title>DEV Community: BHAVESHSINGH</title>
      <link>https://dev.to/bhaveshsingh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhaveshsingh"/>
    <language>en</language>
    <item>
      <title>Making AttendanceToken on Remix IDE for @EtherAuthority</title>
      <dc:creator>BHAVESHSINGH</dc:creator>
      <pubDate>Sat, 23 May 2026 16:27:39 +0000</pubDate>
      <link>https://dev.to/bhaveshsingh/making-attendancetoken-on-remix-ide-for-etherauthority-3jii</link>
      <guid>https://dev.to/bhaveshsingh/making-attendancetoken-on-remix-ide-for-etherauthority-3jii</guid>
      <description>&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/etherauthority"&gt;@etherauthority&lt;/a&gt; using &lt;a class="mentioned-user" href="https://dev.to/securechainai"&gt;@securechainai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this guide, we will write and deploy a basic &lt;strong&gt;Task Completion Token (TCT)&lt;/strong&gt; ERC20 contract using the &lt;strong&gt;Remix IDE&lt;/strong&gt; and configure it specifically for deployment on the &lt;strong&gt;SecureChain AI (SCAI)&lt;/strong&gt; network.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Smart Contract Code
&lt;/h2&gt;

&lt;p&gt;Below is the straightforward ERC20 implementation for the Task Completion Token utilizing OpenZeppelin contracts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract AttendanceToken is ERC20, Ownable {

    constructor() ERC20("TaskCompletion", "TCT") Ownable(msg.sender) {
        // Mint an initial supply of 1,000 tokens to the deployer
        _mint(msg.sender, 1000 * 10 ** decimals());
    }

    /**
     * @notice Mints new TCT rewards to a specific worker address
     * @dev Restricted strictly to the contract owner/verifier
     */
    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Compiling in Remix IDE (Critical SCAI Configuration)
&lt;/h2&gt;

&lt;p&gt;When deploying on SecureChain AI (SCAI), using the default compiler settings will cause deployment transactions to fail. This is because modern Solidity compilers default to the Cancun EVM fork, which introduces opcodes like PUSH0 that may not be supported by the network.&lt;/p&gt;

&lt;p&gt;To prevent runtime deployment reverts, we must manually target the Paris EVM hardfork.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step-by-Step Compilation Setup:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open Remix IDE.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new file named TaskCompletionToken.sol and paste the code provided above.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Move to the Solidity Compiler tab on the left sidebar menu.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Expand the Advanced Configurations dropdown menu.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change the EVM Version setting explicitly from default to paris.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Compile TaskCompletionToken.sol.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Deploying to the Network
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once compiled with the correct EVM settings, you can push the contract live:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to the Deploy &amp;amp; Run Transactions tab in Remix.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change your Environment to Injected Provider - MetaMask (ensure your MetaMask wallet is connected to the SecureChain AI / SCAI network).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure Value is set to 0 wei.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select TaskCompletionToken from the contract dropdown field.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Deploy and confirm the transaction signature inside your wallet interface.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>blockchain</category>
      <category>ethereum</category>
      <category>tutorial</category>
      <category>web3</category>
    </item>
    <item>
      <title>Building ERC20 for Web3 Apps at @EtherAuthority</title>
      <dc:creator>BHAVESHSINGH</dc:creator>
      <pubDate>Sat, 23 May 2026 15:59:12 +0000</pubDate>
      <link>https://dev.to/bhaveshsingh/building-erc20-for-web3-apps-at-etherauthority-6ia</link>
      <guid>https://dev.to/bhaveshsingh/building-erc20-for-web3-apps-at-etherauthority-6ia</guid>
      <description>&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/etherauthority"&gt;@etherauthority&lt;/a&gt; using &lt;a class="mentioned-user" href="https://dev.to/securechainai"&gt;@securechainai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this guide, we will write and deploy a basic &lt;strong&gt;Task Completion Token (TCT)&lt;/strong&gt; ERC20 contract using the &lt;strong&gt;Remix IDE&lt;/strong&gt; and configure it specifically for deployment on the &lt;strong&gt;SecureChain AI (SCAI)&lt;/strong&gt; network.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Smart Contract Code
&lt;/h2&gt;

&lt;p&gt;Below is the straightforward ERC20 implementation for the Task Completion Token utilizing OpenZeppelin contracts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract TaskCompletionToken is ERC20, Ownable {

    constructor() ERC20("TaskCompletion", "TCT") Ownable(msg.sender) {
        // Mint an initial supply of 1,000 tokens to the deployer
        _mint(msg.sender, 1000 * 10 ** decimals());
    }

    /**
     * @notice Mints new TCT rewards to a specific worker address
     * @dev Restricted strictly to the contract owner/verifier
     */
    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Compiling in Remix IDE (Critical SCAI Configuration)
&lt;/h2&gt;

&lt;p&gt;When deploying on SecureChain AI (SCAI), using the default compiler settings will cause deployment transactions to fail. This is because modern Solidity compilers default to the Cancun EVM fork, which introduces opcodes like PUSH0 that may not be supported by the network.&lt;/p&gt;

&lt;p&gt;To prevent runtime deployment reverts, we must manually target the Paris EVM hardfork.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step-by-Step Compilation Setup:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open Remix IDE.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new file named TaskCompletionToken.sol and paste the code provided above.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Move to the Solidity Compiler tab on the left sidebar menu.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Expand the Advanced Configurations dropdown menu.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change the EVM Version setting explicitly from default to paris.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Compile TaskCompletionToken.sol.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Deploying to the Network
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once compiled with the correct EVM settings, you can push the contract live:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to the Deploy &amp;amp; Run Transactions tab in Remix.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change your Environment to Injected Provider - MetaMask (ensure your MetaMask wallet is connected to the SecureChain AI / SCAI network).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure Value is set to 0 wei.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select TaskCompletionToken from the contract dropdown field.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click Deploy and confirm the transaction signature inside your wallet interface.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>web3</category>
      <category>blockchain</category>
      <category>ethereum</category>
      <category>react</category>
    </item>
  </channel>
</rss>
