Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 2.29 KB

README.md

File metadata and controls

59 lines (42 loc) · 2.29 KB

Jehova

A Smart-Contract Language for Java Developers

forked from:


Abstract

Siphoning advice aggregated from a few core developers from within the Ethereum foundation, the best path to traverse in order for Java-like fundamentals to be abstracted and compiled into the EVM, is for a brand-new programming language to be erected capable of running Java-like programs on the EVM: Jehova.

Motivation

Currently, there are 200 thousand Solidity/Ethereum Developers and 7 million Java Developers Worldwide respectfully. Thus, allowing Smart-Contracts to be built in a language familiar with Java developers would help onboard more developers into the Ethereum Ecosystem.

Production Goal

The main goal is for Smart-Contracts on Ethereum to be built with Java tools like Gradle as to remain relevant with Java clients like Consensys with plans to expand to build tools like Maven and Jenkins in order to remain independent from any client in the future.

Progress

Work has started with an elated progression and completion time for the basic grammar and semantics to be completed before the end of 2022, more info can be found within the Research & Development paper.


Language Examples

Smart-Contract Storage example in Solidity

pragma solidity >=0.4.16 <0.9.0;

contract SimpleStorage {
    uint storedData;

    function set(uint x) public {
        storedData = x;
    }

    function get() public view returns (uint) {
        return storedData;
    }
}

Smart-Contract Storage example in Jehova

public class SimpleStorage {
    private Uint256 storedData;

    public void setStoredData (Uint256 storedData) {
        this.storedData = storedData;
    }

    public Uint256 getStoredData () {
        return storedData;
    }
}