Keys
Coldkey and hotkey can never match. This design is to force the security of all subnets and nodes.
Update Coldkey
Call update_coldkey
with the coldkey to update to a new coldkey.
update_coldkey
with the coldkey to update to a new coldkey.pub fn update_coldkey(
origin: OriginFor<T>,
hotkey: T::AccountId,
new_coldkey: T::AccountId
)
Update Hotkey
Call update_hotkey
with the coldkey to update to a new hotkey.
update_hotkey
with the coldkey to update to a new hotkey.pub fn update_hotkey(
origin: OriginFor<T>,
old_hotkey: T::AccountId,
new_hotkey: T::AccountId
)
Last updated