0.5.4 • Published 2 months ago

@daohaus/moloch-v3-legos v0.5.4

Weekly downloads
-
License
-
Repository
github
Last release
2 months 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

2 months ago

0.5.3

4 months ago

0.5.2

6 months ago

0.5.1

8 months ago

0.4.5

8 months ago

0.5.0

8 months ago

0.4.4

9 months ago

0.4.3

9 months ago

0.4.2

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.3

1 year 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

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago