-
Notifications
You must be signed in to change notification settings - Fork 12
JSON RPC APIs Rust Kernel vs Java Kernel
The major differences between the two kernel architectures.
The Rust kernel provides all the JSON RPC APIs provided by the Aion Java Kernel, and temporarily keeps mining related functions, eth_sign and web3_sha3 APIs.
The Rust kernel provides more APIs in the personal module, including:
- personal_isAccountUnlocked
- personal_listAccounts
- personal_lockAccount
- personal_sendTransaction
- personal_sign
- personal_signTransaction
The Rust kernel provides publish and subscribe through WebSocket and IPC connections. This module also allows users to subscribe to certain events and new blocks. The kernel will publish the new block header or event logs based on the subscription requirements.
The most common data format difference is the QUANTITY format. QUANTITY
may be presented in a number, a hex number, or a hex number in a fixed size. The value of QUANTITY
between the Rust kernel and the Java kernel is the same. Converting QUANTITY
data into numbers before using it is recommended.
Basic
Kernel Configuration
- Build AionR Kernel
- JSON-RPC APIs Doc
- JSON-RPC APIs Rust vs Java
- Wallet
- Genesis Block
- Configuration File and Command Line Interface
- Log Targets Table
- Aion Seed Nodes
- Migration From 0.1.* to 0.2
DApp Developers
Tutorials