@tauri-apps/plugin-stronghold
이 콘텐츠는 아직 번역되지 않았습니다.
Classes
Section titled “Classes”Client
Section titled “Client”Constructors
Section titled “Constructors”new Client()
Section titled “new Client()”new Client(path, name): ClientParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
name | ClientPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L265
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
name | ClientPath | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L263 |
path | string | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L262 |
Methods
Section titled “Methods”getStore()
Section titled “getStore()”getStore(): StoreReturns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L280
getVault()
Section titled “getVault()”getVault(name): VaultGet a vault by name.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
name | VaultPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L276
Location
Section titled “Location”Constructors
Section titled “Constructors”new Location()
Section titled “new Location()”new Location(type, payload): LocationParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | string |
payload | Record<string, unknown> |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L86
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
payload | Record<string, unknown> | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L84 |
type | string | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L83 |
Methods
Section titled “Methods”counter()
Section titled “counter()”static counter(vault, counter): LocationParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
vault | VaultPath |
counter | number |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L98
generic()
Section titled “generic()”static generic(vault, record): LocationParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
vault | VaultPath |
record | RecordPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L91
Constructors
Section titled “Constructors”new Store()
Section titled “new Store()”new Store(path, client): StoreParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
client | ClientPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L289
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
client | ClientPath | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L287 |
path | string | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L286 |
Methods
Section titled “Methods”get(key): Promise<null | Uint8Array<ArrayBufferLike>>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
key | StoreKey |
Returns
Section titled “Returns”Promise<null | Uint8Array<ArrayBufferLike>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L294
insert()
Section titled “insert()”insert( key, value,lifetime?): Promise<void>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
key | StoreKey |
value | number[] |
lifetime? | Duration |
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L302
remove()
Section titled “remove()”remove(key): Promise<null | Uint8Array<ArrayBufferLike>>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
key | StoreKey |
Returns
Section titled “Returns”Promise<null | Uint8Array<ArrayBufferLike>>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L316
Stronghold
Section titled “Stronghold”A representation of an access to a stronghold.
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
path | string | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L388 |
Methods
Section titled “Methods”createClient()
Section titled “createClient()”createClient(client): Promise<Client>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
client | ClientPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L428
loadClient()
Section titled “loadClient()”loadClient(client): Promise<Client>Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
client | ClientPath |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L421
save()
Section titled “save()”save(): Promise<void>Persists the stronghold state to the snapshot.
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L439
unload()
Section titled “unload()”unload(): Promise<void>Remove this instance from the cache.
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L415
load()
Section titled “load()”static load(path, password): Promise<Stronghold>Load the snapshot if it exists (password must match), or start a fresh stronghold instance otherwise.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
path | string | - |
password | string |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L405
A key-value storage that allows create, update and delete operations. It does not allow reading the data, so one of the procedures must be used to manipulate the stored data, allowing secure storage of secrets.
Extends
Section titled “Extends”ProcedureExecutor
Constructors
Section titled “Constructors”new Vault()
Section titled “new Vault()”new Vault( path, client, name): VaultParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
client | ClientPath |
name | VaultPath |
Returns
Section titled “Returns”Overrides
Section titled “Overrides”ProcedureExecutor.constructor
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L340
Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
client | ClientPath | - | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L336 |
name | VaultPath | The vault name. | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L338 |
path | string | The vault path. | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L335 |
procedureArgs | Record<string, unknown> | - | ProcedureExecutor.procedureArgs | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L107 |
Methods
Section titled “Methods”deriveSLIP10()
Section titled “deriveSLIP10()”deriveSLIP10( chain, source, sourceLocation,outputLocation): Promise<Uint8Array<ArrayBufferLike>>Derive a SLIP10 private key using a seed or key.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
chain | number[] | The chain path. |
source | "Seed" | "Key" | The source type, either ‘Seed’ or ‘Key’. |
sourceLocation | Location | The source location, must be the outputLocation of a previous call to generateSLIP10Seed or deriveSLIP10. |
outputLocation | Location | Location of the record where the private key will be stored. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
Inherited from
Section titled “Inherited from”ProcedureExecutor.deriveSLIP10
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L145
generateBIP39()
Section titled “generateBIP39()”generateBIP39(outputLocation, passphrase?): Promise<Uint8Array<ArrayBufferLike>>Generate a BIP39 seed.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
outputLocation | Location | The location of the record where the BIP39 seed will be stored. |
passphrase? | string | The optional mnemonic passphrase. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
Inherited from
Section titled “Inherited from”ProcedureExecutor.generateBIP39
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L200
generateSLIP10Seed()
Section titled “generateSLIP10Seed()”generateSLIP10Seed(outputLocation, sizeBytes?): Promise<Uint8Array<ArrayBufferLike>>Generate a SLIP10 seed for the given location.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
outputLocation | Location | Location of the record where the seed will be stored. |
sizeBytes? | number | The size in bytes of the SLIP10 seed. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
Inherited from
Section titled “Inherited from”ProcedureExecutor.generateSLIP10Seed
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L120
getEd25519PublicKey()
Section titled “getEd25519PublicKey()”getEd25519PublicKey(privateKeyLocation): Promise<Uint8Array<ArrayBufferLike>>Gets the Ed25519 public key of a SLIP10 private key.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
privateKeyLocation | Location | The location of the private key. Must be the outputLocation of a previous call to deriveSLIP10. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
A promise resolving to the public key hex string.
2.0.0
Inherited from
Section titled “Inherited from”ProcedureExecutor.getEd25519PublicKey
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L223
insert()
Section titled “insert()”insert(recordPath, secret): Promise<void>Insert a record to this vault.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
recordPath | RecordPath |
secret | number[] |
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L358
recoverBIP39()
Section titled “recoverBIP39()”recoverBIP39( mnemonic, outputLocation,passphrase?): Promise<Uint8Array<ArrayBufferLike>>Store a BIP39 mnemonic.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
mnemonic | string | The mnemonic string. |
outputLocation | Location | The location of the record where the BIP39 mnemonic will be stored. |
passphrase? | string | The optional mnemonic passphrase. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
Inherited from
Section titled “Inherited from”ProcedureExecutor.recoverBIP39
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L175
remove()
Section titled “remove()”remove(location): Promise<void>Remove a record from the vault.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
location | Location | The record location. |
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L374
signEd25519()
Section titled “signEd25519()”signEd25519(privateKeyLocation, msg): Promise<Uint8Array<ArrayBufferLike>>Creates a Ed25519 signature from a private key.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
privateKeyLocation | Location | The location of the record where the private key is stored. Must be the outputLocation of a previous call to deriveSLIP10. |
msg | string | The message to sign. |
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
A promise resolving to the signature hex string.
2.0.0
Inherited from
Section titled “Inherited from”ProcedureExecutor.signEd25519
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L244
Interfaces
Section titled “Interfaces”AddressInfo
Section titled “AddressInfo”Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
peers | Map<string, PeerAddress> | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L43 |
relays | string[] | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L44 |
ClientAccess
Section titled “ClientAccess”Properties
Section titled “Properties”ConnectionLimits
Section titled “ConnectionLimits”Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
maxEstablishedIncoming? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L31 |
maxEstablishedOutgoing? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L32 |
maxEstablishedPerPeer? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L33 |
maxEstablishedTotal? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L34 |
maxPendingIncoming? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L29 |
maxPendingOutgoing? | number | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L30 |
Duration
Section titled “Duration”A duration definition.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
nanos | number | The fractional part of this Duration, in nanoseconds. Must be greater or equal to 0 and smaller than 1e+9 (the max number of nanoseoncds in a second) | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L79 |
secs | number | The number of whole seconds contained by this Duration. | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L77 |
NetworkConfig
Section titled “NetworkConfig”Properties
Section titled “Properties”PeerAddress
Section titled “PeerAddress”Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
known | string[] | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L38 |
use_relay_fallback | boolean | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L39 |
Permissions
Section titled “Permissions”Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
default? | ClientAccess | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L59 |
exceptions? | Map<VaultPath, ClientAccess> | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L60 |
Type Aliases
Section titled “Type Aliases”ClientPath
Section titled “ClientPath”type ClientPath: string | Iterable<number> | ArrayLike<number> | ArrayBuffer;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L7
RecordPath
Section titled “RecordPath”type RecordPath: string | Iterable<number> | ArrayLike<number> | ArrayBuffer;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L17
StoreKey
Section titled “StoreKey”type StoreKey: string | Iterable<number> | ArrayLike<number> | ArrayBuffer;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L22
VaultPath
Section titled “VaultPath”type VaultPath: string | Iterable<number> | ArrayLike<number> | ArrayBuffer;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/stronghold/guest-js/index.ts#L12
© 2026 Tauri Contributors. CC-BY / MIT