Skip to content

Instantly share code, notes, and snippets.

View TechsolutionAAA's full-sized avatar
:octocat:
welcome!

TechSolutionAAA TechsolutionAAA

:octocat:
welcome!
  • Blockchain Developer
  • 06:08 (UTC +02:00)
View GitHub Profile
@TechsolutionAAA
TechsolutionAAA / uploadetoipfs.js
Last active June 11, 2022 01:54
Upload something to IPFS using JS
const ipfsClient = require("ipfs-http-client");
const ipfs = ipfsClient.create({
host: "ipfs.infura.io",
port: 5001,
protocol: "https",
});
const item = {
// describe something
}