0.1.4 • Published 8 months ago

zlootledger-inventory v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Inventory Contracts

This is a EIP-2535 diamond implementation but also will have the stand-alone contract for the inventory.

  1. NodeJs >= 18 (use nvm pls)
  2. Fill the .env file with the correct values(see .env.example)
  3. Install dependencies
npm install
  1. npm run compile
  2. 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

Commands

  1. This command will setup a hardhat node for you, could be used for testing as Ganache
 npm run localChain
  1. This command will run a diamond deployment for Mantle on:
npm run deployDiamond:mantle
  1. 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