OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Money Legos

Money Legos is an npm library that supplies Ethereum mainnet contract addresses, ABIs and Solidity interfaces for a selection of DeFi protocols. Developers can import the full collection or protocol-specific modules in JavaScript and TypeScript projects, or import supplied interfaces into Solidity code.

Independent OpenViST project profile, based on linked sources.

Money Legos — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Money Legos when a project needs package-provided contract references or Solidity interfaces for one of its supported DeFi protocols.

Who it is for

  • JavaScript and TypeScript developers building Ethereum DeFi clients.
  • Solidity developers who need interfaces for supported DeFi contracts.

Documented uses

  • Retrieve a supported protocol’s ABI and mainnet address for use in application code.
  • Import a protocol-specific module instead of the full collection.
  • Reference supplied protocol interfaces in Solidity source.
  • Use TypeScript autocomplete to explore available package entries.
Before you choose

Requirements & limits

  • The package identifies its addresses as Ethereum mainnet addresses.
  • Supported protocols listed in the README include AAVE, Compound, Curve Finance, MakerDAO, Uniswap v1 and v2, Synthetix and Balancer.
  • The README demonstrates npm installation, JavaScript imports and a Solidity interface import.
  • The repository identifies the license as MIT.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install and import a protocol module in JavaScript

Add Money Legos to a JavaScript project and access a protocol ABI and address using the documented Uniswap import pattern.

Before you start

  • A JavaScript project using npm.

Steps

  1. Install the package with the command below.

    Documented command
    npm install @studydefi/money-legos
  2. Import the protocol module, for example import uniswap from "@studydefi/money-legos/uniswap";.

  3. Access the documented factory ABI and address through uniswap.factory.abi and uniswap.factory.address.

Expected outcome

The project can reference the imported protocol’s factory ABI and address from the package.

Guide limitations

  • The package describes its addresses as mainnet addresses.
  • This recipe documents access to package data, not a transaction or a deployed integration.
Source-based practical guide

Import a supplied Solidity interface

Reference the documented OneSplit interface from a Solidity project.

Before you start

  • A Solidity project.
  • The example also imports OpenZeppelin’s IERC20 interface.

Steps

  1. Install the package with the command below.

    Documented command
    npm install @studydefi/money-legos
  2. In a Solidity file, import @studydefi/money-legos/onesplit/contracts/IOneSplit.sol.

  3. Use the imported IOneSplit interface in Solidity code, following the README’s OneSplit example.

Expected outcome

The Solidity source can refer to the package’s OneSplit interface.

Guide limitations

  • The README example declares Solidity pragma ^0.5.0.
  • The interface import alone does not document deployment or transaction execution.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
studydefi/money-legos · Official homepage title · retained in its source language