Base on web3j-java.
-
Maven Center
<dependency> <groupId>com.xwc1125.chain5j</groupId> <artifactId>chain5j-eth</artifactId> <version>Tag</version> </dependency>
-
jitpack:
- Step 1. Add the JitPack repository to your build file
<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
- Step 2. Add the dependency
<dependency> <groupId>com.github.xwc1125.chain5j-eth</groupId> <artifactId>eth</artifactId> <version>Tag</version> </dependency>
-
Maven Center
dependencies { implementation 'com.xwc1125.chain5j:chain5j-eth:Tag' }
-
jitpack:
- Step 1. Add the JitPack repository to your build file
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }
- Step 2. Add the dependency
dependencies { implementation 'com.github.xwc1125.chain5j-eth:eth:4.2.0' }