63 Commits

Author SHA1 Message Date
woodser
8113c6bd1c support getXmrSeed() 2022-05-11 17:04:18 -04:00
woodser
befdf7b33e
Export protobuf types (#100)
* update to monero-javascript v0.7.0
* bump to version v0.0.2
* terminate monero-javascript worker at end of tests
2022-05-10 09:55:41 -04:00
woodser
7ee0d34f1a convert to typescript library
remove create-react-app
2022-05-05 22:25:08 -04:00
woodser
449d0dc750 add typedocs 2022-05-02 15:21:48 -04:00
woodser
2e9a350e53 enable and apply eslint rules 2022-05-02 15:21:48 -04:00
woodser
7e35c1f8f1 delete Haveno app folders at end of tests 2022-04-29 13:55:04 -04:00
woodser
df270eab83 register arbitrator dispute agent 2022-04-28 11:46:49 -04:00
woodser
e18d0ea2c2 offer min amount defaults to fixed amount 2022-04-28 11:46:49 -04:00
woodser
0e612aec74 clean up postOffer() params and use typed test config 2022-04-16 13:12:16 -04:00
woodser
9a63afa5f8 test crypto account persistence 2022-04-12 07:50:09 -04:00
woodser
b5e0849ea3 add test "Can prepare for trading" 2022-04-12 07:50:09 -04:00
woodser
c5e74947d5 test currency code & address validation on create crypto acct (disabled) 2022-04-11 17:54:04 -04:00
woodser
8f295421c3 rename haveno class to HavenoClient 2022-04-08 16:41:45 -04:00
woodser
1065e1b325 seller state is PAYMENT_RECEIVED or PAYOUT_PUBLISHED after confirming 2022-04-07 14:12:19 -04:00
woodser
9d84779a05 rename trade phase DEPOSIT_CONFIRMED to DEPOSIT_UNLOCKED 2022-04-07 10:51:36 -04:00
woodser
8594483c27 rename to getNewDepositAddress() 2022-04-07 10:51:36 -04:00
woodser
1a08f3d15f rename to haveno.ts, haveno.test.ts 2022-04-06 11:37:11 -04:00
woodser
91710b2bcf
test posting offers, taking trades, and opening disputes in parallel (#78)
tests can run repeatedly since backend closes wallets when unused
support funding a wallet with X outputs of amount
support checking if wallet funded with X outputs of amount
2022-04-06 11:28:56 -04:00
duriancrepe
ad26aae4e6
Add API functions to start and stop local Monero node (#76) 2022-04-04 15:29:35 -04:00
duriancrepe
3024c5b2fc
Add API functions to support trade chat (#75) 2022-03-09 07:43:30 -05:00
duriancrepe
7ddf429fc7
Add API functions to open and resolve disputes (#68) 2022-03-07 12:57:00 -05:00
woodser
c914f8771d
support BCH 2022-03-06 10:49:26 -05:00
woodser
95b2b1cab1
support LTC and ZEC (#71) 2022-02-16 11:59:31 -05:00
woodser
3708880ddd
support fiat currencies (#69) 2022-02-16 10:09:59 -05:00
Randall B
f89ed9d3bb
Add market depth API call (#47) 2022-02-11 18:13:56 -05:00
duriancrepe
0df355faa7
Add API functions to initialize Haveno account (#64)
Co-authored-by: woodser@protonmail.com
2022-02-09 04:41:00 -05:00
woodser
f53b9c3437 update to monero-javascript v0.6.4 2022-02-08 14:33:52 -05:00
duriancrepe
6cc5228d7b Fix typescript compile due to missing ignore null operator 2022-02-07 18:37:03 -05:00
Fritz Lumnitz
a27fa770ec Add monero connections manager 2022-01-28 17:02:06 -05:00
woodser
be86aafeff client periodically sends keep alive notification 2022-01-17 08:40:05 -05:00
Fritz Lumnitz
7cdcdffb72 Add notifications listener 2022-01-13 07:57:21 -05:00
duriancrepe
640c89aa87
Add API functions to register arbitrator and mediator keys (#58)
* Add API functions to register arbitrator and mediator keys
2022-01-08 08:21:32 -05:00
l0nelyc0w
f82baecfbf Add API functions to get wallet transfers 2021-12-31 14:34:58 -05:00
woodser
9d2ec873c5 support auto starting and stopping arbitrator, alice, and bob 2021-12-19 11:49:43 -05:00
woodser
1220a86202 update name to HavenoHeadlessAppMain 2021-12-16 13:33:38 -05:00
woodser
0d179da988 test unexpected errors and timeouts during trade initialization
improve logging
2021-12-15 13:19:23 -05:00
woodser
fe2c715d80 add ability to start haveno processes from tests
test making or taking offer with insufficient unlocked balance
2021-12-08 06:25:35 -05:00
premek
db509778a8 do not commit generated protobuf code and .proto files
generate the code on npm install and npm test from .proto files from haveno repository
2021-11-21 14:05:53 -05:00
premek
ee9cbda667 add getMarketPrices call and tests 2021-11-20 19:41:52 -05:00
woodser
d33c3227e0 test trade states throughout trade 2021-11-20 16:25:15 -05:00
woodser
6d80715631 update protobuf definition 2021-11-19 17:14:49 -05:00
woodser
f9559f2a13 tests wait for less mining 2021-11-17 04:56:20 -05:00
premek
e0e800a472 update test instructions to use configured wallet RPC port 2021-11-17 04:56:10 -05:00
woodser
edc0f04498 only test crypto payment accounts 2021-11-17 04:47:48 -05:00
woodser
e66f6b4854 automatically create and fund funding wallet 2021-11-13 08:33:07 -05:00
woodser
36a007a667 rename to HavenoDaemon.ts and HavenoDaemon.test.ts 2021-11-11 16:20:27 -05:00
woodser
94b99c8c09
fix typo (#26) 2021-11-10 17:47:30 -05:00
woodser
93fa4cd7b7
add documentation to add new grpc api functions (#21) 2021-10-27 14:18:07 -04:00
woodser
967d036216 havenod supports crypto account creation and getPrice(currencyCode)
disable account creation with instant trades
2021-10-24 09:23:58 -04:00
woodser
50d8c3b119 update after removing dao, tests passing 2021-10-22 07:45:14 -04:00