web3j overview

10
web3j Web3 Java Ðapp API @conors10

Transcript of web3j overview

Page 1: web3j overview

web3jWeb3 Java Ðapp API

@conors10

Page 2: web3j overview

What

• Minimal integration layer to communicate with Ethereum clients from JVM languages

• Think Nethereum, but in Java

Page 3: web3j overview

Why?• Simple interface for communication

• Lowers barriers to entry for working with Ethereum - don’t worry about:

• JSON-RPC implementation

• Contract application binary interface encoders/decoders

• 256 bit numeric types

• …

• ethereumj is a full client

• unnecessary dependencies for just Ethereum client communication

Page 4: web3j overview

Example

Page 5: web3j overview

Smart Contract Wrappers

• Auto-generation of Java smart contract function wrappers from Solidity ABI files

Page 6: web3j overview

Solidity Code

Page 7: web3j overview

Generated Java Code

Page 8: web3j overview

Call Smart Contract from Java

Page 9: web3j overview

RoadmapRelease v0.3.0

• Core JSON-RPC over HTTP

• Geth/Parity methods for managing accounts and signing transactions

• Async/sync client requests

• Smart contract wrappers in Java

Coming soon

• Offline transaction singing, inc. RLP encoding

• IPC interface support

• WebSocket interface support

Page 10: web3j overview

Find out more

• Code - https://github.com/web3j/web3j

• Chat - https://gitter.im/web3j