Commit Graph

38 Commits

Author SHA1 Message Date
Matthias Kretschmann 8737264816
refactor network name output (#421)
* refactor network output

* fetch chain & network metadata from @ethereum-lists/chains

* typed responses

* switch warning icon for testnet badge

* add supportedNetworks list, output warning based on it

* markup & spacing tweaks

* check networkId against ocean.js ConfigHelper

* remove supportedNetworks app config

* fetch EVM networks metadata on build time

* fixes
2021-03-04 18:16:20 +01:00
Matthias Kretschmann 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 05035d3cdc
remove ga (#345)
* remove ga

* remove from package
2021-01-28 14:11:08 +02:00
mihaisc b5a11d6d0f
Handle price fetching better (#265)
* fix price refresh, add AssetProvider

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

* price comment

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

* fix trade

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

* fix trade

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

* fix pool liquidity

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

* fix AssetProvider

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

* fix

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

* fix import

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

* remove console.log

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

* pool refresh fix

* simplify, logging

* handle errors

* cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-20 14:31:28 +01:00
Matthias Kretschmann 2190a8a9a5
move analytics id to environment variable (#238) 2020-11-10 16:52:26 +01:00
Matthias Kretschmann 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
Matthias Kretschmann cf3f406547
Dark Mode (#182)
* refactor CSS custom properties for dark mode

* dark mode style

* dark mode switching

* config tweaks
2020-10-30 21:28:20 +01:00
Matthias Kretschmann 6e589949b4
refactor network messaging 2020-10-23 13:38:12 +02:00
Matthias Kretschmann f0c6958154
make network switching work 2020-10-23 13:38:12 +02:00
Matthias Kretschmann 93179c8c37
metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
Matthias Kretschmann aeb26b89c5
remove marketFeeAmount config 2020-10-12 14:39:42 +02:00
Matthias Kretschmann 8fb1998b02
add marketFeeAddress to consume/compute 2020-10-09 21:31:57 +02:00
Matthias Kretschmann 74a2c182e9
make metadataStoreUri part of app config 2020-09-11 16:34:13 +02:00
Matthias Kretschmann e421667941
configurable currencies 2020-09-10 14:21:10 +02:00
Matthias Kretschmann 8316a1ab8b
config refactor 2020-08-07 10:20:54 +02:00
Matthias Kretschmann a142509a6f
add existing fallback for marketFeeAddress 2020-08-06 14:39:56 +02:00
Matthias Kretschmann 65cd3d42b0
change default fees 2020-08-06 14:22:19 +02:00
Matthias Kretschmann 93f9432032
configurable market fee values 2020-08-05 15:34:12 +02:00
Matthias Kretschmann f327ec0e43
network config refactor 2020-07-22 13:56:42 +02:00
Matthias Kretschmann bf0375f58f
more config refactor 2020-07-22 13:43:20 +02:00
Matthias Kretschmann 1aedc40fd5
config fix 2020-07-22 12:27:57 +02:00
Matthias Kretschmann fd3a436a31
more config refactor 2020-07-22 12:20:55 +02:00
Matthias Kretschmann 69f8a091d8
refactor network config 2020-07-20 17:04:38 +02:00
Matthias Kretschmann c7fdd37f56
change DTFactory address 2020-07-20 16:32:38 +02:00
Matthias Kretschmann 273cd64b95
market address tinkering 2020-07-16 15:27:57 +02:00
Matthias Kretschmann a0e092ed64
cleanup 2020-07-16 15:00:18 +02:00
Matthias Kretschmann 393daa9269
configurable marketAddress 2020-07-16 14:54:12 +02:00
Matthias Kretschmann 023ddafd13
change oceanTokenAddress for Rinkeby 2020-07-15 22:40:58 +02:00
Matthias Kretschmann ec23f503df
more rinkeby config 2020-07-15 21:33:33 +02:00
Matthias Kretschmann e31add9d21
point everything to Rinkeby 2020-07-15 21:19:26 +02:00
Matthias Kretschmann fbb24e196e
travis fix 2020-07-15 16:13:09 +02:00
Matthias Kretschmann f954537929
fix env vars 2020-07-15 13:54:37 +02:00
Matthias Kretschmann 4c420b65d6
switch metadata store & provider values 2020-07-15 13:54:36 +02:00
Matthias Kretschmann a29ec8a219
fix infura env var 2020-07-15 13:54:36 +02:00
Matthias Kretschmann 7a9e658d03
add infura project id 2020-07-15 13:54:36 +02:00
Matthias Kretschmann 4f61154996
adapt network detection 2020-07-15 13:54:36 +02:00
Matthias Kretschmann 6d2ac9804a
refactor Ocean config 2020-07-15 13:54:35 +02:00
Matthias Kretschmann 1de31e4eff
consolidate actual app config 2020-07-08 15:15:02 +02:00