Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
This article examines ERC-2848, a proposal for recording messages on Ethereum without using smart contracts.
This explanation translates, summarizes, and expands on the original proposal.
I have also written about other EIPs.
Abstract
My Own Messages (MOM) allows anyone to create a public message board. The board can be updated, is designed to operate without a central administrator, and can be independently verified. Instead of deploying a smart contract, the protocol attaches a specified payload to Ethereum transactions. A user records a message through a zero-value transaction to their own address, with the transaction and its data providing evidence of the message's origin.
Ethereum serves as the authentication layer, while message content resides in distributed storage systems such as IPFS or Swarm. Only a multihash identifying the content is recorded on Ethereum. This provides a tamper-evident reference and censorship resistance, although retrieval still depends on the availability of the off-chain content.
Motivation
My Own Messages (MOM) combines Ethereum with distributed storage to provide a verifiable mechanism for publishing messages.
For smart contract owners and developers, MOM offers a way to publish information that users can authenticate. Conventional centralized social networks are vulnerable to account compromise and unauthorized content changes. With MOM, readers can verify the sender from a signed Ethereum transaction. Where ownership or usage relationships with a contract can be independently established, readers can also assess whether a message comes from an associated account.
For users, MOM provides a straightforward way to publish and share messages. They can record statements or opinions through Ethereum transactions. They can also address messages to particular parties, such as smart contract developers or the senders of specific transactions, by recording references rather than transferring funds to those parties. The on-chain record makes these interactions verifiable and tamper-evident.
For service providers such as blockchain explorers, MOM makes it possible to display announcements from contract authors and comments from users without depending on a centralized third-party publishing service. An explorer such as Etherscan could display messages derived from Ethereum transactions.
MOM offers several benefits. First, users of decentralized applications (DApps) can receive messages whose origin is verifiable. Second, authors need not publish the same message separately on every platform. Content is stored in systems such as IPFS, and its multihash is recorded on Ethereum so that readers can verify the retrieved content.
Readers who appreciate a message may also send tokens as tips, allowing authors to receive direct compensation. Readers choose which accounts to follow, reducing exposure to unsolicited messages.
MOM is designed around the idea that anyone can maintain a personal message board and publish and share information with verifiable provenance. The name MOM is intended to sound familiar and approachable as well as describe the technical proposal.
Specification
Basic requirements for MOM clients
- Clients must allow users to send and receive MOM transactions.
- They must construct and display the latest message list for each address.
- They must be able to display message history when needed.
- They must retrieve message content from systems such as IPFS and display it.
- Users must be able to select and configure content sources.
- When downloading content over HTTP, clients must verify it against the multihash.
- The default media type is
text/markdown, encoded as UTF-8 without a BOM. - Clients may allow users to select other media types, but should provide appropriate warnings.
- Clients are encouraged to clearly indicate the configured default media type.
MOM transaction validation rules
- Clients must treat conforming MOM transactions as valid messages.
- Transactions that do not conform to the MOM standard must be ignored.
- Clients should avoid interpreting or tracking nonconforming data as MOM messages.
Conditions for a valid MOM transaction
| Attribute | Requirement |
|---|---|
to |
Must be the same address as the signing account. |
value |
Must be 0 wei. |
data |
Must contain at least 2 bytes. The first byte is the operation code (opcode), followed by the parameters for that operation. |
Core operations
| Operation | Code | Parameters | Meaning | Client behavior |
|---|---|---|---|---|
ADD |
0x00 |
Message multihash | Add a new message | Add it to the sender's message list |
UPDATE |
0x01 | Old multihash, new multihash | Update an existing message | Update the message in the list |
REPLY |
0x02 |
Referenced message, new message | Reply to a message | Add a message and preserve its relationship to the original |
DELETE |
0x03 |
Message to delete | Request removal from the display | Hide the specified message; this does not delete it from the blockchain |
CLOSE ACCOUNT |
0xFD |
Message explaining closure | Stop using the account for MOM | Add the message, then ignore future MOM messages from that address |
RAW |
0xFF |
Arbitrary data (at least 1 byte) | Message in a private or application-specific format, such as binary data | Preserve without decoding and display only on explicit request |
Additional notes on DELETE
DELETE instructs clients to hide a message rather than remove it from the blockchain. The author expresses an intention to invalidate the message and asks readers' clients to stop displaying it. If the underlying content has not been shared through IPFS or another storage system, it may become practically inaccessible.
Extended operations
| Operation | Code | Parameters | Meaning | Client behavior |
|---|---|---|---|---|
ADD & REFER |
0x04 |
Message, referenced address | Publish a message and reference an account | Add the message and record the specified address as a reference |
UPDATE & REFER |
0x05 |
Old message, new message, referenced address | Update a message and reference an account | Update the message and record the specified address as a reference |
ENDORSE |
0x06 |
Message | Express approval (like) | Record the endorsement |
REMOVE ENDORSEMENT |
0x07 |
Message | Withdraw approval | Remove the endorsement |
DISAPPROVE |
0x08 |
Message | Express disapproval | Record the disapproval |
REMOVE DISAPPROVAL |
0x09 |
Message | Withdraw disapproval | Remove the disapproval |
ENDORSE & REPLY |
0x0A |
Referenced message, new message | Reply and endorse together | Add a message, preserve the reply relationship, and record the endorsement |
DISAPPROVE & REPLY |
0x0B |
Referenced message, new message | Reply and disapprove together | Add a message, preserve the reply relationship, and record the disapproval |
Implementation notes
- All clients must support every core operation.
- Clients are encouraged to support as many extended operations as possible, but partial implementation is permitted.
- For every operation, clients must ignore transactions that lack any required parameter.
These strict rules are intended to preserve content integrity and interoperability between MOM clients.
Rationale
Design background and technical rationale
The MOM (My Own Messages) standard combines Ethereum with external storage such as IPFS to provide efficient, verifiable message publication. Its design separates the responsibilities of a blockchain from those of distributed storage and uses each for the tasks it handles well.
Why Ethereum?
Ethereum's account-based model enables readers to identify the account that originated a message. Its signatures and transaction validity rules also provide a form of notarization suitable for issuing and verifying commands.
Why IPFS or Swarm?
Content-addressable networks (CANs), such as IPFS and Swarm, are better suited to storing large amounts of data. Ethereum records only the multihash, while external systems hold the actual content. This separation improves efficiency and scalability.
Combining Ethereum and a CAN allows MOM to authenticate commands while keeping bulk content storage off-chain.
Why must transactions be addressed to the sender?
MOM aims to reduce opportunities for fraud and malicious activity. MOM transactions must therefore be sent to the sender's own address, not to another account. They must also have value = 0, preventing the message transaction itself from transferring ETH to another party. Ordinary transaction fees still apply.
Why avoid smart contracts?
Using a smart contract can introduce several complications:
- An incorrectly entered contract address may prevent the application from working.
- The application cannot work if the required contract has not been deployed on the target network.
- Contract execution increases costs.
- Using contract storage purely to retain static data is generally considered an undesirable design pattern.
Because MOM needs no dedicated smart contract, it can be used on existing Ethereum networks and future compatible networks. The principle is that if the same outcome can be achieved without a smart contract, deploying one is unnecessary.
Why not store the message itself on-chain?
If a message is unrelated to contract state or value transfer, storing the complete message on-chain provides little benefit. On-chain storage is expensive and poorly suited to static content.
Why keep opcodes outside the message body?
If opcodes were embedded in the content, clients would have to download that content before determining the operation. This would waste bandwidth and introduce processing delays.
By putting opcodes in transaction data, clients can reconstruct the history of operations first and download only the relevant updated messages afterward. This is especially valuable for clients processing large numbers of messages.
Embedding commands in message bodies also increases the possibility of syntax errors and parsing inconsistencies. MOM keeps the content separate from the instructions used to process it.
Why use multihash?
Multihash is a format that identifies the hash algorithm used, making it possible to accommodate future algorithm changes. It is supported by many libraries and can be incorporated into Ethereum-based applications. MOM adopts multihash to make integration across platforms and architectures easier.
Backward compatibility
Ethereum already contains transactions resembling MOM transactions. These are often used to cancel or replace pending transactions in the mempool, for example by submitting a replacement with the same nonce and a higher gas price.
Such existing transactions predate formal adoption of MOM and should not automatically be parsed as messages. Clients must not interpret a transaction as MOM unless its payload conforms to the specified structure.
Security considerations
MOM uses a deliberately simple design. A valid MOM transaction must originate from and be addressed to the same account, with a transferred value of zero. This prevents the message transaction itself from transferring funds to another party and ties the on-chain record to the signing account. It does not eliminate every possible risk, such as compromise of the signing key.
Security concerns can arise in clients that implement MOM.
Command parsing
MOM clients interpret payloads (binary data) supplied by other users, so they must account for malformed or malicious input.
- Interpret only the opcodes defined by the standard and do not execute other instructions.
- Do not perform nonstandard actions without explicit user consent.
- Completely ignore transactions that violate the required format.
Handling message content
MOM assumes Markdown text encoded in UTF-8 without a BOM. Clients should not display content in other formats unless the user explicitly permits it.
Message content may be retrieved from a content-addressable network such as IPFS or Swarm, or from an HTTP server. Clients must verify the integrity of the retrieved content.
- Compare the content against the multihash to verify that it matches the reference.
- Warn users if the client cannot perform the verification or if verification fails.
MOM's security therefore depends on a correct client implementation. Strict adherence to the standard is essential to making it a trustworthy messaging mechanism.
Citation
Giuseppe Bertone (@Neurone), "ERC-2848: My Own Messages (MOM) [DRAFT]," Ethereum Improvement Proposals, no. 2848, August 2020. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-2848.
Conclusion
ERC-2848 proposes a way to record messages on Ethereum without deploying a smart contract. By separating authenticated on-chain instructions from externally stored message content, MOM provides a basis for independently verifiable public message boards.
If you have questions, feel free to contact me via Twitter.
I also share technical content on the following platforms.



