@truenetworkio/sdk
Version:
True Network SDK is the abstracted interface for interacting with True Network nodes.
22 lines (21 loc) • 428 B
TypeScript
import { Schema } from "../schemas";
import { NetworkConfig } from "./types";
export type Account = {
secret: string;
address: string;
};
export type Issuer = {
name: string;
hash: string;
};
export type Algorithm = {
id?: number;
path?: string;
schemas: Schema<any>[];
};
export type TrueConfig = {
network: NetworkConfig;
account: Account;
issuer: Issuer;
algorithm?: Algorithm;
};