Moloch v3 Legos are static JavaScript objects that contain metadata used by Form Builder and Tx Builder. The metadata is used to render UI elements, create transactions and interact with external smart contracts.

They allow you to create complex transactions and form UI.

Github (opens in a new tab)

Legos Types

Related Packages

NPM (opens in a new tab)



yarn add @daohaus/moloch-v3-legos

Note: This package will most likely not be installed alone, instead it will be added when you install tx-builder or form-builder.


Build a form and fire a transaction

How to make a contract lego

How to make a transaction lego

How to make a field lego

How to make a form lego