class Wallet::DB

Defined in:

tron-wallet/db.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(wallet : Wallet::Main) #

[View source]

Instance Method Detail

def add_book(name, address) #

[View source]
def add_contract(name, address) #

[View source]
def conn : DB::Database #

[View source]
def create_account(name, data) #

[View source]
def decrypt(data, password) #

[View source]
def delete_account(name) #

[View source]
def delete_book(name, address) #

[View source]
def delete_contract(name, address) #

[View source]
def encrypt(data, password) #

[View source]
def get_account(name) #

[View source]
def get_accounts #

[View source]
def get_book #

[View source]
def get_contracts #

[View source]
def get_settings #

[View source]
def rename_account(from, to) #

[View source]
def setup #

[View source]
def update_account(name, data) #

[View source]
def update_settings(node_url : String | Nil = nil, max_commission : String | Nil = nil) #

[View source]