Client

JavaScript

https://github.com/sunriselayer/sunrise-client-jsarrow-up-right

Copy

npm i @sunriselayer/client

Rust

Currently there is no support for client library, but you can easily generate the protobuf type definition files.

Installing Buf CLIarrow-up-right is required.

You need to create two YAML files as follows.

  • [project]

    • src

      • main.rs

    • buf.gen.yaml

    • buf.yaml

buf.yamlCopy

version: v2

deps:
  - buf.build/cosmos/cosmos-sdk
  - buf.build/cosmos/cosmos-proto
  - buf.build/cosmos/gogo-proto
  - buf.build/protocolbuffers/wellknowntypes

buf.gen.yamlCopy

In the [project] directory, run the following commands.

Copy

Last updated