^[a-z][-a-z0-9]{0,255}$
wallet
token-20
dao-123
1token
_mypackage
wallet.123
"1.0.0"
"2.0.0b3"
"09.07.2019"
"ethpm/3"
"authors": ["Alice", "Bob"]
"license": "MIT"
"description": "My awesome package."
"keywords": ["solidity", "ethPM", "wallet"]
"links": {"documentation": "readthedocs.com", "repository": "github.com", "website": "wallet.com"}
contract ContractName {}
). Two contracts are of the same contract type if they have the same bytecode. For each contract type in "contractTypes"
, packages have the option to include the following properties"contractName"
"sourceId"
"deploymentBytecode"
"runtimeBytecode"
"abi"
"devdoc"
"userdoc"
sources
field must contain all smart contracts necessary to compile the defined contractTypes
in the manifest, the sources
field is not limited to just smart contracts, and can contain deployment scripts or other files that would be useful to interact with the package's smart contract idea."contractType"
(required)"address"
(required)"transaction"
"block"
"runtimeBytecode"
"compiler"