Package com.codename1.crypto.evm


package com.codename1.crypto.evm
Ethereum and other EVM chains: EvmAddress with the EIP-55 checksum, EvmTransaction for legacy (EIP-155), access-list (EIP-2930) and dynamic-fee (EIP-1559) transactions, Abi encoding, PersonalSign (EIP-191), TypedData (EIP-712) and Erc20 token calls.
  • Classes
    Class
    Description
    The Solidity contract ABI: function selectors, call data and return values.
    Call data for ERC-20 tokens (USDC, USDT, DAI...).
    A decoded Transfer event.
    A 20-byte address on Ethereum or any EVM chain (Polygon, Arbitrum, Base, BNB Chain...).
    An EVM transaction in any of the three envelopes nodes accept: legacy (with EIP-155 replay protection), EIP-2930 access-list (type 1) and EIP-1559 dynamic-fee (type 2).
    One access-list entry: an address and the storage slots the transaction will touch.
    EIP-191 personal_sign messages, the "Sign in with Ethereum" and wallet-ownership proof, and the 65-byte r || s || v signatures EVM wallets exchange.
    EIP-712 typed structured data: the eth_signTypedData_v4 document permits, orders and meta-transactions are signed as.