-
from solcx import compile_standard
#install_solc
#install_solc("0.6.0")
import json
with open("./SimpleStorage.sol", "r") as file:
simple_storage_file = file.read()
# compile solidity
compiled_sol = compile_standard(
{
"language": "Solidity",
"sources": {"SimpleStorage.sol": {"content": simple_storage_file}},
"settings": {
"outputSelection": {
"*": {
"+": ["abi", "metadeta", "evm-bytecode", "evm.sourceMap"]
}
}
}
},
solc_version = "0.6.0"
) |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Feb 12, 2022
Replies: 1 comment 1 reply
-
|
hello @SiKi02 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


hello @SiKi02
You have a typo, you are using "metadeta" and the correct word is "metadata".
Give it a try ;)