Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.29 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.29 KB

ERC-5173 Divisible Diamond v1

EIP-5173 proposes a multigenerational reward mechanism that rewards‌ all ‌owners of non-fungible tokens (NFT). This implementation enables token divisibility among other features to expand upon ERC-5173.

Development

Install dependencies with Yarn:

yarn install

Create a .env file and define the following:

Key Description
INFURA_TOKEN Infura API key for node connectivity
ETHERSCAN_API_KEY Etherscan API key for source code verification
DEPLOYER_PRIVATE_KEY Private key used for deploying the contracts

Testing

Test contracts with Hardhat:

yarn hardhat test

Licensing

The primary license for the ERC-5173 Divisible Diamond contracts is the Business Source License 1.1 (BUSL-1.1), see LICENSE.

Exceptions

  • Interfaces are licensed under GPL-2.0-or-later (as indicated in their SPDX headers), see LICENSE_GPL
  • All files in contracts/test remain unlicensed.