@animoca/ethereum-contracts-core

    1.1.3 • Public • Published

    Solidity Project Contracts Core Library

    This project serves as a base dependency for Solidity-based smart contract projects by providing common dependencies, configurations, contracts, scripts, interfaces, constants, and testing utilities.

    This project uses hardhat and augments it with a set of plugins aimed at providing a comprehensive and robust development and testing pipeline.

    Table of Contents

    Overview

    Installation

    Install as a module dependency in your host NodeJS project:

    npm install @animoca/ethereum-contracts-core --save-dev
    npm install hardhat --save-dev

    or

    yarn add -D @animoca/ethereum-contracts-core
    yarn add -D hardhat

    Usage

    Commands

    yarn
    yarn run-all

    See package.json scripts for detailed commands.

    Solidity Contracts

    Import dependency contracts into your Solidity contracts and derive as needed:

    import "@animoca/ethereum-contracts-core/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, behaviors } = require("@animoca/ethereum-contracts-core");

    Install

    npm i @animoca/ethereum-contracts-core

    DownloadsWeekly Downloads

    10

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    2.85 MB

    Total Files

    201

    Last publish

    Collaborators

    • gunnar-k
    • animocabrands
    • nataouze
    • efabian
    • jackyyab1
    • ikutoski
    • ironbuddha
    • jpazucena
    • andysob