Etheratom is a package for hackable Atom editor. Is uses web3js to interact with an Ethereum node.
To run and compile using Etheratom, it is now not required to have a local ethereum node running and compilers installed. New version adds support to solc and ethereumjs to compile and run solidity codes without running a local node.
Note: Currently only solidity compiler is supported.
Ethereum client installation instruction
Start geth node using following command
geth --testnet --cache=1024 --fast --rpc --rpcapi="db,eth,net,web3,personal" console
Clone git repository
git clone https://gitlab.com/0mkara/etheratom.git
cd etheratom
Install as atom package
apm link .
apm install
You need to install
- Etheratom (
apm install etheratom
)
Assuming you have a local geth client running and rpc api listening on http://127.0.0.1:8545/
Activate Etheratom package ctrl+alt+e
Compile solidity code ctrl+alt+c
Show/hide etheratom panel ctrl+alt+v
After compiling your code hit Create button to deploy the contract on blockchain.
Also you can select between Javascript VM and an actual running Ethereum node.
Once contract is mined you will see buttons with function names to call those functions
Etheratom aims to provide an interface where developers can write solidity smart contracts, test them on Javascript VM, deploy them to testnets & mainnet and do a transaction analysis.