---
# System prepended metadata

title: '[Community Instructions] Update swapr.eth content hash to v1.0.0-beta.19'

---

# [Community Instructions] Update swapr.eth content hash to v1.0.0-beta.19

# DAO Base

~~Alchemy https://alchemy.daostack.io/dao/0x519b70055af55a007110b4ff99b0ea33071c720a~~

Use [DXdao ENS Proposal](https://ens-proposal-app.vercel.app/) until Alchemy is operational

# Proposal Scheme and Parameters

Schema Name: `GenericSchemeENSPublicResolver`

Method: `setContenthash(node bytes32, hash bytes)`

# Proposal Title

Update swapr.eth content hash to Swapr v1.0.0-beta.19

# Proposal Description

This proposal updates the swapr.eth resolver's content hash to [Swapr v1.0.0-beta.19](https://github.com/levelkdev/swapr-dapp/releases/tag/v1.0.0-beta.19).

**Verify the Build Content Identifier (CID)**

Clone the repo and checkout the release tag:

```bash
git clone https://github.com/levelkdev/swapr-dapp.git && cd swapr-dapp && git checkout v1.0.0-beta.19
```

Using Node v16.14.2, install dependencies using Yarn in CI:

```bash
yarn install --frozen-lockfile
```

Prepare the source (requires Java)
```bash
yarn codegen:socket
yarn codegen:graphql
```

Build the dapp
```bash
yarn ipfs-build
```

Calculate the build's CID [IPFS CLI](https://docs.ipfs.io/install/command-line/)

```bash
ipfs add -rn ./build
```

The build CID should match `QmeAMB8EM9DdhRPX9UhxMKB8WjM6QWq1nhv4kN6sHgFY61`

**Calldata to ENS Public Resolver**

Method: `setContenthash(node bytes32, hash bytes)`

Calldata (string):
```
node = swapr.eth
hash = ipfs://QmeAMB8EM9DdhRPX9UhxMKB8WjM6QWq1nhv4kN6sHgFY61
```

Calldata (bytes):
```
node = 0x90493e09bd54d455b2be1d45bb8229ee8a8119090c55170809003354d35617fa
hash = 0xe30101701220eb175b56edd0e5cf3d3d2a91a4eb1fd85ce9c0c1d4a8792c552238018184521e
```