# Engine (Sepolia)

### Deploying to Testnet

Watch this [5 minute Loom video ](https://www.loom.com/share/ddd9f2136e044fb5a241d9da281f31b8)describes the basics of getting setup on our Art Blocks contract.

{% hint style="info" %}
The smart contract is deployed on the Sepolia testnet which uses "fake" ETH to pay for transactions. You can request Sepolia ETH from:

Infura: <https://www.infura.io/faucet/sepolia>

Bright Moments: <https://faucet.brightmoments.io/> (please post in your artist channel in the Discord, tagging [Henry](https://app.gitbook.com/u/nCoTKF1lYeX5JwzmZ6qAhqT2fsl2 "mention") with your wallet address to be added. 3 ETH p/hour)
{% endhint %}

1. Visit the staging home page: <https://artist-staging.artblocks.io/>.
2. Connect your wallet associated with the artist address you provided to the Bright Moments team and sign the nonce to connect to the Art Blocks staging website.
3. Visit your project’s test environment by going to the Sepolia URL, replacing the last field (PROJECT-ID) with your Project ID: [https://sepolia-artist-staging.artblocks.io/engine/fullyonchain/projects/](https://sepolia-artist-staging.artblocks.io/engine/fullyonchain/projects/0x6Ceab51Fc8EE931Df84d3db66E747b617EB7dE21/PROJECT-ID)[0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c/PROJECT-ID](https://sepolia-artist-staging.artblocks.io/engine/fullyonchain/projects/0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c/PROJECT-ID)
4. Edit the project fields.
   * Project:
     * Project name
     * Artist name
   * Token:
     * Maximum invocations: collection size
     * Base uri: <https://token.sepolia.artblocks.io/0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c/>
   * Script:
     * Script type
     * Aspect ratio : 9:16 - 0.5625
5. Upload your project script.&#x20;

### Minting to Testnet

1. Go to the "Minters" Tab on your Artblocks testnet shell : [https://create.artblocks.io/projects/0x8651efeba58f94a3785113b6bc60a50aa305df4c-\<PROJECT-ID>/minter](https://create.artblocks.io/projects/0x8651efeba58f94a3785113b6bc60a50aa305df4c-%3CPROJECT-ID%3E/minter)
2. Input the following:
   * Base price in display unit = 0
   * Max invocations = Any number, i'd recommend well above 100 for testing
3. Go to the Minter smart contract:\
   <https://sepolia.etherscan.io/address/0xA84E2eFFfCFd1cbE01785Bd10aaEE520A68CD3DD>&#x20;
4. Connect to Etherscan using your artist ETH wallet
5. Find Write function **3) \_purchase**
6. Input the following:
   * \_purchase = 0
   * \_projectId = \<PROJECT-ID>
   * coreContract = 0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c
7. Click "Write" and confirm the transaction in your ETH wallet
8. View your test print at: <https://sepolia-artist-staging.artblocks.io/engine/fullyonchain/projects/0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c/PROJECT-ID>
9. Once you are satisfied with the outputs, notify the Bright Moments team in Discord that you would like to get set up with a project shell on mainnet.

### Contract Details

* **Testnet** (Sepolia)
  * Core Contract: 0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c
  * Minter Contract: 0xA84E2eFFfCFd1cbE01785Bd10aaEE520A68CD3DD

### Art Blocks Artist Interface

To view your project interface, replace (\<PROJECT-ID>) with your Project ID.

* **Testnet** (Sepolia): <https://sepolia-artist-staging.artblocks.io/engine/fullyonchain/projects/0x8651eFeBA58F94A3785113B6Bc60a50Aa305df4c/PROJECT-ID>
