Giter Club home page Giter Club logo

pinny's Introduction

Pinny: NFT Metadata Pinner for IPFS

Pinny is a tool to store non-fungible tokens (NFTs) metadata on IPFS using the Pinata pinning service.

Usage

Run pinny help to see full usage instructions or pinny help <command> for help on a specific command:

pinny help ipfs-pin-metadata  

Usage: pinny ipfs-pin-metadata [options] <metadata-path>

generate NFT metadata on IPFS and pin

Options:
  -h, --help  display help for command

Setup

To install and run Pinny, you must have NPM installed. Windows is not currently supported.

  1. Clone this repository and move into the pinny directory:

    git clone https://github.com/the-n-project/pinny
    cd pinny
  2. Install the NPM dependencies:

    npm install
  3. Add the pinny command to your $PATH. This makes it easier to run Pinny from anywhere on your computer:

    npm link
    

Pin NFT metadata

Pinning NFT metadata on IPFS can be done by running the pinny ipfs-pin-metadata <path-to-nft-metadata>. The folder requires a metadata.json file containing a list of NFT metadata objects that should be stored on IPFS. Images can be used and should be stored in a separate images folder.

pinny ipfs-pin-metadata ./nft-metadata/football    

Image 1/3 ๐Ÿ“ bafkreicuiu7awj37bkptcqxk2u7qfzoicro5urwbjvepm2cces2vevm4cy succesfully pinned!
Image 2/3 ๐Ÿ“ bafkreiassd6njev323vo3iuqizt7shj3xkxziklgwccg2vczd225yrbxau succesfully pinned!
Image 3/3 ๐Ÿ“ bafkreig65s2l5iit4xz4u5da7tw6i4dbikgyz44qbaxqffkncdxhmns2oe succesfully pinned!
Metadata ๐Ÿ“ bafybeiehy4vbxgndy4gcpehzquk5jej4dcs2k3em2txioj47xmsinpj4i4 succesfully pinned!
๐ŸŒฟ Created new NFT data on IPFS: ipfs://bafybeiehy4vbxgndy4gcpehzquk5jej4dcs2k3em2txioj47xmsinpj4i4

Configuration

Configuration are stored in ./config/default.js.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.