Ethcode summer update May 2021
Ethcode now supports standard JSON
and combined JSON
outputs from solidity.
Use the following command to generate solidity standard JSON
output.
solc-static-linux --standard-json input.json --allow-paths /home/User/solidity-examples/ > output/greeter_standard.json
input.json
example.
{
"language": "Solidity",
"sources": {
"greeter.sol": {
"urls": [
"file:///home/0mkar/Karma/solidity-examples/solidity-features-check/greeter.sol"
]
},
"mortal.sol": {
"urls": [
"file:///home/0mkar/Karma/solidity-examples/solidity-features-check/mortal.sol"
]
}
},
"settings": {
"outputSelection": {
"*": {
"*": ["*"]
}
}
}
}
Use the following command to generate solidity combined JSON
output.
solc-static-linux -o output --combined-json abi,asm,ast,bin,bin-runtime,compact-format,devdoc,generated-sources,generated-sources-runtime,hashes,interface,metadata,opcodes,srcmap,srcmap-runtime,storage-layout,userdoc solidity-examples/greeter.sol
Then copy the JSON
file and load it on Ethcode.
Ethcode compiled JSON output view is changed to a tree view.
Now users will see a JSON
tree view for the compiled JSON. Copy ABI
or bytecode
of the compiled JSON
to load them into the Ethcode deploy tool.
Ethcode now comes with Ethereum Remix VScode extension.
Now you can compile a solidity or vyper program in Ethereum Remix. And then load the compiled results into Ethcode to deploy and execute ABI
calls.
- Install Ethereum Remix extension — https://marketplace.visualstudio.com/items?itemName=RemixProject.ethereum-remix
- Install Ethcode extension — https://marketplace.visualstudio.com/items?itemName=ethential.ethcode
- Install Solidity language extension (optional) — https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity
- Activate Ethcode Remix plugin.
4. Compile your smart contracts. You can use Remix Solidity/YUL compiler. Or you can use Solidity extension.
3. After compiling the contracts you will see the compiled results in the Ethcode Remix plugin loaded as standard JSON
.
Deploy on Ethcode button will load the compiled results into Ethcode.
Removed authentication.
Email authentication is not required anymore.
Know more about smart contract development visit https://docs.ethcode.dev/