Commit Graph

83 Commits

Author SHA1 Message Date
ghassmo
4ac97877e6 update config examples 2021-09-23 13:39:36 +03:00
ghassmo
37f7c2c550 cashierd: switch to new rpcserver (tokio -> async_std) 2021-09-23 13:34:07 +03:00
parazyd
1b863922c8 bin/darkfid: Port to new JSONRPC server implementation. 2021-09-23 11:33:57 +02:00
ghassmo
3a3e1c4f57 add networks field to cashierd config file 2021-09-22 14:51:54 +03:00
lunar-mining
ca55ecfa5d cli_config: removed 'accept_url' from cashierd
cashierd: changed 'accept_url' to 'rpc_url'
2021-09-21 11:24:20 +02:00
ghassmo
34171d0369 remove wallet and database paths from cashierd config file 2021-09-20 19:50:04 +03:00
ghassmo
a8a3813de3 add gateway_subscriber_url to cashierd config file 2021-09-20 18:08:14 +03:00
lunar-mining
0532d873bf cli/cli_config: added 'clone' to cashierconfig. added db path 2021-09-17 16:53:52 +02:00
parazyd
d23ee78513 [REBASEME] Revert "cli/mod.rs: Fix removal of DarkfidConfig."
This reverts commit e30022d281.
2021-09-17 09:36:32 +02:00
parazyd
a9dc012808 [REBASEME] Revert "bin/darkfid2: Move configuration to bin file."
This reverts commit 5290cc2fbc.
2021-09-17 09:36:11 +02:00
parazyd
e30022d281 cli/mod.rs: Fix removal of DarkfidConfig. 2021-09-17 09:35:04 +02:00
parazyd
5290cc2fbc bin/darkfid2: Move configuration to bin file. 2021-09-17 09:07:11 +02:00
parazyd
a8b1771a4a WIP implementation of darkfid with new API. 2021-09-16 17:41:00 +02:00
ghassmo
c88a3b359b remove wallet path in gatewayd, darkfid, and cashierd 2021-09-16 02:18:01 +03:00
parazyd
47b0c211ff cli: Implement drk2 for JSON-RPC API reference. 2021-09-14 18:04:27 +02:00
Janus
5178e1b183 Update config to read btc testnet or mainnet into creating keys 2021-09-12 22:15:49 -04:00
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