Commit Graph

682 Commits

Author SHA1 Message Date
ghassmo
8d1cb7bce6 get keypair from walletdb instead of get keys separately 2021-09-15 21:29:44 +03:00
lunar-mining
19c74bfc4f Revert "cli/drk2: Make sure all tokens and networks are lowercase."
This reverts commit 1be4d20f5b.
2021-09-15 11:22:11 +02:00
parazyd
1be4d20f5b cli/drk2: Make sure all tokens and networks are lowercase.
Determinism FTW.
2021-09-14 18:09:37 +02:00
parazyd
47b0c211ff cli: Implement drk2 for JSON-RPC API reference. 2021-09-14 18:04:27 +02:00
Janus
c04a71fa3c Return txid with balance on btc address watch 2021-09-14 09:58:24 -04:00
Janus
e1df3eead7 Record btc utxo in cashierdb 2021-09-14 09:58:24 -04:00
narodnik
fac75137dc updated NOTE_PLAINTEXT_SIZE changing size for asset_id from 8 bytes to 32 bytes because type changed from u64 to Scalar 2021-09-14 15:34:25 +02:00
ghassmo
0257f4000a Sol bridge: avoid iteration loop when account get updated & minor changes 2021-09-14 15:40:27 +03:00
ghassmo
8998b47494 change asset_id to jubjub::Fr in test cases 2021-09-14 00:41:31 +03:00
lunar-mining
8906f3ad2f changed 'UnvalidAddress' error to 'InvalidAddress' 2021-09-13 10:29:27 +02:00
lunar-mining
814cfb7d3e Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-13 10:23:34 +02:00
lunar-mining
9155ed57b4 removed old crypto stuff from /bin and /src 2021-09-13 10:17:33 +02:00
lunar-mining
393477565a remamed /adapters/ to /adapter/ and deleted old dir 2021-09-13 10:05:37 +02:00
lunar-mining
d38ba214f4 Revert "deleted old client and adapter dirs, made singular and updated Cargo.toml"
This reverts commit 7caf15dc50.
2021-09-13 09:55:15 +02:00
lunar-mining
f50d677612 Revert "removed old crypto stuff from /src and /bin"
This reverts commit 7e9d853cae.
2021-09-13 09:54:38 +02:00
lunar-mining
7caf15dc50 deleted old client and adapter dirs, made singular and updated Cargo.toml 2021-09-13 09:52:10 +02:00
lunar-mining
7e9d853cae removed old crypto stuff from /src and /bin 2021-09-13 09:47:22 +02:00
lunar-mining
a0cc6735b4 moved .sql to new directory. deleted /res 2021-09-13 09:07:20 +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
ddf3535852 added bytes buffer to asset_id in mint/spend 2021-09-12 14:53:06 +02:00
lunar-mining
0dfe7bf3dc changed asset_id to jubjub::Fr across all project 2021-09-12 14:53:06 +02:00
lunar-mining
2cc8d30f19 changed asset_id type to jubjub::Fr on mint/spend contracts 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
ghassmo
19e0e332dc Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-12 02:13:24 +03:00
ghassmo
2eba4b6758 update todo.md 2021-09-12 02:13:06 +03:00
ghassmo
f765c60558 finish sol client for cashier's bridge 2021-09-12 01:51:10 +03:00
ghassmo
be4746324b add SolFailed error to error.rs 2021-09-12 01:41:46 +03:00
ghassmo
03ebecbbb9 impl Encodable and Decodable for [u8; 64] 2021-09-12 01:40:42 +03:00
lunar-mining
c75204f116 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-11 09:17:14 +02:00
lunar-mining
1e96c744cc made Asset type to handle drk cli inputs 2021-09-11 08:58:50 +02:00
ghassmo
44a2d95370 fix errors related to sterilization of addresses between rpc and cashier 2021-09-10 19:01:46 +03:00
lunar-mining
62292e2857 added 'asset' to cli and made help messages multichain 2021-09-10 15:07:54 +02:00
lunar-mining
c5d6830903 added asset_id param to deposit/withdraw/transfer 2021-09-10 14:53:37 +02:00
ghassmo
fecbb7894b initialize walletdb when darkfid start 2021-09-10 15:35:56 +03:00
ghassmo
bbe0ce5643 pass asset_id when send request to cashier 2021-09-10 14:36:46 +03:00
ghassmo
9f8444d699 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-09-10 13:09:29 +03:00
ghassmo
df97ccf8fb make [btc] feature optional and the default one & enable [sol] as optional feature 2021-09-10 13:02:43 +03:00
ghassmo
0e34beb106 add sol struct to the bridge 2021-09-10 13:02:01 +03:00
ghassmo
7f1ba3f882 creat bridge and add refactoring cashier to work with bridge 2021-09-10 12:59:53 +03: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
ghassmo
afae1cc619 make cashierdb generic and use asset_id with each keys saved 2021-09-09 15:20:31 +03:00
ghassmo
606cf7a3a8 impl Decodable and Encodable for btc address 2021-09-09 14:22:23 +03:00
ghassmo
1e210f9945 create new error type for btc client 2021-09-09 13:59:06 +03: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
parazyd
124ded7ebd rpc/jsonrpc: Don't use return keyword. 2021-09-08 17:07:49 +02:00
parazyd
5e3a5c9870 solana: Add POC for watching pubkeys for transactions. 2021-09-08 16:54:54 +02:00
ghassmo
1269c594f8 Client: add clear_inputs option when build tx 2021-09-08 17:52:08 +03:00