Skip to content

Giri-Spheron/Uploading-Metadata-with-Spheron-Storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spheron Storage Example

Overview

This repository provides a step-by-step guide on using the Spheron Storage SDK to upload and retrieve metadata on the decentralized web through IPFS. Metadata is essential for various use cases, including creating dynamic NFTs and storing data securely on a decentralized network.

Table of Contents

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (version 12 or higher)
  • npm (Node Package Manager)

You'll also need a Spheron authentication token. You can obtain this token by signing up on the Spheron website and generating an API key.

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/spheron-storage-example.git
  2. Navigate to the repository directory:

Copy code
cd spheron-storage-example
  1. Install the required dependencies:
Copy code
npm install
  1. Open the index.js file and replace the token variable with your Spheron authentication token.

Usage

To run the example code, execute the following command:

Copy code
node index.js

This command will upload a sample JSON file to IPFS using the Spheron Storage SDK, fetch it, and display the uploaded data in the console.

Medium Article

For a detailed guide and explanation of this example, please refer to the accompanying Medium article: Link to Your Medium Article

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Spheron for providing the Spheron Storage SDK. Feel free to explore the code and customize it for your own use cases. If you have any questions or feedback, please don't hesitate to open an issue or reach out.

Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published