Deploy a Workflow
Setup Requirements
Set up Inverter Network SDK: Refer to the Quick Start Guide for detailed instructions.
// EXEMPLE MixedRequestedModules USAGE
import type { ModuleData, MixedRequestedModules } from '@inverter-network/sdk'
const AUT_Roles_v1 = {'<your_module_data>'} as const satisifies ModuleData
const requestedModules = {
fundingManager: 'FM_DepositVault_v1',
paymentProcessor: 'PP_Simple_v1',
authorizer: AUT_Roles_v1,
} as const satisfies MixedRequestedModulesDeploying the Workflow
All we have to do is decide on the requestedModules retrieve the runDeployment mutation and fill in the typesafe arg then we can run the mutation in our UI.
Parameters
requestedModules(required): This parameter defines the modules which will be deployed.useTags(optional): This parameter is to optionally disable auto format parse for inputs and outputs (default true).
Last updated