Skip to Content
Hydra@exodus/application

@exodus/application

Version: 0.0.0

Functions

Application

interface

Properties

changeLockTimer
any
changePassphrase
any
create
any
delete
any
emit
any
fire
any
getMnemonic
any
hook
any
import
any
isBackedUp
any
isRestoring
any
load
any
lock
any
restart
any
restartAutoLockTimer
any
setBackedUp
any
start
any
stop
any
unload
any
unlock
any

Methods

addListener
addListener(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
off
off(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
on
on(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
once
once(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
removeListener
removeListener(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
setMaxListeners
setMaxListeners(n: number): this

Parameters:

n: number

Returns:

this

ApplicationApi

interface

Properties

application
any

application

variable

Type

const application: ({ cachePassphrase, passphraseCacheMaxTtl }: ApplicationConfig) => { ... }

Signature

__type({ cachePassphrase, passphraseCacheMaxTtl }?: ApplicationConfig): any

Parameters:

{ cachePassphrase, passphraseCacheMaxTtl } (optional): ApplicationConfig

Returns:

any

Properties

definitions
any | any | any | any | any | any | any | any | any | any | any | any[]
id
string

LifecycleHook

variable

Type

Readonly

Application

interface

Methods

addListener
addListener(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
changeLockTimer
changeLockTimer(__namedParameters: any): Promise

Parameters:

__namedParameters: any

Returns:

Promise
changePassphrase
changePassphrase(opts: WalletChangePassphraseParams): Promise

Returns:

Promise
create
create(opts?: CreateWalletParams): Promise

Parameters:

opts (optional): CreateWalletParams

Returns:

Promise
delete
delete(opts: DeleteApplicationParams): Promise

Parameters:

Returns:

Promise
emit
emit(name: string, args: any): boolean

Parameters:

name: string
args: any

Returns:

boolean
fire
fire(hookName: ValueOf, params?: unknown, __namedParameters: any): Promise

Parameters:

hookName: ValueOf
params (optional): unknown
__namedParameters: any

Returns:

Promise
getMnemonic
getMnemonic(opts: WalletGetMnemonicParams): Promise

Parameters:

Returns:

Promise
hook
hook(hookName: LifecycleHookName, listener: LifecycleHookListener): void

Parameters:

Returns:

void
import
import(opts: ImportApplicationParams): Promise

Parameters:

Returns:

Promise
isBackedUp
isBackedUp(): Promise

Returns:

Promise
isRestoring
isRestoring(): Promise

Returns:

Promise
load
load(): Promise

Returns:

Promise
lock
lock(): Promise

Returns:

Promise
off
off(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
on
on(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
once
once(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
removeListener
removeListener(event: string | symbol, listener: Listener): this

Parameters:

event: string | symbol
listener: Listener

Returns:

this
restart
restart(): Promise

Returns:

Promise
restartAutoLockTimer
restartAutoLockTimer(): Promise

Returns:

Promise
setBackedUp
setBackedUp(): Promise

Returns:

Promise
setMaxListeners
setMaxListeners(n: number): this

Parameters:

n: number

Returns:

this
start
start(__namedParameters: StartApplicationParams): Promise

Parameters:

__namedParameters: StartApplicationParams

Returns:

Promise
stop
stop(): Promise

Returns:

Promise
unload
unload(): Promise

Returns:

Promise
unlock
unlock(opts?: UnlockWalletParams): Promise

Parameters:

opts (optional): UnlockWalletParams

Returns:

Promise

ApplicationApi

interface

Properties

application
any

LifecycleHook

variable

Type

Readonly

application

function

Signature

application(__namedParameters: ApplicationConfig): any

Parameters:

__namedParameters: ApplicationConfig

Returns:

any

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help