Skip to content

Configuration

ratranqu edited this page Mar 10, 2021 · 6 revisions

Configuration

public class Configuration: Sealable

Inheritance

Sealable

Properties

defaultKeyringServiceName

let defaultKeyringServiceName = "cosmos"

addressVerifier

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

configuration

let configuration

bech32AccountAddressPrefix

var bech32AccountAddressPrefix: String

bech32ValidatorAddressPrefix

var bech32ValidatorAddressPrefix: String

bech32ConsensusAddressPrefix

var bech32ConsensusAddressPrefix: String

bech32AccountPublicKeyPrefix

var bech32AccountPublicKeyPrefix: String

bech32ValidatorPublicKeyPrefix

var bech32ValidatorPublicKeyPrefix: String

bech32ConsensusPublicKeyPrefix

var bech32ConsensusPublicKeyPrefix: String

keyringServiceName

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()

Clone this wiki locally