Deploy a Contract
Setup Requirements
Deploying the Contract
import { sdk } from '<your_sdk_export>'
const { deploy } = sdk
const { contractAddress, transactionHash } = await sdk.deploy.write({
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