Socket
Book a DemoInstallSign in
Socket

algorand-authentication-component-vue

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algorand-authentication-component-vue

This component allows users to use ARC14 authentication with common algorand wallet providers or ARC76 email password account.

1.0.18
npmnpm
Version published
Maintainers
1
Created
Source

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/

FAQs

Package last updated on 26 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.