@j0nnyboi/amman
Version:
A modern mandatory toolbelt to help test solana SDK libraries and apps on a locally running validator.
30 lines (29 loc) • 970 B
TypeScript
import { AmmanAccountRendererMap, AmmanVersion } from '@j0nnyboi/amman-client';
import { AmmanAccountProvider } from '../types';
export declare const AMMAN_VERSION: AmmanVersion;
/**
* The Default Amman Relay Configuration
*
* @category config
*/
export declare const DEFAULT_RELAY_CONFIG: RelayConfig;
/**
* Configures the Amman Relay
*
* @property enabled if true an amman-explorer relay is launched alongside the
* validator
* @property killRunningRelay if true an existing running relays are killed at
* start
* @property accountProviders a map of account providers which the relay uses
* to deserialize account data
* @property accountRenderers a map of account providers which the relay uses
* to custom render account data
*
* @category config
*/
export declare type RelayConfig = {
enabled: boolean;
killRunningRelay: boolean;
accountProviders: Record<string, AmmanAccountProvider>;
accountRenderers: AmmanAccountRendererMap;
};