Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.faremeter.xyz/llms.txt

Use this file to discover all available pages before exploring further.

wallet-ows/src

Interfaces

OWSEvmWallet

Defined in: packages/wallet-ows/src/types.ts:26 OWS wallet interface for EVM chains. XXX: OWS signing calls are synchronous/blocking under the hood.

Properties

account
account: object
Defined in: packages/wallet-ows/src/types.ts:29
signTypedData()
signTypedData: (params) => Promise<`0x${string}`>
Parameters
params
domain
Record<string, unknown>
message
Record<string, unknown>
primaryType
string
types
Record<string, unknown>
Returns
Promise<`0x${string}`>
address
address: `0x${string}`
Defined in: packages/wallet-ows/src/types.ts:28
chain
chain: ChainInfo
Defined in: packages/wallet-ows/src/types.ts:27

OWSSolanaWallet

Defined in: packages/wallet-ows/src/types.ts:10 OWS wallet interface for Solana. XXX: OWS signing calls are synchronous/blocking under the hood.

Properties

network
network: string
Defined in: packages/wallet-ows/src/types.ts:11
partiallySignTransaction()
partiallySignTransaction: (tx) => Promise<VersionedTransaction>
Defined in: packages/wallet-ows/src/types.ts:13
Parameters
tx
VersionedTransaction
Returns
Promise<VersionedTransaction>
publicKey
publicKey: PublicKey
Defined in: packages/wallet-ows/src/types.ts:12
updateTransaction()
updateTransaction: (tx) => Promise<VersionedTransaction>
Defined in: packages/wallet-ows/src/types.ts:16
Parameters
tx
VersionedTransaction
Returns
Promise<VersionedTransaction>

Type Aliases

OWSWalletOpts

OWSWalletOpts = object
Defined in: packages/wallet-ows/src/types.ts:39

Properties

passphrase
passphrase: string
Defined in: packages/wallet-ows/src/types.ts:41
vaultPath?
optional vaultPath: string
Defined in: packages/wallet-ows/src/types.ts:42
walletNameOrId
walletNameOrId: string
Defined in: packages/wallet-ows/src/types.ts:40

Functions

createOWSEvmWallet()

createOWSEvmWallet(chain, opts, getWallet): OWSEvmWallet
Defined in: packages/wallet-ows/src/evm.ts:25 Creates an OWS-backed EVM wallet. Uses the Open Wallet Standard vault for EIP-712 typed data signing. The passphrase is closed over and used for each signing operation. XXX - OWS signing calls are synchronous and block the event loop. Consider wrapping in worker_threads if this becomes a bottleneck.

Parameters

chain
ChainInfo EVM chain configuration.
opts
OWSWalletOpts OWS wallet options (wallet name/ID, passphrase, vault path).
getWallet
(nameOrId, vaultPathOpt?) => WalletInfo Optional wallet lookup function for testability.

Returns

OWSEvmWallet An EVM wallet that delegates signing to OWS.

createOWSSolanaWallet()

createOWSSolanaWallet(network, opts, getWallet): OWSSolanaWallet
Defined in: packages/wallet-ows/src/solana.ts:24 Creates an OWS-backed Solana wallet. Uses the Open Wallet Standard vault for transaction signing. The passphrase is closed over and used for each signing operation. XXX - OWS signing calls are synchronous and block the event loop. Consider wrapping in worker_threads if this becomes a bottleneck.

Parameters

network
string Solana network identifier (e.g., “mainnet-beta”, “devnet”).
opts
OWSWalletOpts OWS wallet options (wallet name/ID, passphrase, vault path).
getWallet
(nameOrId, vaultPathOpt?) => WalletInfo Optional wallet lookup function for testability.

Returns

OWSSolanaWallet A Solana wallet that delegates signing to OWS.