Skip to content

Configuration

ratranqu edited this page Apr 26, 2021 · 2 revisions

Configuration

public class Configuration: Sealable 

Inheritance

Sealable

Properties

defaultKeyringServiceName

public static let defaultKeyringServiceName = "cosmos"

addressVerifier

public var addressVerifier: ((Data) throws -> Void)?

configuration

public static let configuration 

bech32AccountAddressPrefix

public static var bech32AccountAddressPrefix: String 

bech32ValidatorAddressPrefix

public static var bech32ValidatorAddressPrefix: String 

bech32ConsensusAddressPrefix

public static var bech32ConsensusAddressPrefix: String 

bech32AccountPublicKeyPrefix

public static var bech32AccountPublicKeyPrefix: String 

bech32ValidatorPublicKeyPrefix

public static var bech32ValidatorPublicKeyPrefix: String 

bech32ConsensusPublicKeyPrefix

public static var bech32ConsensusPublicKeyPrefix: String 

keyringServiceName

public static var keyringServiceName: String 

Methods

setBech32PrefixForAccount(addressPrefix:publicKeyPrefix:)

public static func setBech32PrefixForAccount(addressPrefix: String, publicKeyPrefix: String) 

setBech32PrefixForValidator(addressPrefix:publicKeyPrefix:)

public static func setBech32PrefixForValidator(addressPrefix: String, publicKeyPrefix: String) 

setBech32PrefixForConsensusNode(addressPrefix:publicKeyPrefix:)

public static func setBech32PrefixForConsensusNode(addressPrefix: String, publicKeyPrefix: String) 

seal()

public static func seal() 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally