Update NFT Contract Metadata
In this guide, you'll update the NFT Contract Metadata and
Update the contract
We'll update the contract via getting the nft builder instance from the contract addr and set it up. UpdateMetadata will wholesale replace existing metadata, so it's important to fillout the existing metadata.
const client = await ClientFactory.makeClient(PRIV_KEY, RPC_URL);
const { builder } = await client.getNftContractData(contractAddr);
await builder.updateMetadata(contractAddr, {
...builder.metadata,
name: "New Contract Name",
symbol: "SYMB",
description: "replace description",
});