svelte-tezos is a svelte store with multiple helper functions to ease the connection between svelte and the tezos @taquito/taquito library.
available functions:
createStore({ rpcUrl, networkType, dappName}) - initialized TezosToolkit & BeaconWallet and the svelte storeconnect() - requests and waits for a connection through beacondisconnect() - clears any active account through beaconaccessible via store:
userAddress - address of the currently active accountconnected - boolean indicating if wallet is paired or notblockHead - current block height, hash, and timestampnetwork - current network (mainnet, ghostnet, etc)rpc - currently connected RPCcoming soon
coming soon