0.1.0 • Published 2 years ago

dapp-store-verify v0.1.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

DApp Store Verify

Utility for DApp developers to verify consumer permissions.

The package is still under active development. Breaking changes may be introduced frequently.

Installation

With NPM:

npm install dapp-store-verify

or with Yarn:

yarn add dapp-store-verify

Usage

/**
 * @param appTokenId - The token id of the app
 * @returns Whether the verified consumer has bought the app
 */
async function isAuthenticated(appTokenId: number): Promise<boolean>
import isAuthenticated from 'dapp-store-verify';
// or import {isAuthenticated} from 'dapp-store-verify';

isAuthenticated(263747)
    .then(result => console.log(result));
0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago