@animoca/ethereum-contracts-assets_inventory
v7.1.0
Published
Solidity assets contracts managing fungible and non-fungible tokens
Downloads
52
Readme
Solidity Project Assets Inventory
This project serves as a base dependency for Solidity-based assets inventory contract projects by providing related base contracts, constants, and interfaces.
Table of Contents
Overview
Installation
Install as a module dependency in your host NodeJS project:
$ npm install --save @animoca/ethereum-contracts-assets_inventory
Usage
Solidity Contracts
Import dependency contracts into your Solidity contracts and derive as needed:
import "@animoca/ethereum-contracts-assets_inventory/contracts/{{Contract Group}}/{{Contract}}.sol"
Test and Migration Scripts
Require the NodeJS module dependency in your test and migration scripts as needed:
const { constants, interfaces } = require('@animoca/ethereum-contracts-assets_inventory');