@saw-protocol/observer-dashboard
v1.0.8
Published
A React dashboard component visualizing SAW Protocol execution receipts natively.
Downloads
861
Readme
@saw-protocol/observer-dashboard
A React-native local dashboard hook and component directly bridging you into the immutable SAWP ExecutionReceipt flow securely.
Installation
npm install @saw-protocol/observer-dashboard react react-domQuick Start
Initialize the physically detached React Observer securely into your Wallet ecosystem natively:
import React from "react";
import { SAWP } from "@saw-protocol/sdk";
import { ReactObserver, SawDashboard } from "@saw-protocol/observer-dashboard";
// 1. Initialize Observer bridging the SDK explicitly
const view = new ReactObserver();
// 2. Map Observer strictly to the physical Wallet orchestration loops synchronously
const wallet = await SAWP.Wallet.create({
// ... options
observer: view,
});
await wallet.run();
// 3. Expose execution logs to any frontend cleanly
export default function App() {
return <SawDashboard observer={view} />;
}The Dashboard exposes all cryptographic logs structurally executed over the Comms network seamlessly in real-time.
