Skip to content

feat(config): extract hostname deployment settings to config.js (Closes #206)#302

Open
yanyishuai wants to merge 1 commit into
austintgriffith:masterfrom
yanyishuai:feat/bw-issue-206-config
Open

feat(config): extract hostname deployment settings to config.js (Closes #206)#302
yanyishuai wants to merge 1 commit into
austintgriffith:masterfrom
yanyishuai:feat/bw-issue-206-config

Conversation

@yanyishuai

Copy link
Copy Markdown

Summary

Moves hostname-based RPC, relay, and ERC20 deployment settings from App.js into src/config.js, following the dmihal PR #194 pattern. Whitelabel forks can now adjust providers and token metadata in one file.

Closes #206

Approach

  • Follows @dmihal's config.js extraction from PR Add react router #194
  • Preserves existing hostname behavior (xdai.io, buffidai, localhost, etc.)
  • App.js imports deployment vars and keeps branding UI logic

Wallet: Do4v7foHJvRJLpRRoGaVPWX6DDEjX3yTK7J91gpwUQpE

@yanyishuai

Copy link
Copy Markdown
Author

External bounty ready for maintainer review — acceptance criteria documented in PR body. Happy to address feedback immediately.

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.

Introduce a config file

1 participant