Skip to content

chore: add bitcoin signet network#4891

Merged
0xmkh merged 3 commits intomainfrom
feat/bitcoin-signet
Aug 22, 2025
Merged

chore: add bitcoin signet network#4891
0xmkh merged 3 commits intomainfrom
feat/bitcoin-signet

Conversation

@0xmkh
Copy link
Copy Markdown
Collaborator

@0xmkh 0xmkh commented Aug 22, 2025

Description

Added bitcoin signet network

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues

For Linear issues: Closes APKT-3640

Showcase (Optional)

image

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copilot AI review requested due to automatic review settings August 22, 2025 11:23
@linear
Copy link
Copy Markdown

linear bot commented Aug 22, 2025

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Aug 22, 2025

🦋 Changeset detected

Latest commit: 0fedd80

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@reown/appkit-adapter-bitcoin Patch
@reown/appkit-utils Patch
@reown/appkit Patch
pay-test-exchange Patch
@reown/appkit-adapter-ethers Patch
@reown/appkit-adapter-ethers5 Patch
@reown/appkit-adapter-solana Patch
@reown/appkit-adapter-wagmi Patch
@reown/appkit-cdn Patch
@reown/appkit-cli Patch
@reown/appkit-codemod Patch
@reown/appkit-common Patch
@reown/appkit-controllers Patch
@reown/appkit-core Patch
@reown/appkit-experimental Patch
@reown/appkit-pay Patch
@reown/appkit-polyfills Patch
@reown/appkit-scaffold-ui Patch
@reown/appkit-siwe Patch
@reown/appkit-siwx Patch
@reown/appkit-testing Patch
@reown/appkit-ui Patch
@reown/appkit-universal-connector Patch
@reown/appkit-wallet Patch
@reown/appkit-wallet-button Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
appkit-basic-html Ready Ready Preview Comment Aug 22, 2025 1:14pm
appkit-demo Ready Ready Preview Comment Aug 22, 2025 1:14pm
appkit-gallery Ready Ready Preview Comment Aug 22, 2025 1:14pm
appkit-laboratory Ready Ready Preview Comment Aug 22, 2025 1:14pm
10 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
appkit-basic-example Ignored Ignored Aug 22, 2025 1:14pm
appkit-basic-sign-client-example Ignored Ignored Aug 22, 2025 1:14pm
appkit-basic-up-example Ignored Ignored Aug 22, 2025 1:14pm
appkit-ethers5-bera Ignored Ignored Aug 22, 2025 1:14pm
appkit-nansen-demo Ignored Ignored Aug 22, 2025 1:14pm
appkit-vue-solana Ignored Ignored Aug 22, 2025 1:14pm
appkit-wagmi-cdn-example Ignored Ignored Aug 22, 2025 1:14pm
ethereum-provider-wagmi-example Ignored Ignored Aug 22, 2025 1:14pm
next-wagmi-solana-bitcoin-example Ignored Ignored Aug 22, 2025 1:14pm
vue-wagmi-example Ignored Ignored Aug 22, 2025 1:14pm

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Bitcoin Signet network, a test network for Bitcoin that provides a more reliable testing environment compared to testnet. The changes include network configuration, connector support, and test coverage updates.

Key changes:

  • Added Bitcoin Signet network definition with proper chain configuration
  • Extended UnisatConnector to support Bitcoin Signet network switching
  • Updated test laboratory to include Bitcoin Signet in available networks

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/appkit/src/networks/bitcoin.ts Defines Bitcoin Signet network configuration with chain ID and RPC URLs
packages/appkit-utils/src/PresetsUtil.ts Adds Bitcoin Signet network ID mapping for UI components
packages/adapters/bitcoin/src/connectors/UnisatConnector/types.ts Extends Chain type to include BITCOIN_SIGNET
packages/adapters/bitcoin/src/connectors/UnisatConnector/index.ts Implements Bitcoin Signet network switching logic
packages/adapters/bitcoin/tests/connectors/UnisatConnector.test.ts Adds test coverage for Bitcoin Signet network switching
apps/laboratory/src/utils/ConstantsUtil.ts Includes Bitcoin Signet in available networks for testing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 22, 2025

Warnings
⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 47): ba0ba0cd-17c6-4806-a...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 49): 3bff954d-5cb0-47a0-9...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 51): 30c46e53-e989-45fb-4...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 53): 93564157-2e8e-4ce7-8...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 55): 06b26297-fe0c-4733-5...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 57): ab9c186a-c52f-464b-2...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 59): 41d04d42-da3b-4453-8...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 61): e86fae9b-b770-4eea-e...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 63): 6a97d510-cac8-4e58-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 65): e909ea0a-f92a-4512-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 67): a18a7ecd-e307-4360-4...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 69): 4eeea7ef-0014-4649-5...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 71): 2257980a-3463-48c6-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 73): 0a728e83-bacb-46db-7...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 75): 02b53f6a-e3d4-479e-1...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 77): f926ff41-260d-4028-6...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 79): b310f07f-4ef7-49f3-7...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 81): 5a73b3dd-af74-424e-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 83): 34e68754-e536-40da-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 85): 3897a66d-40b9-4833-1...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 87): 161038da-44ae-4ec7-1...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 89): f1d73bb6-5450-4e18-3...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 91): 845c60df-d429-4991-e...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 93): ab781bbc-ccc6-418d-d...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 95): 7289c336-3981-4081-c...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 97): 3ff73439-a619-4894-9...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 99): b8101fc0-9c19-4b6f-e...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 99): b8101fc0-9c19-4b6f-e...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 103): e329c2c9-59b0-4a02-8...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 105): fc2427d1-5af9-4a9c-8...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 107): a1b58899-f671-4276-6...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 107): a1b58899-f671-4276-6...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 107): a1b58899-f671-4276-6...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 111): 0b4838db-0161-4ffe-0...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 113): 39354064-d79b-420b-0...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 115): b3406e4a-bbfc-44fb-e...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 119): 0c2840c3-5b04-4c44-9...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 119): 0c2840c3-5b04-4c44-9...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 121): 461db637-8616-43ce-0...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 122): 54a1aa77-d202-4f8d-0...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 123): ef1a1fcf-7fe8-4d69-b...

⚠️

🔑 Potential UUID detected in packages/appkit-utils/src/PresetsUtil.ts (line 124): 07ba87ed-43aa-4adf-4...

Generated by 🚫 dangerJS against 0fedd80

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 22, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.39% 34724 / 44296
🔵 Statements 78.39% 34724 / 44296
🔵 Functions 76.18% 3820 / 5014
🔵 Branches 86.72% 8184 / 9437
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/adapters/bitcoin/src/connectors/UnisatConnector/index.ts 95.73% 91.11% 100% 95.73% 47-49, 56-57, 195, 218
packages/appkit-utils/src/PresetsUtil.ts 100% 100% 100% 100%
packages/appkit/src/networks/bitcoin.ts 100% 100% 100% 100%
Generated in workflow #14483 for commit 0fedd80 by the Vitest Coverage Report Action

@0xmkh 0xmkh added this pull request to the merge queue Aug 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 22, 2025
@0xmkh 0xmkh added this pull request to the merge queue Aug 22, 2025
Merged via the queue into main with commit 01283a8 Aug 22, 2025
57 of 60 checks passed
@0xmkh 0xmkh deleted the feat/bitcoin-signet branch August 22, 2025 16:31
@github-actions github-actions bot mentioned this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants