bsp-network
Version:
SDK for writing node.js applications to interact with bsp network. This package encapsulates the APIs to connect to a bsp network, submit transactions and perform queries against the ledger.
18 lines (17 loc) • 572 B
TypeScript
/**
* Copyright 2019 IBM All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/// <reference types="node" />
import { WalletStore } from './walletstore';
export declare class FileSystemWalletStore implements WalletStore {
static newInstance(directory: string): Promise<FileSystemWalletStore>;
private readonly storePath;
private constructor();
remove(label: string): Promise<void>;
get(label: string): Promise<Buffer | undefined>;
list(): Promise<string[]>;
put(label: string, data: Buffer): Promise<void>;
private toPath;
}