This is a EIP-2535 diamond implementation but also will have the stand-alone contract for the inventory.
- NodeJs >= 18 (use nvm pls)
- Fill the .env file with the correct values(see .env.example)
- Install dependencies
npm install
npm run compile
npm run deployDiamond:localhost
To deploy the current diamond to the zkSync testnet network, run the following command:(failing) This command will run the script of
/deploy/zk/deployDiamond.ts
npm run deployDiamond:ZkSync
- This command will setup a hardhat node for you, could be used for testing as Ganache
npm run localChain
- This command will run a diamond deployment for Mantle on:
npm run deployDiamond:mantle
- This command will run a diamond deployment for Polygon mumbai on:
npm run deployDiamond:mumbai
Check the rest of the scripts in the package.json file