diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 16:29:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 16:29:28 +0200 |
commit | 1904a913b84e01e902173e782ab45e0e3b4ccf8d (patch) | |
tree | 016cd489ec4b3c6b905a9d0d837bcafe8daeb8a6 /src/external/stellar-freighter-api/@shared/constants/stellar.d.ts | |
parent | 34b89f42c737955e510ba058a126b33cba6d2bb6 (diff) | |
download | arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.gz arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.bz2 arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.zip |
Use only local libraries
Diffstat (limited to 'src/external/stellar-freighter-api/@shared/constants/stellar.d.ts')
-rw-r--r-- | src/external/stellar-freighter-api/@shared/constants/stellar.d.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/external/stellar-freighter-api/@shared/constants/stellar.d.ts b/src/external/stellar-freighter-api/@shared/constants/stellar.d.ts new file mode 100644 index 0000000..7f54032 --- /dev/null +++ b/src/external/stellar-freighter-api/@shared/constants/stellar.d.ts @@ -0,0 +1,34 @@ +export declare enum NETWORK_NAMES { + TESTNET = "Test Net", + PUBNET = "Main Net", + FUTURENET = "Future Net" +} +export declare enum NETWORKS { + PUBLIC = "PUBLIC", + TESTNET = "TESTNET", + FUTURENET = "FUTURENET" +} +export declare enum NETWORK_URLS { + PUBLIC = "https://horizon.stellar.org", + TESTNET = "https://horizon-testnet.stellar.org", + FUTURENET = "https://horizon-futurenet.stellar.org" +} +export declare enum FRIENDBOT_URLS { + TESTNET = "https://friendbot.stellar.org", + FUTURENET = "https://friendbot-futurenet.stellar.org" +} +export declare const SOROBAN_RPC_URLS: { + [key in NETWORKS]?: string; +}; +export interface NetworkDetails { + network: string; + networkName: string; + networkUrl: string; + networkPassphrase: string; + friendbotUrl?: string; + sorobanRpcUrl?: string; +} +export declare const MAINNET_NETWORK_DETAILS: NetworkDetails; +export declare const TESTNET_NETWORK_DETAILS: NetworkDetails; +export declare const FUTURENET_NETWORK_DETAILS: NetworkDetails; +export declare const DEFAULT_NETWORKS: Array<NetworkDetails>; |