moonstream-to / moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python
Apache License 2.0
36 stars 7 forks source link

Moonworm 0.4.0. `--prod`: shippable contracrts, fix of relative path to the project dir #92

Closed Yhtiyar closed 2 years ago

Yhtiyar commented 2 years ago

Changes

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.

UPD: also merged #94 to this PR

How to test these changes?

moonworm generate-brownie --prod

Related issues