EthereumKeystore

@objc
public class EthereumKeystore : NSObject

Standard Ethereum Keystore file represent, provided some helper functions to parse/generate Ethereum keystore JSON

  • Undocumented

    Declaration

    Swift

    @objc
    public var address: String
  • Undocumented

    Declaration

    Swift

    @objc
    public var keystoreStr: String
  • create keystore from wallet address and keystore JSON, if the json is not valid Ethereum keystore JSON return nil

    Declaration

    Swift

    @objc
    public init?(keystoreJSON: String)
  • create EthereumKeystore from file specified at path

    Declaration

    Swift

    @objc
    public class func loadFromPath(_ path: String) -> EthereumKeystore?

    Parameters

    path

    path to the keystore file

    Return Value

    EthereumKeystore represents the keystore file, or nil if that’s not a valid EthereunKeystore file