status-desktop/ui/app/AppLayouts/Wallet/services/dapps/sdk
Alex Jbanca e99f817ccc chore: Migrate to the new WC packages
Migrate from `Web3Wallet` to `WalletKit`.
More details in the WC docs https://docs.reown.com/walletkit/upgrade/from-web3wallet-web
2024-10-10 23:32:50 +03:00
..
generated chore: Migrate to the new WC packages 2024-10-10 23:32:50 +03:00
src chore: Migrate to the new WC packages 2024-10-10 23:32:50 +03:00
README.md chore(dapp) update SDK interface and the generated code 2024-05-30 10:57:42 +02:00
package-lock.json chore: Migrate to the new WC packages 2024-10-10 23:32:50 +03:00
package.json chore: Migrate to the new WC packages 2024-10-10 23:32:50 +03:00
webpack.config.js chore(dapps) move wallet connect service code outside popups 2024-05-20 15:09:57 +02:00

README.md

Wallet Connect Integration

WalletConnect SDK management

To install/updates dependencies follow these steps by running the following commands in this directory:

  • Step 1: update the package.json versions and run npm install
    • alternatively
      • use the command npm install <package-name>@<version/latest> --save for individual packages
      • or to update to the latest run ncu -u; npm install in here
        • run npm install -g npm-check-updates for ncu command
    • these commands will also create or update a package-lock.json file and populate the node_modules directory
  • Step 2: update the bundle.js file by running npm run build
  • Step 3: add the newly generated files to index git add --update . to include in the commit

Testing

Use the web demo test client https://react-app.walletconnect.com/ for wallet pairing and https://react-auth-dapp.walletconnect.com/ for authentication

Log

Initial setup

npm init -y
npm install --save-dev webpack webpack-cli webpack-dev-server
npm install --save @walletconnect/web3wallet
npm run build
# npm run build:dev # for development