Error while compiling SimpleStorage.sol in vs code #174
-
|
This the code from solcx import compile_standard, install_solc
install_solc("0.6.0")
with open("SimpleStorage.sol", "r") as file:
simple_storage_file = file.read()
compiled_sol = compile_standard(
{
"language": "solidity",
"sources": {"simpleStorage.sol": {"content": simple_storage_file}},
"settings": {
"outputSelection": {
"*": {"*": ["abi", "metadata", "evm.bytecode", "evm.sourceMap"]}
}
},
},
solc_version="0.6.0",
)
print("compiled_sol")While writing python deploy.py in shell |
Beta Was this translation helpful? Give feedback.
Answered by
PatrickAlphaC
Oct 12, 2021
Replies: 1 comment 28 replies
-
|
Just FYI, you can format with 3 backticks before and after your code. |
Beta Was this translation helpful? Give feedback.
28 replies
Answer selected by
mixinoma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just FYI, you can format with 3 backticks before and after your code.