BUG: Hardcoded Fee Address and Explorer URLs

オープン
#56 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, react
領域
frontend

調査の方向性

Start by locating TransactionReview.jsx and config.js, then trace how the component gets the fee address and explorer URLs for each network. Update the configuration flow so both values come from the central config; done means a merchant can change the fee address and adding a network in config enables its explorer links.

索引モデルが issue の本文から書いたものです。

説明

[y] I have checked for duplicate issues

Description
Several critical configuration values are hardcoded directly into the TransactionReview.jsx component logic.

The UI Fee Collector address (0x023...) is hardcoded in the buy logic.
Block Explorer URLs are hardcoded in a local object explorerBaseUrls.

How to Reproduce

  1. Attempt to change the Fee Collector address for a specific merchant deployment.
  2. Attempt to add a new network (e.g., a testnet) via config.js.

Expected Behavior
The application should pull the Fee Address and Explorer URLs from the central configuration (config.js) so that adding a new network in the config file is sufficient to make it work fully.

Actual Behavior
Adding a network to config.js does not enable Explorer links for that network, and the Fee Address cannot be changed without editing the React component source code.

[y] I want to work on this issue.

主要言語
JavaScript
スター
16
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StabilityNexus/StablePay のほかの issue

StabilityNexus/StablePay の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。