Laconic state machine
Go to file
2018-10-24 09:46:26 -04:00
.circleci Fix name on circleci/config.yml 2018-07-31 17:37:38 -07:00
.github Update PULL_REQUEST_TEMPLATE.md 2018-09-06 14:54:17 -04:00
app Update database and baseapp initialization 2018-09-07 13:34:29 -04:00
cmd Start RPC API implementation 2018-08-21 00:12:48 -07:00
core Update components as may needing deprecation 2018-10-04 16:11:39 -04:00
docs Update tx spec doc 2018-08-30 17:55:45 -04:00
handlers Update ante handler eth tx handler docs 2018-10-03 12:43:00 -04:00
importer Update import test 2018-10-24 08:30:52 -04:00
server/rpc Upgrade geth and cleanup 2018-09-28 17:40:58 -04:00
types Move default denomination to account type (for now) 2018-10-24 09:46:26 -04:00
version Stub out other RPC endpoints 2018-08-28 01:56:01 -07:00
x/evm/types Move old state code to x/evm/types 2018-10-24 09:46:14 -04:00
.gitignore Add makefile modified from cosmos/cosmos-sdk 2018-07-10 17:12:30 -07:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-07-17 11:52:20 -04:00
CONTRIBUTING.md Update make targets 2018-07-13 13:41:17 -07:00
Dockerfile Fix make tools (indentation) and update Dockerfile to reflect fixed make target 2018-07-13 13:58:22 -07:00
gometalinter.json Upgrade geth and cleanup 2018-09-28 17:40:58 -04:00
Gopkg.lock Update vendor config to use forked geth 2018-09-28 18:02:00 -04:00
Gopkg.toml Update vendor config to use forked geth 2018-09-28 18:02:00 -04:00
LICENSE Initial commit 2018-06-10 14:25:18 +01:00
Makefile Add test-import to makefile 2018-10-24 08:20:59 -04:00
README.md Update README 2018-10-24 08:21:34 -04:00

CircleCI Go Report Card

Ethermint

WARNING: Ethermint is under VERY ACTIVE DEVELOPMENT and should be treated as pre-alpha software. This means it is not meant to be run in production, its APIs are subject to change without warning and should not be relied upon, and it should not be used to hold any value. We will remove this warning when we have a release that is stable, secure, and properly tested.

What is it?

ethermint will be an implementation of the EVM that runs on top of tendermint consensus, a Proof of Stake system. This project has as its primary goals:

  • Hard Spoon enablement: This is the ability to take a token from the Ethereum mainnet and "spoon" (shift) the balances over to another network. This feature is intended to make it easy for applications that require more transactions than the Ethereum main chain can provide to move their code over to a compatible chain with much more capacity.
  • Web3 Compatibility: In order enable applications to be moved over to an ethermint chain existing tooling (i.e. web3 compatible clients) need to be able to interact with ethermint.

Implementation

Completed

  • Have a working implementation that can parse and validate the existing ETH Chain and persist it in a Tendermint store
  • Implement Ethereum transactions in the CosmosSDK

Current Work

  • Implement web3 compatible API layer
  • Implement the EVM as a CosmosSDK module
  • Allow the Ethermint EVM to interact with other Cosmos SDK modules

Next Steps

  • Hard spoon enablement: The ability to export state from geth and import token balances into Ethermint
  • Ethermint is a functioning Cosmos SDK application and can be deployed as its own zone
  • Full web3 compatibility will enable existing Ethereum applications to use Ethermint

Building Ethermint

To build, execute the following commands:

# To build the binary and put the resulting binary in ./build
$ make tools deps build

# To build the project and install it in $GOBIN
$ make tools deps install

Tests

Integration tests are invoked via:

$ make test

To run CLI tests, execute:

$ make test-cli

Ethereum Mainnet Import

There is an included Ethereum mainnet exported blockchain file in importer/blockchain that includes blocks up to height 97638. To execute and test a full import of these blocks using the EVM module, execute:

$ make test-import

You may also provide a custom blockchain export file to test importing more blocks via the --blockchain flag. See TestImportBlocks for further documentation.

Community

The following chat channels and forums are a great spot to ask questions about Ethermint: