Commit Graph

66 Commits

Author SHA1 Message Date
Shardul Aeer 3f213aa5ae
fix: Empty token buffer decode error (#84) 2021-09-18 14:30:22 -05:00
Armani Ferrante 4a92cad65a
Update @project-serum/swap dependency (#78) 2021-09-03 10:46:10 -07:00
armaniferrante 318801a876
Update token account fetch for rpc node changes 2021-08-08 12:53:55 -07:00
Armani Ferrante 879c212da6
Don't show aux accounts (#70) 2021-07-12 20:59:28 -07:00
secretshardul e67506f523
fix: Remove global CSS, use commonjs to support Next.js (#53) 2021-07-09 00:09:08 -07:00
armaniferrante fd035017a5
Wrap/unwrap sol in the same tx 2021-06-28 16:25:52 -07:00
Armani Ferrante 958f809be5
Distinguish SOL from Wrapped SOL (#60) 2021-06-24 19:01:38 -07:00
Armani Ferrante 671225aec8
Create associated token accounts and wrap SOL (#59) 2021-06-24 15:32:34 -07:00
Armani Ferrante a3e841bf8d
Check for empty orderbook (#58) 2021-06-22 21:40:18 -07:00
Armani Ferrante 15c9845bdc
Hide tabs at extension width (#55) 2021-06-16 16:18:32 -07:00
Armani Ferrante 799b67aa92
Recalculate toAmount when swapping currencies (#50) 2021-06-15 18:34:19 -07:00
secretshardul 12e7f94d8e
Mobile friendly swap widget using Material UI's 'theme.spacing()' (#37) 2021-06-15 12:02:50 -07:00
Armani Ferrante 6125d18e3b
Adjust UI displayed toAmount for taker fees (#47) 2021-06-15 10:49:17 -07:00
secretshardul b23d21b0a7
Export providers and low level components (#45) 2021-06-13 10:32:34 -07:00
Armani Ferrante 1886a484cb
fix: Sort token accounts by balances (#42) 2021-06-11 16:21:51 -07:00
Armani Ferrante 5d745f3dd9
Fetch decimals before creating the market client (#38) 2021-06-10 19:15:34 -07:00
Armani Ferrante 8eb5dcae19
Remove stable coin duplicates (#35) 2021-06-10 10:19:51 -07:00
Armani Ferrante 904c2551f6
Disable auto close button (#32) 2021-06-06 00:41:52 +08:00
Armani Ferrante caf47a58f1
Remove open orders accounts from context on close (#31) 2021-06-05 13:00:05 +08:00
Armani Ferrante 500ca67f5b
Close orders and spill surplus changes (#30) 2021-06-05 03:41:20 +08:00
Armani Ferrante 9d87589c2b
Use anchor v0.7.0 (#29) 2021-05-31 16:45:31 -07:00
Armani Ferrante 4537ffdfcd
Pass through wallet to swap api (#28) 2021-05-31 14:43:45 -07:00
Armani Ferrante 49f82b7def
Fix max button wrapping (#27) 2021-05-26 15:33:53 -07:00
philippe-ftx c8fe3c7e77
Remove index.css (#26) 2021-05-26 10:31:00 -07:00
philippe-ftx 004938274b
Redesign and expose styling and theming (#25) 2021-05-26 09:47:53 -07:00
armaniferrante 99a49ab334
Fix travis 2021-05-21 15:47:36 -07:00
Armani Ferrante 3142159a69
Readme updates and typedoc (#23) 2021-05-21 15:42:20 -07:00
Armani Ferrante bf55e41e11
Extract example into its own directory (#22) 2021-05-21 14:58:01 -07:00
Armani Ferrante aa1e70b809
Eliminate unnecessary market network requests (#20) 2021-05-20 23:53:58 -07:00
Armani Ferrante d7b8200b9d
Batch fetch all market mints (#18) 2021-05-20 22:30:22 -07:00
Armani Ferrante 599e54c415
Cache promises (#17) 2021-05-20 16:29:42 -07:00
Armani Ferrante cecf600e58
Use @project-serum/anchor v0.6.0-beta.2 (#14) 2021-05-20 02:37:34 -07:00
Armani Ferrante fa5cde5c1e
Add sendAll hook for the anchor provider (#13) 2021-05-20 00:17:46 -07:00
Armani Ferrante 7de26316a7
Switch min swap quantity to execution price bounds (#11) 2021-05-19 18:59:29 -07:00
armaniferrante 3a58375616
Add USDC and USDT referrals 2021-05-18 01:30:37 -07:00
armaniferrante 2b361b2459
Update token balances via websocket 2021-05-17 19:31:44 -07:00
armaniferrante 7ab35ffa91
Stream orderbook updates via websocket 2021-05-17 18:29:04 -07:00
armaniferrante 395d7c70be
Remove MintContextProvider 2021-05-17 17:21:25 -07:00
armaniferrante 5db9a61b35
Fix unnecessary open orders rendering 2021-05-17 14:03:14 -07:00
armaniferrante f1c4d0386a
Extract useCanSwap into reusable hook 2021-05-17 12:01:35 -07:00
armaniferrante 619ed56437
Move open orders dialog into its own module 2021-05-17 12:00:43 -07:00
armaniferrante dfd776aba1
Refactor contexts out of components subdir 2021-05-17 11:35:03 -07:00
armaniferrante 6ffdecf072
Reclassify peer and dev dependencies 2021-05-17 02:49:39 -07:00
armaniferrante ede30702c5
Route kind access control 2021-05-16 17:54:12 -07:00
armaniferrante 6aa831d298
Wormhole swap market routes 2021-05-16 14:41:55 -07:00
armaniferrante 726a832524
Wormhole and sollet token selection 2021-05-15 23:49:30 -07:00
armaniferrante 4a25be0fb3
Gracefully handle non existant trade routes 2021-05-15 23:49:05 -07:00
armaniferrante 79c87882cd
Add travis ci 2021-05-15 16:38:39 -07:00
armaniferrante ef97779a84
Use memoized token map 2021-05-15 16:25:53 -07:00
armaniferrante 65467d00ea
Connect and disconnect button 2021-05-15 14:25:39 -07:00