uri | string | Metadata URI template for erc1155 |
mode* | string | template = use a built-in ERC standard; custom = compile your own Solidity source |
name* | string | Token/contract display name |
symbol | string | Token symbol (erc20/erc721) |
baseURI | string | Base metadata URI for erc721 |
burnable | boolean | Include a burn function, erc20 only (default false) |
decimals | number | Decimals for erc20 (default 18) |
mintable | boolean | Include an owner-only mint function (default true) |
sourceCode | string | Raw Solidity source, required when mode is 'custom' |
contractName | string | Name of the contract to compile from sourceCode, required when mode is 'custom' |
contractType | string | Required when mode is 'template' |
initialSupply | string | Initial supply in whole tokens for erc20, e.g. "1000000" |
constructorArgs | object[] | Constructor arguments for custom contracts, in declaration order |