Comments (3)
Hi KaffinPx,
We are well aware of this issue. To address this, at the design stage, we have made sure that the internal kaspa RPC infrastructure is RPC protocol/transport agnostic. The RPC layer within kaspa is implemented using Rust Traits allowing us to "plug-in" any RPC implementation/library. For the purpose of backward compatibility, gRPC is the first implementation being done. JSON-RPC is also available via Serde although, at the moment I don't think the transport endpoint is implemented.
Anyone will be able to plug in any RPC library if needed. On my end, for the purposes of PWA (kaspanet web wallet) and KDX. I have been working on a binary WebSocket-based RPC that will interface directly with the WASM layer, then expose WASM functions to JS, effectively allowing anyone using JS to specify a WebSocket endpoint and then use JS functions without worrying about RPC. Alternatively if using Rust, it will be possible to use Rust functions and if anyone wants to use actual protocols, gRPC and JSON-RPC will be available "out of the box".
from rusty-kaspa.
Anyway if we had a gRPC like Kaspawalletd would be much better
from rusty-kaspa.
Due to backward compatibility requirements with Golang implementation, gRPC won't be changed to remove streams in the near future. We are using wRPC for web connectivity. Closing this issue for now. Ping us on Discord if there are any questions.
from rusty-kaspa.
Related Issues (20)
- Investigate and document hardware setups that optimize disk write and lifespan HOT 3
- subscribeUtxosChanged Method Invalid Types Issue: Throws RuntimeError with Account Object HOT 1
- Rare chance of initial pruning proof building issues
- Panic logs should appear both in the standard log and the error log files HOT 2
- KIP9: addition of mass field in transaction
- Handling of Payload and/or OP_RETURN HOT 1
- Submitting TXs with incomplete keys must produce easily understandable error
- Locally built proof failed validation: the proof doesn't have sufficient blue work in order to replace the current DAG HOT 1
- Building WASM framework failed HOT 2
- Running ./build-web did not generate the 'web' or 'react-native' libraries HOT 2
- Execute node demo.js and report an error HOT 5
- May I ask if partial signatures are supported? I donβt see a reference to sign_with_multiple_v2 in the wasm package. HOT 1
- How to construct a partially signed transaction HOT 4
- Create a panic report with details HOT 1
- Address github action warnings HOT 3
- rusty-kaspa v0.14.1 does not compile on Debian 11 - x86_64 - kernel: 5.10.0-28-amd64 - stable-x86_64-unknown-linux-gnu updated - rustc 1.78.0 HOT 7
- v0.14.1 DNS lookup failed when run on testnet with command kaspad --testnet --utxoindex HOT 4
- [ERROR] thread 'main' panicked at database/src/db/conn_builder.rs:117:114: HOT 7
- Weird issue starting integrated node HOT 9
- I am receiving an error trying to start the integrated node HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusty-kaspa.