BUG: Hardcoded Fee Address and Explorer URLs
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
- Attempt to change the Fee Collector address for a specific merchant deployment.
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di StabilityNexus/StablePay
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
StabilityNexus/StablePay#64 · 1 commento ·
-
[BUG]: Missing SDK API documentation and incomplete developer-facing usage guide in StablePay READMEApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
StabilityNexus/StablePay#104 · 1 commento ·
-
[BUG]: `stablepay-sdk` README documents an unrelated thirdweb app instead of the actual SDK APIApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
StabilityNexus/StablePay#102 ·
-
[FEATURE]: Centralize transaction initialization and quote fetching to avoid duplicate RPC calls in the widgetForse di nuovo libera @CaptainLevi2k04 l’ha presa 81 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
StabilityNexus/StablePay#101 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
StabilityNexus/StablePay#96 · 1 commento ·
Tutte le issue di StabilityNexus/StablePay
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 82/100
Leonxlnx/taste-skill#216 ·
I maintainer di solito rispondono entro 1 giorno
-
Docs: 11 broken linksAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
all-contributors/cli#690 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno