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

update to electrum-cash/network v4 or electrum-cash/protocol #224

Open
mr-zwets opened this issue Oct 18, 2024 · 2 comments
Open

update to electrum-cash/network v4 or electrum-cash/protocol #224

mr-zwets opened this issue Oct 18, 2024 · 2 comments
Labels
javascript-sdk Relates to the CashScript JavaScript SDK
Milestone

Comments

@mr-zwets
Copy link
Member

Jonathan recommended updating to electrum-cash/network v4 or electrum-cash/protocol

you might want to update to electrum-cash/network v4 or electrum-cash/protocol - did a major update recently after about 8 months or so, which no longer needs manual polyfills for node stuff when run in a browser.

CashScript currently uses "electrum-cash": "^2.0.10"

Upgrading might solve issue #147 'Allow for config-free usage in browser (e.g. Next.js)'

@mr-zwets mr-zwets added the javascript-sdk Relates to the CashScript JavaScript SDK label Oct 18, 2024
@rkalis rkalis added this to the v0.10.2 milestone Oct 22, 2024
@rkalis
Copy link
Member

rkalis commented Oct 29, 2024

It looks like the ElectrumCluster was removed from the new packages. From checking the BCH Devs telegram group, this should get re-added into the @electrum-cash/application package in the future. If we wanted to migrate now, that would be a breaking change since we go from a cluster to a single client.

So either way, we postpone this to the next major release (v0.11). If by that time, clusters are working again, we'll use a cluster, otherwise we'll make the breaking change to a single client.

@rkalis rkalis modified the milestones: v0.10.2, v0.11 Oct 29, 2024
@mr-zwets
Copy link
Member Author

mr-zwets commented Nov 5, 2024

we found the documentation at https://electrum-cash.gitlab.io/protocol/index.html

the release notes (and breaking changes) are at https://gitlab.com/electrum-cash/network/-/tags/v4.0.0

and there's also a telegram at https://t.me/electrumcash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript-sdk Relates to the CashScript JavaScript SDK
Projects
None yet
Development

No branches or pull requests

2 participants