New command to simplify updating generative NFTs (where each token may have a different URI).
The new command just takes a new hash (hq__) and retrieves all the current token URIs, updates just the hash, and sets them back.
By default it runs in dry_run mode and just prints out the new hashes that it would set. So you must specify --dry_run false to get it to set the URIs.
Usage:
./elv-live tenant_update_token_uri
tenant_update_token_uri <tenant> <addr> <hash> [options]
Reset the token URI(s) for tenant NFT contract(s)
Positionals:
tenant Tenant ID [string] [required]
addr NFT contract address [string] [required]
hash New NFT template object hash [string] [required]
Options:
--version Show version number [boolean]
-v, --verbose Verbose mode [boolean]
--as_url Alternate authority service URL (include '/as/' route if
necessary) [string]
--help Show help [boolean]
--dry_run Default 'true' [boolean]
New command to simplify updating generative NFTs (where each token may have a different URI). The new command just takes a new hash (
hq__
) and retrieves all the current token URIs, updates just the hash, and sets them back.By default it runs in
dry_run
mode and just prints out the new hashes that it would set. So you must specify--dry_run false
to get it to set the URIs.Usage:
Example: