Reference
Ethereum Compatibility
What carries over, what doesn't · Estimated read time: 6 minutes
TL;DR
Asentum is JSON-RPC compatible, not bytecode compatible. Ethereum-ecosystem tooling that speaks JSON-RPC (viem, ethers.js with a few workarounds, web3.js) works against Asentum for reads. Transactions are not broadcast over JSON-RPC: a signed Asentum transaction goes to POST /tx. Solidity bytecode does not run. Contracts on Asentum are plain JavaScript. See Smart Contracts for the why.
What works out of the box
- MetaMask: only as a read-only network display. It cannot show your Asentum account (it derives ECDSA accounts) and cannot sign.
- viem: read methods work as they are. ethers.js v6: block number, balances of 0x addresses and
callwork;getBlock,getTransaction,getTransactionReceiptandgetLogsthrow on the ase1 addresses in the response, so call those throughprovider.send. Every supported method is in the JSON-RPC Reference. - Etherscan-style block explorers: the native explorer is built on the same node API. An Ethereum-style indexer can read blocks and logs here, with two differences: log topics are BLAKE3 of the event name, and nodes keep history only from their snapshot onward (see History, indexing and backfills).
- Hardhat / Foundry network configs: for RPC reads, yes. For compiling and deploying, no (see below).
What does not work
- Solidity contracts. Asentum does not have an EVM. Solidity bytecode will not deploy. Use JavaScript, see Writing Contracts.
- MetaMask signing of Asentum transfers. MetaMask only produces secp256k1 ECDSA signatures; Asentum requires ML-DSA-65 (Dilithium3). For signing, use the Asentum Wallet or the SDK.
- EVM opcodes and precompiles. There is no
SHA256opcode, noECRECOVER, noCREATE2. Contracts get no cryptographic helpers today. The transaction signature is checked before your contract runs, somsg.senderis already authenticated. Library approval, which was meant to add shared helpers, is disabled. - Reentrancy-based patterns. Cross-contract calls via
E()have a VM-enforced call-stack reentrancy guard. Reentrancy is structurally impossible, no modifier required. Ported Solidity patterns that rely on reentrancy will not work.
Using MetaMask
Add Asentum as a custom network:
- Network name: Asentum Testnet
- RPC URL -
https://explorer.asentum.com - Chain ID:
1423 - Currency symbol: ASE
- Block explorer -
https://explorer.asentum.com
MetaMask will show the network and block data, but not your Asentum balance: its accounts are ECDSA addresses, not your ase1 address. To hold and send ASE, use the Asentum Wallet extension.
Using ethers.js / viem
// viem: read-only is plug and play
import { createPublicClient, http } from 'viem';
import { ethers } from 'ethers';
const client = createPublicClient({
transport: http('https://explorer.asentum.com'),
});
const block = await client.getBlockNumber(); // the finalized height
// ethers v6: use provider.send for blocks, transactions, receipts and logs
const provider = new ethers.JsonRpcProvider('https://explorer.asentum.com', 1423, { staticNetwork: true });
const receipt = await provider.send('eth_getTransactionReceipt', [txHash]);For signing and writes, prefer @asentum/sdk because it does the Dilithium3 signing viem can't do.
Addresses
Asentum addresses are 20 bytes, shown as ase1 bech32 strings with a built-in checksum, so they never look like an Ethereum address. Derivation is different:
Ethereum: keccak256(pubkey)[12:32]
Asentum: BLAKE3(pubkey)[0:20]An Ethereum address is not a valid Asentum address (different hash, different derivation). Do not reuse them across chains.
Signatures
- Ethereum: 65-byte ECDSA signatures (secp256k1), quantum-breakable.
- Asentum: ~3.3 KB ML-DSA-65 (Dilithium3) signatures, post-quantum.
This is the bedrock reason you can't use MetaMask to sign Asentum transactions: the cryptography is fundamentally different. See Post-Quantum Cryptography.
Events
Event logs come in the Ethereum shape, and eth_getLogs filters by address and topic as usual. The contents differ: topics[0] is BLAKE3 of the event name (there is no Solidity signature and there are no indexed arguments), and data is the event's JSON payload as hex. Logs are served for finalized blocks only. The emit differs too: contracts call emit('Name', { ... }) from JS, not emit Name(...) from Solidity.
Read next