Commit Graph

105 Commits

Author SHA1 Message Date
ghassmo
a362e6aff5 add and pass needed config params to cashierd 2021-09-01 15:46:29 +03:00
lunar-mining
231d09b8d3 added rpc support to cashierd 2021-08-26 14:02:49 +02:00
lunar-mining
cd0616af51 created dummy cli for cashier 2021-08-16 11:10:22 +02:00
lunar-mining
e10fa2f1d0 updated cli author 2021-08-16 10:37:58 +02:00
Janus
542d9a7a58 Replace poll with electrum subscribe functions 2021-08-16 01:38:06 -04:00
lunar-mining
b8464dfbd8 removed cashier functions from user-facing RPC flow 2021-08-15 10:31:48 +02:00
ghassmo
62e31480ae fix an error occur when open cashierd.toml file 2021-08-13 05:35:07 +03:00
ghassmo
e0cb31d983 fix the warnings 2021-08-13 05:08:34 +03:00
ghassmo
e939643d8d drk: pass the amount as a number of type f64 2021-08-13 04:39:16 +03:00
Janus
bd6d33cb4f Add GatewayClient to cashier for posting tx to blockchain 2021-08-11 23:07:00 -04:00
lunar-mining
dbd5a7bd57 cleaned up cli print statements 2021-08-09 10:57:01 +02:00
ghassmo
f9b880f609 add cashier_url to darkfid config file 2021-08-09 03:54:34 +03:00
lunar-mining
2d9caa2884 added deposit() to drk_cli 2021-08-08 13:56:00 +02:00
lunar-mining
8a6f14571a added mutex lock to zmq socket. finished client side deposit().
ran cargo fmt
2021-08-08 12:19:18 +02:00
ghassmo
94c63b15be add walletdb path to darkfid config file 2021-08-08 07:09:38 +03:00
ghassmo
b22d8ba0f6 add option to change the path of config file for darkfid and drk cli & remove unused code
in src/cli
2021-08-08 06:47:32 +03:00
parazyd
bb8d0bcb85 cli/cli_config: Use proper OS-specific TMPDIR for writing logs 2021-08-07 10:10:30 +02:00
ghassmo
d945634cd9 add get_key option to drk.rs 2021-08-05 04:59:50 +03:00
ghassmo
23bb4cf04e change the type of amount in TransferParams and WithdrawParams from
String to u64
2021-08-04 02:05:10 +03:00
ghassmo
f3b3152aae delete duplicate cli_config.rs file 2021-07-25 21:25:52 +03:00
ghassmo
d90fe538f6 use generic struct for loading configurations 2021-07-25 21:20:52 +03:00
ghassmo
a51acc1bf7 create darkfi dir and toml files when load_default configuration 2021-07-25 20:28:18 +03:00
lunar-mining
a6b4791feb added deserialize to walletdb.rs 'get' functions. ran cargo fmt 2021-07-24 10:34:56 +02:00
Janus
9c6c8d0e82 Add WalletDb to CashierService 2021-07-21 11:09:30 -04:00
Janus
878f3eb1dc Update cashierd configs and options 2021-07-21 11:09:30 -04:00
Janus
fded8de270 Update cashierd to reflect new toml config options 2021-07-21 11:09:30 -04:00
lunar-mining
d653f5ecbd added 'withdraw' option to cli/ rpc 2021-07-21 07:18:12 +02:00
lunar-mining
4088e15ee2 fixed typo in Transfer::verify_amount() 2021-07-20 14:48:28 +02:00
lunar-mining
1ad24f8e05 added 'deposit' subcommand to drk_cli 2021-07-20 14:47:04 +02:00
lunar-mining
02f619a588 added cli files overlooked in previous commit 2021-07-17 13:22:35 +02:00
lunar-mining
5e09f11922 fixed toml load logic error and simplified code into structs 2021-07-17 11:40:12 +02:00
lunar-mining
53344b7a81 tidied /cli directory 2021-07-15 10:15:04 +02:00
lunar-mining
96955aa504 created gatewayd.toml 2021-07-14 11:44:18 +02:00
lunar-mining
97bb01f236 made toml format prettier 2021-07-13 13:15:51 +02:00
lunar-mining
cadbd646d6 simplified naming of cli config structs 2021-07-12 14:49:16 +02:00
lunar-mining
a895bea014 switched from custom config parsing to toml 2021-07-12 13:24:22 +02:00
lunar-mining
c0a9a909fd added short options to cli 2021-07-11 11:29:05 +02:00
lunar-mining
7fc0658b94 fixed config parsing error 2021-07-10 06:12:33 +02:00
lunar-mining
37e395b109 fixed typo on cli 2021-07-09 09:02:42 +02:00
lunar-mining
a566e4c1ae added password param to darkfid and wallet unlock support to sqlite 2021-07-08 12:17:07 +02:00
lunar-mining
71f1e0eeab added pw param to cli_config 2021-07-08 09:22:43 +02:00
ghassmo
a2ecd4a53c add transfer arg to drk cli 2021-07-08 05:23:51 +03:00
ghassmo
fc4eb839c4 add rpc functions args to drk_cli 2021-07-07 00:38:43 +03:00
ghassmo
5b43a1f923 minor changes for drk 2021-07-06 08:48:27 +03:00
ghassmo
5b7c45e560 rename darkfi-cli to drk 2021-07-06 08:42:10 +03:00
ghassmo
147d55a5d9 create Drk struct and add say_hello function 2021-07-06 08:33:48 +03:00
ghassmo
4207b137b0 create Darkfi client cli 2021-07-06 06:08:22 +03:00
ghassmo
98302660f5 create ClientConfig trait & create DarkfiCliConfig and DarkfidCliConfig structs which implement ClientConfig trait 2021-07-06 06:05:29 +03:00
ghassmo
87e84dc1e3 renamed WalletCli to DarkfidCli 2021-07-06 04:28:54 +03:00
ghassmo
f967c3c74a cargo fmt 2021-07-03 12:30:20 +03:00