Deploy a Contract

Setup Requirements

  • Set up Inverter Network SDK: Refer to the Quick Start guide for detailed instructions.

As we have some in house headless contracts and they can be used as dependancies to our Worfklow's we have an SDK api for the deployment of contracts.

Deploying the Contract

import { sdk } from '<your_sdk_export>'

const { deploy } = sdk

const { contractAddress, transactionHash } = await sdk.deploy({
      name: 'ERC20Issuance_Blacklist_v1', // Type safe names you can prompt the intellisense
      args: {
        name: 'My Token',
        symbol: 'MT',
        decimals: 18,
        maxSupply: '1000000',
        initialAdmin: deployer,
      },
    })

Last updated