1.1.3 • Published 10 months ago

algorand-authentication-component-vue v1.1.3

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

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

Live demo: https://algorand-authentication-demo.vercel.app/

1.1.1

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.0.23

11 months ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago