FTM-Labs / Aptos-NFT-Mint

ftmtest.vercel.app
MIT License
164 stars 95 forks source link

UPDATING COVER IMAGE #37

Open olloso opened 2 years ago

olloso commented 2 years ago

If I successfully updated all the nfts, and didn't load the cover, how do I fix this? I want my cover to be visible on topaz. that's the code I tried to upload the cover with, unsuccessfully

def update_cover(): cover_uri = uploadToIpfs(_ASSET_FOLDER + '/cover.png') txn_hash = rest_client.update_cover( cmAccount, cover_uri ) rest_client.wait_for_transaction(txn_hash) print("\n Success, cover is set to:: " + cover_uri + " txn hash: " + txn_hash)