Commit Graph

67 Commits

Author SHA1 Message Date
lunar-mining
0dfe7bf3dc changed asset_id to jubjub::Fr across all project 2021-09-12 14:53:06 +02:00
lunar-mining
2273f69965 implemented asset_id as hash with hash->u64 conversions 2021-09-12 14:53:06 +02:00
lunar-mining
1e96c744cc made Asset type to handle drk cli inputs 2021-09-11 08:58:50 +02:00
lunar-mining
62292e2857 added 'asset' to cli and made help messages multichain 2021-09-10 15:07:54 +02:00
lunar-mining
edb25d3a17 deleted zkvm 2021-09-10 10:16:28 +02:00
lunar-mining
75296e9083 more verbose no config warning 2021-09-10 10:12:07 +02:00
lunar-mining
a5ad575695 removed redundant serde default tag 2021-09-10 10:04:41 +02:00
lunar-mining
b37eebeb91 ran cargo fmt 2021-09-09 09:10:00 +02:00
lunar-mining
399dffa7e5 removed default config and added ConfigNotFound error 2021-09-09 09:09:19 +02:00
ghassmo
7a0c98682a key_gen() generating new keypair and add them to walletdb 2021-09-05 13:23:00 +03:00
ghassmo
4c7493acf8 downgrade clap crate to 2.33.3 version 2021-09-05 12:32:12 +03:00
ghassmo
23c1d0c667 fix typo in expect messages 2021-09-03 04:38:52 +03:00
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