Skip to content

feat: [STELLAR] dormant foundation plumbing (1/3) #43538

Draft
khanti42 wants to merge 4 commits into
mainfrom
feat/stellar/pr-a-foundation
Draft

feat: [STELLAR] dormant foundation plumbing (1/3) #43538
khanti42 wants to merge 4 commits into
mainfrom
feat/stellar/pr-a-foundation

Conversation

@khanti42

@khanti42 khanti42 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Description

Changes

  • Adds Stellar/XLM constants, asset mappings, account types, network metadata, icons, and block explorer configuration.
  • Registers Stellar wallet Snap references for future Snap-based account creation.
  • Adds Stellar-aware account, network, bridge, swaps, balance, and send-flow handling.
  • Adds Stellar address and asset ID validation helpers.
  • Adds tests covering Stellar accounts, assets, balances, network selectors, and recipient validation.
  • Temporarily pins required core packages to preview releases.

Important

This PR must not be merged until the real releases of the core packages are available. The current package changes rely on @metamask-previews/* versions and should be replaced with official package releases before merging.

Testing

  • Added/updated unit tests for the prepared Stellar flows.

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@khanti42 khanti42 changed the title feat(stellar): dormant foundation plumbing with stellarAccounts flag off feat: [STELLAR] dormant foundation plumbing with stellarAccounts flag off Jun 15, 2026
@khanti42 khanti42 added the DO-NOT-MERGE Pull requests that should not be merged label Jun 15, 2026
@khanti42 khanti42 force-pushed the feat/stellar/pr-a-foundation branch from 926d801 to 8dec3e5 Compare June 15, 2026 10:14
@khanti42 khanti42 changed the title feat: [STELLAR] dormant foundation plumbing with stellarAccounts flag off feat: [STELLAR] dormant foundation plumbing (1/3) Jun 16, 2026
STELLAR = `${MultichainNetworks.STELLAR}/slip44:148`,
// TODO: Fix in https://github.com/MetaMask/metamask-extension/issues/31860
// eslint-disable-next-line @typescript-eslint/naming-convention
STELLAR_TESTNET = `${MultichainNetworks.STELLAR_TESTNET}/slip44:148`,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

remove testnet

@@ -55,6 +63,8 @@ export const MULTICHAIN_NETWORK_TO_ASSET_TYPES: Record<
[MultichainNetworks.TRON]: [MultichainNativeAssets.TRON],
[MultichainNetworks.TRON_NILE]: [MultichainNativeAssets.TRON_NILE],
[MultichainNetworks.TRON_SHASTA]: [MultichainNativeAssets.TRON_SHASTA],
[MultichainNetworks.STELLAR]: [MultichainNativeAssets.STELLAR],
[MultichainNetworks.STELLAR_TESTNET]: [MultichainNativeAssets.STELLAR_TESTNET],

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

remove testnet

@@ -0,0 +1,5 @@
import { SnapId } from '@metamask/snaps-sdk';

export const STELLAR_WALLET_SNAP_ID: SnapId =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is it needed for now?

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

Labels

DO-NOT-MERGE Pull requests that should not be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants