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 gnus-ai's root directory.
- Install the node dependencies in the local node_modules folder.
npm install
- Compiling the contracts
npm run compile
- Compiling and testing the contracts
npm run test