@animoca/ethereum-contracts-erc20_base

Base ERC20 and ERC20-fees meta-transaction contracts

Usage no npm install needed!

<script type="module">
  import animocaEthereumContractsErc20Base from 'https://cdn.skypack.dev/@animoca/ethereum-contracts-erc20_base';
</script>

README

Solidity Project ERC20 Base

This project serves as a base dependency for Solidity-based ERC20 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-dev @animoca/ethereum-contracts-erc20_base

Usage

Solidity Contracts

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

import "@animoca/ethereum-contracts-erc20_base/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-erc20_base');