Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add default networks #24

Merged
merged 2 commits into from
Jun 26, 2024
Merged

feat: add default networks #24

merged 2 commits into from
Jun 26, 2024

Conversation

brusherru
Copy link
Member

@brusherru brusherru commented Jun 25, 2024

Added two default networks in the list:

  • MainNet
  • TestNet 13

This networks won't be stored in the localStorage, so they might be replaced easily in the future (TestNet).
And it is still possible to add custom networks and switch between them.

The only possible bad edge case — if we remove testnet / add one more network — it may switch to this network automatically (because selected index is stored in the localstorage, while default networks are indexed all together).

But anyway, I believe it will make easier to check out the wallet by testers ;)

P.S.
It is based on top of PR #23, so it includes all previous fixes.

@brusherru brusherru self-assigned this Jun 25, 2024
@brusherru brusherru changed the base branch from fixes to main June 25, 2024 15:32
Copy link

You can preview the changes at : https://3c728b0e.smapp-lite-prod.pages.dev

@brusherru brusherru changed the base branch from main to fixes June 25, 2024 15:38
Base automatically changed from fixes to main June 26, 2024 10:07
@brusherru brusherru force-pushed the add-default-networks branch from e455c1d to e9d8417 Compare June 26, 2024 10:07

This comment was marked as outdated.

Copy link

You can preview the changes at : https://fdeae6bf.smapp-lite-prod.pages.dev

@brusherru brusherru merged commit fc2bbb5 into main Jun 26, 2024
1 check passed
@brusherru brusherru deleted the add-default-networks branch June 26, 2024 15:58
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.

2 participants