Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.autheo.com/llms.txt

Use this file to discover all available pages before exploring further.

Autheo Chain runs a full Ethermint EVM derived from the Cronos codebase. A single eth_secp256k1 keypair controls both Cosmos and EVM transactions, and all standard Ethereum development tools work without modification.

JSON-RPC endpoints

PortProtocolDefault binding
8545HTTP127.0.0.1
8546WebSocket127.0.0.1
Available namespaces:
NamespaceExposed publiclyNotes
ethYesFull Ethereum JSON-RPC
netYesNetwork info
web3YesClient version
autheoPublic RPC nodes onlyChain-specific extensions
debugNoInternal only
personalNoInternal only
Never expose the debug or personal namespaces on public-facing nodes. Use a reverse proxy with TLS on ports 8545 and 8546 for any public RPC endpoint.

Address interoperability

Each account has three equivalent representations:
FormatExampleUse
Cosmos Bech32autheo1abc...Cosmos transactions, queries
Validator Bech32autheovaloper1abc...Validator operations
Ethereum hex (EIP-55)0xAbCd...EVM transactions, MetaMask
autheod keys show <key-name> --keyring-backend file           # Cosmos
autheod keys show <key-name> --bech val --keyring-backend file # Validator
autheod keys show <key-name> --bech eth --keyring-backend file # Ethereum hex

ERC-721 license minting hook

When Ethermint processes an ERC-721 Transfer event from a recognized contract, the x/license EVM hook fires synchronously:
  1. Identifies the contract category (Sovereign, Prime, or Core) from module parameters
  2. Maps the EVM recipient address to its Cosmos Bech32 equivalent
  3. Creates a LicenseRecord with ISSUED status
  4. Deduplicates using (originChain, originContract, tokenId) — returns ErrLicenseAlreadyMinted for duplicates
autheod query license params   # View current contract addresses

Ethereum tool compatibility

ToolConfiguration
MetaMaskRPC URL: http://localhost:8545, Chain ID: 785, Currency: THEO
ethers.jsnew ethers.JsonRpcProvider("http://localhost:8545")
HardhatchainId: 785 in hardhat.config.js
Foundry--rpc-url http://localhost:8545 --chain-id 785

Deploying contracts

const provider = new ethers.JsonRpcProvider("http://localhost:8545");
const wallet = new ethers.Wallet(privateKey, provider);
const factory = new ethers.ContractFactory(abi, bytecode, wallet);
const contract = await factory.deploy();