diff --git a/README.md b/README.md
index 9e5e3d51..6598c835 100644
--- a/README.md
+++ b/README.md
@@ -80,29 +80,3 @@ yarn dist
```
**Note:** Use `yarn dist:dir` to speed up the process: it will skip the packaging step. Handy for debugging builds. You can also use `BUNDLE_ANALYZER=1 yarn dist:dir` to generate [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) report.
-
-## License
-
-```
-The MIT License
-
-Copyright (c) 2017-present Ledger https://www.ledgerwallet.com/
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-```
diff --git a/src/components/DeviceConnect/stories.js b/src/components/DeviceConnect/stories.js
index f5b93dcb..f37eaf2e 100644
--- a/src/components/DeviceConnect/stories.js
+++ b/src/components/DeviceConnect/stories.js
@@ -4,10 +4,8 @@ import React from 'react'
import { storiesOf } from '@storybook/react'
import { select } from '@storybook/addon-knobs'
import { action } from '@storybook/addon-actions'
-import {
- getCryptoCurrencyById,
- listCryptoCurrencies,
-} from '@ledgerhq/live-common/lib/helpers/currencies'
+import { getCryptoCurrencyById } from '@ledgerhq/live-common/lib/helpers/currencies'
+import { listCryptoCurrencies } from 'config/cryptocurrencies'
import type { Currency } from '@ledgerhq/live-common/lib/types'
diff --git a/src/components/ExportLogsBtn.js b/src/components/ExportLogsBtn.js
new file mode 100644
index 00000000..71276c49
--- /dev/null
+++ b/src/components/ExportLogsBtn.js
@@ -0,0 +1,60 @@
+// @flow
+import logger from 'logger'
+import moment from 'moment'
+import fs from 'fs'
+import { webFrame, remote } from 'electron'
+import React, { Component } from 'react'
+import { translate } from 'react-i18next'
+import { connect } from 'react-redux'
+import { createStructuredSelector, createSelector } from 'reselect'
+import { accountsSelector, encodeAccountsModel } from 'reducers/accounts'
+import { storeSelector as settingsSelector } from 'reducers/settings'
+import Button from './base/Button'
+
+const mapStateToProps = createStructuredSelector({
+ accounts: createSelector(accountsSelector, encodeAccountsModel),
+ settings: settingsSelector,
+})
+
+class ExportLogsBtn extends Component<{
+ t: *,
+ settings: *,
+ accounts: *,
+}> {
+ handleExportLogs = () => {
+ const { accounts, settings } = this.props
+ const logs = logger.exportLogs()
+ const resourceUsage = webFrame.getResourceUsage()
+ const report = { resourceUsage, logs, accounts, settings, date: new Date() }
+ console.log(report) // eslint-disable-line no-console
+ const reportJSON = JSON.stringify(report)
+ const path = remote.dialog.showSaveDialog({
+ title: 'Export logs',
+ defaultPath: `ledger_export_${moment().format('YYYY-MM-DD_HHmmss')}.json`,
+ filters: [
+ {
+ name: 'All Files',
+ extensions: ['json'],
+ },
+ ],
+ })
+ if (path) {
+ fs.writeFile(path, reportJSON, err => {
+ if (err) {
+ logger.error(err)
+ }
+ })
+ }
+ }
+
+ render() {
+ const { t } = this.props
+ return (
+
+ )
+ }
+}
+
+export default translate()(connect(mapStateToProps)(ExportLogsBtn))
diff --git a/src/components/SettingsPage/sections/Profile.js b/src/components/SettingsPage/sections/Profile.js
index 1e97d802..27b859b3 100644
--- a/src/components/SettingsPage/sections/Profile.js
+++ b/src/components/SettingsPage/sections/Profile.js
@@ -13,6 +13,7 @@ import { delay } from 'helpers/promise'
import type { SettingsState } from 'reducers/settings'
import type { T } from 'types/common'
+import ExportLogsBtn from 'components/ExportLogsBtn'
import CheckBox from 'components/base/CheckBox'
import Box from 'components/base/Box'
import Button from 'components/base/Button'
@@ -181,6 +182,9 @@ class TabProfile extends PureComponent {
{t('settings:profile.hardReset')}
+
+
+