Function address

Source
pub fn address<E: Environment>(account: Sr25519Keyring) -> H160
Expand description

Returns the [ink::H160] for a given keyring account.

ยงDeveloper Note

We take the AccountId and return only the first twenty bytes, this is what pallet-revive does as well.