# Contract Code IDs

## Mainnet

{% embed url="<https://codes.stargaze.name/#/codes>" %}

### V2 Code IDs

```
//// CONTRACT CODE IDs: Mainnet ////
// The code ID for sg721
sg721BaseCodeId: 15,
// The code ID for the minter contract
vendingMinterCodeId: 16,
// Addr for vending factory contract
vendingFactory: 'stars15p5xmrj4ryfh39pdvlphdr64kunm4zrvq3p6rku82zlahkn63vtqm3gmpt',
// The code ID for the whitelist contract
whitelistCodeId: 18,
```

### V1 Code IDs

```
sg721CodeId: 1,
// The code ID for the minter contract
minterCodeId: 2,
// The code ID for the whitelist contract
whitelistCodeId: 3,
```

## Testnet

### V2 Code IDs

<pre><code><strong>//// CONTRACT CODE IDs: Testnet ////
</strong>// The code ID for sg721_base
sg721BaseCodeId: 274,
// The code ID for vending_minter
vendingMinterCodeId: 275,
// Addr for vending factory contract
vendingFactory: 'stars1j4qn9krchp5xs8nued4j4vcr4j654wxkhf7acy76734xe5fsz08sku28s2',
// The code ID for the whitelist contract
whitelistCodeId: 277,
</code></pre>

### V1 Code IDs

```
// The code ID for sg721
sg721CodeId: 271,
// The code ID for the minter contract
minterCodeId: 272,
// The code ID for the whitelist contract
whitelistCodeId: 273,
```
