{"id":13790267,"url":"https://github.com/emeraldpay/etherjar","last_synced_at":"2025-08-23T06:05:21.265Z","repository":{"id":38814663,"uuid":"66766037","full_name":"emeraldpay/etherjar","owner":"emeraldpay","description":"Java integration library for Ethereum blockchain","archived":false,"fork":false,"pushed_at":"2025-08-22T23:34:40.000Z","size":2390,"stargazers_count":44,"open_issues_count":8,"forks_count":17,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-08-23T01:34:27.923Z","etag":null,"topics":["blockchain","ethereum","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emeraldpay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-08-28T12:04:57.000Z","updated_at":"2025-08-22T23:34:44.000Z","dependencies_parsed_at":"2024-06-20T10:06:32.510Z","dependency_job_id":"681997c2-e241-4c7f-8564-7866eecb0851","html_url":"https://github.com/emeraldpay/etherjar","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/emeraldpay/etherjar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emeraldpay%2Fetherjar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emeraldpay%2Fetherjar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emeraldpay%2Fetherjar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emeraldpay%2Fetherjar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emeraldpay","download_url":"https://codeload.github.com/emeraldpay/etherjar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emeraldpay%2Fetherjar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745661,"owners_count":24813515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","ethereum","java"],"created_at":"2024-08-03T22:00:40.171Z","updated_at":"2025-08-23T06:05:21.252Z","avatar_url":"https://github.com/emeraldpay.png","language":"Java","funding_links":[],"categories":["Roadmap"],"sub_categories":[],"readme":"# EtherJar\n\n![Build Status](https://github.com/emeraldpay/etherjar/workflows/Tests/badge.svg)\n[![codecov](https://codecov.io/gh/emeraldpay/etherjar/branch/master/graph/badge.svg)](https://codecov.io/gh/emeraldpay/etherjar)\n[![license](https://img.shields.io/github/license/emeraldpay/etherjar.svg?maxAge=2592000)](https://github.com/emeraldpay/etherjar/blob/master/LICENSE)\n\nFramework agnostic modular Java 17+ integration library for [Ethereum blockchains](https://www.ethereum.org)\n\n- Latest Stable Version: 0.12.0\n- Latest Snapshot Version: 0.13.0-SNAPSHOT\n\n## Modules\n\nStructure of dependencies between modules:\n\n* `etherjar-abi`\n  * `etherjar-domain`\n  * `etherjar-hex`\n* `etherjar-domain`\n* `etherjar-hex`\n* `etherjar-rlp`\n* `etherjar-rpc-json`\n  * `etherjar-domain`\n  * `etherjar-hex`\n* `etherjar-rpc-api`\n  * `etherjar-rpc-json`\n  * `etherjar-domain`\n  * `etherjar-hex`\n* `etherjar-rpc-emerald`\n  * `etherjar-rpc-api`\n* `etherjar-rpc-kotlin`\n  * `etherjar-rpc-api`\n  * `etherjar-rpc-json`\n* `etherjar-rpc-emerald-kotlin`\n  * `etherjar-rpc-api`\n  * `etherjar-rpc-kotlin`\n* `etherjar-rpc-http-ktor`\n  * `etherjar-rpc-api`\n  * `etherjar-rpc-json`\n  * `etherjar-rpc-kotlin`\n* `etherjar-rpc-http`\n  * `etherjar-rpc-api`\n  * `etherjar-domain`\n  * `etherjar-hex`\n* `etherjar-rpc-ws`\n  * `etherjar-rpc-api`\n* `etherjar-solidity`\n  * `etherjar-abi`\n  * `etherjar-domain`\n* `etherjar-tx`\n  * `etherjar-rlp`\n  * `etherjar-domain`\n* `etherjar-contract`\n  * `etherjar-abi`\n  * `etherjar-domain`\n  * `etherjar-rpc-api` \n* `etherjar-erc20`  \n  * `etherjar-abi`\n  * `etherjar-domain`\n  * `etherjar-contract`\n\nwhere\n\n* `etherjar-abi` - Smart\n  contract [Application Binary Interface (ABI)](https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI)\n* `etherjar-contract` - Methods to organize contract call\n* `etherjar-domain` - Core module contains pure domain logic (`Address`, `Block`, `Transaction`\n  , `Wei` and so on)\n* `etherjar-erc20` - Classes to simplify use of ERC-20 tokens\n* `etherjar-hex` - Hexadecimal encoding and encoding utils for `String`, `BigInteger`, byte arrays\n* `etherjar-rlp` - Reading and writing RLP (Recursive Length Prefix) encoded data\n* `etherjar-rpc-json` - JSON mapping to/from Java objects\n* `etherjar-rpc-api` - [JSON-RPC API](https://github.com/ethereum/wiki/wiki/JSON-RPC) generic\n  implementation\n* `etherjar-rpc-kotlin` - Kotlin coroutines client for JSON-RPC API data-layer\n* `etherjar-rpc-http-ktor` - Ktor based Kotlin coroutines transport for JSON-RPC API data-layer\n* `etherjar-rpc-emerald` - gRPC transport,\n  see [Emerald Dshackle](https://github.com/emeraldpay/dshackle)\n* `etherjar-rpc-emerald-kotlin` - Kotlin coroutines gRPC transport for Emerald API\n* `etherjar-rpc-http` - HTTP transport implementation for JSON-RPC API data-layer\n* `etherjar-rpc-ws` - WebSocket transport to subscribe to new blocks\n* `etherjar-solidity` - Thin wrapper\n  around [`solc` Solidity compiler](https://github.com/ethereum/solidity)\n* `etherjar-tx` - Read, verify and manipulate Transactions\n\n## Usage\n\n### Maven\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n      \u003cid\u003eetherjar\u003c/id\u003e\n      \u003curl\u003ehttps://maven.emrld.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.emeraldpay.etherjar\u003c/groupId\u003e\n  \u003cartifactId\u003eetherjar-rpc-http\u003c/artifactId\u003e\n  \u003cversion\u003e0.12.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```groovy\nrepositories {\n  maven {\n    url \"https://maven.emrld.io\"\n  }\n}\n\ndependencies {\n    implementation \"io.emeraldpay.etherjar:etherjar-rpc-http:0.12.0\"\n}\n```\n\n## Examples\n\nHow to call `web3_clientVersion` low-level JSON-RPC API method:\n\n```java\npublic class GetClientVersion {\n    public static void main(String[] args)\n            throws URISyntaxException, IOException, ExecutionException, InterruptedException {        \n        try (RpcTransport transport = HttpRpcTransport.newBuilder().connectTo(\"http://127.0.0.1:8545\").build()) {\n            RpcClient client = new DefaultRpcClient(transport);\n            Future\u003cString\u003e req = client.execute(Commands.web3().clientVersion());\n\n            System.out.println(String.format(\"Client version: %s\", req.get()));\n        }\n    }\n}\n```\n\nHow to call `eth_gasPrice` low-level JSON-RPC API method:\n\n```java\npublic class GetGasPrice {\n\n    public static void main(String[] args)\n            throws URISyntaxException, IOException, ExecutionException, InterruptedException {\n\n        try (RpcTransport transport = HttpRpcTransport.newBuilder().connectTo(\"http://127.0.0.1:8545\").build()) {\n            RpcClient client = new DefaultRpcClient(transport);\n            Future\u003cWei\u003e req = client.execute(Commands.eth().getGasPrice());\n\n            System.out.println(String.format(\"Gas Price: %s Ether\", req.get().toEthers(12)));\n        }\n    }\n}\n```\n\n## Documentation\n\n* [Reference Guide](./docs/index.md)\n\n## Bugs and Feedback\n\nFor bugs, questions and discussions please use the [GitHub Issues](https://github.com/emeraldpay/etherjar/issues).\n\n## Licence\n\nCopyright 2021 EmeraldPay, Inc\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. \nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. \nSee the License for the specific language governing permissions and limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femeraldpay%2Fetherjar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femeraldpay%2Fetherjar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femeraldpay%2Fetherjar/lists"}