Skip to content
IPFS Pinning Service
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.editorconfig
.eslintignore
.eslintrc
.gitignore
.npmignore
README.md
package.json

README.md

3PS


Pin   |   Ideea.io   |   Full Documentation   |   NPM


Pin JS SDK

Pin is an IPFS Pinning Service. Select a object hash to Pin and the data will be pinned and spread to our 4 CDN nodes across North America, making the object easily accessible through the public gateways. Currently in beta.

Installation

$ npm install ideea-pin-js

Getting Started

const Pin = require('pin-js')

var pin = new Pin('YOUR_API_KEY')

pin.create({
	group_id: '00ffedbb-ff29-5138-9b5d-cd1f6ae3bc6b',
	hash: 'Qmaisz6NMhDB51cCvNWa1GMS7LU1pAxdF4Ld6Ft9kZEP2a',
    expires_in: 3600
}).then(function (pin) {
	console.log(pin)
})
You can’t perform that action at this time.