This is a proxy contract sample to map ERC20 smart contract into ERC1155 contract on GNUS.ai smart contracts cross-chain
GNUS.AI Smart contract includes NFT creation and minting with a Payment channel that is a generalized payment network that supports efficient off-chain token transfer with the Genius Token on on-chain ethereum. These contracts use Diamond Storage/Facets to split the contracts into deployable pieces and for upgradeability.
Solidity ^0.8.4
or above is required to compile these smart contracts
- Install node >= v12: https://nodejs.org.
- Go to erc20-gnus-proxy's root directory.
- Install the node dependencies in the local node_modules folder.
yarn
- Compiling the contracts
yarn run compile
- Compiling and testing the contracts
yarn run test