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

@nevermined-io/ipnft-cli

v0.6.2

Published

### Installation

Downloads

5

Readme

IPNFT CLI

Installation

npm install -g @nevermined-io/ipnft-cli

or

yarn global add @nevermined-io/ipnft-cli

Usage

Setup Accounts:

  • Option 1: Use a mnemonic
export MNEMONIC="<your 12 words seed phrase>"
  • Option 2: Use keyfiles
export CREATOR_KEYFILE="<path to keyfile>"
export CREATOR_PASSWORD="<keyfile password>"

export BUYER_KEYFILE="<path to keyfile>"
export BUYER_PASSWORD="<keyfile password>"

export MINTER_KEYFILE="<path to keyfile>"
export MINTER_PASSWORD="<keyfile password>"

export INFURA_TOKEN="<your infura token>"

to switch the NFT token address (optional):
export NFT_TOKEN_ADDRESS="<your erc721 compatible token address>"

to switch the ERC20 token address (optional):
export ERC20_TOKEN_ADDRESS="<your erc20 compatible token address>"

S3 configuration:

export S3ENDPOINT="<S3 base url>"
export S3ACCESSKEYID=<your access key id>
export S3SECRETACCESSKEY=<your access key>

Etherscan API

export ETHERSCANAPIKEY=<your apikey>
$ ipnft --help

usage: ipnft <command>

Commands:
  ipnft accounts                                                      Accounts functions
  ipnft accounts list                                                 List all accounts
  ipnft accounts fund account                                         Funds an account on a test net
  ipnft agreements                                                    Agreements functions
  ipnft agreements list did                                           Lists all agreements for given DID
  ipnft agreements show agreementId                                   Shows details about an agreement
  ipnft nfts                                                          NFTs functions
  ipnft nfts show did                                                 Retrieves information about an NFT
  ipnft nfts create [creator] [metadata] [--file data]                Creates an NFT
  ipnft nfts mint did [minter] [uri]                                  Mints an NFT
  ipnft nfts order did [buyer]                                        Orders an NFT by paying for it to the escrow
  ipnft nfts transfer agreementId [seller]                            Transfers the NFT to the buyer and the funds from the escrow to the seller
  ipnft nfts update did [file]                                        Uploads the data of an NFT to S3
  ipnft nfts download did [consumer] [destination]                    Downloads the data of an NFT
  ipnft nfts search [search]                                          Searches for NFTs

Options:
      --help            Show help  [boolean]
      --version         Show version number  [boolean]
  -v, --verbose         Run with verbose logging  [boolean]
  -m, --gas-multiplier  Gas multiplier for transactions  [number]
  -g, --gas             Gas limit for transactions  [number]
  -n, --network         the network to use  [string] [default: "mainnet"]