359 Commits

Author SHA1 Message Date
RcleydsonR
6ba113ba86 Add connect wallet button on seller view when wallet is not connected 2023-01-18 23:53:46 -03:00
RcleydsonR
51cf33d22b Only show connected network when the user is logged with metamask provider 2023-01-18 23:43:38 -03:00
RcleydsonR
98f6a30f35 Remove localhost network implementation and only use goerli and mumbai networks
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-18 23:40:52 -03:00
RcleydsonR
be90ff746b Refactor decimalCount method and add it on a file to be used in many components 2023-01-18 23:38:00 -03:00
RcleydsonR
4999f3d145 Add typing on components layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:35:08 -03:00
RcleydsonR
846fa82f04 Add typing on views layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:12:40 -03:00
RcleydsonR
f87434debe Add valid Deposit model and return types of blockchain methods
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:02:02 -03:00
RcleydsonR
c8a3fd12b2 Improve code quality by fixing lint issues
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:32:29 -03:00
RcleydsonR
8338064dcd Clean up app strucutre deleting blockchain file and add methods on blockchain folder
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:31:25 -03:00
RcleydsonR
d78f7f1fdf Adjust search component and home view to new approaching using alchemy
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:27:00 -03:00
RcleydsonR
2cbf475e09 Add verify network liquidity method
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:25:22 -03:00
RcleydsonR
668acb5cfa Hide network menu when a network is clicked
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 17:41:53 -03:00
RcleydsonR
e0b4c81b77 Change getValidDeposits to receive a contract in param and use it on getNetworksLiquidity 2023-01-17 14:53:47 -03:00
brunoedcf
80a70a5240 getting liquidity from both networks and saving it at store. splitting methods.ts into 2 different files: buyerMethods.ts and sellerMethods.ts 2023-01-17 01:55:46 -03:00
enzoggqs
98a5959369 Create tests to Listing Component 2023-01-16 11:23:30 -03:00
enzoggqs
2c78a203b0 Create tests to BuyConfirmedComponent 2023-01-16 01:35:03 -03:00
RcleydsonR
c546778963 Remove mock token implementation
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:45:29 -03:00
RcleydsonR
6fd2120b63 Refactor methods from blockchain to use new code structure
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:35:17 -03:00
RcleydsonR
f40db935d3 Add getP2PixAddress implementation
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:33:54 -03:00
brunoedcf
4ef5308f36 Adding request to user change network in wallet 2023-01-13 14:12:11 -03:00
RcleydsonR
a5d5c0dde3 fix connect provider call and lint
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:47:11 -03:00
RcleydsonR
f8e1b888ba get alchemy provider api url from env and use it to get provider
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:43:02 -03:00
RcleydsonR
86131b5641 Refactor of wallet and provider methods
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:41:04 -03:00
RcleydsonR
8b0a212b78 Add listener to listen chain change and update store network name state, also start refactor with getProvider function
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 18:08:08 -03:00
RcleydsonR
62dd4349b2 Remove alchemy file and add localhost network to possible network to choose
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 18:07:06 -03:00
enzoggqs
411966f727 Add more tests to TopBar component 2023-01-12 16:02:09 -03:00
enzoggqs
d66459bea9 update TopBar component tests 2023-01-12 15:15:05 -03:00
enzoggqs
8716bdb064 Create first tests of TopBar component 2023-01-12 10:33:19 -03:00
RcleydsonR
aedd4bc532 Add initial alchemy structure code 2023-01-12 00:32:52 -03:00
enzoggqs
b15d1b5ced Create first custom button tests 2023-01-11 13:16:23 -03:00
enzoggqs
60e3e4462c Separates custom button into a folder inside components 2023-01-11 13:15:46 -03:00
enzoggqs
06eac3b84c Create tests setup 2023-01-11 13:13:32 -03:00
RcleydsonR
6a4884aec9 apply network transition when change network on top bar
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-09 19:33:51 -03:00
Enzo Gabriel
d09f6c45cf
Merge pull request #17 from liftlearning/improve-readme
Improve readme
2023-01-05 12:08:52 -03:00
Enzo Gabriel
e58e5a54cf
Merge pull request #16 from liftlearning/toggle-want-to-button
Toggle Want to (Buy/Sell) button
2023-01-05 12:06:27 -03:00
RcleydsonR
470f927a6d Improve readme 2023-01-04 16:54:54 -03:00
RcleydsonR
163146a7f5 add state to verify if is seller view and toggle want to buy or sell button on top bar 2023-01-02 19:11:43 -03:00
Ronyell Henrique
401abbb1f9
Merge pull request #15 from liftlearning/transaction-history
Transaction history (Manage bids and bid history)
2022-12-30 18:14:15 -03:00
RcleydsonR
0a4ce0a292 rename from bid history to transaction history to be more coherent 2022-12-30 17:39:21 -03:00
RcleydsonR
c657a95a40 fix list buy history width in buy confirmed component 2022-12-30 17:36:20 -03:00
RcleydsonR
0cef35ab28 improve top bar currency menu 2022-12-30 17:27:34 -03:00
RcleydsonR
43ba937a07 Merge branch 'develop' into transaction-history 2022-12-30 17:07:54 -03:00
RcleydsonR
6fdd14f147 rename list component to buy confirmed component and add Listing component inside it 2022-12-30 17:04:52 -03:00
RcleydsonR
060c4f370f change from deposits history to bid history and add it to bid_history router 2022-12-30 16:53:12 -03:00
RcleydsonR
6279acc20d implement logic to await all validDeposits correctly and improve state rendering from listing component 2022-12-30 02:03:23 -03:00
RcleydsonR
59c9eabd30 partial commit (will be removed) 2022-12-28 20:24:41 -03:00
Ronyell Henrique
4cb8cfb017
Merge pull request #13 from liftlearning/smartcontract-update
update smart contract
2022-12-27 19:00:07 -03:00
Ronyell Henrique
4689532f6b
Update SellerView.vue 2022-12-27 18:59:09 -03:00
Ronyell Henrique
2a247d1711
Update SellerSearchComponent.vue 2022-12-27 18:58:24 -03:00
Bruno Esteves
3e907e8498
Update SellerView.vue 2022-12-27 18:20:01 -03:00