Getting ready
Clone the module integration repo at gitlab.
git clone https://gitlab.com/q-dev/q-gdk/module-integration-demo.git
Save your new module smart contract to the directory
module-integration-demo/contracts/[yourModuleDirectoryName]
cd module-integration-demo
mkdir contracts/[yourModuleDirectoryName]
In the
module-integration-demo/deploy
directory and create a folder with your migration scripts:module-integration-demo/deploy/[yourModuleDirectoryName]
.You can copy the existing scripts in
module-integration-demo/deploy/moduleV2
as a basis to start.Create a
.env
file(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