NFT.STORAGE
Dive into the specifics of connecting and using NFT.STORAGE with web3stash
Initialization
To use NFT.STORAGE you have to pass "NFT.STORAGE" as the service name. No other name will work!
Configuration
To use nftstorage in web3stash, you need one thing:
token - API token generated from nftstorage dashboard
Note: Use these names only while passing keys in object i.e, {token:"",}
Optional Config Options
You can pass config options that is available with nftstorage service- You can check nftstorage docs to check what config options are there which you can pass while initialising nftstorage
Methods Available
The following methods are available for this service, More will be added soon
Uploading JSON data
Uploading Image
Uploading Video
Uploading File
Output
All the functions return id (cid) and metadata (data returned by the service on upload)
Last updated