@@ -20,23 +20,25 @@ web3j: Web3 Java Ethereum Ðapp API
20
20
:target: https://gitter.im/web3j/web3j?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
21
21
:alt: Join the chat at https://gitter.im/web3j/web3j
22
22
23
- web3j is a lightweight, type safe Java library for integrating with clients (nodes) on the Ethereum network::
23
+ web3j is a lightweight, type safe Java library for integrating with clients (nodes) on the
24
+ Ethereum network::
24
25
25
26
[ JVM application ] + [ web3j ] <---> [ Ethereum node ]
26
27
27
- It can generate Java smart contract wrappers so you can interact with a smart contract like it's native Java code.
28
+ This allows you to work with the `Ethereum <https://www.ethereum.org/ >`_ blockchain, without the
29
+ additional overhead of having to write your own integration code for the platform.
28
30
29
31
Features
30
32
--------
31
33
32
- - Full support for the Ethereum `JSON-RPC <https://github.com/ethereum/wiki/wiki/JSON-RPC >`_
33
- specification
34
- - Full Ethereum wallet support for transaction signing
35
- - Generation of Java smart contract wrappers to create, deploy, transact and call smart contracts
36
- via native Java code
34
+ - Complete implementation of Ethereum's `JSON-RPC <https://github.com/ethereum/wiki/wiki/JSON-RPC >`_
35
+ client API
36
+ - Ethereum wallet support
37
+ - Auto-generation of Java smart contract wrappers to create, deploy, transact with and call smart
38
+ contracts from native Java code
37
39
- Support for Parity's
38
40
`Personal <https://github.com/ethcore/parity/wiki/JSONRPC-personal-module >`__, and Geth's
39
- `Personal <https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal >`__ APIs
41
+ `Personal <https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal >`__ client APIs
40
42
- Support for `Infura <https://infura.io/ >`_, so you don't have to run an Ethereum client yourself
41
43
- Comprehensive integration tests demonstrating a number of the above scenarios
42
44
@@ -129,7 +131,7 @@ Using an Ethereum wallet file::
129
131
RawTransaction rawTransaction = RawTransaction.createEtherTransaction(
130
132
nonce, <gas price>, <gas limit>, <toAddress>, <value>);
131
133
132
- // sign & sendn our transaction
134
+ // sign & send our transaction
133
135
byte[] signedMessage = TransactionEncoder.signMessage(rawTransaction, credentials);
134
136
String hexValue = Hex.toHexString(signedMessage);
135
137
EthSendTransaction ethSendTransaction = web3j.ethSendRawTransaction(hexValue).sendAsync().get();
0 commit comments