pod sdk
This repository contains the Software Development Kit for the pod Network. It provides a simplified interface for interacting with the pod network.
Features
- Simple connection to pod nodes using WebSocket or HTTP
- Transaction creation and submission
- Receipt verification
- Event subscription and verification
- Lightclient support for verifying transactions and events
Repository Structure
- rust-sdk/: Custom alloy provider to support pod-specific features.
- solidity-sdk/: Solidity contracts to build a verifying pod client.
- examples: Example contracts and scripts to demonstrate the SDK usage.
- types: Common types.
Key Types
The SDK provides several key types:
PodProvider
: The main entry point for interacting with the pod networkPodProviderBuilder
: A builder pattern for creating configured providersHash
: A cryptographic hash representing transaction IDs or other hashed dataReceipt
: A proof of transaction inclusion in the blockchainCommittee
: The current set of validators for the networkVerifiableLog
: A log entry that can be cryptographically verified
Usage
use ;
use EthereumWallet;
use TxLegacy;
async
Installation
Add the following to your Cargo.toml
:
[]
= "0.1.0"
## ⚠️ Warning
**This is a pre-release version under active development. APIs are subject to change without notice and may contain bugs. Not recommended for production use.**