WalletConnect Monorepo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gancho Radkov 7a325bdbfa
Merge pull request #2364 from Mostafatalaat770/patch-1
4 weeks ago
.github chore(deps): update docker/build-push-action action to v4 (#2224) 1 month ago
.vscode use rollup 12 months ago
packages refactor: adds 1s await 1 month ago
providers providers: universal-provider: fix wrong return type 4 weeks ago
scripts fix(scripts): differentiate `sed` command by platform (#1838) 5 months ago
.eslintrc fix lint errors 11 months ago
.gitignore fix(test): ensure generated persistent DBs are always unique (#1462) 9 months ago
.prettierrc stash 12 months ago
LICENSE update license and author 2 years ago
README.md chore(readme): update stale monorepo instructions (#2114) 3 months ago
lerna.json chore: prep for `2.7.3` release 1 month ago
package-lock.json chore: prep for `2.7.3` release 1 month ago
package.json chore(deps): update dependency parse-url to 8.1.0 [security] (#2200) 2 months ago
renovate.json Configure Renovate (#2150) 2 months ago
rollup.config.js chore: minify builds 5 months ago
tsconfig.json Set specific target version for builds 9 months ago
vitest.config.ts fix: avoids running verify in tests 4 months ago

README.md

WalletConnect v2.x.x

Open protocol for connecting Wallets to Dapps - https://walletconnect.com

Setup

  1. Ensure nodejs and npm
  2. Clone the repository
  3. Install all package dependencies, by running npm install from the root folder

Running checks for all packages

To ensure all packages lint, build and test correctly, we can run the following command from the root folder:

For 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.

TEST_PROJECT_ID=YOUR_PROJECT_ID npm run check

Command Overview

  • clean - Removes build folders from all packages
  • lint - Runs eslint checks
  • prettier - Runs prettier checks
  • build - Builds all packages
  • test - Tests all packages
  • check - Shorthand to run lint, build and test commands
  • reset - Shorthand to run clean and check commands

Troubleshooting

  1. If you are experiencing issues with installation ensure you install npm i -g node-gyp
  2. You will need to have xcode command line tools installed
  3. If there are issues with xcode command line tools try running
sudo xcode-select --switch /Library/Developer/CommandLineTools
sudo xcode-select --reset

License

Apache 2.0