Skip to content

Commit

Permalink
instruction for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed Feb 14, 2024
1 parent d16b473 commit 0d95cc5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,17 @@ The settings are described in more detailed in the Sequence Kit documentation.

The React example can be used to test the library locally.

1. `pnpm install`
2. From the root folder, run `pnpm watch` to build the package in watch mode in one console.
3. From the root folder, run `pnpm start:react` to run the react example in another console.
1. Replace the kit dependencies to the ones of the workspace in order to use hot reload.:
```js
"@0xsequence/kit": "workspace:*",
"@0xsequence/kit-checkout": "workspace:*",
"@0xsequence/kit-connectors": "workspace:*",
"@0xsequence/kit-wallet": "workspace:*",
```

2. `pnpm install`
3. From the root folder, run `pnpm watch` to build the package in watch mode in one console.
4. From the root folder, run `pnpm start:react` to run the react example in another console.

## What to do next?
Now that the core package is installed, you can install the [embedded wallet](https://github.com/0xsequence/kit/tree/master/packages/wallet) or take a look at the [checkout](https://github.com/0xsequence/kit/tree/master/packages/checkout).
Expand Down

0 comments on commit 0d95cc5

Please sign in to comment.