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

Feature Request: Ability to use multiple discrete instances of PW-Core simultaneously. #11

Open
jordanmack opened this issue Jun 14, 2021 · 0 comments

Comments

@jordanmack
Copy link

  • I'm submitting a ...
    [ ] bug report
    [X] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    It would be beneficial to be able to have multiple instances of PW-Core that are simultaneously initialized to different chains or with different configurations.

When building dapps that use both the mainnet and testnet, the developer is forced to continuously reinitialize PW-Core each time the focus is switched to a different network. There is no way to initialize once and store instances that can be reused as needed.

The internal use of singletons provides some simplification of structure, but this adds significant complexity to work around this limitation for any dapp that needs to work with multiple networks.

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

No branches or pull requests

1 participant