WalletOptions

* struct WalletOptions Struct wallet options files and network status storage models

@safe
struct WalletOptions {
string[] questions;
string contract_address;
string dart_address;
string hirpc_shell_endpoint;
string faucet_shell_endpoint;
}

Members

Functions

setDefault
void setDefault()

set default values for wallet

Variables

accountfile
string accountfile;

account file name/path

addr
string addr;

address part of network socket

billsfile
string billsfile;

bills file name/path

contractfile
string contractfile;

contract file name/path

devicefile
string devicefile;

device file name/path

paymentrequestsfile
string paymentrequestsfile;

payments request file name/path

port
ushort port;

port part of network socket

quizfile
string quizfile;

questions file name/path

walletfile
string walletfile;

wallet file name/path

Mixed In Members

From mixin JSONCommon

toJSON
JSON.JSONValue toJSON()
stringify
string stringify()

Stringify the struct

parse
void parse(JSON.JSONValue json_value)

Initialize a struct from a JSON