BUG: Hardcoded Fee Address and Explorer URLs

Aperta
#56 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, react
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[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.

Lingua principale
JavaScript
Stelle
16
Fork
29
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di StabilityNexus/StablePay

Tutte le issue di StabilityNexus/StablePay

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.