文章是本人學(xué)習(xí)過程翻譯垦江,原文來自官方文檔:https://web3j.readthedocs.io/en/latest/#
官網(wǎng):https://web3j.io/
官方GitHub:https://github.com/web3j/web3j
官方demo:https://github.com/web3j/web3j/tree/master/integration-tests
文檔版本v3.4.0钱豁。
為了給開發(fā)人員提供更大的靈活性窥妇,web3j項(xiàng)目以模塊化的設(shè)計(jì)搭建恨统。
按依賴順序排序纷纫,模塊如下:
- utils - 最小的實(shí)用工具類
- rlp - 遞歸前綴長(zhǎng)度(RLP)編碼器
- abi - Application Binary Interface (ABI) 編碼器
- crypto - 加密庫枕扫,為交易簽名和以太坊秘鑰/錢包管理
- tuples - 簡(jiǎn)單的元組庫
- core - 沒有代碼生成器以前,核心的web3j庫
- codegen - 代碼生成器
- console - 命令行工具
以下模塊取決于客戶端節(jié)點(diǎn):
- geth - Geth specific JSON-RPC module
- parity - Parity specific JSON-RPC module
- infura - Infura specific HTTP header support
大部分情況辱魁, core 核心模塊可以滿足你的需要烟瞧。