npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@verify-media/verify-client

v1.0.10

Published

a client sdk for interacting with the verify protocol

Downloads

6

Readme

verify client sdk

Release TypeScript version License: Apache 2.0

VERIFY aims to be the central repository for content license and provenance, equipping the world with a backend to verify the source and license of digital content.

VERIFY is a public library of signed digital assets with capabilities that allow for a single DRM solution for digital assets. Every asset stored in VERIFY is signed by a real world entity that attests to the provenance of the asset. The publisher declares the asset’s license for access and reference through a smart contract module.

verifymedia/client is a typesafe sdk for interacting with the verify protocol. It is written in typescript and is compiled to es6 and cjs bundles ensuring compatibility with nodejs.

Network

VERIFY Protocol is deployed on an Polygon CDK validium based appchain.

Network Name: VERIFY Testnet
RPC URL: https://rpc.verify-testnet.gelato.digital
Chain ID: 1833
Currency Symbol: MATIC
Block Explorer URL: https://verify-testnet.blockscout.com/
Settlement Layer: Amoy 

more details can be found here.

Content Licensing

Each node in the ContentGraph can have a license specified for access and for reference. These licenses are smart contracts and hence can be programmatically enforced as per publisher needs.

more details can be found here.

Quick Start

  • Since VERIFY client sdk supports javascript, start by installing nodejs version 18 or higher.

  • Confirm the node version node --version in your terminal.

    sdk requires:

    "node": ">=18.15.0",
    "npm": "9.5.0"
  • Set up a test project

    mkdir test-verifymedia-client
    cd test-verifymedia-client
    npm init -y
    touch index.mjs
    npm i @verify-media/verify-client
  • Open test-verifymedia-client/index.mjs in your favorite IDE and add the following snippet

    import { hashData } from '@verify-media/verify-client'
    console.log(hashData('hello world'))
  • Head over to the terminal (within vscode or your favorite terminal which has the nodejs env setup) and try executing

    node index.mjs

    you should see some output like

    0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad

    the sdk is up and running now.

Getting started

Please check the getting started guide to start using the sdk.

Examples

The repository hosts various examples of how to use the sdk.

Tech Docs

For the most up-to-date API documentation, check out the verify-client sdk docs

License

Apache License Version 2.0