在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:web3j/web3j开源软件地址:https://github.com/web3j/web3j开源编程语言:Java 99.0%开源软件介绍:Web3j: Web3 Java Ethereum Ðapp APIWeb3j is a lightweight, highly modular, reactive, type safe Java and Android library for working with Smart Contracts and integrating with clients (nodes) on the Ethereum network: This allows you to work with the Ethereum blockchain, without the additional overhead of having to write your own integration code for the platform. The Java and the Blockchain talk provides an overview of blockchain, Ethereum and Web3j. Features
It has five runtime dependencies:
It also uses JavaPoet for generating smart contract wrappers. QuickStartThe simplest way to start your journey with Web3j is to create a project. We provide this functionality using the Web3j CLI. This latter can be installed as follows: For Unix: curl -L get.web3j.io | sh && source ~/.web3j/source.sh For Windows, in Powershell: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/web3j/web3j-installer/master/installer.ps1')) Create a new project by running: $ web3j new Or use our Maven or Gradle plugins to generate java files from Solidity contracts. Web3j Documentation for further instructions on using Web3j.Please head to theMavenJava: <dependency>
<groupId>org.web3j</groupId>
<artifactId>core</artifactId>
<version>4.8.7</version>
</dependency> Android: <dependency>
<groupId>org.web3j</groupId>
<artifactId>core</artifactId>
<version>4.8.7-android</version>
</dependency> GradleJava: implementation ('org.web3j:core:4.8.7') Android: implementation ('org.web3j:core:4.8.7-android') Build instructionsWeb3j includes integration tests for running against a live Ethereum client. If you do not have a client running, you can exclude their execution as per the below instructions. To run a full build (excluding integration tests):
To run the integration tests, you will need to set up these variables in order to pull the Docker images from the Docker Hub registry:
Then run the following command:
If you do not want the integration test to run:
Check the Docker client API for more information on configuration options. Commercial support and trainingCommercial support and training is available from web3labs.com. LicenseApache 2.0 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论