1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

40 Commits

Author SHA1 Message Date
a7998abb99
Multinetwork UI additions (#729)
* add BSC to default chains

* searchbar visual tweaks

* race condition fix

* network name tweaks

* beta → v3

* use publish form titles to inform about network

* form actions refactor

* simplify network name on asset details

* visual indicator for selected chains on button

* lint fix

* more layout flow tinkering, collapsed search by default

* search field layout tweaks

* unknown network/gaia-x name fixes

* put back search cancel button in webkit

* space fixes

* cross browser visual fixes
2021-07-26 15:48:24 +02:00
37ea73d421
Merge branch 'main' into feature/multinetwork 2021-07-22 15:17:18 +02:00
4ec23c882f
WalletConnect updates (#749)
* bump @walletconnect/web3-provider to v1.5.0-rc.7

* bump web3 to v1.4.0

* proper wallet logout

* listen to chainChanged instead of networkChanged

* restores network switching for WalletConnect

* fix wallet switching

* get and set initial chainId

* walletconnect modal visual fixes
2021-07-22 15:16:15 +02:00
483ce88d42
another merge fix 2021-07-14 11:44:40 +02:00
fa278899ef
merge fix 2021-07-14 11:33:11 +02:00
08ee32f105
Merge branch 'main' into feature/multinetwork 2021-07-14 11:28:50 +02:00
7d4cb0e87c
fixes for unknown networks (#725)
* fixes for unknown networks

* hack in native token symbol
2021-07-13 16:22:19 +03:00
a017ad219d
move network metadata into a hook 2021-06-14 20:04:44 +02:00
2f4f53ae2a
Menu refactor (#672)
* layout flow and space saving tinkering

* different tactic

* different minimal network name

* next layout flow iteration

* move chains preference into its own action

* mobile view tweaks

* more network icons

* fix and clean up ocean token metadata

* refactor and clean up Chains component

* naming cleanup
2021-06-14 15:05:16 +02:00
21792e9d4f
move OceanProvider to asset route 2021-06-04 15:13:47 +02:00
3332249928
refactor and tinkering 2021-06-04 15:06:24 +02:00
9d7486d626
prototype network feedback based on asset network checks 2021-06-04 15:01:22 +02:00
b516e95879
prettier formatting updates 2021-06-04 11:43:47 +02:00
Jamie Hewitt
d887675f82
Add datatoken to wallet for metamask users (#574)
* upgrading to ocean.js 0.14.6

* saving initial changes

* creating seperate component for adding tokens

* showing datatoken name

* adding button for metamask users

* using substring as datatoken symbol

* removing duplicated code

* removing empty div element

* removing unneccessary div element

* no longer sending the whole DDO

* refactoring add token functions

* updating function name

* no longer sending the whole ddo to the addDataToken component

* removing DDO import

* small refactor, get web3 provider info in useWeb3

* general AddToken component

* cleanup

* cleanup, remove symbol shortening

* copy, layout tweaks

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-17 16:12:22 +02:00
Norbi
96296008c9
Add custom network (#450)
* add custom network

* created announcement banner

* add custom network from banner

* show ADD CUSTOM NETWORK on MetaMask provider

* show add ocean to wallet action

* removed warningPolygon from alert

* removed customNetwork component

* remove Add custom network on asset details page

* Details use function from web3 to add token

* changed available on Polygon link, refactoring

* show Switch to Polygon when no wallet connected

* banner content for no provider and Polygon network

* change message when not provider and eth network

* changed warning and added announcement in site.json

* moved network logic inside Announcement, moved Announcement component

* added switch to ETH button, refactoring

* removed add mOcean action button

* moved location verification to App.tsx

* styling & copy updates

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-03-30 15:37:30 +02:00
Norbi
ed9eb61c1c
Add custom token from the wallet (#437)
* WIP

* added button that allows to push custom token to metamask

* added image url

* use provider from ocean, add mOCEAN symbol to Matic

* use token symbol based on networkId

* removed customToken.json, used Logger to display message

* log error

* fixed log

* review fixes

* used oceanTokenSymbol from config

* getOceanConfig fix
2021-03-22 12:48:28 +01:00
bdccb0966f
Web3/Ocean splitup + full Polygon/Matic support (#433) 2021-03-17 11:44:26 +01:00
a760935564
Add Portis wallet connection (#291)
* add portis

* library loading tinkering

* bump packages

* typings fix

* pip as addon

* remove setuptools

* revert typings fix

* modal styling

* show portis button

* provider name workaround

* for faulty getInjectedProviderName()
* fixes https://github.com/oceanprotocol/market/issues/332

* more usage of provider info object

* output respective wallet logos

* add network switcher for Portis

* add functionality

* prototype for portis network switching

* improve user experience when reconnecting to cached provider

* support mainnet only, leave networking switching code commented out
2021-01-29 13:40:54 +01:00
mihaisc
ff34e263ef
Disconnect button (#293)
* disconnect button

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* styling

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-13 11:20:11 +01:00
84746b1027
refined conversion number formatting, add more currencies (#184)
* fix conversion number formatting
* switch to symbol formatting for fiat
* hack in consistent visual symbol formatting
* add more fiat currencies
* no need for custom isFiat regex
* consistent number column formatting
2020-10-31 20:18:45 +01:00
6e589949b4
refactor network messaging 2020-10-23 13:38:12 +02:00
68ed8fd348
chainId → networkId 2020-10-02 13:41:00 +02:00
88f9c47b8c use browser locale for number formatting 2020-09-22 17:31:33 +00:00
7bae93f42d hack @coingecko/cryptoformat into what we want
* closes #70
* closes #53
2020-09-22 15:24:08 +00:00
ff06d0c137
token value display tweaks 2020-08-19 00:48:26 +02:00
a021fb3f13
refactor wallet popup into generic tooltip component 2020-08-06 13:00:41 +02:00
086631d108
handle currency value display
* closes #42
2020-08-05 14:11:02 +02:00
8183f2edde
refactor web3modal options 2020-07-30 23:37:27 +02:00
03204e0965
wallet tweaks 2020-07-20 13:46:01 +02:00
cea8c7883a
output new balance object from react hooks 2020-07-20 13:22:36 +02:00
1afcd45882
adapt network message based on configured networks 2020-07-15 22:21:57 +02:00
89ec464551
slight tweak 2020-07-15 21:25:24 +02:00
eec3267281
get ocean balance 2020-07-15 21:06:24 +02:00
6e996a1767
web3modal styling and interaction tweaks 2020-07-15 19:10:25 +02:00
ad82444cb0
wallet styling 2020-07-15 13:54:36 +02:00
27779d538b
pass providers to web3modal 2020-07-15 13:54:36 +02:00
3e0473e8f7
use logout 2020-07-15 13:54:35 +02:00
c9a043adce
refactor for new react hooks 2020-07-15 13:54:35 +02:00
970624e652
refined wallet interactions 2020-07-09 12:27:59 +02:00
d5256d2dc0
wallet UI & feedback refactor 2020-07-08 16:39:12 +02:00