Skip to content

Commit

Permalink
fix: react native setup for cheqd
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Aug 18, 2023
1 parent 9539eb1 commit 5f430b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guides/getting-started/set-up/cheqd/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ Using [Yarn `resolutions`](https://classic.yarnpkg.com/lang/en/docs/selective-ve
}
```

<!--/tabs-->

Following that we need to add a buffer polyfill

```console
yarn add buffer
yarn add buffer
```

create a shim.js file with the below code snippet
Expand All @@ -73,8 +75,6 @@ global.Buffer = Buffer

`import shim.js` file into your file where the App is imported

<!--/tabs-->

### Adding the cheqd to the Agent

After installing the dependencies, we can register the cheqd Module on the agent by adding the below code snippet to the agent constructor.
Expand Down

0 comments on commit 5f430b9

Please sign in to comment.