Packages

Shared Ethereum/blockchain library for read (eth_call) and write (transaction signing) operations using cartouche.

Current section

Files

Jump to
onchain lib onchain.ex
Raw

lib/onchain.ex

defmodule Onchain do
@moduledoc """
Shared Ethereum/blockchain library providing read and write capabilities.
Uses `cartouche` as the sole Ethereum dependency for RPC calls, ABI encoding,
transaction signing, and cryptographic operations.
## Discovery
Use `Onchain.describe/0` for a module overview, `Onchain.describe/1` for
function listings, and `Onchain.describe/2` for full function details.
"""
use Descripex.Discoverable,
modules: [
Onchain.Hex,
Onchain.ABI,
Onchain.Address,
Onchain.Decimal,
Onchain.RPC,
Onchain.Block,
Onchain.Contract,
Onchain.DEX.Router,
Onchain.ERC20,
Onchain.ERC721,
Onchain.ERC1155,
Onchain.ENS,
Onchain.Log,
Onchain.Multicall,
Onchain.Signer,
Onchain.Subscription,
Onchain.Transfer,
Onchain.Wallet,
Onchain.AA
]
end