GSRPC Wrapper: This allows you to use all the Polkadot JS functions and types to interact with the chain. For more information and documentation, please refer to the GSRPC Documentation.
Opinionated SDK: A simpler, more streamlined way to interact with the chain. It offers less customization but provides an easier interface. This SDK will be continuously improved to include everything needed for seamless chain interaction.
Folder Structure
src/config: Contains the loader to read the config file when connecting to chain
src/extrinsic: Wrapper around GSRPC so that extrinsic can be signed with avail specific AppID extension
src/header`: Includes the custom header for avail with added extension field and its custom enum decoding
src/rpc: Wraper around GSRPC block specific rpc calls inorder to accustom the custom header field for avail. Also contains the structures for kate related calls.
src/sdk: Contains all interfaces related to the SDK, representing the opinionated part of Avail-go-sdk.