Ethcode v0.1.0 — Beginning the `20s

0mkar
0mkar
Jan 7, 2020 · 3 min read
Ethcode

Gear up for the 2020s with the latest release of Ethcode! We are thrilled to announce a major update of ETHcode 0.1.0 with redesigned UI experience, 1-click deployment and many more new features.

A blockchain developer’s life is filled with slow & fast blocks, high and low gas prices, soft and hard forks and what not. Sometimes we need to synchronize gigabites of data just to get to the top of the chain. Ethcode aims to simplify ethereum devcelopers life by let them skip the hardle of large block data synchronization and bring ease in life.

ETHcode brings Ethereum developers into one place and you can get more work done using it. Over the past few months, we are getting a huge response in terms of amateur developers who are trying their hand at building State of DApps!

Well, it gives you the platform to write, debug, try and test your smart-contracts on the most popular IDE on earth, vscode.

Let’s admit it. with the advent of new features that were added, we are foreseeing that everything you need to build an ethereum based decentralized application from scratch!

Well. Let’s do a simple example where you get to see all the powers of the Ethcode plugin and how well can you structure your smart-contracts. We begin with a very simple smart-contract (not Hello again), where we will be putting our data on the blockchain and retrieving it. Simple indeed!!

pragma solidity ^0.5.0;
contract SimpleStorage {
uint public storedData;
constructor() public {
storedData = 100;
}
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint retVal) {
return storedData;
}
}

Copy above contract code in a file called simple_storage.sol. Open it in vscode and hit ctrl+alt+e to activate the ETHcode plugin. Once ETHcode extension is active, press ctrl+alt+c to compile the contract.

What’s new in ETHcode 0.1.0 🚀

  • Compile solidity & vyper smart contracts both in vscode
  • Deploy compiled smart contracts into ganache test network from vscode with just one click
call methods
  • call various functions/methods: use out call interface to access methods/functions by name. You will get a JSON input interface if the call is taking any inputs.
  • get variable values: variables values can be accessed by typing in their name and clicking on the call button.
debug transactions
  • debug transactions: after you make a transaction to the mock blockchain,
  • 15switch to the debug tab. Copy-paste the transaction hash and click debug to get transaction debugging information.

Github

Visual Studio Marketplace

For any technical help & issues please report to our gitter channel 👩‍🔧

Don’t forget to share our story with fellow developers. Please send some ethereum to help & support development — 0xd22fE4aEFed0A984B1165dc24095728EE7005a36 ❤️

Ethential

Essentials Ethereum tools for everyone