🔥IPFS Storage (new)
Upload multiple files and place them in a folder directory (ERC1155 Compliant)
Bulk Mint NFTs on OpenSea Using IPFS folders (ERC1155 Compliant)

🔥 uploadFolder (new)

Uploads multiple files and place them in a folder directory. Returns path (asynchronous).

Options:

  • abi(required): Array of JSON and Base64 Supported
1
const options = {
2
abi": [
3
{
4
"path": "moralis/logo.jpg",
5
"content": "iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAApgAAAKYB3X3"
6
}
7
]
8
};
9
const path = await Moralis.Web3API.storage.uploadFolder(options);
Copied!

Example result:

1
[
2
{
3
"path": "https://ipfs.moralis.io/QmPQ3YJ3hgfsBzJ1U4MGyV2C1GhDy6MWCENr1qMdMpKVnY/moralis/logo.jpg"
4
}
5
]
Copied!
Last modified 2mo ago
Copy link