Skip to content

etodanik/openrpc-generator

Repository files navigation

OpenRPC Client Generator

Generates JSON-RPC 2.0 clients from OpenRPC schema files.

Current State

The repository is currently a proof of concept. It is not yet production ready but any issue or feature suggestion is welcome.

It currently produces a client that fully compiles under Unreal Engine 5.3.2 for petstore-openrpc.json.

Features

  • HTTP Transport
  • Works for Petstore
  • Test with all built in OpenRPC Examples
  • Generalize HTTP Transport
  • Allow custom URLs
  • Webstorm Transport

Implemented Solana RPC methods

The following are the most popular methods sorted by popularity.

  • getAccountInfo
  • getMultipleAccounts
  • getLatestBlockhash
  • getTransaction
  • simulateTransaction
  • getTokenAccountBalance
  • sendTransaction
  • getTokenAccountsByOwner
  • getTokenLargeAccounts
  • getBlock
  • getSignatureStatuses
  • getHealth
  • getProgramAccounts
  • getRecentPrioritizationFees
  • getBalance
  • getBlcokheight

In addition the following are implemented:

  • getMinimumBalanceForRentExemption

About

Generate JSON-RPC 2.0 clients from an OpenRPC schema file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published