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

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

Open
2 of 3 tasks
bhswallow opened this issue Aug 18, 2022 · 0 comments
Open
2 of 3 tasks

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

bhswallow opened this issue Aug 18, 2022 · 0 comments
Assignees

Comments

@bhswallow
Copy link

bhswallow commented Aug 18, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants