Open sreuland opened 1 year ago
the scope of this may need to be expanded to provide a go sdk package that wraps the RPC entity model and also provides wrappers/abstraction for invoking the json-rpc endpoints on the rpc server given a url.
@2opremio pointed out that there is an OpenRPC specification for Stellar RPC published here:
It may be worth experimenting with generating clients and models from that specification using:
What problem does your feature solve?
typeseafe programmatic reference to the rpc interface
What would you like to see?
public package like
github.com/stellar/soroban-tools/rpc
for the structs/enums for rpc request/response models.What alternatives are there?
clients copy the internal package code in rpc to paste the same models into their project.