svelte-tezos
v1.0.2-1
Published
`svelte-tezos` is a svelte store with multiple helper functions to ease the connection between svelte and the tezos `@taquito/taquito` library.
Downloads
2
Readme
svelte-tezos
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 beacon
accessible 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 RPC
examples
coming soon
usage
coming soon