Repository for the Circle Modular Wallet Web SDK (aka. BW Web SDK or Buidl Wallet Web SDK)
We've created some example apps in the examples folder:
You should be able to run these example apps locally and please follow the instructions under each example's README file.
Please follow this guide to setup your development environment and start building!
Please ensure you are using the correct Node.js version.
We have provided a .nvmrc file which can be understood by nvm, fnm, and n:
nvm use || fnm use || n autoNote
If you are unfamiliar with Node.js version managers, please refer to our example using nvm
Confirm that you are using the correct Node.js version listed in the .nvmrc file with:
node -vThis project uses pnpm to install dependencies, please ensure you have it installed.
You can confirm that you have pnpm installed with:
pnpm -vYou can now install the project dependencies using pnpm:
pnpm installTip
It is good practice to run the pnpm install command every time dependencies in the package.json are changed when updating your branch
Install nvm to use different versions of node and npm easily.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bashYou can then install the Node.js version of the project by using:
nvm useTo lint the project:
pnpm lintTo run all unit tests, run:
pnpm testTo generate coverage reports:
pnpm test:coverage