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 yarn to install dependencies, please ensure you have it installed.
You can confirm that you have yarn installed with:
yarn -vYou can now install the project dependencies using yarn:
yarn installTip
It is good practice to run the yarn 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:
yarn lintTo run all unit tests, run:
yarn testTo generate coverage reports:
yarn test:coverage