set-admin
set-admin
Usage: set-admin [alias-or-address] [new-admin-address] --network <network> [options]
change upgradeability admin of a contract instance. Provide the [alias] or [package]/[alias] of the contract to change the ownership of all its instances, or its [address] to change a single one. Note that if you transfer to an incorrect address, you may irreversibly lose control over upgrading your contract.
- Options:
-y, --yes
accept transferring admin rights (required)-n, --network <network>
network to be used-f, --from <from>
specify transaction sender address--timeout <timeout>
timeout in seconds for each blockchain transaction (defaults to 600s)