rarepress
rarepress copied to clipboard
Contract option in body for nft creation is not respected
Why contract option in body for nft creation is not respected?
let token = await rarepress.create({
contract: "0x4C26eC5d1F87450106D1D2CbfF06139276E519a8",
metadata: {
name: "No Name",
description: "Randomly generated art, curated by " + account,
image: "/ipfs/" + cid,
attributes: [
{ trait_type: "powered by", value: "Rarepress [https://rarepress.org](https://t.co/2oZd1HAolc)" },
{ trait_type: "curator", value: account },
{ trait_type: "date", value: new Date().toUTCString() },
{ trait_type: "license", value: "DEMO PURPOSE ONLY. FROM https://thisartworkdoesnotexist.com" }
]
},
})
it creates nft in default rarible collection, instead 0x4C26eC5d1F87450106D1D2CbfF06139276E519a8