v1.4 - Etherscan API V2 + Key Rotation
Ethereum Kit v1.4 - Etherscan API V2 + Key Rotation
Multi-module Android library for EVM-compatible blockchains
What's New in v1.4
Version 1.4 brings the same powerful features as v1.3, published without the "v" prefix for proper Gradle convention compatibility.
Key Features
Etherscan API V2 Migration
- BREAKING CHANGE: Migrated from Etherscan API V1 to V2
- Unified API endpoint for all networks:
https://api.etherscan.io - Added
chainIdparameter for network identification - More reliable and future-proof architecture
API Key Rotation
- Support for multiple API keys with automatic rotation
- Prevents rate limiting by distributing load across keys
- Simple
List<String>parameter instead of singleString
Multi-Module Architecture
- 5 separate modules for flexibility and smaller APK size
- Choose only what you need: ethereumkit, erc20kit, nftkit, uniswapkit, oneinchkit
- Reduce APK size by ~5-6 MB compared to monolithic v1.2
Installation
Add to your build.gradle:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.0xLabWallet.etherium-kit-0xwallet:ethereumkit:1.4'
implementation 'com.github.0xLabWallet.etherium-kit-0xwallet:erc20kit:1.4'
implementation 'com.github.0xLabWallet.etherium-kit-0xwallet:uniswapkit:1.4'
implementation 'com.github.0xLabWallet.etherium-kit-0xwallet:oneinchkit:1.4'
implementation 'com.github.0xLabWallet.etherium-kit-0xwallet:nftkit:1.4'
}π Migration from v1.2
BREAKING CHANGE: API Key Parameter
// β v1.2 (OLD):
val source = TransactionSource.ethereumEtherscan("YOUR_API_KEY")
// β
v1.4 (NEW):
val apiKeys = listOf("KEY1", "KEY2", "KEY3")
val source = TransactionSource.ethereumEtherscan(apiKeys)Full migration guide: See CHANGELOG.md
Supported Networks
β Ethereum β’ BSC β’ Polygon β’ Arbitrum β’ Optimism β’ Avalanche β’ Gnosis β’ Fantom β’ DexNet
Documentation
- README.md - Usage guide
- CHANGELOG.md - Complete changelog
- PUBLISHING_GUIDE.md - Publishing instructions
Build Status: β
SUCCESS
JitPack: https://jitpack.io/#0xLabWallet/etherium-kit-0xwallet/1.4