Getting ready
Clone the module integration repo at gitlab.
git clone https://gitlab.com/q-dev/q-gdk/module-integration-demo.gitSave your new module smart contract to the directory
module-integration-demo/contracts/[yourModuleDirectoryName]cd module-integration-demomkdir contracts/[yourModuleDirectoryName]In the
module-integration-demo/deploydirectory and create a folder with your migration scripts:module-integration-demo/deploy/[yourModuleDirectoryName].You can copy the existing scripts in
module-integration-demo/deploy/moduleV2as a basis to start.Create a
.envfile(module-integration-demo/.env)where you add the private key of your deployer accountPRIVATE_KEY= ’YOUR PRIVATE KEY’Go into the directory and install dependencies (like hardhat)
npm install