Backend Libraries
Kethereum is a Kotlin library created for Ethereum. It opts for a non-monolithic structure, empowering users to selectively integrate modules and thereby maintain a lean library footprint.
KEthereum gives the possibility to pick and choose the modules the developer need and keep the footprint of the library small this way. Some of the modules are:
- eip155: TX signing with Simple replay attack protection
- blockscout: BlockScout BlockExplorer helper functions
- ERC20: Contract wrapper for the ERC20 Token standard
- wallet: functions for keys from and to JSON wallet files
Implementation Example
-
Create Gradle Kotlin project
-
Setup
build.gradle.kts
file -
Contract Call
Additional KEthereum Documentation
Click here for the official documentation.
Web3j is a modular, reactive, type safe Java and Android library for working with Smart Contracts and integrating with clients (nodes) on the Ethereum network.
Some of the features are:
- Complete implementation of Ethereum’s JSON-RPC client API over HTTP and IPC
- Ethereum wallet support
- Auto-generation of Java smart contract wrappers to create, deploy, transact with and call smart contracts from native Java code
- Support for ERC20 and ERC721 token standards
Implementation Example
-
Package Install
-
Create a project
-
Generate a Wallet
-
Contract Call
-
Run
Additional Web3j Documentation
Click here for the official documentation.
When some platforms or frameworks don't have any quality web3 library or SDK, there's always the possibility to make the blockchain calls directly to the JSON-RPC methods supported by the chain.
Some of the JSON-RPC methods supported by SKALE chains are:
- eth_getBalance
- eth_blockNumber
- eth_getTransactionCount
- eth_sendTransaction
- eth_call
Implementation Example
Get Balance
Additional JSON-RPC Calls Documentation
Click here for the official documentation.