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

Support running light client on iOS and Android #175

Open
Keith-CY opened this issue Jan 5, 2024 · 3 comments
Open

Support running light client on iOS and Android #175

Keith-CY opened this issue Jan 5, 2024 · 3 comments

Comments

@Keith-CY
Copy link

Keith-CY commented Jan 5, 2024

Here is a question about whether there is a plan for supporting the light client on iOS and Android.

By doing so, the light client can be distributed to more devices along with a mobile app/wallet to level up the network's decentralization.

I'm personally interested in this topic because our team currently manages a desktop wallet but it's actually a bit cumbersome for daily usage, particularly when integrating with a DApp.

Integrating the light client into a mobile app holds the potential to expand our user base, offering improved usability and opening avenues for product development and market profitability.

@phroi
Copy link

phroi commented Jan 5, 2024

On the same line of thoughts, I was wondering, how difficult would it be to compile Light Client to WASM and run it directly in a browser environment? 🤔

For example see: wasm-service

@quake
Copy link
Member

quake commented Jan 10, 2024

While it is indeed possible, the process involves substantial cross-compilation adjustments and extensive testing, which unfortunately it's not high priority at the moment due to time constraints. If you have any problems trying to cross-compiling on your own, you can create issue here, and we'll try to help out.

@quake
Copy link
Member

quake commented Jan 10, 2024

On the same line of thoughts, I was wondering, how difficult would it be to compile Light Client to WASM and run it directly in a browser environment? 🤔

For example see: wasm-service

Running in a browser via wasm is a bit more complicated, and in addition to light client's local storage limitations, the ckb full node needs to support something like a websocket p2p also.

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

3 participants