Skip to content

The ERC-5173 Standard Implemented with Divisibility and the ERC-2535 Diamond Standard

License

Notifications You must be signed in to change notification settings

untrading/ERC5173-Divisible-Diamond-v1

Repository files navigation

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.

About

The ERC-5173 Standard Implemented with Divisibility and the ERC-2535 Diamond Standard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published