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-190, a proposal for a standard format for Ethereum smart contract packages.
This article translates, summarizes, and supplements the material linked below.
I have also covered other ERCs.
Overview
The specification establishes conventions for improving the creation, management, and distribution of contracts.
Five maintainers of different Ethereum development tools collaborated on the specification. They worked on Truffle, Dapple, Populus, Eris PM, and Embark, tools that provide various features and support for contract development.
The collaboration was expected to simplify Ethereum contract development and improve efficiency, interoperability, and consistency across tools, benefiting the broader Ethereum community.
Motivation
At the time of the proposal, the Ethereum ecosystem lacked an important component of software development: packaging, a system that makes reusable software components easier to distribute and consume.
This made it difficult for developers to reuse existing code, reducing productivity and potentially compromising security. For example, ERC-20 defines a standard token interface on Ethereum. Although reusable and audited implementations exist, locating and integrating existing code can be difficult, leading developers to write contracts from scratch.
A packaging standard could offer several benefits.
- Higher development productivity through code reuse.
- Improved security through reuse of existing audited implementations of common patterns, such as ERC-20 tokens and crowdfunding contracts.
Smart contract packaging can also directly benefit end users. Wallet software could use published packages to generate interfaces for interacting with deployed contracts included in them. With ENS (Ethereum Name Service), a wallet could provide an application interaction interface based on a human-readable name.
Specification
This EIP defines a packaging standard for Ethereum. The detailed specification is maintained in the epm/epm-spec repository, which is the authoritative source referenced by the proposal.
Version 1.0.0 of the standard is available at https://github.com/ethpm/epm-spec/tree/v1.0.0.
A central component is the Release Lockfile, a document recording information about a package release. Its specification is available here.
The JSON schema for this file is available here.
Rather than reproducing the detailed specification directly, the EIP links to a central source. Consult those references for the complete specification.
Use Cases
The smart contract packaging specification primarily covers three types of packages.
Packages Providing Base Contracts
These packages serve as foundations for other contracts. An example is a reusable ownership pattern shared by several contracts.
Packages Containing Ready-to-Use Contracts
These packages contain contracts that can be used without additional customization, such as an ERC-20 token implementation.
Packages Containing Deployed Contracts
These packages include contracts already deployed on a blockchain, such as libraries or services.
Examples and detailed explanations of each package type are provided in the README.md file of the epm/epm-spec repository.
Package Managers
The Release Lockfile is intended for consumption by package management software. It is designed to allow package managers to implement the following capabilities.
Deterministic Builds
Packages can be built consistently from the same dependencies and source files. Sources and dependencies are content-addressed, so the referenced contents cannot change without changing their addresses.
Bytecode Verification
The lockfile contains information allowing a package manager to verify whether the bytecode of a deployed contract matches the bytecode compiled from the package's source code.
Multi-Chain Deployment
The standard supports deployment across multiple blockchains, allowing a package to specify addresses for mainnet as well as test networks.
Trusted Packages
Packages may omit source code or other components required to verify contract bytecode. This allows minimal packages in situations where the package manager is not expected to perform verification.
Framework Support and Integration
ERC-190 is a standard for packaging Ethereum smart contracts. The following tools and frameworks are mentioned in the historical context of the proposal; this list is not a statement about their current maintenance or availability.
Truffle
Provides an environment for developing and testing Ethereum smart contracts.
Populus
A Python-based Ethereum development framework.
Dapple
A tool supporting Ethereum development and build workflows.
Eris PM
A tool for managing and deploying contracts.
https://github.com/eris-ltd/eris-cli
Embark
A framework for developing decentralized applications (DApps).
Browser Solidity
A tool for compiling and debugging Solidity code in a browser.
Support for ERC-190 packaging conventions across these frameworks was expected to make Ethereum smart contract development more efficient and secure.
Citation
Piper Merriam (@pipermerriam), Tim Coulter (@tcoulter), Denis Erfurt (@mhhf), RJ Catalano (@VoR0220), Iuri Matias (@iurimatias), "ERC-190: Ethereum Smart Contract Packaging Standard," Ethereum Improvement Proposals, no. 190, January 2017. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-190.
Conclusion
ERC-190 proposes a common packaging specification for Ethereum smart contracts.
If you have questions, feel free to contact me on Twitter.
I also publish articles on the following platforms.


