0.5.4 • Published 18 days ago

@daohaus/moloch-v3-legos v0.5.4

Weekly downloads
-
License
-
Repository
github
Last release
18 days ago

@daohaus/moloch-v3-legos

Code 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.

Types of Code Legos

  • Form Legos: Instruct form builder to render forms.
  • Field Legos: Instruct form builder to render fields inside forms.
  • Transaction Legos: Provide the transaction schemas & prepare arguments for external smart contract calls.
  • Contract Legos: Provide the contract addresses and Application Binary Interfaces (ABIs) required for external smart contract calls.

Related packages

View on NPM

Usage

Installation

yarn add @daohaus/moloch-v3-legos

Examples

TODO: Link into new docs app when ready

Here is a tutorial on form and transaction building.

How to make a contract lego

How to make a field lego

How to make a transaction lego

How to make a form lego

Building

Run nx run moloch-v3-legos:build to build the library.

0.5.4

18 days ago

0.5.3

2 months ago

0.5.2

5 months ago

0.5.1

6 months ago

0.4.5

7 months ago

0.5.0

7 months ago

0.4.4

8 months ago

0.4.3

8 months ago

0.4.2

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.3

11 months ago

0.2.0-alpha.0

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.0-alpha.4

1 year ago

0.2.0-alpha.3

1 year ago

0.2.0-alpha.6

1 year ago

0.2.0-alpha.5

1 year ago

0.0.9

1 year ago

0.3.2

1 year ago

0.2.3

1 year ago

0.3.1

1 year ago

0.2.2

1 year ago

0.0.8

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.1

2 years ago