lnd-demo-app/wallet/ViewModels/ChannelsViewModel.swift

34 lines
1.2 KiB
Swift
Raw Normal View History

2023-06-08 06:36:06 +00:00
//
// ChannelsViewModel.swift
// wallet
//
// Created by Adriana Epure on 23.08.2022.
// Copyright © 2022 Jason. All rights reserved.
//
import Foundation
class ChannelsViewModel: ViewModel {
private let exampleRepo = ExampleRepository()
let randomInt = Observable<Int>()
let error = Observable<Error>()
let resultMessage = Observable<String>()
//TODO: Hardcoded values. Change these later.mailto:0245fc5e867abb5b83ead35b50dc5013dd358b9f3eb48c02f5e1cc9fc675039359@uld2jqbrrwsowhxobvxlrl6j7qc2rmccsmnnf6ba4jepkugxqkyohvad.onion:9735
private var nodePubKey = try! NodePublicKey("0245fc5e867abb5b83ead35b50dc5013dd358b9f3eb48c02f5e1cc9fc675039359")
private var hostAddress = "bmadesign.go.ro"
private var hostPort: UInt = 9735
// private let closeAddress = "tb1qylxttvn7wm7vsc2j36cjvmpl7nykcrzqkz6avl"
// private let invoice = "lnbcrt1u1p04e4cypp5qyxj3u8dm2pjsdang94lj6c0d9p33l05999945atjrfyw0nle0ssdqqcqzpgsp5dqlzsd63a0akx9wgv8v9scryj3gn7fe3s8ca9l26s9tjlwkvtv4q9qy9qsq4kv825h86yummfcerkvctfh8c4aw6vc0r986dsyjtp6dun5ysurq2zh0nj6qd4cuf5qskpn9pwre5u26ncce4qy3ataw88p6j08y0xcqy4uxa7"
}