0.4.4 • Published 29 days ago

@daohaus/moloch-v3-legos v0.4.4

Weekly downloads
-
License
-
Repository
github
Last release
29 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.4.4

29 days ago

0.4.3

1 month ago

0.4.2

3 months ago

0.4.1

3 months ago

0.4.0

3 months ago

0.3.3

4 months ago

0.2.0-alpha.0

9 months ago

0.3.0

7 months ago

0.2.1

8 months ago

0.2.0

8 months ago

0.2.0-alpha.4

9 months ago

0.2.0-alpha.3

9 months ago

0.2.0-alpha.6

8 months ago

0.2.0-alpha.5

8 months ago

0.0.9

10 months ago

0.3.2

6 months ago

0.2.3

8 months ago

0.3.1

6 months ago

0.2.2

8 months ago

0.0.8

10 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.1

1 year ago