Ika Client
Creating a Ika Client
Ika Client is the main entry point for interacting with the Ika protocol. It provides an easy way to query for the Ika protocol state and objects.
Info
We recommend you to have a single instance of Ika Client for your application. This enables caching of the Ika protocol state and objects.
Create a Ika Client
Use gRPC against public fullnodes
Public Sui fullnodes no longer serve JSON-RPC, so a SuiJsonRpcClient pointed at
fullnode.mainnet.sui.io / fullnode.testnet.sui.io fails with Method not found. Ika Client
accepts any ClientWithCoreApi implementation — SuiGrpcClient, a GraphQL client, or
SuiJsonRpcClient against an endpoint that still serves JSON-RPC (a localnet or a private
fullnode).