Deploy a Content Contract

1. Login using the Developer Wallet

Rawrshak Developer Dapp: https://alpha.rawrshak.io/#/
Open the Wallet Tab
Click the Connect Button and Connect Metamask Wallet

2. Select Developer Mode

Select Developer Mode

3. Go to Store Page

Click the Store Page

4. Click "New Smart Contract"

Select "Create your first Smart Contract" or "New Smart Contract" to create a new smart contract.

5. Fill in the Information and click Create

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
Fill in Content Contract information and create contract
Metadata json file is propagating for the Subgraph
Please refer to the Content Contract metadata for more information.

7. Approve and Deploy Transaction

Use Metamask to approve the transaction.
Approve Deployment transaction
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.

8. Verify Smart Contract creation

Content Contract deployed properly in the Store Page
Content Contract information
The Content subgraph takes a few seconds to a few minutes to update. Please wait for the transaction to propagate.

[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.
Copy link
On this page