Class: Node::Wallet
Instance Method Summary collapse
- #new_addresss ⇒ Object
-
#sign_message(msg) ⇒ Object
TODO: Double check this.
- #verify_message(msg, signature) ⇒ Object
- #wallet_balance ⇒ Object
Instance Method Details
#new_addresss ⇒ Object
161 162 163 |
# File 'lib/node.rb', line 161 def new_addresss stub.new_address(Lnrpc::NewAddressRequest.new()) end |
#sign_message(msg) ⇒ Object
TODO: Double check this
170 171 172 |
# File 'lib/node.rb', line 170 def (msg) stub.(Lnrpc::SignMessageRequest.new(msg: msg)) end |
#verify_message(msg, signature) ⇒ Object
174 175 176 |
# File 'lib/node.rb', line 174 def (msg, signature) stub.(Lnrpc::VerifyMessageRequest.new(msg: msg, signature: signature)) end |
#wallet_balance ⇒ Object
165 166 167 |
# File 'lib/node.rb', line 165 def wallet_balance stub.wallet_balance(Lnrpc::WalletBalanceRequest.new()) end |