UNPKG

@ragsters/raggie-wallet-connector

Version:

This is a React component built by the CryptoRaggies team to enable any React website to easily connect to popular Cardano wallets. The user's choice of wallet is persisted to local storage and the wallet connector will automatically reconnect the previou

16 lines (14 loc) 1.29 kB
import { Cip30Api, User, utxoState } from '../types'; declare const defaultUser: User; declare const currentWallet: import('@preact/signals-core').Signal<string | undefined>; declare const currentHandles: import('@preact/signals-core').Signal<string[] | undefined>; declare const currentHandle: import('@preact/signals-core').Signal<string | undefined>; declare const currentLovelace: import('@preact/signals-core').Signal<string | undefined>; declare const currentLockedLovelace: import('@preact/signals-core').Signal<string | undefined>; declare const currentWalletNameSpace: import('@preact/signals-core').Signal<string | undefined>; declare const connectedWallet: import('@preact/signals-core').Signal<Cip30Api | undefined>; declare const connectedWalletUtxos: import('@preact/signals-core').Signal<string[] | undefined>; declare const usedUtxosCache: import('@preact/signals-core').Signal<utxoState[]>; declare const newUtxosCache: import('@preact/signals-core').Signal<utxoState[]>; declare const currentUser: import('@preact/signals-core').ReadonlySignal<User>; export { currentUser, defaultUser, currentWalletNameSpace, currentHandle, currentHandles, currentLovelace, currentLockedLovelace, currentWallet, connectedWallet, connectedWalletUtxos, usedUtxosCache, newUtxosCache, };