Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

[Bug]: contract.createBatch(metaDatas) #132

Description

@bhswallow

Prerequisites

  • I have checked that @thirdweb-dev/react and the @thirdweb-dev/sdk are on the latest stable version and the bug still exists.
  • I have checked existing issues and I was unable to find a duplicate of this.

Optional

  • I am willing to contribute a PR that fixes the problem with some guidance.

Describe the bug
const metadatas = [
{
name: "Cool NFT",
description: "This is a cool NFT",
image: fs.readFileSync("path/to/image.png"), // This can be an image url or file
},
{
name: "Cool NFT",
description: "This is a cool NFT",
image: fs.readFileSync("path/to/image.png"),
},
];

How do I upload the same parameters as the dashboard?
media\properties\backgroud color\external url
the docs not say

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions