Atom Solidity Compiler is a package for hackable Atom editor. Is uses web3js to interact with an Ethereum node.
To run and compile using atom-ethereum-interface it is required to have a local ethereum node running and compilers installed.
Note: Currently only solidity compiler is supported.
Ethereum client installation instruction
Start geth node using following command
geth --rpc --rpcapi="db,eth,net,web3,personal" --rpcport "8545" --rpcaddr "127.0.0.1" --rpccorsdomain "localhost" console
Check if solidity compiler is installed
eth.getCompilers()
If solidity compiler is installed output will be similar
I0523 16:34:48.950510 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.0-0/Release-Linux/g++/Interpreter linked to libethereum-1.2.2-0/Release-Linux/g++/Interpreter
path: /usr/bin/solc
[]
This atom package is not yet available via atom package manager. To install it follow instructions bellow -
Clone git repository
git clone https://github.com/gmtcreators/atom-ethereum-interface
cd atom-ethereum-interface
git checkout dev
Install as atom package
apm link .
apm install
You need to install
- Atom Ethereum Interface (
apm install atom-ethereum-interface
)
Assuming you have a local geth client running and rpc api listening on http://localhost:8545/
Compile solidity code ctrl+alt+c
Deploy code with variables ctrl+alt+s
After deploying your code hit Create button to create and mine it
Once contract is mined you will see buttons with function names to call those functions
This is aimed to provide a front-end for Ethereum node. This interacts with Ethereum node via web3js. In future this project expects to support and provide all web3js commands required specifically for compiling solidity codes and execute them.