Commit Graph

221 Commits

Author SHA1 Message Date
Nathaniel Parke 98fac2e158
Cache fee discount key in local storage (#56)
* Cache fee discount key in local storage

* fix
2020-12-18 18:37:39 -08:00
Nathaniel Parke cdcc8c6f5c
Cache market accounts for trading (#55)
* Cache accounts for longer and warm up the cache

* Prettier
2020-12-18 12:28:04 -08:00
Gary Wang 5fa2b521cc Update pool fees, tweak UI, update dependencies 2020-12-14 07:56:38 +08:00
Gary Wang 254600461b Include market address in URL 2020-12-12 04:56:04 +08:00
Gary Wang d58040e3a2 Only use MarketProvider on pages where it's relevant 2020-12-12 04:01:05 +08:00
Gary Wang 09a293d629 Update dependencies 2020-12-12 03:25:52 +08:00
Gary Wang fd8a5a5112 Use wallet.signAllTransactions to sign multiple transactions 2020-12-12 01:06:28 +08:00
Gary Wang cffb51e7bf Autocomplete pool program ID 2020-12-11 05:26:27 +08:00
Gary Wang 1e59dacd84 Handle pools containing wrapped SOL 2020-12-11 03:50:09 +08:00
Gary Wang ce78c4c6b3 Add autocompletion to token mint selection inputs 2020-12-10 23:54:06 +08:00
Gary Wang cc6d2707ef Show token tickers on pool page 2020-12-10 23:22:49 +08:00
Gary Wang 3f21f90f77 Fetch logs with simulateTransaction when transactions fail 2020-12-10 04:10:53 +08:00
Gary Wang 42fec272c9 Add support for admin-controlled pools 2020-12-10 03:21:55 +08:00
Gary Wang f7057035fc Run prettier 2020-12-10 03:21:55 +08:00
Nathaniel Parke fae3fa2ba9 Upgrade serum version to v0.13.14 2020-12-07 12:59:33 +08:00
DR497 c7fece4345
Fix tv build (#53)
* fix: export USE_MARKETS

* fix: update tsconfig to prevent TV charts build issue + update readme
2020-12-04 15:38:35 +08:00
DR497 cd85aa2b76
Explain how to get TradingView charts (#50) 2020-11-23 12:42:44 +08:00
Nathaniel Parke f8a6dc4ee9 Update @project-serum/serum to 0.13.13 2020-11-21 13:12:28 +08:00
Nathaniel Parke 7db8c394e3 Migrate app list to awesome-serum 2020-11-16 14:12:13 +08:00
Nathaniel Parke 65acd0fdcf Update Token Creator url 2020-11-16 09:07:59 +08:00
Nathaniel Parke 66f921f344 Add ingirumimusnocteetconsumimurigni dex 2020-11-16 08:54:35 +08:00
DR497 e2c36c19ca
Add Bonfida API to search bar (#47)
* Add Bonfida API to search bar

* Lint
2020-11-15 16:18:18 +08:00
Nathaniel Parke 8e2df76ba7 Fix search dropdown width render and add SPL tokens to search 2020-11-07 15:02:54 +08:00
DR497 9fffd662b4
Update app-list.json (#45) 2020-11-07 13:19:54 +08:00
Nathaniel Parke 1ba3a88780 Fix onBlur bug 2020-11-06 18:06:52 +08:00
Nathaniel Parke 76ca9d787d Update search prompt placeholder 2020-11-06 17:13:52 +08:00
Nathaniel Parke 5f4efe04c5
Add app search bar (#44)
* Add files

* Basic search working

* Add search bar
2020-11-06 16:40:27 +08:00
Nathaniel Parke 6c14cae259 Auto create token account on order sending 2020-11-05 10:46:09 +08:00
Nathaniel Parke c827c8b740 Upgrade to serum v0.13.11 2020-11-02 09:29:40 +08:00
Gary Wang 655fbcfa47 Set up travis 2020-11-01 09:17:21 -08:00
Gary Wang 28ae0d3336 Add pools landing page 2020-11-01 09:16:35 -08:00
Gary Wang 9af5bbb66c Show balances on pools page 2020-11-01 09:16:35 -08:00
Gary Wang fc3336dca1 Add page for creating/redeeming pool tokens 2020-11-01 09:16:35 -08:00
Gary Wang c89d0c1281 Add page for initializing pools 2020-11-01 09:16:35 -08:00
Nathaniel Parke 58faf7506a Upgrade to serum-js v0.13.10 2020-10-31 21:01:47 +08:00
Nishad a6d753f0a5 Revert "Remove SWAP link"
This reverts commit 0a444db38a.
2020-10-27 21:32:16 +08:00
Nathaniel Parke 0a444db38a Remove SWAP link 2020-10-27 19:04:40 +08:00
Nathaniel Parke 4923264e0c Add link to swap 2020-10-27 12:50:54 +08:00
Nathaniel Parke 221bad7cc7 Fix yarn.lock 2020-10-24 15:28:51 +08:00
Nathaniel Parke 2c871ce3e9
Upgrade solana web3 (#40)
* Upgrade solana web3

* Upgrade to latest version

* Upgrade
2020-10-24 14:58:36 +08:00
David Ratiney e6e7050618
Fix useAllOpenOrdersBalances (#36)
* Fix

* Update markets.tsx

Co-authored-by: Nathaniel Parke <nathaniel.parke@gmail.com>
2020-10-22 13:32:07 +08:00
David Ratiney 633d8facb1
Avoid <BasicLayout> redundancy + tsx (#37) 2020-10-22 13:02:42 +08:00
Nathaniel Parke 063cae46df
Run prettier formatter (#38)
* Run prettier

* Add prettier script
2020-10-22 12:42:24 +08:00
Nishad 99fbbed7d5 Transition to new USDC markets 2020-10-22 00:04:11 +08:00
Nishad 4194a7aa17 Update serum-js 2020-10-19 12:47:31 +08:00
Nathaniel Parke 4d2360ce42 Fix trades column mis-label 2020-10-18 18:03:30 +08:00
David Ratiney 63bf480d18
Bonfida trades (#32)
* Use bonfida public trades

* use market address instead + rebase

* Use Typescript + rebase

* BonfidaTrade in types.tsx

* Add optional parameter setCacheToNull

* Add BonfidaConnector to fetch trades

* Some tweaks

* Fix refactor

Co-authored-by: Philippe Maes <philippe@ftx.com>
Co-authored-by: Nathaniel Parke <nathaniel.parke@gmail.com>
2020-10-18 17:52:09 +08:00
Nathaniel Parke 01ae8ff7dc Add average price to convert box 2020-10-16 17:41:53 +08:00
Nathaniel Parke b3d3100fe1 Add 'ADD MARKET' to top bar and remove testnet and dev net from available clusters 2020-10-16 14:35:51 +08:00
philippe-ftx 61a9294367
Convert box (#11)
* Fix order slider + info text optimization

* [WIP] Convert box

* Finished convert

* Fixed convert balances + other bugs

* Fixed convert prices

* Revert "Fix order slider + info text optimization"

This reverts commit bfc89cf61d.

* First work

* Finished custom markets

* Revert localhost wallet

* Custom markets logic + allow BASE QUOTE labeling

* UI improv

* Allow deletion of custom markets

* Remove unnecessary console.log

* Refactored convert box

* Cleanup

* Change convert form to typescript

* More stuff

* Add types to convert form

* Fix

* Stuff working, should think through convert logic

* Fix network usage

* Update available funds on submit

* Ready

* Some updates

* More concise

* Ready to go

* Clean up

Co-authored-by: Nathaniel Parke <nathaniel.parke@gmail.com>
2020-10-16 13:11:27 +08:00