https://github.com/walletconnect/walletconnect-utils
Javascript Utilities for WalletConnect
https://github.com/walletconnect/walletconnect-utils
Last synced: about 1 year ago
JSON representation
Javascript Utilities for WalletConnect
- Host: GitHub
- URL: https://github.com/walletconnect/walletconnect-utils
- Owner: WalletConnect
- License: mit
- Created: 2021-07-08T15:40:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T14:57:17.000Z (about 1 year ago)
- Last Synced: 2025-05-10T03:33:09.682Z (about 1 year ago)
- Language: TypeScript
- Size: 6.26 MB
- Stars: 118
- Watchers: 24
- Forks: 78
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WalletConnect Utils
Monorepo of JS utility packages for WalletConnect
## Setup
1. Clone the repository:
```bash
git clone https://github.com/WalletConnect/walletconnect-utils.git
```
2. Install all dependencies:
```bash
npm install
```
3. Ensure all packages lint, build, and test successfully:
> **For all tests to pass in the following command, you will need your own `TEST_PROJECT_ID` value**,
> which will be generated for you when you set up a new project on [WalletConnect Cloud](https://cloud.walletconnect.com).
```bash
# `check` will call `turbo run prettier lint build test` under the hood.
TEST_PROJECT_ID=YOUR_PROJECT_ID npm run check
```
## Publishing a package
1. To register a change relevant for a package's release, call `changeset`:
```bash
npm run changeset
```
In the interactive shell:
- select the relevant package(s) with the `` bar where changes have been made
- select (via ``) which packages should receive a major/minor/patch version bump. To simply skip a version level, hit `` without selecting anything.
- Confirm the changes, which will auto-create a changeset file inside the `.changeset` directory
2. Version and publish the changeset of the affected packages:
```bash
# will run `changeset version && turbo pre-publish && changeset publish` under the hood.
npm run npm-publish
```
## License
MIT