Skip to content

[iOS][Wallet] Inject cardano dapp js base layer#34200

Merged
nuo-xu merged 3 commits intomasterfrom
wallet/cardano-dapp-js-base-layer
Feb 27, 2026
Merged

[iOS][Wallet] Inject cardano dapp js base layer#34200
nuo-xu merged 3 commits intomasterfrom
wallet/cardano-dapp-js-base-layer

Conversation

@nuo-xu
Copy link
Contributor

@nuo-xu nuo-xu commented Feb 25, 2026

Add base CardanoProviderScript and it's handler and start injecting if Cardana dApp support feature flag is on.
This base provider js follows CIP-30 Cardano standard that defines necessary properties.
The handler doesn't handle any message yet. The actual message handling will in future PR(s)

Resolves brave/brave-browser#53034

Test

  1. visit https://supermassive.github.io/ccvault-cip-0030-test/#/
  2. tap Detect APIs
  3. verify all checks pass in logs field. showing Wallet: Brave apiVersion: 1 and icon: Brave Icon

@nuo-xu nuo-xu self-assigned this Feb 25, 2026
@nuo-xu nuo-xu requested a review from a team as a code owner February 25, 2026 22:27
@nuo-xu nuo-xu added CI/skip-android Do not run CI builds for Android CI/skip-windows-x64 Do not run CI builds for Windows x64 CI/skip-macos-arm64 Do not run CI builds for macOS arm64 CI/skip-origin Do not run CI builds for Origin labels Feb 25, 2026
@nuo-xu nuo-xu force-pushed the wallet/cardano-dapp-js-base-layer branch from 7c0861e to 05e03f8 Compare February 26, 2026 16:16
@brave-builds
Copy link
Collaborator

Warning

You have got a presubmit warning. Please address it if possible.

Found 3 lines longer than 80 characters (first 5 shown).

Items:

ios/brave-ios/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/Scripts/Paged/WalletCardanoProviderScript.js, line 21, 99 chars
ios/brave-ios/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/Scripts/Paged/WalletCardanoProviderScript.js, line 23, 90 chars
ios/brave-ios/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/Scripts/Paged/WalletCardanoProviderScript.js, line 52, 4638 chars

@github-actions
Copy link
Contributor

Chromium major version is behind target branch (145.0.7632.120 vs 146.0.7680.32). Please rebase.

@github-actions github-actions bot added the chromium-version-mismatch The Chromium version on the PR branch does not match the version on the target branch label Feb 26, 2026
@nuo-xu nuo-xu force-pushed the wallet/cardano-dapp-js-base-layer branch from 248c201 to eb39a0a Compare February 26, 2026 19:37
@github-actions github-actions bot removed the chromium-version-mismatch The Chromium version on the PR branch does not match the version on the target branch label Feb 26, 2026
@nuo-xu nuo-xu merged commit 117c74f into master Feb 27, 2026
22 checks passed
@nuo-xu nuo-xu deleted the wallet/cardano-dapp-js-base-layer branch February 27, 2026 18:56
@github-actions github-actions bot added this to the 1.89.x - Nightly milestone Feb 27, 2026
@brave-builds
Copy link
Collaborator

Released in v1.89.86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/skip-android Do not run CI builds for Android CI/skip-macos-arm64 Do not run CI builds for macOS arm64 CI/skip-origin Do not run CI builds for Origin CI/skip-windows-x64 Do not run CI builds for Windows x64

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS][Wallet] Add a base CardanoProviderScript and Handler

6 participants