UNPKG

@xcapit/shelter-sdk

Version:

SDK for Shelter smart contracts on Stellar

16 lines (15 loc) 562 B
import { Shelter } from "../shelter/shelter"; import { Client, Keypair } from "shelter-sdk"; import type { FakeClient } from "../fake-client/fake-client"; import type { Rpc } from "../rpc/rpc"; export declare class Foundry { private readonly _steward; private readonly _rpc; private readonly _wasm; private readonly _client; constructor(_steward: Keypair, _rpc: Rpc, _wasm: Buffer | string, _client?: typeof Client | typeof FakeClient); newShelter(): Promise<Shelter>; private _deploy; private _address; private _addressOf; }