Added option to store the abi and bytecode inside the generated file.
It required to create a custom brownie contract, since brownie was intended to use only with project directories.
This option is not recommended to use while developing, since the important information about transactions (why it was reverted, code location, etc. might be lost)
So, only use it when the contract development is done, and you need some interface on client side.
Changes
Added option to store the
abi
andbytecode
inside the generated file. It required to create a custom brownie contract, since brownie was intended to use only with project directories. This option is not recommended to use while developing, since the important information about transactions (why it was reverted, code location, etc. might be lost) So, only use it when the contract development is done, and you need some interface on client side.UPD: also merged #94 to this PR
How to test these changes?
moonworm generate-brownie --prod
Related issues