Open protocol for connecting Wallets to Dapps - https://walletconnect.com
- Ensure nodejs and npm
- Clone the repository
- Install all package dependencies, by running
npm installfrom the root folder
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_IDvalue, which will be generated for you when you set up a new project on WalletConnect Cloud.
TEST_PROJECT_ID=YOUR_PROJECT_ID npm run checkclean- Removes build folders from all packageslint- Runs eslint checksprettier- Runs prettier checksbuild- Builds all packagestest- Tests all packagescheck- Shorthand to run lint, build and test commandsreset- Shorthand to run clean and check commands
- If you are experiencing issues with installation ensure you install
npm i -g node-gyp - You will need to have xcode command line tools installed
- If there are issues with xcode command line tools try running
sudo xcode-select --switch /Library/Developer/CommandLineTools
sudo xcode-select --resetApache 2.0