stellar-sdk
Version:
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
38 lines (37 loc) • 1.18 kB
TypeScript
export * from './errors';
export { Config } from './config';
export { Utils } from './utils';
export * as StellarToml from './stellartoml';
export * as Federation from './federation';
export * as WebAuth from './webauth';
export * as Friendbot from './friendbot';
export * as Horizon from './horizon';
/**
* Tools for interacting with the Soroban RPC server, such as `Server`,
* `assembleTransaction`, and the `Api` types. You can import these from the
* `/rpc` entrypoint, if your version of Node and your TypeScript configuration
* allow it:
*
* ```ts
* import { Server } from '@stellar/stellar-sdk/rpc';
* ```
*/
export * as rpc from './rpc';
/**
* @deprecated Use `rpc` instead
*/
export * as SorobanRpc from './rpc';
/**
* Tools for interacting with smart contracts, such as `Client`, `Spec`, and
* `AssembledTransaction`. You can import these from the `/contract`
* entrypoint, if your version of Node and your TypeScript configuration allow
* it:
*
* ```ts
* import { Client } from '@stellar/stellar-sdk/contract';
* ```
*/
export * as contract from './contract';
export * from '@stellar/stellar-base';
declare const _default: any;
export default _default;