Store data on Niftyz Cloud
When you'll create an NFT you'll probably need a storage solution. Niftyz provides a secure storage through AWS S3 through presigned URLs. If you don't know how to use it, please refer to official docs here. You can use it with any available programming language provided by AWS.
Ask for a presigned url
In order to create a presigned url you must give following informations:
- filenames: filenames of the files you're trying to upload
- filetypes: file types of the files you're trying to upload
- type: type of permission for the files, they can be
public
orprivate
, we suggest to useprivate
to store locked data andpublic
to store NFT public image.
[POST] {{GATEWAY}}/storage/generate
{
"filenames": [
"test.txt"
],
"filetypes": [
"plain/text"
],
"type": "public"
}