-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Haqq RPC Clients | ||
|
||
This repo contains RPC clients — generated with [buf.build](https://buf.build), patched rough edges and improved with some useful helpers. | ||
|
||
## Rust Client | ||
|
||
Rust client is fully functional, supports [gRPC](https://github.com/haqq-network/haqq-rpc-clients/blob/master/tests/grpc.rs) and [Rest](https://github.com/haqq-network/haqq-rpc-clients/blob/master/tests/rest.rs) enpoints. | ||
|
||
Not published in crates yet but will be any time soon. In order to use, add to your project's `Cargo.toml`: | ||
|
||
* `haqq-proto = {git = "https://github.com/haqq-network/haqq-rpc-clients"}` — for gRPC endpoints | ||
* `haqq-rest = {git = "https://github.com/haqq-network/haqq-rpc-clients"}` — for REST endpoints | ||
|
||
## TypeScript Client | ||
|
||
Currently only structs are generated in [web](web) folder. | ||
|
||
TODO: | ||
|
||
[ ] package.json and other packaging-related files | ||
[ ] tests with usage examples |