according to get ABI #1881
mdasifahamed
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am facing error while i use
// abi = json.load(
["contracts"]["SimpleStorage.sol"]["InfoStorage"]["metadat"]["ouput"]["abi"]
)
the error is TypeError: list indices must be integers or slices, not str
But when i use
abi = compiled_code["contracts"]["SimpleStorage.sol"]["InfoStorage"]["abi"]
it is okay i am getting the abi
my question is my approach is correct or i am doing something wrong
and what will be the difference if i don't use metadata and output
Beta Was this translation helpful? Give feedback.
All reactions