@kyve/sdk
Version:
<p align="center"> <a href="https://kyve.network"> <img src="https://user-images.githubusercontent.com/62398724/137493477-63868209-a19b-4efa-9413-f06d41197d6d.png" style="border-radius: 50%" height="96"> </a> <h3 align="center"><code>@kyve/sdk</
18 lines (17 loc) • 463 B
text/typescript
import { KyveRegistryLCDClient } from "./query/v1beta1/query";
class KyveLCDClient {
public query: { v1beta1: KyveRegistryLCDClient };
constructor(restEndpoint: string) {
this.query = {
v1beta1: new KyveRegistryLCDClient(restEndpoint),
};
}
}
export type KyveLCDClientType = {
kyve: KyveLCDClient;
};
export function createKyveLCDClient(restEndpoint: string): KyveLCDClientType {
return {
kyve: new KyveLCDClient(restEndpoint),
};
}