Skip to content

untrading/ERC5173-Diamond-v1

Repository files navigation

ERC-5173 Diamond v1

ERC-5173 proposes a multigenerational reward mechanism that rewards‌ all ‌owners of non-fungible tokens (NFT). This implementation uses the ERC-2535 Diamond Standard.

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 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.

About

An ERC-5173 implementation using EIP-2535 Diamonds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published