Skip to content

The core contracts that power the Crypto aspect of untrading.org. Utilizes EIP-5173 Divisible (nFR), EIP-2535 (Diamonds), and SolidState solidity libraries.

License

Notifications You must be signed in to change notification settings

untrading/crypto-v1

Repository files navigation

untrading Crypto v1

https://untrading.org

The core contracts that power the Crypto aspect of untrading.org. Utilizes EIP-5173 Divisible (nFR), EIP-2535 (Diamonds), and SolidState solidity libraries.

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
UNTRADING_MANAGER_ADDRESS The address which will act as the untrading manager

Submodules

Clone

git clone --recurse-submodules

Update

git submodule update --remote

Testing

Test contracts with Hardhat:

yarn hardhat test

Licensing

The primary license for the untrading crypto 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 core contracts that power the Crypto aspect of untrading.org. Utilizes EIP-5173 Divisible (nFR), EIP-2535 (Diamonds), and SolidState solidity libraries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published