# Deploy a Content Contract

#### 1. Login using the Developer Wallet

Rawrshak Developer Dapp: <https://alpha.rawrshak.io/#/>

![Open the Wallet Tab](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2F2nQQUJHOzibQfFh2pRl7%2Fimage.png?alt=media\&token=89f5bd1f-0bec-4c75-8a4d-f428dd44dd6d)

![Click the Connect Button and Connect Metamask Wallet](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2F8d4PIAYHQI7LdtwXfa0q%2Fimage.png?alt=media\&token=0d5b9663-3b91-4dac-95e8-73e76a4dbe2e)

#### 2. Select Developer Mode

![Select Developer Mode](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2FNxw1YXEHt3IWGbo1kxH0%2Fimage.png?alt=media\&token=15227dfa-6a89-4ebc-aa34-a339bf42d097)

#### 3. Go to Store Page

Store Page: <https://alpha.rawrshak.io/#/store>

![Click the Store Page](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2F6PMGZ4R3qo0h8YZJ2390%2Fimage.png?alt=media\&token=4808fcd9-af38-4cb4-b7cc-0da08b756816)

#### 4. Click "*New Smart Contract"*

![Select "Create your first Smart Contract" or "New Smart Contract" to create a new smart contract.](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2FYOwBm2yFTLwcwtkST6Nt%2Fimage.png?alt=media\&token=4dcc697b-83e3-4431-ba75-f37606155351)

#### 5. Fill in the Information and click *Create*

{% hint style="warning" %}
**IMPORTANT:** If the developer doesn't have an image to use for the contract, they can use the Rawrshak's default content contract image.

Content Contract Image Asset: **<https://arweave.net/dI\\_5bBKqfDwLUHhQXu\\_ubnnBi5f3DcpHQ\\_oHmIky1QU>**

Link: [dI\_5bBKqfDwLUHhQXu\_ubnnBi5f3DcpHQ\_oHmIky1QU](https://osh7s3asvj6dyc2qpbif537onz44dc4x64g4ur2d7idzrcjs2ucq.arweave.net/dI_5bBKqfDwLUHhQXu_ubnnBi5f3DcpHQ_oHmIky1QU)
{% endhint %}

![Fill in Content Contract information and create contract](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2FIB2KoGlmMa1BfGzSfk38%2Fimage.png?alt=media\&token=b7f81885-af22-4151-b7d9-bfaff2b1125b)

![Metadata json file is propagating for the Subgraph](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2F7ByEQOSvXNRwclsQTOSA%2Fimage.png?alt=media\&token=baac055d-7422-4034-aee8-580e9733bac8)

{% hint style="info" %}
Please refer to the Content Contract metadata for more information.
{% endhint %}

#### 7. Approve and Deploy Transaction

Use Metamask to approve the transaction.&#x20;

![Approve Deployment transaction](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2F7R6CmnTdUNMRagNBwrkt%2Fimage.png?alt=media\&token=9f7bdc08-315d-4b1b-947f-22968812857d)

{% hint style="info" %}
Once you click *Create*, it takes 60 seconds for the metadata to be propagated by Pinata so that the Subgraph may read it. Please be patient.&#x20;
{% endhint %}

#### 8. Verify Smart Contract creation

![Content Contract deployed properly in the Store Page](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2FP5WBizsNu5zbPxaLfu10%2Fimage.png?alt=media\&token=6c617af8-0283-4ab5-83d8-d2d8bec98f0d)

![Content Contract information](https://3589313620-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FW434aEw5RavAs7ROSj7s%2Fuploads%2FqcVME6ZURpZyQkNkMrp9%2Fimage.png?alt=media\&token=c3522e58-7bf7-4d71-a006-476c2f3b2752)

{% hint style="info" %}
The Content subgraph takes a few seconds to a few minutes to update. Please wait for the transaction to propagate.
{% endhint %}

{% hint style="warning" %}

#### \[Alpha Testnet Known Issue]

Once propagated, if the newly creates smart contract did not populate the information, it means the IPFS metadata wasn't propagated properly and TheGraph was not able to parse the metadata. We're looking to switch from Arweave to IPFS, but it is currently not yet supported on TheGraph. The transition will take some time.

In the meantime, please just redeploy a new smart contract.&#x20;
{% endhint %}
