Pinata
Dive into the specifics of connecting and using pinata with web3stash
Initialization
To use Pinata you have to pass "PINATA" as the service name. No other name will work!
Configuration
To use pinata in web3stash, you need two things:
apiKey
apiSecret
Note: Use these name only while passing keys in object i.e, {apiKey:"", apiSecret:""}
Optional Config Options
There are no optional config options for this service
Methods Available
The following methods are available for this service, More will be added soon
Uploading JSON data
Uploading Image
Uploading Video
Uploading File
Uploading Images from Stream
Uploading Video from Stream
Uploading File from Stream
Output
All the functions return id (cid) and metadata (data returned by the service on upload)
Last updated