Install dependencies from the repository's root directory (this will also set up each workspace):
yarn
Some examples have .env.local.example
files. Copy their content and create new .env.local
files in the same directory.
Without these yarn:build
command will fail. To create your ProjectID head to cloud.walletconnect.com
yarn build
- Build all packages.yarn dev
- Build and watch all packages for changes.yarn dev:react
- Run react example (has to be ran together withyarn dev
in a separate terminal tab).yarn dev:react-standalone
- Run react standalone example (has to be ran together withyarn dev
in a separate terminal tab).yarn dev:html
- Run plain html/js example (has to be ran together withyarn dev
in a separate terminal tab).yarn dev:html-standalone
- Run plain html/js standalone example (has to be ran together withyarn dev
in a separate terminal tab).yarn build
- Build all packages + examples.yarn lint
- Run the linter.yarn prettier
- Run prettier.yarn typecheck
- Run typescript checks.
chains
- Helper packages for managed chain workflowsexamples
- Contains examples for all suported use cases, acts as testing groundpackages
core
- State, proxy between ui and chain packagesui
- Web-components based ui of web3modalcomponents
- Basic ui componentspartials
- Complex ui peaces composing multiple components and accessing corevies
- Full web3modal views
react
- React wrapper on top of core and uihtml
- Vanilla html / js wrapper on top of core and ui