@daohaus/moloch-v3-legos v0.5.4
@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 transaction lego
Building
Run nx run moloch-v3-legos:build
to build the library.
18 days ago
2 months ago
5 months ago
6 months ago
7 months ago
7 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago