This project is a fork of UniveralToken (ERC-1400) by Consensys.
Its main purpose is to update the libraries to facilitate the compilation of smart contracts with Hardhat.
We do not guarantee the security or proper functioning of original smart contracts. No modification compared to the original project has been made on these.
Library:
-
Solidity version: 0.8.7 (same version as the original project)
-
OpenZeppelin version: 4.7.3
It is not possible to install and use a version > 4.7.3 (e.g 4.8.0) because the smart contracts are not compatible.
To install the required node modules required:
npm installCompile the contracts:
npx hardhat compileIn compilation:
- ERC1400.json is the resulting input JSON for the contract ERC1400.sol
- EtherscanVerification.sol is the flattening file for ERC1400.sol to verify it on Etherscan
