Skip to content

bellaj/atom-ethereum-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-ethereum-interface package

Atom Solidity Compiler is a package for hackable Atom editor. Is uses web3js to interact with an Ethereum node.

A screenshot of atom-ethereum-interface package

Requirements

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
[]

Installation

Install from source

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

Install using atom-package-manager

You need to install

Configuration

Assuming you have a local geth client running and rpc api listening on http://localhost:8545/

  1. Go to package settings and set rpc address.

    atom-ethereum-interface package config

  2. Restart atom

Usage

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

Expectations

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.

About

Solidity compiler for hackable atom editor.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • CoffeeScript 92.0%
  • CSS 8.0%