1.0.22 • Published 6 months ago
algorand-authentication-component-vue v1.0.22
Algorand authentication component vue
This component allows users to use ARC14 authentication with common algorand wallet providers or ARC76 email password account.
Installation
Install NPM package:
npm i algorand-authentication-component-vue --save
Import component and/or types
import { AlgorandAuthentication } from 'algorand-authentication-component-vue'
import type {IAlgorandAuthenticationStore,INotification} from 'algorand-authentication-component-vue'
Use in template
<Suspense>
<AlgorandAuthentication
@onStateChange="onStateChange"
@onNotification="onNotification"
ref="authComponent"
:wallets="['pera', 'exodus', 'defly', 'myalgo', 'mnemonic']"
>
<h1>Authenticated Content {{ authState.count }}</h1>
<div>
Account: {{ authState.arc76email }} {{ authState.wallet }} / {{ authState.account }}
</div>
<button :onclick="signTx">Sign</button>
<button :onclick="logout">Logout</button>
</AlgorandAuthentication>
</Suspense>
DEMO
Demo Project: https://www.github.com/scholtz/algorand-authentication-demo
1.0.22
6 months ago
1.0.21
6 months ago
1.0.20
7 months ago
1.0.19
7 months ago
1.0.18
7 months ago
1.0.17
7 months ago
1.0.16
7 months ago
1.0.15
7 months ago
1.0.14
7 months ago
1.0.13
7 months ago
1.0.12
7 months ago
1.0.11
7 months ago
1.0.10
7 months ago
1.0.9
7 months ago
1.0.8
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.5
7 months ago
1.0.4
7 months ago
1.0.3
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago