UNPKG

@okcontract/sdk

Version:

One-stop-shop permissionless SDK for building any blockchain frontend

15 lines (14 loc) 734 B
export declare const FRONT_URL = "f"; export declare const WALLET_PUBKEY = "p"; export declare const WIDGET_URL = "u"; export declare const WIDGET_APP = "widget"; export declare const OKCONTRACT_APP = "apifi"; export declare const INTERACT_APP = "interact"; export declare const DISCORD_APP = "discord"; export declare const TEST_APP = "test"; export type AppID = typeof WIDGET_APP | typeof OKCONTRACT_APP | typeof TEST_APP | typeof INTERACT_APP | typeof DISCORD_APP; export declare const UNLOGGED: "unlogged"; export declare const LOGGING_IN: "loading"; export declare const VERIFYING: "verifying"; export declare const LOGGED: "logged"; export type LogState = typeof UNLOGGED | typeof LOGGING_IN | typeof VERIFYING | typeof LOGGED;