bitshares / bitshares/bitshares-ui
Unable to switch to testnet faucet
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
When connected to a testnet API node, the faucet is still the mainnet one, thus unable to create accounts on testnet.
**To Reproduce**
Go to https://staging.bitshares.org/ , then follow the steps in the screenshots.
**Expected behavior**
If connected to a testnet API node, the faucet for testnet should be used.
**Screenshots**




In web dev console:

Code:

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Reproduce the issue at https://staging.bitshares.org/ while connected to a testnet API node, using the screenshots and browser console output as the starting evidence. Trace the faucet selection and network-switching entry points in the web app; done means the testnet faucet is selected for testnet connections and account creation works there without breaking mainnet behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100