Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
fbbfc5e
feat: update xinfin name (#2345)
pro100skm Apr 4, 2025
39813b7
fix: gate wallet i18n strings (#2346)
DanielSinclair Apr 4, 2025
7bf2dc7
chore(deps): bump next from 15.1.4 to 15.2.4 (#2347)
dependabot[bot] Apr 4, 2025
97bc3f4
chore(deps): bump postcss from 7.0.39 to 8.4.45 (#2348)
dependabot[bot] Apr 4, 2025
65288ce
Add xPortal Wallet (#2340)
MohitTilwani15 Apr 4, 2025
1487e2e
chore(deps-dev): bump esbuild from 0.20.2 to 0.25.0 (#2349)
dependabot[bot] Apr 4, 2025
f666693
example: with react router (#2325)
jgresham Apr 4, 2025
e81cce4
chore(deps): bump vite from 5.4.14 to 5.4.17 (#2353)
dependabot[bot] Apr 4, 2025
0178bd4
chore(deps): bump esbuild from 0.17.6 to 0.25.2 (#2352)
dependabot[bot] Apr 4, 2025
970ec21
chore(deps): bump postcss from 7.0.39 to 8.4.46 (#2351)
dependabot[bot] Apr 4, 2025
acbfaf9
chore: pnpm update, ignore .envrc (#2354)
DanielSinclair Apr 4, 2025
3fef208
chore: i18n update (#2355)
DanielSinclair Apr 4, 2025
c5a9cc1
fix: svg encoding in wallet connector icons (#2356)
DanielSinclair Apr 4, 2025
03ae0d0
chore: add changeset for xPortal Wallet (#2358)
DanielSinclair Apr 4, 2025
c2b8f91
chore: migrate nft mint example to sepolia, foundry source (#2362)
DanielSinclair Apr 7, 2025
9750075
chore(deps): bump vite from 5.4.14 to 5.4.17 (#2363)
dependabot[bot] Apr 8, 2025
6e612d1
chore: update devcontainer to Node 20 and pnpm 10.4.1 (#2368)
DanielSinclair Apr 11, 2025
7b5949c
chore: fix contributors pnpm version, upgrade to 10.8.0 (#2369)
DanielSinclair Apr 11, 2025
5e78c74
chore: wagmi, viem upgrade (#2370)
DanielSinclair Apr 11, 2025
6971e74
chore(deps): bump react-router from 7.4.1 to 7.5.2 (#2375)
dependabot[bot] Apr 25, 2025
9f71470
chore(deps-dev): bump vite from 5.4.17 to 5.4.18 (#2376)
dependabot[bot] Apr 25, 2025
4635e1e
chore(deps): bump esbuild from 0.17.6 to 0.25.3 (#2377)
dependabot[bot] May 13, 2025
df38d55
Update wallet-button.mdx (#2379)
gap-editor May 13, 2025
f8e95f7
update core logo (#2386)
atn4z7 May 13, 2025
5b54649
feat: update mewWallet integration to use walletConnect (#2385)
gamalielhere May 14, 2025
8515fd3
fix: walletconnect metadata.url origin mismatch (#2390)
DanielSinclair May 14, 2025
5e16367
chore: upgrade wagmi to ^2.15.2 and viem to 2.29.2 (#2389)
DanielSinclair May 14, 2025
3d73508
feat: zilpay wallet connector (#2391)
DanielSinclair May 16, 2025
82010d6
fix: changeset versioning (#2392)
DanielSinclair May 16, 2025
27937a5
chore: i18n update (#2393)
DanielSinclair May 16, 2025
51b6462
chore: version packages (#2357)
github-actions[bot] May 16, 2025
4ab609f
fix test group name (#2399)
DanielSinclair May 22, 2025
d7e071e
feat: update new bitget wallet logo (#2398)
BitgetWalletTeam May 22, 2025
f6ad6aa
feat: add Superposition chain (#2400)
af-afk May 27, 2025
77de527
chore: upgrade wagmi to 2.15.4 (#2411)
DanielSinclair Jun 4, 2025
f7e55f9
fix: allow review bots through comment filter (#2413)
DanielSinclair Jun 4, 2025
e03de7c
chore: upgrade next, react (#2410)
DanielSinclair Jun 4, 2025
feb9833
chore: log comment authors in watchdog (#2415)
DanielSinclair Jun 4, 2025
53d4c11
chore: upgrade polyfill docs (#2416)
DanielSinclair Jun 4, 2025
895739f
Upgrade wagmi to 2.15.5 (#2414)
DanielSinclair Jun 4, 2025
62117d2
chore: fix superposition changeset (#2417)
DanielSinclair Jun 4, 2025
c6388c4
chore: fix changeset string comparison in comment watchdog (#2418)
DanielSinclair Jun 4, 2025
624a38a
feat: support coinbase wallet sdk configuration (#2405)
stephancill Jun 4, 2025
17ae4f0
chore: version packages (#2402)
github-actions[bot] Jun 4, 2025
20b245b
docs: update contributor guide (#2420)
DanielSinclair Jun 5, 2025
392dd17
chore: upgrade sequoia icon (#2421)
DanielSinclair Jun 5, 2025
a147620
fix: handle mobile connect rejection (#2422)
DanielSinclair Jun 5, 2025
f6f9d28
chore: raise node engine minimum (#2427)
DanielSinclair Jun 5, 2025
479ebf0
feat: wallet registry fetch script (#2428)
DanielSinclair Jun 5, 2025
b5ab807
docs: add npm and license badges (#2430)
DanielSinclair Jun 8, 2025
4ace91f
chore: wagmi upgrade (#2433)
DanielSinclair Jun 9, 2025
15ddd4a
Migrate QRCode to cuer (#2429)
DanielSinclair Jun 10, 2025
36ced63
docs: add DeepWiki reference (#2435)
DanielSinclair Jun 11, 2025
d5535c3
revert: package node engine minimum bump (#2436)
DanielSinclair Jun 11, 2025
a8edb09
feat(site): add docsearch meta (#2438)
DanielSinclair Jun 11, 2025
0231551
chore: update esbuild plugins (#2440)
DanielSinclair Jun 11, 2025
c60deea
chore: upgrade react type packages (#2442)
DanielSinclair Jun 11, 2025
205de36
chore: upgrade vanilla-extract dependencies (#2439)
DanielSinclair Jun 11, 2025
56b5ce7
fix: inherited qr code colors in dark mode (#2443)
DanielSinclair Jun 11, 2025
85712bc
feat: filter docsearch by locale (#2448)
DanielSinclair Jun 12, 2025
8e9678f
chore: upgrade vite to 6.3.5 (#2445)
DanielSinclair Jun 12, 2025
50c7f13
fix: add missing rdns metadata (#2451)
DanielSinclair Jun 13, 2025
261497f
chore: upgrade remix example (#2444)
DanielSinclair Jun 13, 2025
10090d2
fix: isolate walletconnect storages (#2452)
DanielSinclair Jun 13, 2025
1569c5b
chore: correct remix changeset (#2453)
DanielSinclair Jun 13, 2025
cbdf578
chore: version packages (#2423)
github-actions[bot] Jun 13, 2025
f542876
feat: metamask sdk connector (#2425)
DanielSinclair Jun 18, 2025
32c6720
chore: version packages (#2471)
github-actions[bot] Jun 18, 2025
cbf2984
Merge branch 'rainbowkit-latest-release' into feat/latest-changes
petar-omni Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.6.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"linked": [],
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bookworm",
"postCreateCommand": "pnpm install"
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",
"postCreateCommand": "npm i -g pnpm@10.8.0 && pnpm install"
}
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Thanks for your interest in contributing to RainbowKit! Please take a moment to review this document **before submitting a pull request.**

If you want to contribute but aren't sure where to start, you can create a [new discussion](https://github.com/rainbow-me/rainbowkit/discussions).
For answers to more questions, [Ask DeepWiki](https://deepwiki.com/rainbow-me/rainbowkit).

## Pull requests

Expand All @@ -12,7 +13,7 @@ It's never a fun experience to have your pull request declined after investing a

## Prerequisites

This project uses [`pnpm`](https://pnpm.io) as a package manager. The required `pnpm` version to get started is `^9.1.0`.
This project uses [`pnpm`](https://pnpm.io) as a package manager. The required `pnpm` version to get started is `^10.8.0`.

## Development environment

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [pull_request, push]

env:
pnpm: 10.4.1
pnpm: 10.8.0
RAINBOW_PROVIDER_API_KEY: ${{ secrets.RAINBOW_PROVIDER_API_KEY }}
WALLETCONNECT_PROJECT_ID: ${{ secrets.WALLETCONNECT_PROJECT_ID }}

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/comment-watchdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:

# Save the allowlisted users in a file
echo "$ORG_MEMBERS" > allowlisted_users.txt

# Add allowlisted apps/users from vars to the allowlist
echo "${{ vars.COMMENT_WATCHDOG_ALLOWLIST }}" | tr ',' '\n' >> allowlisted_users.txt

- name: Check comment for spam
env:
Expand All @@ -36,9 +39,12 @@ jobs:
COMMENT_ID=$(jq -r '.comment.id' < "$GITHUB_EVENT_PATH")
COMMENT_BODY=$(jq -r '.comment.body' < "$GITHUB_EVENT_PATH")
COMMENT_USER=$(jq -r '.comment.user.login' < "$GITHUB_EVENT_PATH")

# Log the comment author
echo "Comment authored by $COMMENT_USER"

# Check if the comment user is allowlisted
if grep -q "$COMMENT_USER" allowlisted_users.txt; then
if grep -qF "$COMMENT_USER" allowlisted_users.txt; then
echo "Comment by $COMMENT_USER is from an allowlisted user. No action taken."
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
pnpm: 10.4.1
pnpm: 10.8.0
HUSKY: 0 # Avoid pre-commit hook tests
RAINBOW_PROVIDER_API_KEY: RAINBOW_PROVIDER_API_KEY

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ typings/
.env
.env.test
.env.local
.envrc

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down Expand Up @@ -106,3 +107,4 @@ dist
# Others
.DS_Store

node-compile-cache/
20 changes: 20 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Contributor Guide

## Dev Environment Tips
- Run `pnpm install` from the repository root to install all dependencies and generate type definitions.
- Before committing, execute `pnpm format:fix` to automatically correct formatting issues.

## Testing Instructions
- Check the CI configuration under `.github/workflows` to understand the automated plan.
- Use `pnpm test` at the monorepo root to run the full test suite. Your commit must pass these tests before merging.
- To focus on a specific test, run `pnpm test:unit run -t "<test name>"`.
- Keep fixing test or type errors until everything passes.
- After moving files or adjusting imports, run `pnpm lint` to ensure ESLint and TypeScript still succeed.
- Whenever you change code, add or update tests even if not explicitly requested.

## PR Instructions
- Follow the commit style defined in `commitlint.config.js`. Prefix commits and PR titles with a type such as `fix`, `feat`, or `chore`, for example: `fix: resolve login bug`.
- Always run `pnpm changeset` to create a changeset for every affected package. Patch versions are typically preferred unless the change warrants a minor or major bump.
- Never modify any CHANGELOG.md files. These are managed automatically.
- Patch bump `@rainbow-me/create-rainbowkit` whenever template dependencies change.
- Only modify `en-US.json` locale files; never adjust other locale JSON files.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img alt="rainbowkit" src="https://user-images.githubusercontent.com/372831/168174718-685980e0-391e-4621-94a1-29bf83979fa5.png" />
</a>

# RainbowKit
# RainbowKit &nbsp; [![Version](https://img.shields.io/npm/v/@rainbow-me/rainbowkit?colorA=1f2937&colorB=3b82f6&labelColor=1f2937)](https://www.npmjs.com/package/@rainbow-me/rainbowkit) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/rainbow-me/rainbowkit)

**The best way to connect a wallet 🌈**

Expand Down Expand Up @@ -37,6 +37,7 @@ You can use the CodeSandbox links below to try out RainbowKit:
- with [Next.js App Router](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next-app)
- with [Remix](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-remix)
- with [Vite](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-vite)
- with [React Router](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-react-router)

## Examples

Expand All @@ -51,6 +52,7 @@ The following examples are provided in the [examples](./examples/) folder of thi
- `with-next-siwe-iron-session`
- `with-remix`
- `with-vite`
- `with-react-router`

### Running examples

Expand Down
5 changes: 4 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"tsconfig.json",
"tsconfig.*.json",
"./packages/create-rainbowkit/generated-test-app/",
"build/"
"build/",
".react-router",
"examples/with-next-mint-nft/contract/",
"packages/rainbowkit/assets/wallets/registry.json"
]
},
"formatter": {
Expand Down
42 changes: 23 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"format:check": "biome check .",
"format:fix": "biome format . --write",
"link:cli": "cd packages/create-rainbowkit && pnpm link --global",
"fetch:wallets": "node ./scripts/walletRegistry.js",
"test": "pnpm test:unit",
"test:unit": "vitest",
"test:update": "vitest --update",
Expand All @@ -39,7 +40,7 @@
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@changesets/cli": "2.27.8",
"@changesets/cli": "2.29.4",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@tanstack/react-query": "^5.55.3",
Expand All @@ -48,36 +49,36 @@
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.14.8",
"@types/react": "^19.0.6",
"@types/react-dom": "^19.0.3",
"@vanilla-extract/esbuild-plugin": "^2.3.10",
"@vanilla-extract/vite-plugin": "^4.0.15",
"autoprefixer": "^10.4.16",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@vanilla-extract/esbuild-plugin": "^2.3.17",
"@vanilla-extract/vite-plugin": "^5.0.5",
"autoprefixer": "^10.4.21",
"dotenv": "^16.4.5",
"esbuild": "^0.20.2",
"esbuild": "^0.25.5",
"esbuild-plugin-replace": "^1.4.0",
"husky": "^9.1.5",
"jsdom": "^25.0.0",
"next": "^15.1.4",
"next": "^15.3.3",
"next-auth": "4.24.11",
"postcss": "^8.4.45",
"postcss-prefix-selector": "^1.16.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"postcss": "^8.5.5",
"postcss-prefix-selector": "^2.1.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"recursive-readdir-files": "^2.3.1",
"typescript": "5.5.4",
"viem": "2.23.3",
"viem": "2.29.2",
"vite": "^6.3.5",
"vitest": "2.1.9",
"wagmi": "^2.14.11"
"wagmi": "^2.15.6"
},
"resolutions": {
"@types/react": "^19.0.6",
"@types/react-dom": "^19.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"elliptic": "6.6.1"
},
"packageManager": "pnpm@10.10.0",
"pnpm": {
"ignoredBuiltDependencies": [
"@biomejs/biome",
Expand All @@ -94,5 +95,8 @@
"onlyBuiltDependencies": [
"esbuild"
]
},
"engines": {
"node": ">=20"
}
}
47 changes: 47 additions & 0 deletions packages/example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# example

## 0.0.115

### Patch Changes

- Updated dependencies [f542876]
- @rainbow-me/rainbowkit@2.2.8
- @rainbow-me/rainbow-button@0.2.25
- @rainbow-me/rainbowkit-siwe-next-auth@0.5.0

## 0.0.114

### Patch Changes

- Updated dependencies [a147620]
- Updated dependencies [10090d2]
- Updated dependencies [50c7f13]
- Updated dependencies [15ddd4a]
- @rainbow-me/rainbowkit@2.2.7
- @rainbow-me/rainbow-button@0.2.24
- @rainbow-me/rainbowkit-siwe-next-auth@0.5.0

## 0.0.113

### Patch Changes

- 77de527: Upgraded `wagmi` to `^2.15.5`.
- e03de7c: Upgrade React, React DOM, Next, and related type dependencies across packages and examples.
- Updated dependencies [624a38a]
- Updated dependencies [f6ad6aa]
- @rainbow-me/rainbowkit@2.2.6
- @rainbow-me/rainbow-button@0.2.23
- @rainbow-me/rainbowkit-siwe-next-auth@0.5.0

## 0.0.112

### Patch Changes

- 5e16367: Upgraded `wagmi` to `^2.15.2` and `viem` to `2.29.2`
- Updated dependencies [3d73508]
- Updated dependencies [c5a9cc1]
- Updated dependencies [8515fd3]
- Updated dependencies [5b54649]
- Updated dependencies [03ae0d0]
- @rainbow-me/rainbowkit@2.2.5
- @rainbow-me/rainbow-button@0.2.22
- @rainbow-me/rainbowkit-siwe-next-auth@0.5.0

## 0.0.111

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/example/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "example",
"version": "0.0.111",
"version": "0.0.115",
"description": "",
"private": true,
"main": "index.js",
"dependencies": {
"@stakekit/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.55.3",
"next": "^15.1.4",
"next": "^15.3.3",
"next-auth": "4.24.11",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"viem": "2.23.3",
"wagmi": "^2.14.11"
"react": "^19.1.0",
"react-dom": "^19.1.0",
"viem": "2.29.2",
"wagmi": "^2.15.6"
},
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 8 additions & 0 deletions packages/example/src/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ import {
walletConnectWallet,
wigwamWallet,
xdefiWallet,
xPortalWallet,
zealWallet,
zerionWallet,
zilPayWallet,
} from '@stakekit/rainbowkit/wallets';
import { publicActions } from 'viem';
import {
Expand Down Expand Up @@ -94,6 +96,7 @@ import {
scroll,
scrollSepolia,
sepolia,
superposition,
unichain,
unichainSepolia,
zksync,
Expand Down Expand Up @@ -128,6 +131,8 @@ const avalanche = {
// Testing `preference` type
coinbaseWallet.preference = 'all';

// TODO: Add subAccounts, paymasterUrls

export const config = getDefaultConfig({
appName: 'RainbowKit Demo',
projectId,
Expand All @@ -146,6 +151,7 @@ export const config = getDefaultConfig({
gravity,
ink,
sanko,
superposition,
unichain,
zora,
linea,
Expand Down Expand Up @@ -241,8 +247,10 @@ export const config = getDefaultConfig({
valoraWallet,
wigwamWallet,
xdefiWallet,
xPortalWallet,
zealWallet,
zerionWallet,
zilPayWallet,
],
},
],
Expand Down
Loading
Loading