[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [createDummyContract](./bitburner.codingcontract.createdummycontract.md) ## CodingContract.createDummyContract() method Generate a dummy contract. **Signature:** ```typescript createDummyContract(type: CodingContractName, host?: string): string | null; ``` ## Parameters
| Parameter | Type | Description |
|---|---|---|
| type | [CodingContractName](./bitburner.codingcontractname.md) | Type of contract to generate |
| host | string | _(Optional)_ Hostname/IP of the server containing the contract. Optional. Defaults to the server the calling script is running on. |