All-in-one framework agnostic solana wallet adapter library
- React.js
- Vite (@solana/web3.js v1.x.x)
- Vite (@solana/web3.js v2.x.x)
- Next.js (App directory)
- Next.js (Pages directory)
- Remix
- Tanstack Start
- Solid.js
- Svelte
- Vue.js
- Qwik.js
- android trezor connection not working
- android MWA send tx (devnet) not working
- web3js v1 hardware wallets not tested
- web3js v2 hardware wallets not working
- coinbase desktop + mobile send tx not working ("smth went wrong!")
- wallet account change detection not working properly
- custom ui component styling incomplete
examples
- example demo apps demonstrating wallet connection, sign message, send txconfigs
- internal configuration files for this monorepopackages
- packages that are used withinapps
orscripts
core
- internal core package containing wallet state management (via nanostores) + wallet-standard compatible wallet managementcore-1.0
- framework agnostic core package containing thecore
package +@solana/web3.js
v1.x.x specific wallet actionscore-2.0
- framework agnostic core package containing thecore
package +@solana/web3.js
v2.x.x specific wallet actionssolid-1.0
- solid.js adapter forcore-1.0
packagesolid-2.0
- solid.js adapter forcore-2.0
packagereact-1.0
- react.js adapter forcore-1.0
packagereact-2.0
- react.js adapter forcore-2.0
package
List of cli commands available from a project root.
To use the commands, first install pnpm and install dependencies with pnpm i
.
pnpm run dev
# Builds all packages in watch mode, and starts all examples
# turbo run dev --parallel
pnpm run build
# Builds all the packages in the monorepo
# turbo run build --filter=!./examples/*
pnpm run test
# Runs tests for all the packages in the monorepo
# turbo run test --filter=!./examples/*
pnpm run typecheck
# Runs TS typecheck for all the packages in the monorepo
# turbo run typecheck --filter=!./examples/*
pnpm run build-test
# Runs build, typecheck and test commands for all the packages in the monorepo
# "turbo run build test typecheck --filter=!./examples/*
pnpm run format
# Formats the reposotory with prettier
# prettier -w \"packages/**/*.{js,ts,json,css,tsx,jsx,md}\" \"examples/**/*.{js,ts,json,css,tsx,jsx,md}\"
pnpm run changeset
# Creates a changeset
# changeset
pnpm run version-packages
# Applies changesets to bump package versions and update CHANGELOGs
# "changeset version && pnpm i
# NOTE: to publish scoped packages you must
# first create an org.
# @see https://docs.npmjs.com/creating-and-publishing-scoped-public-packages
# 1. create an org in npmjs.com
# 2. login to npm via `npm login`
# 3. name org/scope according to package name
pnpm run release
# Builds and publishes changed packages to npm
# pnpm run build-test && changeset publish
pnpm run update-deps
# Updates all dependencies in the repository
# pnpm up -Lri