ERC-5173 proposes a multigenerational reward mechanism that rewards all owners of non-fungible tokens (NFT). This implementation uses the ERC-2535 Diamond Standard.
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 |
Test contracts with Hardhat:
yarn hardhat test
The primary license for the ERC-5173 Diamond contracts is the Business Source License 1.1 (BUSL-1.1
), see LICENSE
.
- Interfaces are licensed under
GPL-2.0-or-later
(as indicated in their SPDX headers), seeLICENSE_GPL
- All files in
contracts/test
remain unlicensed.