I have set up metaplex candy machine for fair NFT mint in Solana. But My creator account was not verified. So I want to get all tokens minted through my candy machine and sign the metadata (creator list).
My QUestion is how can I get the SPL tokens minted by my machine and sign the metadata from my creator account.?
var filter : MemcmpFilter = {} as MemcmpFilter;
filter.memcmp = {
bytes: "MY_CANDY_MACHINE_ADDRESS",
offset : 1
};
var config: GetProgramAccountsConfig = {} as GetProgramAccountsConfig;
config.commitment = "confirmed";
config.filters = [filter]
var data = await connection.getProgramAccounts(toPublicKey("cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ"), "confirmed");
console.log(data);
Help me to complete the code and sign the metadata