WalletConnect / walletconnect-utils

Javascript Utilities for WalletConnect
MIT License
113 stars 75 forks source link

WalletConnect Utils

Monorepo of JS utility packages for WalletConnect

Setup

  1. Clone the repository:
git clone https://github.com/WalletConnect/walletconnect-utils.git
  1. Install all dependencies:
npm install
  1. 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.

# `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:
npm run changeset

In the interactive shell:

  1. Version and publish the changeset of the affected packages:
# will run `changeset version && turbo pre-publish && changeset publish` under the hood.
npm run npm-publish

License

MIT