> ## Documentation Index
> Fetch the complete documentation index at: https://blockscout-vb-sourcify-migrate-to-api-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Reown (Previously WalletConnect) Project ID For Contract Read/Write

<Info>
  The latest versions of Blockscout use Reown (previously WalletConnect) for Read and Write functionality with smart contracts. The frontend variable `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` must be enabled with your project ID for this feature to work.
</Info>

## Setting up a Reown Project ID

1\) Go to [https://cloud.reown.com/sign-in](https://cloud.reown.com/sign-in) and sign in or create an account.

2\) Create a new Project

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/ef662cf6-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=ecc2ba74666699f01bcb39b32ece74cd" width="2062" height="1228" data-path="images/ef662cf6-image.jpeg" />
</Frame>

3\) Add your project information (name and project homepage) and click continue.

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/tXdUT0vYV9y_RBYl/images/5aacc1da-image.jpeg?fit=max&auto=format&n=tXdUT0vYV9y_RBYl&q=85&s=eaa3d7649a0e1c3aedf900482724c47c" width="1460" height="1418" data-path="images/5aacc1da-image.jpeg" />
</Frame>

4\) Select **WalletKit** as the SDK.

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/f1454996-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=ac3cfcb7021fe8453d551e0f05f68a67" width="1630" height="1330" data-path="images/f1454996-image.jpeg" />
</Frame>

5\) Select **Javascript** as the platform and create your project.

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/44eaa7e8-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=d0f13b7f9730491fc3e124736518098e" width="1482" height="1356" data-path="images/44eaa7e8-image.jpeg" />
</Frame>

6\) Scroll down to see your basic information, including your Project ID. Before using, however, **setup Project Domains**. Please include any urls which host your explorer(s) here.

<Warning>
  This step is important because the Project ID will be exposed in the browser. Setting allowed domains prevents unauthorized usage of your ID.
</Warning>

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/d46a2c33-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=867b495f5db1cfba7f28d5531e238595" width="2238" height="1324" data-path="images/d46a2c33-image.jpeg" />
</Frame>

You can also verify your domain domains. This is not required but is recommended for security. Instructions are included in the interface.

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/tXdUT0vYV9y_RBYl/images/7caa93d0-image.jpeg?fit=max&auto=format&n=tXdUT0vYV9y_RBYl&q=85&s=6cf46ad331ea16f3939c9c3ed515944d" width="1982" height="1282" data-path="images/7caa93d0-image.jpeg" />
</Frame>

7\) Copy your project ID and add in the ENV.

<Frame caption="">
  <img src="https://mintcdn.com/blockscout-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/e49e1dc3-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=28c32d5898ff9c65a9475cc9e7e142d4" width="2288" height="1348" data-path="images/e49e1dc3-image.jpeg" />
</Frame>

```javascript theme={null}
$ export NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=54b4....8dd05
```

<Tip>
  You Blockscout instance will now support the Reown Project ID for Contract Read and Write functionality. [-> See more front-end ENVs related to Blockchain and contract interaction](https://github.com/blockscout/frontend/blob/main/docs/ENVS.md#blockchain-interaction-writing-to-contract-etc).
</Tip>
