Skip to content

Feat/explorer links#150

Merged
Ejirowebfi merged 3 commits into
Favourorg:mainfrom
Mac-5:feat/explorer-links
Mar 24, 2026
Merged

Feat/explorer links#150
Ejirowebfi merged 3 commits into
Favourorg:mainfrom
Mac-5:feat/explorer-links

Conversation

@Mac-5

@Mac-5 Mac-5 commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

closes #19

Description

Please include a summary of the changes and the "Why" behind them.

  • Add stellarExplorerUrl(type, value, network) to utils/formatting.ts
    • type: 'tx' | 'contract' | 'account'
    • testnet -> stellar.expert/explorer/testnet
    • mainnet -> stellar.expert/explorer/public
  • Add 5 tests in formatting.test.ts
  • TransactionHistory: replace hardcoded explorer URL with stellarExplorerUrl
    using network from useNetwork() context
  • TokenDetail: token address and creator link to explorer (contract/account)
  • Dashboard: token cards link creator address to explorer
  • All external links use target='_blank' rel='noopener noreferrer'
  • Remove @rolldown/binding-win32-x64-msvc (Windows-only dep, breaks Linux install)"

Related Issue

Link the issue using "Closes #XX" or "Fixes #XX".

Type of Change

Please tick the relevant options:

  • 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)
  • Documentation update

Testing Done

Please describe the tests you ran (unit tests, manual verification, etc.) to verify your changes.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes

Mac-5 added 2 commits March 24, 2026 18:34
- Add fee_token to FactoryState; accept in initialize() instead of per-call
- create_token: deploy via env.deployer().with_address(creator, salt).deploy(wasm_hash)
- create_token: call TokenInitClient::initialize() on deployed contract
- set_metadata, mint_tokens: use state.fee_token instead of per-call param
- All fee transfers use token::TokenClient::transfer (correct SDK API)
- Move proptest from [dependencies] to [dev-dependencies] (fixes wasm build)
- Remove soroban-token-sdk dependency (unused after refactor)
- Tests: use env.as_contract() to seed storage for happy-path tests
  (deploy path requires wasm target; covered by integration tests)
- Add stellarExplorerUrl(type, value, network) to utils/formatting.ts
  - type: 'tx' | 'contract' | 'account'
  - testnet -> stellar.expert/explorer/testnet
  - mainnet -> stellar.expert/explorer/public
- Add 5 tests in formatting.test.ts
- TransactionHistory: replace hardcoded explorer URL with stellarExplorerUrl
  using network from useNetwork() context
- TokenDetail: token address and creator link to explorer (contract/account)
- Dashboard: token cards link creator address to explorer
- All external links use target='_blank' rel='noopener noreferrer'
- Remove @rolldown/binding-win32-x64-msvc (Windows-only dep, breaks Linux install)
@drips-wave

drips-wave Bot commented Mar 24, 2026

Copy link
Copy Markdown

@Mac-5 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ejirowebfi Ejirowebfi merged commit dd0768a into Favourorg:main Mar 24, 2026
0 of 2 checks passed
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.

Add Stellar Expert / Stellar Laboratory Deep Links

2 participants