<?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 Tamaghna Chowdhury on Medium]]></title>
        <description><![CDATA[Stories by Tamaghna Chowdhury on Medium]]></description>
        <link>https://medium.com/@iamtamaghna?source=rss-31b1c6bae79c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EZURpIfyOfKMgbZGFBjxqQ.jpeg</url>
            <title>Stories by Tamaghna Chowdhury on Medium</title>
            <link>https://medium.com/@iamtamaghna?source=rss-31b1c6bae79c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:14:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamtamaghna/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[Reclaim Control: Revoking ERC20 Approvals with Solidity Execute]]></title>
            <link>https://medium.com/7finney/reclaim-control-revoking-erc20-approvals-with-solidity-execute-a111ce9a75d3?source=rss-31b1c6bae79c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a111ce9a75d3</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Tamaghna Chowdhury]]></dc:creator>
            <pubDate>Fri, 09 Jun 2023 10:53:54 GMT</pubDate>
            <atom:updated>2023-06-19T19:56:23.383Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ehLnX6Ti2c2gdslDtFHeJg.jpeg" /></figure><h3><strong>Why unlimited approvals are bad?</strong></h3><ul><li>Kyber Hack September 2022. Amount lost — $265,000</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1r70bMp6iGJz9sTDZ2QzJQ.png" /><figcaption>Kyber Network hack</figcaption></figure><ul><li>LIFI hack March 2022. Amount lost $600,000</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPCW0BmJfgUM_MTeRHwMYA.png" /><figcaption>LiFi hack</figcaption></figure><ul><li>Badger DAO hack December 2021.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T3c1ECCLZb9d_tTdRBPpOQ.png" /><figcaption>BadgerDAO hack</figcaption></figure><ul><li>SushiSwap hack April 2023. Amount lost $3.3M</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H23AgcM7uZFMkBPLfmIX8w.png" /><figcaption>SushiSwap hack</figcaption></figure><p>The list of hacks goes on and the bleeding user wallets on the histroy of blockscanners tells us why unlimited approvals are bad.</p><p>In this article, we’ll explore the <strong>dangers</strong> of granting infinite approval and introduce a powerful tool called <a href="https://github.com/7finney/sol-exec"><strong>Solidity Execute</strong></a> that allows developers to revoke ERC20 approvals, regaining control over their tokens.</p><p>Unlimited approvals in DeFi allow users to grant one-time permission to smart contracts, enabling smooth operation with their tokens without the need for repeated authorization. This approach aims to enhance the user experience by eliminating the hassle of approving each transaction individually. However, it is important to be aware of the <strong>potential risks</strong> and <strong>security implications</strong> associated with <strong>granting</strong> unlimited approvals.</p><p>In this article, we’ll explore the dangers of granting infinite approval and introduce a powerful tool called <a href="https://www.linkedin.com/pulse/introducing-solidity-execute-tool-smart-contract-development/"><strong>Solidity Execute</strong></a> that allows developers to revoke ERC20 approvals, regaining control over their tokens.</p><h3>Revoking approval for any ERC20 token using <a href="https://www.linkedin.com/pulse/introducing-solidity-execute-tool-smart-contract-development/">Solidity execute</a></h3><p><a href="https://www.linkedin.com/pulse/introducing-solidity-execute-tool-smart-contract-development/"><strong>Solidity Execute</strong></a> is an easy-to-use smart contract interaction tool built to interact with smart contracts on any EVM based network like Ethereum, Polygon. In this section, we will revoke the approval of the ERC20 token from the malicious spender using solidity execute vscode extension.</p><p>Let’s start with compiling a ERC20 contract using Hardhat and get into <strong>Solidity Execute</strong> environment.</p><ul><li>Install<strong> Solidity Execute</strong></li><li>Create <a href="https://docs.ethcode.dev/ethcode-docs/how-to-use/account"><strong>account</strong></a></li><li>Select <strong>network</strong>, in this case Goerli Testnet</li><li>Compile <strong>ERC20 contract </strong>using <a href="https://hardhat.org/">Hardhat</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hP68M2_VvdCEmLSmG_WMSA.png" /><figcaption>Compile AnyERC20 contract using hardhat</figcaption></figure><ul><li>Open <strong>Solidity Execute</strong></li><li>Set <strong>deployed contract address</strong> of the token in &lt;tokenContract&gt;_deployed_address.json file.</li></ul><p>For the demostration purpose, we are considering <strong>USDC</strong> stablecoin token contract deployed on <strong>Goerli Testnet</strong>.</p><p><a href="https://goerli.etherscan.io/address/0x07865c6e87b9f70255377e024ace6630c1eaa37f">0x07865c6E87B9F70255377e024ace6630C1Eaa37F</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YVKCsXCx1P3ZvtRFepZFBA.png" /><figcaption>Open Solidity Execute | Select contract | Add contract address</figcaption></figure><p>Before going further let&#39;s check the USDC token balance on my address on Goerli Testnet. I have 5000000 USDC tokens available in my wallet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7xRVV0euDIbaYN89l2JaQ.png" /><figcaption>Balance of Account 1</figcaption></figure><p>Now let’s check how much amount of token is approved to an individual spender.</p><p>We will call the allowance function and pass the owner and spender address as parameters in value field of the anyERC20_functions_input.json file.</p><p>It will show the result of approved tokens to the individual spender. In the below example, we have approved<em> </em>3000000 tokens to spend to the 0x2825cdd52ea4485e560045825fe0e720bb36289e address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJsZOciKQFdlj-G09h2Huw.png" /><figcaption><strong>Checking allowance of Account 2</strong></figcaption></figure><p>Even though we have only approved the tokens and not signed any send transaction, a malicious actor can use a transferFrom() function to transfer the max approved amounts 3000000<em>. </em>All this without requiring any further approval from the actual token holders (i.e<strong> Account 1</strong>).</p><p>lets check the balance of the <strong>Account 2</strong> in which we have approved 3000000 tokens to spend.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3e79nyK0UbOFxCfn7uSMw.png" /><figcaption><strong>Balance of Account 2</strong></figcaption></figure><p>Now let’s call the transferFrom function to transfer funds from<strong> Account 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*emRnwdshHX_eBKo0kz9oJg.png" /><figcaption><strong>Caling transferFrom function</strong></figcaption></figure><p>Let’s check the balance of Account 2 &amp; Account 1 side by side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TR2bX6I4k1yz8igfBLJDxg.png" /><figcaption>Balance of Account 1 &amp; 2 after calling transferFrom function</figcaption></figure><p>To <strong>revoke</strong> the approved amount using solidity execute we will make another approve call using the spender address and this time we will pass 0 as the approve amount. It will revoke the token spending permission from the malicious spender.</p><p>Again call the allowance function to check if the revoke process is successful or not. Now the malicious spender does not have access to spend our valuable USDC tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8z3vzrKqSis5sbVOZHbfYw.png" /><figcaption>Checking <strong>allowance</strong> after calling <strong>approve</strong> function</figcaption></figure><h3><strong>Conclusion</strong></h3><p>Granting unlimited approvals to DeFi contracts may appear convenient and alluring, but it exposes users to <strong>significant risks</strong>. These risks include the potential <strong>theft</strong> of tokens stored in <strong>personal</strong> wallets, as well as tokens that users may receive in the future.</p><p>Revoking unnecessary access becomes paramount to safeguarding one’s assets. <strong>Solidity Execute</strong> provides users with the necessary tools to exercise precise control over token approvals, ensuring flexibility and safety in managing their DeFi interactions.</p><p><strong>Solidity Execute</strong> goes beyond empowering users with precise control over token approvals for ERC20 tokens. It serves as a comprehensive solution that facilitates seamless interaction with a wide range of DeFi protocols and enables efficient debugging of security-related smart contracts.</p><p>Additionally, it offers invaluable support for interacting with and debugging other security smart contracts, enhancing overall security and reliability in the decentralized ecosystem.</p><blockquote>Why wait? Let’s start using Solidity Execute inside <a href="https://code.visualstudio.com/"><strong>VSCode</strong></a></blockquote><p><a href="https://github.com/7finney/sol-exec"><strong>Github</strong></a><strong> | </strong><a href="https://marketplace.visualstudio.com/items?itemName=7finney.sol-exec"><strong>Marketplace</strong></a><strong> | </strong><a href="http://ethcode.dev/"><strong>Website</strong></a><strong> | </strong><a href="https://discord.gg/EK87CfvrFD"><strong>Discord</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a111ce9a75d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/7finney/reclaim-control-revoking-erc20-approvals-with-solidity-execute-a111ce9a75d3">Reclaim Control: Revoking ERC20 Approvals with Solidity Execute</a> was originally published in <a href="https://medium.com/7finney">7Finney</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Solidity Execute — A tool for smart contract development]]></title>
            <link>https://medium.com/7finney/introducing-solidity-execute-a-tool-for-smart-contract-development-e9eb12f857f5?source=rss-31b1c6bae79c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9eb12f857f5</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Tamaghna Chowdhury]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 10:26:39 GMT</pubDate>
            <atom:updated>2023-04-14T16:37:46.661Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Solidity Execute — A tool for smart contract development</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3Qxb4M1dyiPPMd2o0baYw.jpeg" /><figcaption>Solidity Execute</figcaption></figure><p>We’re excited to announce the release of <a href="https://marketplace.visualstudio.com/items?itemName=7finney.sol-exec"><strong>Solidity Execute</strong></a>, a powerful new tool for smart contract developers using vscode. This tool uses <a href="https://docs.ethcode.dev/ethcode-docs/api-documentation/getting-started-with-extension-api">Ethcode API</a> which makes it easy to execute Solidity smart contracts on EVM blockchains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Phlzm2KU5fAEOd9c2LXs7w.jpeg" /></figure><p>This tool is an interface that provides access to a vivid range of functionalities that enable its users to easily interact with smart contracts without requiring them to write scripts.</p><ul><li>One of the key features of Solidity Execute is its ability to present a list of ABI items in tree view.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmONVulCraWldpthk7DwrA.png" /><figcaption>Smart Contract ABI treeview</figcaption></figure><h4>This feature enables users to easily navigate through the ABIs and find the relevant functions that they need to execute. With just a few clicks, users can create and sign transactions using the tool’s intuitive interface.</h4><p>At present, Solidity Execute works with Solidity ABI and any EVM-based network configured in <a href="https://marketplace.visualstudio.com/items?itemName=7finney.ethcode"><strong>ethcode</strong></a>. It also works with <a href="https://hardhat.org/"><strong>hardhat</strong></a> projects and can autoload ABIs as they are compiled. This makes <strong>Solidity Execute</strong> an extremely versatile tool that can be used in a range of different scenarios.</p><blockquote><em>Note: In future ethcode and </em><a href="https://marketplace.visualstudio.com/items?itemName=7finney.sol-exec"><em>sol-exec</em></a><em> plans to support more Web3 project builders like </em><a href="https://marketplace.visualstudio.com/items?itemName=RemixProject.ethereum-remix"><strong><em>Remix IDE for vscode</em></strong></a><em> and </em><a href="https://book.getfoundry.sh/"><strong><em>Foundry</em></strong></a><em>.</em></blockquote><p>Solidity Execute also allows users to easily add constructor parameters and function call parameters in a JSON. This is useful when users need to pass parameters for a function call or need to change the amount of ETH being sent with a transaction.</p><blockquote>One-click editing of constructors, deploy and call functions are now possible in vscode. Solidity Execute and ethcode makes it all easy for developers without leaving their favorite editor ever.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RglqrhSEmiqdJunDK3jjTA.gif" /><figcaption>One-click constructor editing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WLMbFA7R_Ln2t6S4t6F43A.gif" /><figcaption>Deployment</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YfsWv25_5HZLn9C8C6GcPQ.gif" /><figcaption>Contract interactions</figcaption></figure><h4>Upcoming features</h4><p>With its future plans, Solidity Execute promises to become even more versatile and powerful, providing users with even more control and flexibility over their smart contract interactions and transaction deployments.</p><p>A sneak peek into our next update.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*dzVBmwZ7n0G39B_hIwUo_w.png" /><figcaption>Solidity Execute sneak peek into the future.</figcaption></figure><h3>Reference &amp; Support</h3><h3>Math &amp; Cody on Twitter: &quot;Introducing Solidity Execute, a powerful new tool for smart contract developers inside vscode. It uses Ethcode API which makes it easy to execute Solidity smart contracts on EVM blockchains.Read more: https://t.co/2U5ntTl6zP pic.twitter.com/XT4C4ATmiB / Twitter&quot;</h3><p>Introducing Solidity Execute, a powerful new tool for smart contract developers inside vscode. It uses Ethcode API which makes it easy to execute Solidity smart contracts on EVM blockchains.Read more: https://t.co/2U5ntTl6zP pic.twitter.com/XT4C4ATmiB</p><p><a href="https://github.com/7finney/sol-exec"><strong>Github</strong></a></p><p><a href="http://docs.ethcode.dev/"><strong>Documentation</strong></a></p><p><a href="https://discord.gg/EK87CfvrFD"><strong>Discord</strong></a></p><p><a href="https://marketplace.visualstudio.com/items?itemName=7finney.sol-exec"><strong>Marketplace</strong></a></p><p>To help &amp; support the development <a href="https://etherscan.io/address/0xd22fe4aefed0a984b1165dc24095728ee7005a36">0xd22fE4aEFed0A984B1165dc24095728EE7005a36</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9eb12f857f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/7finney/introducing-solidity-execute-a-tool-for-smart-contract-development-e9eb12f857f5">Introducing Solidity Execute — A tool for smart contract development</a> was originally published in <a href="https://medium.com/7finney">7Finney</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Ethcode API : Simplifying Smart Contract Development for Ethereum ecosystem]]></title>
            <link>https://medium.com/7finney/ethcode-api-vscode-ethereum-smart-contracts-634cebd171bd?source=rss-31b1c6bae79c------2</link>
            <guid isPermaLink="false">https://medium.com/p/634cebd171bd</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Tamaghna Chowdhury]]></dc:creator>
            <pubDate>Thu, 30 Mar 2023 04:45:02 GMT</pubDate>
            <atom:updated>2023-05-09T15:42:33.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Ethcode API: Simplifying Smart Contract Development for Ethereum ecosystem</h3><figure><img alt="Ethcode API" src="https://cdn-images-1.medium.com/max/1024/1*Vv-q3k0TEKXH1UlyD2RVJA.jpeg" /></figure><p><a href="https://ethcode.dev/"><strong>Ethcode</strong></a> team has been working tirelessly to provide smart contract developers with the tools they need to build cutting-edge decentralized applications on the <a href="http://ethereum.org/"><strong>Ethereum</strong></a> blockchain.</p><blockquote>Today, we are proud to announce the release of our first version of the <a href="https://docs.ethcode.dev/ethcode-docs/api-documentation">Ethcode API</a>, which aims to make smart contract development on vscode faster, easier, and robust.</blockquote><p>Our team has been working on this project for the last few months, and we are thrilled to finally share it with the web3 developers community. With this API, developers can now build their own extensions for smart contract development.</p><p>We have designed the Ethcode API to be easy to use and intuitive, allowing developers to focus on creating their extension logics rather than dealing with complex web3 infrastructure.</p><h3><strong>Early users of Ethcode APIs</strong></h3><p><a href="https://github.com/7finney/vscode-blockstat"><strong>Blockstat</strong></a><strong>,</strong> which uses the Ethcode API. This extension provides a practical example of how developers can leverage our API to create a decentralized application quickly and efficiently.</p><p>Blockstat extension shows the following information inside Vscode;</p><ul><li>Account information</li><li>Network information</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*DQFrUpiutNM8knWU5QdpFA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*twbXAmU_-m-Jx7EfoTTuCw.jpeg" /><figcaption>Blockstat extension</figcaption></figure><ul><li><strong>Solidity Execute</strong>(<a href="https://github.com/7finney/eth-abi-interactive"><strong>Github</strong></a>), An extension to <strong>list all ABIs</strong> in tree-view, select contract, subscribe to contract pending transactions, use selected ABI to decode pending transactions data and apply an arbitrary function on pending transactions.</li></ul><p>We have also pushed several minor bug fixes to ensure a smooth and seamless user experience. Our team understands the importance of providing reliable tools for developers, and we are committed to delivering the best possible experience.</p><p>We believe this API will play a significant role in vscode extension ecosystem for smart contract and dApp development.</p><p><a href="https://ethcode.dev/"><strong>Ethcode</strong></a> now exposes <a href="https://docs.ethers.org/v5/"><strong>ethers.js</strong></a> provider and signer from it’s <strong>API</strong>. <strong>Extension developers</strong> can use this provider to interact with the configured EVM-supported blockchains in ethcode.</p><p><a href="https://ethcode.dev/">Ethcode</a> also has a <strong>key manager</strong> to create, export, and import private keys. This wallet supports password-protected keys, and import keys from <a href="https://metamask.io/">metamask</a> and <a href="https://geth.ethereum.org/">geth</a>.</p><p>Overall, we are thrilled to release the <a href="https://docs.ethcode.dev/ethcode-docs/api-documentation"><strong>Ethcode API</strong></a><strong> </strong>and look forward to the developer community creating more amazing tools. We remain committed to providing the best possible experience for our users and will continue to improve and update the Ethcode API in the future.</p><p>Read more about our API release and <a href="https://docs.ethcode.dev/ethcode-docs/"><strong>documentation</strong></a> and <a href="https://github.com/7finney/ethcode/discussions/291"><strong>discussion</strong></a> on our GitHub -&gt; <a href="https://github.com/7finney/ethcode/discussions/291"><strong>https://github.com/7finney/ethcode/discussions/291</strong></a></p><p><strong>Thank you for your support, and happy coding!</strong></p><h4>Reference &amp; Support</h4><p><a href="https://github.com/7finney/ethcode"><strong>Github</strong></a></p><p><a href="http://docs.ethcode.dev/"><strong>Documentation</strong></a></p><p><a href="https://discord.gg/EK87CfvrFD"><strong>Discord</strong></a></p><p><a href="https://marketplace.visualstudio.com/items?itemName=7finney.ethcode"><strong>Visual Studio Marketplace</strong></a></p><p>To help &amp; support the development <a href="https://etherscan.io/address/0xd22fe4aefed0a984b1165dc24095728ee7005a36">0xd22fE4aEFed0A984B1165dc24095728EE7005a36</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=634cebd171bd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/7finney/ethcode-api-vscode-ethereum-smart-contracts-634cebd171bd">Introducing Ethcode API : Simplifying Smart Contract Development for Ethereum ecosystem</a> was originally published in <a href="https://medium.com/7finney">7Finney</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Partnership announcement with Double Protocol & feature updates v0.4.2]]></title>
            <link>https://medium.com/7finney/partnership-announcement-with-double-protocol-feature-updates-v0-4-2-25b7ac65a73d?source=rss-31b1c6bae79c------2</link>
            <guid isPermaLink="false">https://medium.com/p/25b7ac65a73d</guid>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Tamaghna Chowdhury]]></dc:creator>
            <pubDate>Wed, 11 Jan 2023 12:37:51 GMT</pubDate>
            <atom:updated>2023-01-11T12:37:51.341Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ftTvbPtjGoBcTO_eXRnzw.jpeg" /></figure><p>Welcome to the fourth edition of <a href="https://ethcode.dev/"><strong>Ethcode</strong></a> where we share the recent updates on what’s new and exciting in Ethcode.</p><p>We are excited to announce that we have successfully integrated <a href="https://eips.ethereum.org/EIPS/eip-4907"><strong>ERC 4907</strong> </a>inside Ethcode. We are delighted to work with <a href="https://double.one/"><strong>Double Protocol</strong></a> team, the creator of <a href="https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4907.md"><strong>ERC4907</strong></a>. Alongside with the integration we have introduced few new features to our latest version of Ethcode.</p><h3>What’s new in Ethcode 0.4.2</h3><ul><li>Ethcode now works with all commonly available <strong>RPC endpoints </strong>(EVM only). Users can add RPC networks in VScode extension settings.</li><li><strong>Custom transaction gas strategy</strong> from drop down menu. Users can set a gas strategy before doing any transaction on a selected network.</li><li>Import and Export accounts (JSON format) in Ethcode.</li><li>Block scanner URL will be shown after every mutable call transaction.</li><li>Change in <strong>network settings</strong>; from now on user needs to add the RPC URL as well as Blockscanner URL in the network settings input field to add another network.</li><li><a href="https://double.one/">Double Protocol</a> (Rental NFT) integration.</li></ul><p>Find out more in the <a href="https://docs.ethcode.dev/ethcode-docs/"><strong>Documentation</strong></a></p><h3>New feature usage instructions:</h3><h4>Activate Ethcode:</h4><p>ctrl + alt + e</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZGNCf6a_DsumIZttBV11lA.png" /></figure><h4>Set transaction gas strategy:</h4><ul><li>Open vscode command palette ctrl + shift + P</li><li>Set transaction gas strategy → select your favourable strategy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*QmIqWLVacw_F2141KMFmwQ.png" /></figure><h4>Import Ethereum Account</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*WUjGW1Chwb3_BK9rn6_04Q.png" /></figure><ul><li>Navigate to the folder where your Ethereum address Keystore file is present.</li><li>Select your Keystore file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R1epa7QjqJGOxqgaiV8qAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*lyJKq2CdSvURNR5wwF2V-Q.png" /></figure><h4>Export account</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*0HyagVv4hiPmOPcPUR4qeA.png" /></figure><ul><li>Select the account you want to export.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*yCy8R2r3UciUSilGdZlPIw.png" /></figure><ul><li>Navigate to the folder in which you want to save the Ethereum account and then click save.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*gGGWKGzB_wHiNNcQUieU4A.png" /></figure><h4>Add New RPC endpoints in settings:</h4><ul><li>Go to VScode settings → Extensions → ETHCODE → Networks.</li><li>Click on Add Item .</li><li>Enter Network Name as Key.</li><li>Use below format to add RPC and Blockscanner url.</li></ul><pre>{”rpc”: “&lt;network rpc URL&gt;”, “blockScanner”: “&lt;network blockscanner URL&gt;”}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k57ivbttLAyxEqw-yYsWxQ.png" /><figcaption>New Network is added successfully.</figcaption></figure><h4>Double Protocol Integration</h4><h4>Create ERC4907 contract:</h4><ul><li>Create new ERC4907 contract</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/0*jjHb7GciyziRxv3J.png" /></figure><ul><li>Name the ERC4907 file that you want to create. and then hit enter.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*atPscEvTwBwXD8PKgIbRZQ.png" /></figure><ul><li>Three files will be created in your hardhat project contracts folder</li></ul><ol><li>IERC4907.sol → interface for ERC4907 contract.</li><li>ERC4907.sol → base ERC4907 contract.</li><li>&lt;filename&gt;.sol → file with the name you provided.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*1-gu7KFsze604CEVBvsz6Q.png" /></figure><blockquote>You must install openzeppelin contracts after creating ERC4907 files</blockquote><pre>npx install @openzeppelin/contracts or yarn add @openzeppelin/contracts</pre><ul><li>In your terminal write npx hardhat compile.</li></ul><h3>How you can leverage these features?</h3><p>Import account feature will make it easier for the user to use metamask accounts inside Ethcode. Also, the gas strategy will ease the process of deployment.</p><p><a href="https://double.one/">Double Protocol</a> is a fully decentralized and open-source NFT rental protocol and marketplace for Metaverse and GameFi assets. You can create those contracts directly from Ethcode with a single command.</p><h3>Reference &amp; Support</h3><p><a href="https://github.com/ethential/ethcode"><strong>Github</strong></a></p><p><a href="https://docs.ethcode.dev/ethcode-docs/"><strong>Docs</strong></a></p><p><a href="https://marketplace.visualstudio.com/items?itemName=7finney.ethcode"><strong>Visual Studio Marketplace</strong></a></p><p><a href="https://discord.gg/ZJVmzAwutV"><strong>Support</strong></a></p><p>Don’t forget to share our story with fellow developers.</p><p>To help &amp; support the development <a href="https://etherscan.io/address/0xd22fe4aefed0a984b1165dc24095728ee7005a36">0xd22fE4aEFed0A984B1165dc24095728EE7005a36</a> ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25b7ac65a73d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/7finney/partnership-announcement-with-double-protocol-feature-updates-v0-4-2-25b7ac65a73d">Partnership announcement with Double Protocol &amp; feature updates v0.4.2</a> was originally published in <a href="https://medium.com/7finney">7Finney</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethcode — Smart Contract Development & Execution Interface]]></title>
            <link>https://medium.com/7finney/ethcode-smart-contract-development-execution-interface-4b0646e2fa66?source=rss-31b1c6bae79c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b0646e2fa66</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[dapps]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Tamaghna Chowdhury]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 12:30:49 GMT</pubDate>
            <atom:updated>2022-07-21T12:30:49.901Z</atom:updated>
            <content:encoded><![CDATA[<h3>Ethcode — Smart Contract Development &amp; Execution Interface</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivjHqklBdZh4veTBZoPIww.png" /><figcaption>Ethcode</figcaption></figure><p>Welcome to the second edition of <a href="https://github.com/ethential/ethcode">Ethcode</a> where we share updates on what&#39;s new and exciting in Ethcode. A quick glance at some of the most important updates and features you should pay attention to.</p><p>Ethcode brings Ethereum developers into one place and you can get more work done using it. To enhance the developers’ experience, we shifted to vscode commands and shortcuts. A wide range of commands makes ethcode more dynamic for solidity and vyper development.</p><h3>What’s new in Ethcode 0.2.9<strong>:</strong></h3><ul><li>Hassle-free UX — Access ethcode with just vscode commands and hotkeys.</li><li>Ethcode now works with all commonly available RPC endpoints (EVM only). Users can add RPC networks in vscode extension settings.</li><li>Users are able to select among different networks from a dropdown.</li><li>Ethcode can load Compiled JSON outputs from Hardhat and Remix.</li><li>Call mutable functions with required parameters.</li><li>Call immutable functions with or without parameters.</li><li>Supports local EVM nodes (Ganache &amp; Hardhat) and EVM-based testnets.</li></ul><h3><strong>Usage Instructions:</strong></h3><h4><strong>Activate Ethcode:</strong></h4><p>ctrl + alt + e</p><h4><strong>Select ethereum network &amp; account:</strong></h4><ul><li>Open vscode command palette ctrl + shift + P</li><li>Select ethereum network &gt; Select your preferred network</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*k_1RMP8lOhJnZ_2b.gif" /></figure><ul><li>Select ethereum account &gt; Select your preferred account</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/0*pvZLgTpGAsAy7Cuj.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/0*vcqXonLcwAasFu4u.png" /></figure><blockquote><strong><em>Note: </em></strong><em>You have to open the command palette every time to use ethcode’s features</em></blockquote><h4><strong>Load All Compiled JSON Output:</strong></h4><ul><li>Load all compiled JSON output</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/0*Sn7khxdE9_SbyWy0.png" /></figure><ul><li>This will load all the compiled JSON output into Ethcode memory which includes Hardhat and Remix JSON files.</li></ul><h4><strong>Select one compiled JSON output:</strong></h4><ul><li>Select one compiled JSON output</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*KVHlualMklw47Pg50pm1PQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/0*0Pxo4Oxqffy8GDVI.png" /></figure><ul><li>After selecting compiled JSON output</li></ul><ol><li>If the contract requires any constructor parameter to be passed then extra 3 files will be created in your artifacts → contracts → &lt;contract name&gt; folder</li></ol><p>&lt;contract name&gt;_constructor-input.json</p><p>&lt;contract name&gt;_deployed-address.json</p><p>&lt;contract name&gt;_functions_input.json</p><p>2. If the contract does not require any constructor parameter to be passed extra then 2 files will be created in your artifacts → contracts → &lt;contract name&gt; folder.</p><p>&lt;contract name&gt;_deployed-address.json</p><p>&lt;contract name&gt;_functions_input.json</p><h4><strong>Deploy a smart contract</strong></h4><ul><li>Deploy a Contract</li><li>Enter your password(if any)</li><li>After successful contract deployment, you will get deployed contract address</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/0*k8vC0DR8wL7UXdpG.png" /></figure><ul><li>Paste this address in artifacts → contracts → &lt;contract name&gt; → &lt;contract name&gt;_deployed-address.json file.</li></ul><h4><strong>Contract call</strong></h4><ul><li>Contract call</li><li>All Functions or methods of the contract will be shown in the list.</li><li>Select preferred method</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*UdZj-nRCGynFGNAq.png" /></figure><blockquote><strong>Note: </strong>Before selecting methods you should fill required values of that method in artifacts → contracts → &lt;contract name&gt; → &lt;contract name&gt;_functions_input.json file.</blockquote><h4>Add RPC endpoints</h4><ul><li>Go to vscode settings Settings → Extensions → ETHcode</li><li>Add item (Key, Value)</li></ul><blockquote><em>Key: network name</em></blockquote><blockquote><em>Value: rpc endpoint</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Yd2lWRQINrfEr6JbUhonQ.png" /></figure><h3>How you can leverage these features?</h3><p>Ethcode is a very helpful and time-saving tool for Blockchain Application Developers. We know testing smart contracts takes more time and sometimes it becomes a pain to do testing of complex smart contracts.</p><p>It solves the problem of smart contract testing, now developers just need to insert required values in compiled JSON output and then Ethcode handles everything from deployment to testing.</p><p>It also supports local EVM nodes like Ganache and Hardhat node. By using this feature developers can test their smart contracts quickly and easily. Ethcode makes the smart contract interactions much more convenient for the Smart Contract Managers and developers.</p><h3>Resources</h3><blockquote><a href="https://github.com/ethential/ethcode"><strong>Github</strong></a></blockquote><blockquote><a href="https://marketplace.visualstudio.com/items?itemName=ethential.ethcode"><strong>Visual Studio Marketplace</strong></a></blockquote><blockquote><a href="https://discord.gg/ZJVmzAwutV"><strong>Discord</strong></a></blockquote><h4><strong>Don’t forget to </strong><a href="https://ctt.ac/4EX5f"><strong>share</strong></a><strong> our story with the web3 community.</strong></h4><p>To help &amp; support the development 0xd22fE4aEFed0A984B1165dc24095728EE7005a36</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b0646e2fa66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/7finney/ethcode-smart-contract-development-execution-interface-4b0646e2fa66">Ethcode — Smart Contract Development &amp; Execution Interface</a> was originally published in <a href="https://medium.com/7finney">7Finney</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>