Skip to main content

Getting ready

  1. Clone the module integration repo at gitlab.

    git clone https://gitlab.com/q-dev/q-gdk/module-integration-demo.git
  2. Save your new module smart contract to the directory module-integration-demo/contracts/[yourModuleDirectoryName]

    cd module-integration-demo
    mkdir contracts/[yourModuleDirectoryName]
  3. 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.

  4. Create a .env file (module-integration-demo/.env) where you add the private key of your deployer account PRIVATE_KEY= ’YOUR PRIVATE KEY’

  5. Go into the directory and install dependencies (like hardhat)

    npm install