Commit Graph

466 Commits

Author SHA1 Message Date
tecnovert
7d43512845
xmr: Add prefunded itx. 2022-12-08 03:33:14 +02:00
tecnovert
c90fa6f2c6
system: Allow preselecting inputs for atomic swaps. 2022-12-05 17:04:23 +02:00
tecnovert
23e89882a4
doc: Add windows install notes. 2022-12-03 01:07:41 +02:00
tecnovert
a250daca8b
xmr: Ensure incoming transfers are unlocked. 2022-12-02 13:58:26 +02:00
tecnovert
789cd0f6ab
system: Reload cached swaps on session errors 2022-12-01 20:51:06 +02:00
tecnovert
2a35148a4b
xmr: Support daemon rpc login details. 2022-11-28 19:54:41 +02:00
tecnovert
9370eff4a6
ui: Add warning to unlock page. 2022-11-22 10:28:02 +02:00
tecnovert
d15cf3dd6f
guix: Add guix.scm 2022-11-20 20:58:10 +02:00
tecnovert
ba5339d8bd
ui: Add sent offer status filter. 2022-11-18 23:34:57 +02:00
tecnovert
6e5c54b447
ui: Send locked status to templates. 2022-11-18 23:31:52 +02:00
gerlofvanek
391f6ffe80 ui: Update unlock/changepassword layout. GUI small fixes. 2022-11-18 20:07:14 +01:00
tecnovert
c5f31f0d1e
ui: Add wallet encryption templates.
tests: Test wallet encryption.
2022-11-18 00:58:14 +02:00
tecnovert
0f7df9e5f1
preparescript: Add WALLET_ENCRYPTION_PWD env var.
Removed unnecessary START_DAEMONS env var.
Remove all cached addresses from the basicswap db for a wallet after reseeding.
Check that addresses retreived from the db are owned by teh wallet before they're used/displayed
2022-11-17 00:36:13 +02:00
gerlofvanek
aabf865873 ui: Update index 2022-11-16 18:53:10 +01:00
gerlofvanek
1bcce46a7c ui: GUI update. 2022-11-16 17:36:25 +01:00
tecnovert
cb6e773848
ui: Invert get/send when offer sent. 2022-11-16 17:47:02 +02:00
gerlofvanek
640d22bdc5 ui: Cleanup 2022-11-16 13:08:37 +01:00
gerlofvanek
e5749a397f ui: Add page descriptions. 2022-11-16 12:11:06 +01:00
gerlofvanek
a520ebf23f ui: GUI update/fixes. 2022-11-16 10:31:39 +01:00
tecnovert
b43d58afbf
api: Add wallet/createutxo 2022-11-15 23:50:36 +02:00
gerlofvanek
59adf3368b ui: Updated notifications popup/dropdown. 2022-11-15 17:03:30 +01:00
gerlofvanek
d2de181550 ui: Bug fix 2022-11-15 00:13:05 +01:00
gerlofvanek
0bd75fae0e ui: Setting page update. 2022-11-15 00:05:43 +01:00
gerlofvanek
a6162718c8 ui: Identity update. 2022-11-14 23:56:54 +01:00
gerlofvanek
850f2c7b17 ui: Offer page fixes. 2022-11-14 23:43:01 +01:00
gerlofvanek
2ba2ff5791 ui: GUI fixes + Added wallet lock/unlock icon 2022-11-14 22:43:31 +01:00
tecnovert
5d4db2c1df
ui: Fix shutdown link. 2022-11-14 22:56:30 +02:00
tecnovert
8022ada01f
Fix xmr self bid. 2022-11-14 21:49:06 +02:00
tecnovert
8ec6d55963
Fix decodeAddress without bech32 hrp 2022-11-14 13:54:48 +02:00
tecnovert
54e434e1c9
ui: Connect new settings. 2022-11-13 23:18:33 +02:00
tecnovert
bbe7556d18
Disable v23 descriptor wallets.
Missing sethdseed, signmessage doesn't work and dumprivkey is missing (preventing a workaround).
2022-11-12 22:17:49 +02:00
tecnovert
fc31615a97
api: Add wallet lock/unlock commands and getcoinseed. 2022-11-12 18:22:23 +02:00
gerlofvanek
020a65db8a
ui: Fixed coin select. 2022-11-11 17:29:03 +02:00
tecnovert
eb8aa18224 Merge branch 'firo' into GUI 2022-11-10 23:51:36 +02:00
Gerlof van Ek
e525878aef
ui: GUI update (#14) 2022-11-10 21:49:55 +00:00
tecnovert
ae2ddc4049
Log events for all sent transactions. 2022-11-08 23:07:58 +02:00
tecnovert
8b2d2b446b
api: Add show_extra parameter to bids endpoint
Add itx_refund_tx_est_final and ptx_refund_tx_est_final to bid extra data
2022-11-08 22:30:28 +02:00
tecnovert
c440f9e3a3
coins: Fix Firo seedid 2022-11-08 16:43:44 +02:00
tecnovert
ca264db0d0
Add non-segwit Firo support.
Rework tests to combine atomic and xmr test cases.
Modify btc interface to support P2WSH_nested_in_BIP16_P2SH
Add coin feature tests to test_btc_xmr.py
2022-11-08 13:14:03 +02:00
tecnovert
c0c2c8b9bb
ui: Combine viewkeys sections. 2022-10-26 21:13:29 +02:00
tecnovert
515e6655e8
Disable HttpServer log messages. 2022-10-26 18:15:09 +02:00
tecnovert
f210024e93
coins: Decode pivx v3 transactions correctly. 2022-10-26 17:47:30 +02:00
tecnovert
45d6b9ecbf
ui: Show red clock for revoked offers. 2022-10-25 23:41:51 +02:00
tecnovert
50ed1bfccf
For CLTV coins check the lock value relative to the current time rather than the bid creation time. 2022-10-25 23:28:02 +02:00
gerlofvanek
65183133d8 ui: Expired flag colors + GUI updates/tweaks. 2022-10-25 20:24:18 +02:00
tecnovert
9da907aa1e
ui: Add expired flag to offers. 2022-10-24 21:34:12 +02:00
tecnovert
59fb6c18ed
coins: Rename Pivx -> PIVX 2022-10-24 20:49:36 +02:00
tecnovert
e46fd193fe
ui: Restore xmr bid sequence diagrams. 2022-10-23 16:07:32 +02:00
gerlofvanek
4fc68b5717 ui: Fixes global (GUI v.0.1.1)
- Dash icon and Coin icon updates.
- Removed withids.
- ui: Notification drop-down update.
- ui: Global GUI layout and bug fixes/features.
- ui: Updated New Offer templates.
- ui: Fixed close on messages/error messages.
- ui: Start on new settings page.
- ui: Removed TV chart.
- ui: Drop-down filter with Coin icons.
2022-10-23 13:59:06 +02:00
tecnovert
9557da8714
ui: Add spaces in coin names. 2022-10-23 10:54:02 +02:00
tecnovert
a9f3eeefff
ui: Fix notifications. 2022-10-21 21:05:46 +02:00
tecnovert
3c2eb5f9f8
ui: Format notification timestamps. 2022-10-21 20:51:50 +02:00
tecnovert
aa14da27af
dash: Fix initialiseWallet
Only the upgradetohd command sets the hdseed
upgradetohd can only run once the chain is synced

Basicswap stores the hash of the root_key in it's db to check for the expected seed.
Prefer not to store the real key.
2022-10-21 18:39:19 +02:00
tecnovert
4866ff4db8
dash: Add tests. 2022-10-21 00:37:45 +02:00
tecnovert
7298867e18
dash: Add to prepare script. 2022-10-20 22:23:25 +02:00
tecnovert
9fc4fe3b79
debug: Reduce default min_sequence_lock_seconds when debug mode is active. 2022-10-18 21:18:18 +02:00
tecnovert
468d8c5cc1
xmr swap: Set correct block height on refund_tx. 2022-10-18 19:59:46 +02:00
tecnovert
3c84f0230e
ui: Inject ids for messages. 2022-10-14 14:22:11 +02:00
tecnovert
842027f114
pivx: Add expected error string for stopDaemon when .cookie exists. 2022-10-14 00:58:54 +02:00
tecnovert
6ae8651d1b
ui: Hide all except 'Reseed Wallet' button if expected_seed is false. 2022-10-13 23:16:43 +02:00
tecnovert
eb9eb49bd9
Persistent notifications. 2022-10-13 22:32:53 +02:00
gerlofvanek
7e4dd125e1 ui: Table fix 2022-10-13 19:53:34 +02:00
gerlofvanek
18e89a3c44 ui: Fixes global 2022-10-13 13:52:50 +02:00
gerlofvanek
3f628026ae ui: Stepper 2022-10-13 00:28:59 +02:00
gerlofvanek
e29e43821e ui: Fixed offers table layout, hide chart on Sent Offers page. 2022-10-12 23:33:48 +02:00
tecnovert
c7bbdc7022
Fail with more descriptive error when processing message involving inactive coin. 2022-10-12 22:37:35 +02:00
tecnovert
3ed6781c9f
Ignore undecryptable messages when expiring. 2022-10-12 20:48:26 +02:00
gerlofvanek
9d8fe87fc3 ui: Better visibility of create an offer 2022-10-12 20:14:19 +02:00
gerlofvanek
58c9006a01 ui: Fix disabled / opacity on inputs (offer_confirm) 2022-10-12 19:57:55 +02:00
tecnovert
ea52ff67c2
Fix pivx withdrawals and install typo. 2022-10-12 00:59:30 +02:00
tecnovert
bdcf6ce91b
ui: Separate error messages on offer page. 2022-10-11 22:44:57 +02:00
Gerlof van Ek
9e042200f3
Merge pull request #2 from tecnovert/repeat_offer
Repeat offer
2022-10-11 22:14:48 +02:00
tecnovert
a6a6865e95
ui: Add repeat offer feature.
Does not transfer the fee values yet.
2022-10-11 22:09:20 +02:00
gerlofvanek
1dc626e305 ui: Start of notifications (styling) 2022-10-11 20:16:02 +02:00
gerlofvanek
c87f66a041 ui: Update trading chart 2022-10-11 12:29:51 +02:00
gerlofvanek
c1482a8280 ui: Add trading chart 2022-10-11 12:20:47 +02:00
gerlofvanek
1987931332 ui: Add 404 page 2022-10-11 11:38:20 +02:00
tecnovert
5738cdd825
ui: Fix missing post_string on page_error 2022-10-11 08:32:48 +02:00
tecnovert
58a2707526
merge: Fix merge and lint issues. 2022-10-11 07:55:35 +02:00
gerlofvanek
e913957e41 Fixed withdraw issue 2022-10-11 01:43:16 +02:00
gerlofvanek
0472958fc2 Fixed events table bid_xmr template 2022-10-11 01:31:18 +02:00
gerlofvanek
1ea73a7917 Update footer & index 2022-10-11 01:27:20 +02:00
gerlofvanek
9102efecb6 Styled sent_bid_id
-
2022-10-11 00:35:45 +02:00
gerlofvanek
a040a6172a Refactor
-
2022-10-11 00:05:39 +02:00
gerlofvanek
9495249e70 GUI v.01
-
2022-10-10 23:44:14 +02:00
tecnovert
af766876a1
ui: Add tor info to page header 2022-10-08 14:37:22 +02:00
tecnovert
c4457ca400
ui: Display XMR view key on bid page
https://monerohash.com/explorer/myoutputs

Shared view key is for the chain B lock tx.

To find the view key for the lock spend tx:
http://localhost:12700/rpc
Monero Wallet
    getaddress
    query_key {"key_type":"view_key"}
2022-10-05 20:15:43 +02:00
tecnovert
a4f4a411a9
refactor: Move bid page logic 2022-10-05 19:30:52 +02:00
tecnovert
f29eac0eb5
ui: Handle missing txn gracefully on bid page. 2022-10-05 16:55:09 +02:00
tecnovert
eb30369bd4
refactor: Avoid importing all js functions. 2022-09-28 21:42:38 +02:00
tecnovert
ef0f5ea1ea
protocol: Validate CLTV block values 2022-09-26 19:20:52 +02:00
tecnovert
46d1856f71
ui: Render 404 for unknown pages.
Wait for wallet update to complete, to handle corner case where user opens wallet page before refreshing.
Withdraw txn in selenium test.
2022-09-23 22:07:41 +02:00
tecnovert
6b4666d632
ui: Add error and info templates and display debug mode. 2022-09-15 21:54:15 +02:00
tecnovert
afba673085
refactor: Use persistent connection when expiring messages. 2022-09-11 17:35:18 +02:00
tecnovert
1694e73f92
ui: Fix bid state filter selection. 2022-09-10 13:50:40 +02:00
tecnovert
b5a009d3f9
preparescript: Add temporary pivx release. 2022-09-01 12:37:22 +02:00
tecnovert
d74699992b
coins: Add PIVX
No CSV or segwit.
sethdseed requires a fully synced chain, manual intervention required to set a key derived from the master mnemonic.
Requires a pivxd version with a backported scantxoutset command.
2022-09-01 12:37:18 +02:00
tecnovert
e4e35b0d89
preparescript: Fix addcoin 2022-08-18 00:23:51 +02:00
tecnovert
48e5dcbcc9
refactor: Add createRawSignedTransaction to interface 2022-08-16 20:53:58 +02:00
tecnovert
b179667cc5
ui: Fix missing coin from data. 2022-08-10 23:58:53 +02:00
tecnovert
20c0c372d0
refactor: Move all coin interfaces to a dir 2022-08-09 00:10:37 +02:00
tecnovert
80f0098a3d
ui: Rates table example 2022-08-04 11:47:27 +02:00
tecnovert
412770d399
ui: rateslist returns js list of rates. 2022-08-03 23:59:57 +02:00
tecnovert
1ee2db137b
ui: Expose min bid amount. 2022-07-31 23:40:58 +02:00
tecnovert
1c4f208d27
refactor: E275 missing whitespace after keyword 2022-07-31 20:09:43 +02:00
tecnovert
1601a57aed
ui: Add websocket notifications. 2022-07-31 19:33:01 +02:00
tecnovert
6cc54d9c61
server: Serve more static directories. 2022-07-30 19:00:53 +02:00
tecnovert
7a3b41a11b
ui: Fix js value updates when sending bid. 2022-07-29 00:47:32 +02:00
tecnovert
871bdb918e
ui: Update to bittrex v3 api. 2022-07-28 17:01:11 +02:00
tecnovert
cbcf90c492
coins: Raise Monero version to 0.18.0.0 2022-07-28 11:23:45 +02:00
tecnovert
cd5af7032f
ui: Use coin tickers as wallet keys in json/wallets 2022-07-25 23:10:58 +02:00
tecnovert
18a444b071
ui: Add json endpoint to list all coin types. 2022-07-25 12:55:55 +02:00
tecnovert
8b09607083
tests: Prevent out of sequence refund in test_13_itx_refund 2022-07-21 00:27:22 +02:00
tecnovert
fa74b9982c
tests: Add xmr swap failure states to tests. 2022-07-20 00:24:14 +02:00
tecnovert
2c49d13aa0
tests: Add non xmr swap failure states to tests. 2022-07-18 22:57:16 +02:00
tecnovert
ede01d3fc8
tests: Start wallet restore test.
Fix LTC pidfile in config.
Update LTC onion port for core version 21.
2022-07-15 17:04:24 +02:00
tecnovert
e03f32ea5f
docker: Fix and document isolated coins config. 2022-07-11 23:36:28 +02:00
tecnovert
868dc27d64
ui: Add indication when XMR node is bootstrapping 2022-07-06 15:32:44 +02:00
tecnovert
1b7550ff76
ui: Add XMR rpc variant options. 2022-07-06 13:16:18 +02:00
tecnovert
91e285bf4a
ui: Split wallet cached data into balance and blockchain state.
Add XMR synced indicator.
2022-07-06 00:46:37 +02:00
tecnovert
0580f9ebac
tests: Fix NMC tests. 2022-07-04 22:29:49 +02:00
tecnovert
02bd90053a
refactor: Use read_json_api in more tests. 2022-07-04 00:47:30 +02:00
tecnovert
0c620ea388
doc, tests: Test sequence diagrams are accurate.
Add delay between detecting PTX and redeeming ITX.
Add bid state history to json api.
Hide Tx none states in bid state history.
2022-07-03 23:58:16 +02:00
tecnovert
a2afd3f00f
refactor: Separate MSG4F and lock txn sending 2022-07-01 16:37:10 +02:00
tecnovert
3976b9c203
tests: Fix ci tests. 2022-06-29 13:46:25 +02:00
tecnovert
d5e35b8168
doc, ui: Add sequence diagrams 2022-06-29 01:45:46 +02:00
tecnovert
e7a62a6a82
debug: Log auto accepting event. 2022-06-22 22:51:39 +02:00
tecnovert
d2324ad097
preparescript: Fix missing btc wallet with --addcoin=bitcoin and --usebtcfastsync
doc: Fetch latest xmr chain height
2022-06-18 19:28:40 +02:00
tecnovert
f787bdb203
ui: Add refresh link to bids page. 2022-06-16 23:31:30 +02:00
tecnovert
b64437db84
coins: Raise Litecoin version to 0.21.2 2022-06-16 15:58:59 +02:00
tecnovert
a51a895141
docker: Manually install protobuf to avoid error.
Error: "TypeError: Descriptors cannot not be created directly"

Use pycryptodome ripemd160 implementation else it must be manually enabled in hashlib/openssl.
2022-06-16 14:28:52 +02:00
tecnovert
cddc4daf70
ui: Show offer amount swapped. 2022-06-16 00:19:06 +02:00
tecnovert
3ed6eca95f
ui: Show bids that can be accepted. 2022-06-15 00:35:33 +02:00
tecnovert
0edcf249aa
refactor: Add bid states to db. 2022-06-11 23:56:21 +02:00
tecnovert
89c60851ac
automation: Accept multiple concurrent bids. 2022-06-08 22:23:44 +02:00
tecnovert
d909115ea4
refactor: Rename EventQueue table to Action 2022-06-06 23:03:31 +02:00
tecnovert
0c2c86070f
preparescript: --usebtcfastsync option will initialise the BTC datadir from a chain snapshot. 2022-06-04 23:08:22 +02:00
tecnovert
6153b76ec0
ui: Allow selecting automation strategy when creating offer.
Add alternate pgp key urls.
2022-06-01 00:38:50 +02:00
tecnovert
8daa76f937
refactor: Add automation tables. 2022-05-23 23:51:06 +02:00
tecnovert
88c94c4acd
Set default anon tx ring size to 12 and add setting. 2022-04-11 00:11:51 +02:00
tecnovert
a4683c8450
ui: Add sent filter to offers page. 2022-04-10 22:24:56 +02:00
tecnovert
7bc9d64233
ui: Display sent status on offers page. 2022-04-10 22:08:05 +02:00
tecnovert
12bae95e7d
coins: Raise Bitcoin version to 22.0 2022-03-27 13:57:32 +02:00
tecnovert
a5b192b931
Tor working for Bitcoin forks. 2022-03-27 00:08:15 +02:00
tecnovert
d1e015962c
basicswap-prepare can enable and disable tor config. 2022-03-24 00:00:35 +02:00
tecnovert
843379325f
tests: Add use_segwit to required settings. 2022-02-05 01:16:04 +02:00
tecnovert
67518efcad
ui: Add option to create sized utxo. 2022-01-24 23:32:48 +02:00
tecnovert
f90a96d9ca
ui: Split wallet page 2022-01-23 14:01:01 +02:00
tecnovert
ea347093c2
Always use subprocess without shell 2022-01-03 13:23:02 +02:00
tecnovert
76c7a281bb
Fix getProofOfFunds failure. 2022-01-03 12:05:44 +02:00