Merge branch 'master' into selenium-e2e

feature/default_network_editable
Thomas 7 years ago
commit d646f37741
  1. 2
      .eslintrc
  2. 2
      .gitignore
  3. 1
      CHANGELOG.md
  4. 2
      README.md
  5. 873
      app/_locales/de/messages.json
  6. 281
      app/_locales/en/messages.json
  7. 886
      app/_locales/es/messages.json
  8. 10
      app/_locales/es_419/messages.json
  9. 2
      app/_locales/fr/messages.json
  10. 819
      app/_locales/hn/messages.json
  11. 819
      app/_locales/it/messages.json
  12. 605
      app/_locales/ja/messages.json
  13. 609
      app/_locales/ko/messages.json
  14. 819
      app/_locales/nl/messages.json
  15. 609
      app/_locales/ph/messages.json
  16. 819
      app/_locales/pt/messages.json
  17. 819
      app/_locales/ru/messages.json
  18. 609
      app/_locales/vi/messages.json
  19. 605
      app/_locales/zh_CN/messages.json
  20. 16
      app/images/arrow-right.svg
  21. 32
      app/images/deposit-eth.svg
  22. 14
      app/scripts/README.md
  23. 17
      app/scripts/contentscript.js
  24. 4
      app/scripts/controllers/README.md
  25. 53
      app/scripts/controllers/transactions.js
  26. 42
      app/scripts/lib/tx-state-manager.js
  27. 595
      app/scripts/metamask-controller.js
  28. 5
      app/scripts/migrations/README.md
  29. 5
      development/README.md
  30. 2
      development/states/confirm-new-ui.json
  31. 2
      development/states/send-edit.json
  32. 96
      development/verify-locale-strings.js
  33. 13
      docs/README.md
  34. 18
      docs/add-to-chrome.md
  35. 10
      docs/translating-guide.md
  36. 6
      gulpfile.js
  37. 52
      mascara/src/app/first-time/backup-phrase-screen.js
  38. 129
      mascara/src/app/first-time/import-seed-phrase-screen.js
  39. 99
      mascara/src/app/first-time/index.css
  40. 46
      mascara/src/app/first-time/notice-screen.js
  41. 34
      mascara/src/app/first-time/unique-image-screen.js
  42. 5
      notices/README.md
  43. 18
      old-ui/app/components/transaction-list-item.js
  44. 2
      old-ui/app/components/transaction-list.js
  45. 4
      old-ui/app/css/index.css
  46. 10
      package-lock.json
  47. 6
      package.json
  48. 18
      test/integration/lib/send-new-ui.js
  49. 161
      test/lib/react-trigger-change.js
  50. 2
      test/unit/components/binary-renderer-test.js
  51. 2
      test/unit/components/bn-as-decimal-input-test.js
  52. 2
      test/unit/nameForAccount_test.js
  53. 45
      test/unit/tx-controller-test.js
  54. 117
      ui/app/account-detail.js
  55. 6
      ui/app/accounts/import/index.js
  56. 2
      ui/app/accounts/import/json.js
  57. 4
      ui/app/actions.js
  58. 43
      ui/app/add-token.js
  59. 47
      ui/app/app.js
  60. 89
      ui/app/components/balance.js
  61. 46
      ui/app/components/binary-renderer.js
  62. 22
      ui/app/components/currency-input.js
  63. 31
      ui/app/components/customize-gas-modal/index.js
  64. 29
      ui/app/components/dropdowns/account-options-dropdown.js
  65. 29
      ui/app/components/dropdowns/account-selection-dropdown.js
  66. 6
      ui/app/components/dropdowns/index.js
  67. 1
      ui/app/components/input-number.js
  68. 74
      ui/app/components/mini-account-panel.js
  69. 6
      ui/app/components/modals/deposit-ether-modal.js
  70. 51
      ui/app/components/network-display.js
  71. 60
      ui/app/components/pending-personal-msg-details.js
  72. 597
      ui/app/components/pending-tx/confirm-deploy-contract.js
  73. 162
      ui/app/components/pending-tx/confirm-send-ether.js
  74. 223
      ui/app/components/pending-tx/confirm-send-token.js
  75. 60
      ui/app/components/pending-typed-msg-details.js
  76. 47
      ui/app/components/pending-typed-msg.js
  77. 58
      ui/app/components/range-slider.js
  78. 440
      ui/app/components/send-token/index.js
  79. 44
      ui/app/components/send/currency-toggle.js
  80. 37
      ui/app/components/send/eth-fee-display.js
  81. 11
      ui/app/components/send/gas-fee-display-v2.js
  82. 62
      ui/app/components/send/gas-fee-display.js
  83. 1
      ui/app/components/send/send-v2-container.js
  84. 35
      ui/app/components/send/usd-fee-display.js
  85. 66
      ui/app/components/sender-to-recipient.js
  86. 18
      ui/app/components/template.js
  87. 68
      ui/app/components/transaction-list-item-icon.js
  88. 239
      ui/app/components/transaction-list-item.js
  89. 87
      ui/app/components/transaction-list.js
  90. 97
      ui/app/components/tx-list-item.js
  91. 15
      ui/app/components/tx-list.js
  92. 42
      ui/app/components/typed-message-renderer.js
  93. 56
      ui/app/components/wallet-content-display.js
  94. 18
      ui/app/conf-tx.js
  95. 13
      ui/app/conversion-util.js
  96. 3
      ui/app/css/itcss/components/account-menu.scss
  97. 12
      ui/app/css/itcss/components/buttons.scss
  98. 48
      ui/app/css/itcss/components/confirm.scss
  99. 1
      ui/app/css/itcss/components/index.scss
  100. 10
      ui/app/css/itcss/components/modal.scss
  101. Some files were not shown because too many files have changed in this diff Show More

@ -148,7 +148,7 @@
"space-in-parens": [1, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","], "exceptions": ["=", "-"] } ],
"strict": 0,
"template-curly-spacing": [2, "never"],
"use-isnan": 2,

2
.gitignore vendored

@ -6,7 +6,9 @@ app/bower_components
test/bower_components
package
# IDEs
.idea
.vscode
temp
.tmp

@ -2,6 +2,7 @@
## Current Master
- MetaMask will no longer allow nonces to be specified by the dapp
- Add ability for internationalization.
- Will now throw an error if the `to` field in txParams is not valid.
- Will strip null values from the `to` field.

@ -76,5 +76,3 @@ To write tests that will be run in the browser using QUnit, add your test files
- [How to generate a visualization of this repository's development](./docs/development-visualization.md)
[1]: http://www.nomnoml.com/#view/%5B%3Cactor%3Euser%5D%0A%0A%5Bmetamask-ui%7C%0A%20%20%20%5Btools%7C%0A%20%20%20%20%20react%0A%20%20%20%20%20redux%0A%20%20%20%20%20thunk%0A%20%20%20%20%20ethUtils%0A%20%20%20%20%20jazzicon%0A%20%20%20%5D%0A%20%20%20%5Bcomponents%7C%0A%20%20%20%20%20app%0A%20%20%20%20%20account-detail%0A%20%20%20%20%20accounts%0A%20%20%20%20%20locked-screen%0A%20%20%20%20%20restore-vault%0A%20%20%20%20%20identicon%0A%20%20%20%20%20config%0A%20%20%20%20%20info%0A%20%20%20%5D%0A%20%20%20%5Breducers%7C%0A%20%20%20%20%20app%0A%20%20%20%20%20metamask%0A%20%20%20%20%20identities%0A%20%20%20%5D%0A%20%20%20%5Bactions%7C%0A%20%20%20%20%20%5BaccountManager%5D%0A%20%20%20%5D%0A%20%20%20%5Bcomponents%5D%3A-%3E%5Bactions%5D%0A%20%20%20%5Bactions%5D%3A-%3E%5Breducers%5D%0A%20%20%20%5Breducers%5D%3A-%3E%5Bcomponents%5D%0A%5D%0A%0A%5Bweb%20dapp%7C%0A%20%20%5Bui%20code%5D%0A%20%20%5Bweb3%5D%0A%20%20%5Bmetamask-inpage%5D%0A%20%20%0A%20%20%5B%3Cactor%3Eui%20developer%5D%0A%20%20%5Bui%20developer%5D-%3E%5Bui%20code%5D%0A%20%20%5Bui%20code%5D%3C-%3E%5Bweb3%5D%0A%20%20%5Bweb3%5D%3C-%3E%5Bmetamask-inpage%5D%0A%5D%0A%0A%5Bmetamask-background%7C%0A%20%20%5Bprovider-engine%5D%0A%20%20%5Bhooked%20wallet%20subprovider%5D%0A%20%20%5Bid%20store%5D%0A%20%20%0A%20%20%5Bprovider-engine%5D%3C-%3E%5Bhooked%20wallet%20subprovider%5D%0A%20%20%5Bhooked%20wallet%20subprovider%5D%3C-%3E%5Bid%20store%5D%0A%20%20%5Bconfig%20manager%7C%0A%20%20%20%20%5Brpc%20configuration%5D%0A%20%20%20%20%5Bencrypted%20keys%5D%0A%20%20%20%20%5Bwallet%20nicknames%5D%0A%20%20%5D%0A%20%20%0A%20%20%5Bprovider-engine%5D%3C-%5Bconfig%20manager%5D%0A%20%20%5Bid%20store%5D%3C-%3E%5Bconfig%20manager%5D%0A%5D%0A%0A%5Buser%5D%3C-%3E%5Bmetamask-ui%5D%0A%0A%5Buser%5D%3C%3A--%3A%3E%5Bweb%20dapp%5D%0A%0A%5Bmetamask-contentscript%7C%0A%20%20%5Bplugin%20restart%20detector%5D%0A%20%20%5Brpc%20passthrough%5D%0A%5D%0A%0A%5Brpc%20%7C%0A%20%20%5Bethereum%20blockchain%20%7C%0A%20%20%20%20%5Bcontracts%5D%0A%20%20%20%20%5Baccounts%5D%0A%20%20%5D%0A%5D%0A%0A%5Bweb%20dapp%5D%3C%3A--%3A%3E%5Bmetamask-contentscript%5D%0A%5Bmetamask-contentscript%5D%3C-%3E%5Bmetamask-background%5D%0A%5Bmetamask-background%5D%3C-%3E%5Bmetamask-ui%5D%0A%5Bmetamask-background%5D%3C-%3E%5Brpc%5D%0A

@ -0,0 +1,873 @@
{
"accept": {
"message": "Annehmen"
},
"account": {
"message": "Account"
},
"accountDetails": {
"message": "Accountdetails"
},
"accountName": {
"message": "Accountname"
},
"address": {
"message": "Adresse"
},
"addToken": {
"message": "Token hinzufügen"
},
"amount": {
"message": "Betrag"
},
"amountPlusGas": {
"message": "Betrag + Gas"
},
"appDescription": {
"message": "Ethereum Browsererweiterung",
"description": "Die Beschreibung der Erweiterung"
},
"appName": {
"message": "MetaMask",
"description": "Der Name der Erweiterung"
},
"attemptingConnect": {
"message": "Versuch mit der Blockchain zu verbinden."
},
"available": {
"message": "Verfügbar"
},
"back": {
"message": "Zurück"
},
"balance": {
"message": "Guthaben:"
},
"balanceIsInsufficientGas": {
"message": "Guthaben unzureichend für den aktuellen gesamten Gasbetrag"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "Muss größer oder gleich $1 und kleiner oder gleich $2 sein.",
"description": "Helfer für die Eingabe von hex als dezimal"
},
"blockiesIdenticon": {
"message": "Blockies Identicon verwenden"
},
"borrowDharma": {
"message": "Mit Dharma ausleihen (Beta)"
},
"builtInCalifornia": {
"message": "MetaMask wurde in Kalifornien entwickelt und gebaut."
},
"buy": {
"message": "Kaufen"
},
"buyCoinbase": {
"message": "Auf Coinbase kaufen"
},
"buyCoinbaseExplainer": {
"message": "Coinbase ist die weltweit bekannteste Möglichkeit bitcoin, ethereum und litecoin zu kaufen und verkaufen."
},
"ok": {
"message": "Ok"
},
"cancel": {
"message": "Abbrechen"
},
"classicInterface": {
"message": "Klassische Oberfläche verwenden"
},
"clickCopy": {
"message": "Klicken um zu kopieren"
},
"confirm": {
"message": "Bestätigen"
},
"confirmed": {
"message": "Bestätigt"
},
"confirmContract": {
"message": "Smart Contract bestätigen"
},
"confirmPassword": {
"message": "Passwort bestätigen"
},
"confirmTransaction": {
"message": "Transaktion bestätigen"
},
"continue": {
"message": "Weiter"
},
"continueToCoinbase": {
"message": "Zu Coinbase fortfahren"
},
"contractDeployment": {
"message": "Smart Contract ausführen"
},
"conversionProgress": {
"message": "Umtausch in Arbeit"
},
"copiedButton": {
"message": "Kopiert"
},
"copiedClipboard": {
"message": "In die Zwischenablage kopiert"
},
"copiedExclamation": {
"message": "Kopiert!"
},
"copiedSafe": {
"message": "Ich habe es an einen sicheren Ort kopiert"
},
"copy": {
"message": "Kopieren"
},
"copyToClipboard": {
"message": "In die Zwischenablage kopieren"
},
"copyButton": {
"message": " Kopieren "
},
"copyPrivateKey": {
"message": "Das ist Ihr Private Key (klicken um zu kopieren)"
},
"create": {
"message": "Erstellen"
},
"createAccount": {
"message": "Account erstellen"
},
"createDen": {
"message": "Erstellen"
},
"crypto": {
"message": "Krypto",
"description": "Börsentyp (Kryptowährungen)"
},
"currentConversion": {
"message": "Aktueller Umtausch"
},
"currentNetwork": {
"message": "Aktuelles Netzwerk"
},
"customGas": {
"message": "Gas anpassen"
},
"customize": {
"message": "Anpassen"
},
"customRPC": {
"message": "Spezieller RPC"
},
"decimalsMustZerotoTen": {
"message": "Die Dezimalangabe muss mindestens 0 und nicht höher als 36 sein."
},
"decimal": {
"message": "Dezimalangabe der Präzision"
},
"defaultNetwork": {
"message": "Das Standardnetzwerk für Ether Transaktionen ist das Main Net."
},
"denExplainer": {
"message": "Dein DEN ist dein passwortverschlüsselter Speicher innerhalb von MetaMask."
},
"deposit": {
"message": "Einzahlen"
},
"depositBTC": {
"message": "Zahle dein BTC in die unten stehende Adresse ein:"
},
"depositCoin": {
"message": "Zahle deine $1 in die unten stehende Adresse ein",
"description": "Teilt dem Benutzer mit welchen Token er beim Einzahlen mit Shapeshift ausgewählt hat"
},
"depositEth": {
"message": "Eth einzahlen"
},
"depositEther": {
"message": "Ether einzahlen"
},
"depositFiat": {
"message": "Fiat einzahlen"
},
"depositFromAccount": {
"message": "Von einem anderen Account einzahlen"
},
"depositShapeShift": {
"message": "Mit ShapeShift einzahlen"
},
"depositShapeShiftExplainer": {
"message": "Wenn du andere Kryptowährungen besitzt, kannst du diese direkt mit Hilfe deiner MetaMask Wallet handeln und einzahlen. Du benötigst keinen Account."
},
"details": {
"message": "Details"
},
"directDeposit": {
"message": "Sofortige Einzahlung"
},
"directDepositEther": {
"message": "Sofort Ether einzahlen"
},
"directDepositEtherExplainer": {
"message": "Wenn du bereits Ether besitzt, ist die sofortige Einzahlung die schnellste Methode Ether in deine neue Wallet zu bekommen."
},
"done": {
"message": "Fertig"
},
"downloadStatelogs": {
"message": "Statelogs herunterladen"
},
"dropped": {
"message": "Abgewählt"
},
"edit": {
"message": "Editieren"
},
"editAccountName": {
"message": "Namen des Accounts editieren"
},
"emailUs": {
"message": "Schreib uns eine Mail!"
},
"encryptNewDen": {
"message": "Verschlüssele deine neue DEN"
},
"enterPassword": {
"message": "Passwort eingeben"
},
"enterPasswordConfirm": {
"message": "Gib dein neues Passwort zur Bestätigung ein"
},
"passwordNotLongEnough": {
"message": "Passwort ist nicht lang genug"
},
"passwordsDontMatch": {
"message": "Passwörter stimmen nicht überein"
},
"etherscanView": {
"message": "Account auf Etherscan anschauen"
},
"exchangeRate": {
"message": "Wechselrate"
},
"exportPrivateKey": {
"message": "Private Key exportieren"
},
"exportPrivateKeyWarning": {
"message": "Der Export von Private Keys verläuft auf eigene Verantwortung."
},
"failed": {
"message": "Fehlgeschlagen"
},
"fiat": {
"message": "FIAT",
"description": "Börsentyp"
},
"fileImportFail": {
"message": "Dateiimport fehlgeschlagen? Bitte hier klicken!",
"description": "Hilft dem Benutzer sein Benutzerkonto durch eine JSON Datei zu importieren"
},
"followTwitter": {
"message": "Folge uns auf Twitter"
},
"from": {
"message": "von"
},
"fromToSame": {
"message": "Ziel- und Ursprungsadresse dürfen nicht identisch sein"
},
"fromShapeShift": {
"message": "Von ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Kleiner Hinweis bzgl. der Gaskosten"
},
"gasFee": {
"message": "Gasgebühren"
},
"gasLimit": {
"message": "Gaslimit"
},
"gasLimitCalculation": {
"message": "Wir berechnen das empfohlene Gaslimit basierend auf der Erfolgsrate des Netzwerks."
},
"gasLimitRequired": {
"message": "Gaslimit benötigt"
},
"gasLimitTooLow": {
"message": "Gaslimit muss mindestens 21000 betragen"
},
"generatingSeed": {
"message": "Seed generieren..."
},
"gasPrice": {
"message": "Gaspreis (GWEI)"
},
"gasPriceCalculation": {
"message": "Wir berechnen den empfohlenen Gaspreis basierend auf der Erfolgsrate des Netzwerks."
},
"gasPriceRequired": {
"message": "Gaspreis benötigt"
},
"getEther": {
"message": "Ether holen"
},
"getEtherFromFaucet": {
"message": "Ether für $1 vom Faucet holen",
"description": "Zeigt den Netzwerknamen für den Ether Faucet an"
},
"greaterThanMin": {
"message": "Muss größer oder gleich $1 sein.",
"description": "Helfer für die Eingabe von hex als dezimal"
},
"here": {
"message": "hier",
"description": "z.B. für klick hier für mehr Informationen (in Zusammenhang mit troubleTokenBalances)"
},
"hereList": {
"message": "Hier ist eine Liste!!!!"
},
"hide": {
"message": "Ausblenden"
},
"hideToken": {
"message": "Token ausblenden"
},
"hideTokenPrompt": {
"message": "Token ausblenden?"
},
"howToDeposit": {
"message": "Wie möchtest du Ether einzahlen?"
},
"holdEther": {
"message": "Es erlaubt dir ether & Token zu halten und dient dir als Verbindung zu dezentralisierten Applikationen."
},
"import": {
"message": "Import",
"description": "Button um den Account aus einer ausgewählten Datei zu importieren"
},
"importAccount": {
"message": "Account importieren"
},
"importAccountMsg": {
"message":" Importierte Accounts werden nicht mit der Seed Wörterfolge deines ursprünglichen MetaMask Accounts verknüpft. Erfahre mehr über importierte Accounts."
},
"importAnAccount": {
"message": "Einen Account importieren"
},
"importDen": {
"message": "Vorhandenes DEN importieren"
},
"imported": {
"message": "Importiert",
"description": "Status der angezeigt wird wenn ein Benutzerkonto vollständig in das Schlüsselbund geladen wurde."
},
"infoHelp": {
"message": "Info & Hilfe"
},
"insufficientFunds": {
"message": "Nicht genügend Guthaben."
},
"insufficientTokens": {
"message": "Nicht genügend Token."
},
"invalidAddress": {
"message": "Ungültige Adresse"
},
"invalidAddressRecipient": {
"message": "Empfängeradresse ist unzulässig"
},
"invalidGasParams": {
"message": "Ungültige Gasparameter"
},
"invalidInput": {
"message": "Ungültige Eingabe."
},
"invalidRequest": {
"message": "Ungültige Abfrage"
},
"invalidRPC": {
"message": "Ungültige RPC URI"
},
"jsonFail": {
"message": "Irgendetwas ist schief gelaufen. Bitte überprüfe ob deine JSON Datei korrekt formatiert ist."
},
"jsonFile": {
"message": "JSON Datei",
"description": "Dateiformat für das Importieren eines Accounts"
},
"kovan": {
"message": "Kovan Testnetzwerk"
},
"knowledgeDataBase": {
"message": "Schau in unsere Wissensdatenbank"
},
"max": {
"message": "Max"
},
"lessThanMax": {
"message": "Muss kleiner oder gleich $1 sein.",
"description": "Helfer für die Eingabe von hex als dezimal"
},
"likeToAddTokens": {
"message": "Möchtest du diese Token hinzufügen?"
},
"links": {
"message": "Links"
},
"limit": {
"message": "Limit"
},
"loading": {
"message": "Laden..."
},
"loadingTokens": {
"message": "Token laden..."
},
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Login"
},
"logout": {
"message": "Ausloggen"
},
"loose": {
"message": "Frei"
},
"loweCaseWords": {
"message": "Die Wörter der Seed Wörterfolgen sind alle kleingeschrieben"
},
"mainnet": {
"message": "Ethereum Hauptnetzwerk (Main Net)"
},
"message": {
"message": "Nachricht"
},
"metamaskDescription": {
"message": "MetaMask ist ein sicherer Identitätssafe für Ethereum."
},
"min": {
"message": "Minimum"
},
"myAccounts": {
"message": "Meine Accounts"
},
"mustSelectOne": {
"message": "Du musst mindestens 1 Token auswählen."
},
"needEtherInWallet": {
"message": "Um dezentralisierte Applikationen mit MetaMask verwenden zu können, benötigst du Ether in deiner Wallet."
},
"needImportFile": {
"message": "Für den Import musst du eine Datei auswählen.",
"description": "Benutzer importiert ein Benutzerkonto und muss eine Datei hinzufügen um fortzufahren"
},
"needImportPassword": {
"message": "Für die ausgewählte Datei muss ein Passwort eingegeben werden.",
"description": "Passwort und Datei sind notwendig um einen Account zu importieren"
},
"negativeETH": {
"message": "Negative ETH Beträge können nicht versendet werden."
},
"networks": {
"message": "Netzwerke"
},
"newAccount": {
"message": "Neuer Account"
},
"newAccountNumberName": {
"message": "Account $1",
"description": "Standardname für einen weiteren Account der angelegt wird, wenn create account screen geklickt wird"
},
"newContract": {
"message": "Neuer Smart Contract"
},
"newPassword": {
"message": "Neues Passwort (min. 8 Zeichen)"
},
"newRecipient": {
"message": "Neuer Empfänger"
},
"newRPC": {
"message": "Neue RPC URL"
},
"next": {
"message": "Weiter"
},
"noAddressForName": {
"message": "Für den angegebene Namen wurde keine Adresse eingegeben."
},
"noDeposits": {
"message": "Keine Einzahlung erhalten"
},
"noTransactionHistory": {
"message": "Keine Transaktionshistorie."
},
"noTransactions": {
"message": "Keine Transaktionen"
},
"notStarted": {
"message": "Nicht gestartet"
},
"oldUI": {
"message": "Alte Oberfläche"
},
"oldUIMessage": {
"message": "Du bist zur alten Oberfläche zurückgewechselt. Du kannst mit Hilfe der Option im oberen rechten Dropdown Menü zur neuen Oberfläche zurückwechseln."
},
"or": {
"message": "oder",
"description": "Wahl zwischen erstellen oder importieren eines Accounts."
},
"passwordCorrect": {
"message": "Bitte überzeuge dich davon, dass dein Passwort korrekt ist."
},
"passwordMismatch": {
"message": "Passwörter stimmen nicht überein",
"description": "Im Passwort erstellen Prozess stimmen beide Passwörter nicht miteinander überein"
},
"passwordShort": {
"message": "Passwort ist nicht lang genug",
"description": "Im Passwort erstellen Prozess ist das eingegebene Passwort nicht lang genug um sicher zu sein"
},
"pastePrivateKey": {
"message": "Füge deine Private Key Zeichenfolge hier ein:",
"description": "Für den Import eine Accounts mit Hilfe eines Private Keys"
},
"pasteSeed": {
"message": "Füge deine Seed Wörterfolge hier ein!"
},
"personalAddressDetected": {
"message": "Personalisierte Adresse identifiziert. Bitte füge die Token Contract Adresse ein."
},
"pleaseReviewTransaction": {
"message": "Bitte überprüfe deine Transaktion."
},
"privacyMsg": {
"message": "Datenschutzrichtlinie"
},
"privateKey": {
"message": "Private Key",
"description": "Wähle diesen Dateityp um damit einen Account zu importieren"
},
"privateKeyWarning": {
"message": "Warnung: Niemals jemanden deinen Private Key mitteilen. Jeder der im Besitz deines Private Keys ist, kann jegliches Guthaben deines Accounts stehlen."
},
"privateNetwork": {
"message": "Privates Netzwerk"
},
"qrCode": {
"message": "QR Code anzeigen"
},
"readdToken": {
"message": "Du kannst diesen Token zukünftig wieder hinzufügen indem du in den Menüpunkt \"Token hinzufügen\" in den Einstellungen deines Accounts gehst."
},
"readMore": {
"message": "Hier mehr erfahren."
},
"readMore2": {
"message": "Mehr erfahren."
},
"receive": {
"message": "Erhalten"
},
"recipientAddress": {
"message": "Empfängeradresse"
},
"refundAddress": {
"message": "Rückerstattungsadresse"
},
"rejected": {
"message": "Abgelehnt"
},
"resetAccount": {
"message": "Account zurücksetzten"
},
"restoreFromSeed": {
"message": "Mit Hilfe der Seed Wörterfolge wiederherstellen."
},
"restoreVault": {
"message": "Vault wiederherstellen"
},
"required": {
"message": "Benötigt"
},
"retryWithMoreGas": {
"message": "Versuche es hier mit einem höheren Gaspreis noch einmal"
},
"walletSeed": {
"message": "Wallet Seed"
},
"revealSeedWords": {
"message": "Seed Wörterfolge anzeigen"
},
"revealSeedWordsWarning": {
"message": "Bitte niemals deine Seed Wörterfolge an einem öffentlichen Ort kenntlich machen. Mit diesen Wörtern können alle deine Accounts gestohlen werden."
},
"revert": {
"message": "Zurück gehen"
},
"rinkeby": {
"message": "Rinkeby Testnetzwerk"
},
"ropsten": {
"message": "Ropsten Testnetzwerk"
},
"currentRpc": {
"message": "Aktueller RPC"
},
"connectingToMainnet": {
"message": "Verbinde zum Ethereum Hauptnetzwerk (Main Net)"
},
"connectingToRopsten": {
"message": " Verbinde zum Ropsten Testnetzwerk"
},
"connectingToKovan": {
"message": " Verbinde zum Kovan Testnetzwerk"
},
"connectingToRinkeby": {
"message": " Verbinde zum Rinkeby Testnetzwerk"
},
"connectingToUnknown": {
"message": "Verbinde zu einem unbekanntem Netzwerk"
},
"sampleAccountName": {
"message": "Z.B. mein neuer Account",
"description": "Dem Benutzer helfen das Konzept des Hinzufügens eines menschlich lesbaren Namen für den Account hinzuzufügen"
},
"save": {
"message": "Speichern"
},
"saveAsFile": {
"message": "Als Datei speichern",
"description": "Prozess des Exportieren eines Accounts"
},
"saveSeedAsFile": {
"message": "Seed Wörterfolge als Datei speichern"
},
"search": {
"message": "Suche"
},
"secretPhrase": {
"message": "Gib die 12 Wörter deiner geheimem Wörterfolge ein um deinen Vault wiederherzustellen."
},
"newPassword8Chars": {
"message": "Neues Passwort (min. 8 Zeichen)"
},
"seedPhraseReq": {
"message": "Seed Wörterfolgen bestehen aus 12 Wörtern"
},
"select": {
"message": "Auswählen"
},
"selectCurrency": {
"message": "Währung auswählen"
},
"selectService": {
"message": "Service auswählen"
},
"selectType": {
"message": "Typ auswählen"
},
"send": {
"message": "Senden"
},
"sendETH": {
"message": "ETH senden"
},
"sendTokens": {
"message": "Token senden"
},
"onlySendToEtherAddress": {
"message": "ETH nur zu einer Ethereum Adresse senden."
},
"sendTokensAnywhere": {
"message": "Token zu einer beliebigen Person mit einem Ethereumaccount senden"
},
"settings": {
"message": "Einstellungen"
},
"info": {
"message": "Info"
},
"shapeshiftBuy": {
"message": "Mit Shapeshift kaufen"
},
"showPrivateKeys": {
"message": "Private Keys anzeigen"
},
"showQRCode": {
"message": "QR Code anzeigen"
},
"sign": {
"message": "Unterschreiben"
},
"signed": {
"message": "Unterschrieben"
},
"signMessage": {
"message": "Nachricht unterschreiben"
},
"signNotice": {
"message": "Das Unterschreiben dieser Nachricht kann gefährliche Nebeneffekte haben. Bitte nur Nachrichten von Webseiten unterschreiben denen du deinen vollständigen Account anvertrauen würdest. Diese gefährliche Variante wird in zukünftigen Versionen entfernt werden."
},
"sigRequest": {
"message": "Unterschriftsanfrage"
},
"sigRequested": {
"message": "Unterschrift angefragt"
},
"spaceBetween": {
"message": "Es darf nur ein Leerzeichen zwischen den Wörtern sein"
},
"status": {
"message": "Status"
},
"stateLogs": {
"message": "Statelogs"
},
"stateLogsDescription": {
"message": "Statelogs zeigen die Public Adresse und die gesendeten Transaktionen deines Accounts."
},
"stateLogError": {
"message": "Fehler beim Abfragen der Statelogs."
},
"submit": {
"message": "Einreichen"
},
"submitted": {
"message": "Eingereicht"
},
"supportCenter": {
"message": "Gehe zu unserem Support Center"
},
"symbolBetweenZeroTen": {
"message": "Das Symbol muss zwischen 0 und 10 Zeichen haben."
},
"takesTooLong": {
"message": "Dauert es zu lang?"
},
"terms": {
"message": "Nutzungsbedingungen"
},
"testFaucet": {
"message": "Testfaucet"
},
"to": {
"message": "An:"
},
"toETHviaShapeShift": {
"message": "$1 an ETH via ShapeShift",
"description": "Das System wird den Einzahlungstyp im Beginn der Nachricht eintragen"
},
"tokenAddress": {
"message": "Tokenadresse"
},
"tokenAlreadyAdded": {
"message": "Der Token wurde bereits hinzugefügt."
},
"tokenBalance": {
"message": "Dein Tokenguthaben beträgt:"
},
"tokenSelection": {
"message": "Suche nach Token oder wähle aus einer Liste der beliebtesten Token aus."
},
"tokenSymbol": {
"message": "Tokensymbol"
},
"tokenWarning1": {
"message": "Behalte die Token die du mit deinem MetaMask Account gekauft hast im Auge. Wenn du Token mit einem anderen Account gekauft hast, werden diese hier nicht angezeigt."
},
"total": {
"message": "Gesamt"
},
"transactions": {
"message": "Transaktionen"
},
"transactionMemo": {
"message": "Transaktionsmemo (optional)"
},
"transactionNumber": {
"message": "Transaktionsnummer"
},
"transfers": {
"message": "Transfers"
},
"troubleTokenBalances": {
"message": "Wir haben Schwierigkeiten dein Tokenguthaben zu laden. Du kannst es hier anzeigen lassen",
"description": "Gefolgt von einem Link (hier) um die Tokenguthaben anzuzeigen"
},
"twelveWords": {
"message": "Diese 12 Wörter stellen die einzige Möglichkeit dar deinen MetaMask Account wiederherzustellen. Speichere sie daher an einem sicheren und geheimen Ort."
},
"typePassword": {
"message": "Passwort eingeben"
},
"uiWelcome": {
"message": "Willkommen zur neuen Oberfläche (Beta)"
},
"uiWelcomeMessage": {
"message": "Du verwendest nun die neue Metamask Oberfläche. Schau dich um, teste die neuen Features wie z.B. das Senden von Token und lass es uns wissen falls du irgendwelche Probleme hast."
},
"unapproved": {
"message": "Nicht genehmigt"
},
"unavailable": {
"message": "Nicht verfügbar"
},
"unknown": {
"message": "Unbekannt"
},
"unknownNetwork": {
"message": "Unbekanntes privates Netzwerk"
},
"uriErrorMsg": {
"message": "URIs benötigen die korrekten HTTP/HTTPS Präfixe."
},
"unknownNetworkId": {
"message": "Unbekannte Netzwerk ID"
},
"usaOnly": {
"message": "Nur USA ",
"description": "Diese Börse ist nur für Einwohner der USA verfügbar"
},
"usedByClients": {
"message": "Verwendet von einer Reihe verschiedenen Kunden"
},
"useOldUI": {
"message": "Alte Oberfläche verwenden"
},
"validFileImport": {
"message": "Du musst eine gültige Datei für den Import auswählen."
},
"vaultCreated": {
"message": "Vault erstellt"
},
"viewAccount": {
"message": " Account einsehen"
},
"visitWebSite": {
"message": "Gehe zu unsere Webseite"
},
"warning": {
"message": "Warnung"
},
"welcomeBeta": {
"message": "Willkommen zu MetaMask Beta"
},
"whatsThis": {
"message": "Was ist das?"
},
"yourSigRequested": {
"message": "Deine Unterschrift wird angefordert"
},
"youSign": {
"message": "Du unterschreibst"
}
}

@ -14,9 +14,15 @@
"address": {
"message": "Address"
},
"addCustomToken": {
"message": "Add custom token"
},
"addToken": {
"message": "Add Token"
},
"addTokens": {
"message": "Add Tokens"
},
"amount": {
"message": "Amount"
},
@ -31,9 +37,15 @@
"message": "MetaMask",
"description": "The name of the application"
},
"approved": {
"message": "Approved"
},
"attemptingConnect": {
"message": "Attempting to connect to blockchain."
},
"attributions": {
"message": "Attributions"
},
"available": {
"message": "Available"
},
@ -43,6 +55,9 @@
"balance": {
"message": "Balance:"
},
"balances": {
"message": "Your balances"
},
"balanceIsInsufficientGas": {
"message": "Insufficient balance for current gas total"
},
@ -53,9 +68,15 @@
"message": "must be greater than or equal to $1 and less than or equal to $2.",
"description": "helper for inputting hex as decimal input"
},
"blockiesIdenticon": {
"message": "Use Blockies Identicon"
},
"borrowDharma": {
"message": "Borrow With Dharma (Beta)"
},
"builtInCalifornia": {
"message": "MetaMask is designed and built in California."
},
"buy": {
"message": "Buy"
},
@ -65,15 +86,24 @@
"buyCoinbaseExplainer": {
"message": "Coinbase is the world’s most popular way to buy and sell bitcoin, ethereum, and litecoin."
},
"ok": {
"message": "Ok"
},
"cancel": {
"message": "Cancel"
},
"classicInterface": {
"message": "Use classic interface"
},
"clickCopy": {
"message": "Click to Copy"
},
"confirm": {
"message": "Confirm"
},
"confirmed": {
"message": "Confirmed"
},
"confirmContract": {
"message": "Confirm Contract"
},
@ -83,6 +113,9 @@
"confirmTransaction": {
"message": "Confirm Transaction"
},
"continue": {
"message": "Continue"
},
"continueToCoinbase": {
"message": "Continue to Coinbase"
},
@ -101,6 +134,9 @@
"copiedExclamation": {
"message": "Copied!"
},
"copiedSafe": {
"message": "I've copied it somewhere safe"
},
"copy": {
"message": "Copy"
},
@ -126,6 +162,12 @@
"message": "Crypto",
"description": "Exchange type (cryptocurrencies)"
},
"currentConversion": {
"message": "Current Conversion"
},
"currentNetwork": {
"message": "Current Network"
},
"customGas": {
"message": "Customize Gas"
},
@ -135,6 +177,12 @@
"customRPC": {
"message": "Custom RPC"
},
"decimalsMustZerotoTen": {
"message": "Decimals must be at least 0, and not over 36."
},
"decimal": {
"message": "Decimals of Precision"
},
"defaultNetwork": {
"message": "The default network for Ether transactions is Main Net."
},
@ -184,18 +232,36 @@
"done": {
"message": "Done"
},
"downloadStatelogs": {
"message": "Download State Logs"
},
"dropped": {
"message": "Dropped"
},
"edit": {
"message": "Edit"
},
"editAccountName": {
"message": "Edit Account Name"
},
"emailUs": {
"message": "Email us!"
},
"encryptNewDen": {
"message": "Encrypt your new DEN"
},
"enterPassword": {
"message": "Enter password"
},
"enterPasswordConfirm": {
"message": "Enter your password to confirm"
},
"passwordNotLongEnough": {
"message": "Password not long enough"
},
"passwordsDontMatch": {
"message": "Passwords Don't Match"
},
"etherscanView": {
"message": "View account on Etherscan"
},
@ -219,9 +285,15 @@
"message": "File import not working? Click here!",
"description": "Helps user import their account from a JSON file"
},
"followTwitter": {
"message": "Follow us on Twitter"
},
"from": {
"message": "From"
},
"fromToSame": {
"message": "From and To address cannot be the same"
},
"fromShapeShift": {
"message": "From ShapeShift"
},
@ -244,6 +316,9 @@
"gasLimitTooLow": {
"message": "Gas limit must be at least 21000"
},
"generatingSeed": {
"message": "Generating Seed..."
},
"gasPrice": {
"message": "Gas Price (GWEI)"
},
@ -268,6 +343,9 @@
"message": "here",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hereList": {
"message": "Here's a list!!!!"
},
"hide": {
"message": "Hide"
},
@ -280,6 +358,9 @@
"howToDeposit": {
"message": "How would you like to deposit Ether?"
},
"holdEther": {
"message": "It allows you to hold ether & tokens, and serves as your bridge to decentralized applications."
},
"import": {
"message": "Import",
"description": "Button to import an account from a selected file"
@ -287,6 +368,9 @@
"importAccount": {
"message": "Import Account"
},
"importAccountMsg": {
"message":" Imported accounts will not be associated with your originally created MetaMask account seedphrase. Learn more about imported accounts "
},
"importAnAccount": {
"message": "Import an account"
},
@ -300,9 +384,18 @@
"infoHelp": {
"message": "Info & Help"
},
"insufficientFunds": {
"message": "Insufficient funds."
},
"insufficientTokens": {
"message": "Insufficient tokens."
},
"invalidAddress": {
"message": "Invalid address"
},
"invalidAddressRecipient": {
"message": "Recipient address is invalid"
},
"invalidGasParams": {
"message": "Invalid Gas Parameters"
},
@ -312,6 +405,12 @@
"invalidRequest": {
"message": "Invalid Request"
},
"invalidRPC": {
"message": "Invalid RPC URI"
},
"jsonFail": {
"message": "Something went wrong. Please make sure your JSON file is properly formatted."
},
"jsonFile": {
"message": "JSON File",
"description": "format for importing an account"
@ -319,10 +418,22 @@
"kovan": {
"message": "Kovan Test Network"
},
"knowledgeDataBase": {
"message": "Visit our Knowledge Base"
},
"max": {
"message": "Max"
},
"lessThanMax": {
"message": "must be less than or equal to $1.",
"description": "helper for inputting hex as decimal input"
},
"likeToAddTokens": {
"message": "Would you like to add these tokens?"
},
"links": {
"message": "Links"
},
"limit": {
"message": "Limit"
},
@ -335,24 +446,36 @@
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Log In"
},
"logout": {
"message": "Log out"
},
"loose": {
"message": "Loose"
},
"loweCaseWords": {
"message": "seed words only have lowercase characters"
},
"mainnet": {
"message": "Main Ethereum Network"
},
"message": {
"message": "Message"
},
"metamaskDescription": {
"message": "MetaMask is a secure identity vault for Ethereum."
},
"min": {
"message": "Minimum"
},
"myAccounts": {
"message": "My Accounts"
},
"mustSelectOne": {
"message": "Must select at least 1 token."
},
"needEtherInWallet": {
"message": "To interact with decentralized applications using MetaMask, you’ll need Ether in your wallet."
},
@ -364,6 +487,9 @@
"message": "You must enter a password for the selected file.",
"description": "Password and file needed to import an account"
},
"negativeETH": {
"message": "Can not send negative amounts of ETH."
},
"networks": {
"message": "Networks"
},
@ -383,6 +509,9 @@
"newRecipient": {
"message": "New Recipient"
},
"newRPC": {
"message": "New RPC URL"
},
"next": {
"message": "Next"
},
@ -411,6 +540,9 @@
"message": "or",
"description": "choice between creating or importing a new account"
},
"passwordCorrect": {
"message": "Please make sure your password is correct."
},
"passwordMismatch": {
"message": "passwords don't match",
"description": "in password creation process, the two new password fields did not match"
@ -426,9 +558,15 @@
"pasteSeed": {
"message": "Paste your seed phrase here!"
},
"personalAddressDetected": {
"message": "Personal address detected. Input the token contract address."
},
"pleaseReviewTransaction": {
"message": "Please review your transaction."
},
"privacyMsg": {
"message": "Privacy Policy"
},
"privateKey": {
"message": "Private Key",
"description": "select this type of file to use to import an account"
@ -448,6 +586,9 @@
"readMore": {
"message": "Read more here."
},
"readMore2": {
"message": "Read more."
},
"receive": {
"message": "Receive"
},
@ -460,12 +601,30 @@
"rejected": {
"message": "Rejected"
},
"resetAccount": {
"message": "Reset Account"
},
"restoreFromSeed": {
"message": "Restore from seed phrase"
},
"restoreVault": {
"message": "Restore Vault"
},
"required": {
"message": "Required"
},
"retryWithMoreGas": {
"message": "Retry with a higher gas price here"
},
"walletSeed": {
"message": "Wallet Seed"
},
"revealSeedWords": {
"message": "Reveal Seed Words"
},
"revealSeedWordsWarning": {
"message": "Do not recover your seed words in a public place! These words can be used to steal all your accounts."
},
"revert": {
"message": "Revert"
},
@ -475,6 +634,24 @@
"ropsten": {
"message": "Ropsten Test Network"
},
"currentRpc": {
"message": "Current RPC"
},
"connectingToMainnet": {
"message": "Connecting to Main Ethereum Network"
},
"connectingToRopsten": {
"message": "Connecting to Ropsten Test Network"
},
"connectingToKovan": {
"message": "Connecting to Kovan Test Network"
},
"connectingToRinkeby": {
"message": "Connecting to Rinkeby Test Network"
},
"connectingToUnknown": {
"message": "Connecting to Unknown Network"
},
"sampleAccountName": {
"message": "E.g. My new account",
"description": "Help user understand concept of adding a human-readable name to their account"
@ -486,21 +663,54 @@
"message": "Save as File",
"description": "Account export process"
},
"saveSeedAsFile": {
"message": "Save Seed Words As File"
},
"search": {
"message": "Search"
},
"secretPhrase": {
"message": "Enter your secret twelve word phrase here to restore your vault."
},
"newPassword8Chars": {
"message": "New Password (min 8 chars)"
},
"seedPhraseReq": {
"message": "seed phrases are 12 words long"
},
"select": {
"message": "Select"
},
"selectCurrency": {
"message": "Select Currency"
},
"selectService": {
"message": "Select Service"
},
"selectType": {
"message": "Select Type"
},
"send": {
"message": "Send"
},
"sendETH": {
"message": "Send ETH"
},
"sendTokens": {
"message": "Send Tokens"
},
"onlySendToEtherAddress": {
"message": "Only send ETH to an Ethereum address."
},
"sendTokensAnywhere": {
"message": "Send Tokens to anyone with an Ethereum account"
},
"settings": {
"message": "Settings"
},
"info": {
"message": "Info"
},
"shapeshiftBuy": {
"message": "Buy with Shapeshift"
},
@ -513,6 +723,9 @@
"sign": {
"message": "Sign"
},
"signed": {
"message": "Signed"
},
"signMessage": {
"message": "Sign Message"
},
@ -525,31 +738,73 @@
"sigRequested": {
"message": "Signature Requested"
},
"spaceBetween": {
"message": "there can only be a space between words"
},
"status": {
"message": "Status"
},
"stateLogs": {
"message": "State Logs"
},
"stateLogsDescription": {
"message": "State logs contain your public account addresses and sent transactions."
},
"stateLogError": {
"message": "Error in retrieving state logs."
},
"submit": {
"message": "Submit"
},
"submitted": {
"message": "Submitted"
},
"supportCenter": {
"message": "Visit our Support Center"
},
"symbolBetweenZeroTen": {
"message": "Symbol must be between 0 and 10 characters."
},
"takesTooLong": {
"message": "Taking too long?"
},
"terms": {
"message": "Terms of Use"
},
"testFaucet": {
"message": "Test Faucet"
},
"to": {
"message": "To"
"message": "To: "
},
"toETHviaShapeShift": {
"message": "$1 to ETH via ShapeShift",
"description": "system will fill in deposit type in start of message"
},
"tokenAddress": {
"message": "Token Address"
},
"tokenAlreadyAdded": {
"message": "Token has already been added."
},
"tokenBalance": {
"message": "Your Token Balance is:"
},
"tokenSelection": {
"message": "Search for tokens or select from our list of popular tokens."
},
"tokenSymbol": {
"message": "Token Symbol"
},
"tokenWarning1": {
"message": "Keep track of the tokens you’ve bought with your MetaMask account. If you bought tokens using a different account, those tokens will not appear here."
},
"total": {
"message": "Total"
},
"transactions": {
"message": "transactions"
},
"transactionMemo": {
"message": "Transaction memo (optional)"
},
@ -563,6 +818,9 @@
"message": "We had trouble loading your token balances. You can view them ",
"description": "Followed by a link (here) to view token balances"
},
"twelveWords": {
"message": "These 12 words are the only way to restore your MetaMask accounts.\nSave them somewhere safe and secret."
},
"typePassword": {
"message": "Type Your Password"
},
@ -572,6 +830,9 @@
"uiWelcomeMessage": {
"message": "You are now using the new Metamask UI. Take a look around, try out new features like sending tokens, and let us know if you have any issues."
},
"unapproved": {
"message": "Unapproved"
},
"unavailable": {
"message": "Unavailable"
},
@ -584,6 +845,9 @@
"unknownNetworkId": {
"message": "Unknown network ID"
},
"uriErrorMsg": {
"message": "URIs require the appropriate HTTP/HTTPS prefix."
},
"usaOnly": {
"message": "USA only",
"description": "Using this exchange is limited to people inside the USA"
@ -591,12 +855,27 @@
"usedByClients": {
"message": "Used by a variety of different clients"
},
"useOldUI": {
"message": "Use old UI"
},
"validFileImport": {
"message": "You must select a valid file to import."
},
"vaultCreated": {
"message": "Vault Created"
},
"viewAccount": {
"message": "View Account"
},
"visitWebSite": {
"message": "Visit our web site"
},
"warning": {
"message": "Warning"
},
"welcomeBeta": {
"message": "Welcome to MetaMask Beta"
},
"whatsThis": {
"message": "What's this?"
},

@ -1,10 +1,888 @@
{
"accept": {
"message": "Aceptar"
},
"account": {
"message": "Cuenta"
},
"accountDetails": {
"message": "Detalles de la cuenta"
},
"accountName": {
"message": "Nombre de la cuenta"
},
"addCustomToken": {
"message": "Agregar token personalizados"
},
"addToken": {
"message": "Agregar token"
},
"addTokens": {
"message": "Agregar tokens"
},
"address": {
"message": "Dirección"
},
"amount": {
"message": "Cantidad"
},
"amountPlusGas": {
"message": "Cantidad + Gas"
},
"appDescription": {
"message": "Extensión del navegador para Ethereum",
"description": "La descripción de la aplicación"
},
"appName": {
"message": "MetaMask",
"description": "The name of the application"
"description": "El nombre de la aplicación"
},
"appDescription": {
"message": "Administración de identidad en Ethereum",
"description": "The description of the application"
"approved": {
"message": "Aprobado"
},
"attemptingConnect": {
"message": "Intentando conectar a la Blockchain"
},
"attributions": {
"message": "Atribuciones"
},
"available": {
"message": "Disponible"
},
"back": {
"message": "Atrás"
},
"balance": {
"message": "Saldo"
},
"balanceIsInsufficientGas": {
"message": "Saldo de gas insuficiente"
},
"balances": {
"message": "Tus saldos"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "Debe ser mayor o igual a $1 y menor o igual a $2",
"description": "helper para ingresar hex como un ingreso decimal"
},
"blockiesIdenticon": {
"message": "Usar Blockies Identicon (Iconos)"
},
"borrowDharma": {
"message": "Pedir prestado con Dharma (Beta)"
},
"builtInCalifornia": {
"message": "Metamask fue diseñado y construido en California "
},
"buy": {
"message": "Comprar"
},
"buyCoinbase": {
"message": "Comprar en Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase es la forma global más popular para comprar y vender bitcoin, ethereum y litecoin"
},
"cancel": {
"message": "Cancelar"
},
"classicInterface": {
"message": "Usar interfaz clásica "
},
"clickCopy": {
"message": "Click para copiar"
},
"confirm": {
"message": "Confirmar"
},
"confirmContract": {
"message": "Confirmar contrato"
},
"confirmed": {
"message": "Confirmado"
},
"confirmPassword": {
"message": "Confirmar contraseña"
},
"confirmTransaction": {
"message": "Confirmar transacción"
},
"connectingToMainnet": {
"message": "Conectando a la red principal de Ethereum (Main Net)"
},
"connectingToRopsten": {
"message": "Conectando a la red de test Ropsten"
},
"connectingToKovan": {
"message": "Conectando a la red de test Kovan"
},
"connectingToRinkeby": {
"message": "Conectando a la red de test Rinkeby"
},
"connectingToUnknown": {
"message": "Conectando a una red desconocida"
},
"continue": {
"message": "Continuar"
},
"continueToCoinbase": {
"message": "Continuar a Coinbase"
},
"contractDeployment": {
"message": "Desplegar (Deploy) contrato"
},
"conversionProgress": {
"message": "Conversión en progreso"
},
"copiedButton": {
"message": "Copiado"
},
"copiedClipboard": {
"message": "Copiado al portapapeles"
},
"copiedExclamation": {
"message": "Copiado!"
},
"copiedSafe": {
"message": "Ya lo guardé en un lugar seguro"
},
"copy": {
"message": "Copiar"
},
"copyButton": {
"message": " Copiar "
},
"copyPrivateKey": {
"message": "Esta es tu llave privada (Click para copiar)"
},
"copyToClipboard": {
"message": "Copiar al portapapeles"
},
"create": {
"message": "Crear"
},
"createAccount": {
"message": "Crear Cuenta"
},
"createDen": {
"message": "Crear"
},
"crypto": {
"message": "Crypto",
"description": "Tipo de Cambio (criptomonedas)"
},
"currentConversion": {
"message": "Conversión Actual"
},
"currentNetwork": {
"message": "Red actual"
},
"currentRpc": {
"message": "RPC actual"
},
"customGas": {
"message": "Personalizar Gas"
},
"customRPC": {
"message": "RPC Personalizado"
},
"customize": {
"message": "Personalizar"
},
"decimal": {
"message": "Decimales de precisión"
},
"decimalsMustZerotoTen": {
"message": "Los decimales deben ser al menos 0 y no más de 36"
},
"defaultNetwork": {
"message": "La red por defecto para las transacciones de Ether es MainNet (red principal)"
},
"denExplainer": {
"message": "Tu DEN es tu contraseña encriptada guardada dentro de MetaMask"
},
"deposit": {
"message": "Depositar"
},
"depositBTC": {
"message": "Deposita tus BTC a la dirección de abajo:"
},
"depositCoin": {
"message": "Deposita tu $1 a la dirección de abajo",
"description": "Informa al usuario que moneda ha elegido para depositar en shapeshift"
},
"depositEth": {
"message": "Depositar Ether"
},
"depositEther": {
"message": "Depositar Ether"
},
"depositFiat": {
"message": "Depositar con Fiat (divisa nacional)"
},
"depositFromAccount": {
"message": "Depositar con otra cuenta"
},
"depositShapeShift": {
"message": "Depositar con ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Si tu tienes otras criptomonedas, puedes intercambiar y depositar Ether directamente en tu billetera de MetaMask. No necesitas tener una cuenta"
},
"details": {
"message": "Detalles"
},
"directDeposit": {
"message": "Depósito directo"
},
"directDepositEther": {
"message": "Depositar Ether directamente"
},
"directDepositEtherExplainer": {
"message": "Si tu tienes algo de Ether, la forma rápida para tener Ether en tu nueva billetera es depositando directamente"
},
"done": {
"message": "Completo"
},
"downloadStatelogs": {
"message": "Descargar logs de estado"
},
"dropped": {
"message": "Caído"
},
"edit": {
"message": "Editar"
},
"editAccountName": {
"message": "Editar el nombre de la cuenta"
},
"emailUs": {
"message": "Envíanos un correo!"
},
"encryptNewDen": {
"message": "Encriptar tu nuevo DEN"
},
"enterPassword": {
"message": "Ingresa contraseña"
},
"enterPasswordConfirm": {
"message": "Ingresa tu contraseña para confirmar"
},
"etherscanView": {
"message": "Ver la cuenta en Etherscan"
},
"exchangeRate": {
"message": "Tipo de cambio"
},
"exportPrivateKey": {
"message": "Exportar llave privada"
},
"exportPrivateKeyWarning": {
"message": "Exportar llaves privadas bajo TU PROPIO riesgo"
},
"failed": {
"message": "Fallo"
},
"fiat": {
"message": "FIAT",
"description": "Tipo de cambio"
},
"fileImportFail": {
"message": "No funciona importar el archivo? Haz Click Aquí!",
"description": "Ayuda al usuario a importar su cuenta desde un archivo JSON"
},
"followTwitter": {
"message": "Síguenos en Twitter"
},
"from": {
"message": "De:"
},
"fromShapeShift": {
"message": "De ShapeShift"
},
"fromToSame": {
"message": "La dirección de origen y destino no pueden ser la misma"
},
"gas": {
"message": "Gas",
"description": "Indicación pequeña del costo de gas"
},
"gasFee": {
"message": "Comisión de gas"
},
"gasLimit": {
"message": "Límite de gas"
},
"gasLimitCalculation": {
"message": "Calculamos el límite de gas sugerido en función de las tasas de éxito de la red"
},
"gasLimitRequired": {
"message": "Límite de Gas requerido"
},
"gasLimitTooLow": {
"message": "El límite de gas debe ser de al menos 21000"
},
"gasPrice": {
"message": "Precio del Gas (GWEI)"
},
"gasPriceCalculation": {
"message": "Calculamos los precios sugeridos del gas en función de las tasas de éxito de la red"
},
"gasPriceRequired": {
"message": "Precio del gas requerido"
},
"generatingSeed": {
"message": "Generando semilla..."
},
"getEther": {
"message": "Conseguir Ether"
},
"getEtherFromFaucet": {
"message": "Obtenga Ether de un faucet (grifo) por $1",
"description": "Muestra el nombre de la red para el faucet (grifo) de Ether"
},
"greaterThanMin": {
"message": "Debe ser mayor o igual a $1",
"description": "helper para ingresar hex como entrada decimal"
},
"here": {
"message": "Aquí",
"description": "como en -haz click aquí- para más información"
},
"hereList": {
"message": "Aquí está una lista!!!"
},
"hide": {
"message": "Ocultar"
},
"hideToken": {
"message": "Ocultar Token"
},
"hideTokenPrompt": {
"message": "Ocultar Token?"
},
"holdEther": {
"message": "Te permite mantener tus ether y tokens, así como puente para aplicaciones descentralizadas"
},
"howToDeposit": {
"message": "Cómo te gustaria depositar Ether?"
},
"import": {
"message": "Importar",
"description": "Botón para importar una cuenta desde un archivo seleccionado"
},
"importAccount": {
"message": "Importar cuenta"
},
"importAnAccount": {
"message": "Importar una cuenta"
},
"importDen": {
"message": "Importar DEN existente"
},
"imported": {
"message": "Importado",
"description": "Estado que muestra que una cuenta ha sido completamente cargada en el llavero"
},
"importAccountMsg": {
"message": "Cuentas importadas no serán asociadas con tu cuenta original creada con tu MetaMask. Aprende más acerca de importar cuentas."
},
"info": {
"message": "Información"
},
"infoHelp": {
"message": "Informacion y Ayuda"
},
"insufficientFunds": {
"message": "Fondos insuficientes"
},
"insufficientTokens": {
"message": "Tokens insuficientes"
},
"invalidAddress": {
"message": "Dirección inválida"
},
"invalidAddressRecipient": {
"message": "Dirección del destinatario invalida"
},
"invalidGasParams": {
"message": "Parametros de gas inválidos"
},
"invalidInput": {
"message": "Entrada inválida"
},
"invalidRPC": {
"message": "Invalida URL del RPC"
},
"invalidRequest": {
"message": "Petición inválida"
},
"jsonFail": {
"message": "Algo malo pasó. Asegurate que tu JSON tiene el formato correcto"
},
"jsonFile": {
"message": "Archivo JSON",
"description": "Formato para importar una cuenta"
},
"knowledgeDataBase": {
"message": "Visita nuestra base de conocimiento"
},
"kovan": {
"message": "Red de pruebas Kovan"
},
"lessThanMax": {
"message": "Debe ser menor o igual a $1",
"description": "Helper para ingresar hex como decimal"
},
"likeToAddTokens": {
"message": "¿Te gustaría agregar estos tokens?"
},
"limit": {
"message": "Límite"
},
"links": {
"message": "Enlaces"
},
"loading": {
"message": "Cargando..."
},
"loadingTokens": {
"message": "Cargando tokens..."
},
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Ingresar"
},
"logout": {
"message": "Cerrar sesión"
},
"loose": {
"message": "Suelto"
},
"loweCaseWords": {
"message": "las frases semilla sólo pueden tener minúsculas"
},
"mainnet": {
"message": "Red principal de Ethereum (Main Net)"
},
"max": {
"message": "Max"
},
"message": {
"message": "Mensaje"
},
"metamaskDescription": {
"message": "Metamask es una identidad segura en Ethereum"
},
"min": {
"message": "Mínimo"
},
"mustSelectOne": {
"message": "Debe seleccionar al menos un (1) token"
},
"myAccounts": {
"message": "Mis cuentas"
},
"needEtherInWallet": {
"message": "Para interactuar con una aplicación descentralizada usando MetaMask, vas a necesitar tener Ether en tu billetera"
},
"needImportFile": {
"message": "Debes seleccionar un archivo para importar",
"description": "El usuario está importando una cuenta y necesita agregar un archivo para continuar"
},
"needImportPassword": {
"message": "Debes ingresar una contraseña para el archivo seleccionado",
"description": "Contraseña y archivo necesarios para importar una cuenta"
},
"negativeETH": {
"message": "No se pueden mandar cantidades negativas de ETH"
},
"networks": {
"message": "Redes"
},
"newAccount": {
"message": "Nueva cuenta"
},
"newAccountNumberName": {
"message": "Cuenta $1",
"description": "Nombre por defecto de la próxima cuenta a ser creada o pantalla de creación de cuenta"
},
"newContract": {
"message": "Nuevo contrato"
},
"newPassword": {
"message": "Nueva contraseña (mínimo [8] caracteres)"
},
"newPassword8Chars": {
"message": "Nueva contraseña (mínimo [8] caracteres)"
},
"newRPC": {
"message": "Nueva URL del RPC"
},
"newRecipient": {
"message": "Nuevo destinatario"
},
"next": {
"message": "Siguiente"
},
"noAddressForName": {
"message": "No se ha establecido ninguna dirección para este nombre"
},
"noDeposits": {
"message": "No hay depósitos recibidos"
},
"noTransactionHistory": {
"message": "Sin historial de transacciones"
},
"noTransactions": {
"message": "Sin transacciones"
},
"notStarted": {
"message": "Sin iniciar"
},
"ok": {
"message": "Ok"
},
"oldUI": {
"message": "Antigua UI (Interfaz de Usuario)"
},
"oldUIMessage": {
"message": "Regresaste a la antigua UI (Interfaz de Usuario). Puedes regresar a la nueva UI mediante la opcion en la barra desplegable del menu de arriba a la derecha."
},
"onlySendToEtherAddress": {
"message": "Sólo envía a una dirección de Ethereum"
},
"or": {
"message": "o",
"description": "opción entre crear o importar una cuenta"
},
"passwordCorrect": {
"message": "Asegurate que tu contraseña es correcta"
},
"passwordMismatch": {
"message": "Contraseña no coincide",
"description": "En el proceso de creación de contraseña, los dos campos de contraseña no coincidieron"
},
"passwordNotLongEnough": {
"message": "La contraseña no es lo suficientemente larga"
},
"passwordsDontMatch": {
"message": "Contraseñas no coinciden"
},
"passwordShort": {
"message": "Contraseña no es lo suficientemente larga",
"description": "En el proceso de creación de contraseña, esta no es lo suficientemente larga para ser segura"
},
"pastePrivateKey": {
"message": "Pega tu llave privada aqui",
"description": "Para importar una cuenta desde una llave privada"
},
"pasteSeed": {
"message": "Pega tu frase semilla aquí!"
},
"personalAddressDetected": {
"message": "Dirección personal detectada. Ingresa la dirección del contrato del token"
},
"pleaseReviewTransaction": {
"message": "Por favor revisa tu transaccion"
},
"privacyMsg": {
"message": "Política de privacidad"
},
"privateKey": {
"message": "Llave privada",
"description": "Selecciona este tupo de archivo para importar una cuenta"
},
"privateKeyWarning": {
"message": "Advertencia: NUNCA reveles esta clave. Cualquier persona con tus claves privadas puede robar los activos retenidos en tu cuenta"
},
"privateNetwork": {
"message": "Red Privada"
},
"qrCode": {
"message": "Mostrar codigo QR"
},
"readMore": {
"message": "Leer más aquí"
},
"readMore2": {
"message": "Leer más"
},
"readdToken": {
"message": "Puede volver a agregar este token en el futuro yendo a 'Agregar token' en el menú de opciones de tu cuenta"
},
"receive": {
"message": "Recibir"
},
"recipientAddress": {
"message": "Dirección del receptor"
},
"refundAddress": {
"message": "Tu dirección de reembolso"
},
"rejected": {
"message": "Rechazado"
},
"required": {
"message": "Requerido"
},
"resetAccount": {
"message": "Reiniciar cuenta"
},
"restoreFromSeed": {
"message": "Restaurar desde semilla"
},
"restoreVault": {
"message": "Restaurar Bóveda"
},
"retryWithMoreGas": {
"message": "Vuelva a intentar con un precio de Gas más alto aquí"
},
"revealSeedWords": {
"message": "Revelar palabras de semilla"
},
"revealSeedWordsWarning": {
"message": "No recuperes tu semilla en un lugar publico! Esas palabras pueden ser usadas para robarte todas tus cuentas"
},
"revert": {
"message": "Revertir"
},
"rinkeby": {
"message": "Red privada Rinkeby"
},
"ropsten": {
"message": "Red privada Ropsten"
},
"sampleAccountName": {
"message": "Ej. Mi nueva cuenta",
"description": "Ayuda al usuario a entender el concepto de agregar un nombre, leíble por humanos, a su cuenta"
},
"save": {
"message": "Guardar"
},
"saveAsFile": {
"message": "Guardar como archivo",
"description": "Proceso de exportación de cuenta"
},
"saveSeedAsFile": {
"message": "Guardar la semilla como archivo"
},
"search": {
"message": "Buscar"
},
"secretPhrase": {
"message": "Ingresa tu frase de doce (12) palabras para restaurar tu bóveda"
},
"seedPhraseReq": {
"message": "las frases semilla tienen doce (12) palabras de largo"
},
"select": {
"message": "Seleccionar"
},
"selectCurrency": {
"message": "Seleccionar moneda"
},
"selectService": {
"message": "Seleccionar servicio"
},
"selectType": {
"message": "Seleccionar tipo"
},
"send": {
"message": "Enviar"
},
"sendETH": {
"message": "Enviar Ether"
},
"sendTokens": {
"message": "Enviar Tokens"
},
"sendTokensAnywhere": {
"message": "Enviar Tokens a cualquiera con una cuenta de Ethereum"
},
"settings": {
"message": "Configuración"
},
"shapeshiftBuy": {
"message": "Comprar con ShapeShift"
},
"showPrivateKeys": {
"message": "Mostrar llaves privadas"
},
"showQRCode": {
"message": "Mostrar codigo QR"
},
"sigRequest": {
"message": "Solicitud de firma"
},
"sigRequested": {
"message": "Firma solicitada"
},
"sign": {
"message": "Firmar"
},
"signed": {
"message": "Firmado"
},
"signMessage": {
"message": "Firmar Mensaje"
},
"signNotice": {
"message": "Firmar este mensaje puede tener\n efectos secundarios peligrosos. Firma sólo\nmensajes desde sitios a los cuales tú estés dispuesto a confiar completamente tu cuenta.\nEste método peligroso va a ser \nremovido en una version futura."
},
"spaceBetween": {
"message": "Sólo puede haber un espacio entre las palabras"
},
"stateLogs": {
"message": "Logs de estado"
},
"stateLogsDescription": {
"message": "Los Logs de estado contienen tus direcciones de cuentas públicas y transacciones envíadas"
},
"stateLogError": {
"message": "Error en la recogida de logs de estado"
},
"status": {
"message": "Estado"
},
"submit": {
"message": "Enviar"
},
"submitted": {
"message": "Enviado"
},
"supportCenter": {
"message": "Visita nuestro centro de atención"
},
"symbolBetweenZeroTen": {
"message": "Símbolo debe ser entre 0 y 10 caracteres"
},
"takesTooLong": {
"message": "¿Está tomando demasiado?"
},
"terms": {
"message": "Terminos de Uso"
},
"testFaucet": {
"message": "Probar Faucet"
},
"to": {
"message": "Para:"
},
"toETHviaShapeShift": {
"message": "$1 a ETH via ShapeShift",
"description": "el sistema llenará el tipo de depósito al principio del mensaje"
},
"tokenAddress": {
"message": "Dirección del token"
},
"tokenAlreadyAdded": {
"message": "El token esta actualmente agregado"
},
"tokenBalance": {
"message": "Tu balance de tokens es:"
},
"tokenSelection": {
"message": "Busca tokens o selecciónalo de nuestra lista de tokens populares"
},
"tokenSymbol": {
"message": "Símbolo del token"
},
"tokenWarning1": {
"message": "Manten un registro de los tokens que has comprado con tu cuenta de MetaMask. Si compraste tokens usando una cuenta diferente, esos tokens no aparecerán aquí."
},
"total": {
"message": "Total"
},
"transactionMemo": {
"message": "Memo de transaccion (opcional)"
},
"transactionNumber": {
"message": "Número de transacción"
},
"transactions": {
"message": "Transacciones"
},
"transfers": {
"message": "Transferencias"
},
"troubleTokenBalances": {
"message": "Tuvimos problemas para cargar tus saldos de tokens. Puedes verlos ",
"description": "Seguidos por un enlace (aquí) para ver los saldos de token"
},
"twelveWords": {
"message": "Estas 12 palabras son la única forma de restablecer tus cuentas de MetaMask. \nGuardalas en un lugar seguro y secreto."
},
"typePassword": {
"message": "Escribe tu contraseña"
},
"uiWelcome": {
"message": "Bienvenido a la nueva UI (Beta)"
},
"uiWelcomeMessage": {
"message": "Estás usando la nueva UI de MetaMask. Echa un vistazo alrededor, prueba las nuevas características, tales como mandar tokens, y déjanos saber si tienes algún problema"
},
"unavailable": {
"message": "No disponible"
},
"unapproved": {
"message": "No Aprobado"
},
"unknown": {
"message": "Desconocido (a)"
},
"unknownNetwork": {
"message": "Red privada desconocida"
},
"unknownNetworkId": {
"message": "ID (identidad) de Red desconocida"
},
"uriErrorMsg": {
"message": "URI necesita el prefijo HTTP/HTTPS apropiado"
},
"usaOnly": {
"message": "Sólo USA (Estados Unidos)",
"description": "El uso de este exchange (casa de cambio) está limitado a las personas dentro de los Estados Unidos de America"
},
"useOldUI": {
"message": "Usar UI antigua"
},
"usedByClients": {
"message": "Utilizado por una variedad de clientes diferentes"
},
"validFileImport": {
"message": "Debes selecionar un archivo valido para importar"
},
"vaultCreated": {
"message": "Bóveda creada"
},
"viewAccount": {
"message": "Mirar cuenta"
},
"visitWebSite": {
"message": "Visita nuestro sitio web"
},
"walletSeed": {
"message": "Semilla de la billetera"
},
"warning": {
"message": "Advertencia"
},
"welcomeBeta": {
"message": "Bienvenido a Metamask Beta"
},
"whatsThis": {
"message": "Qué es esto?"
},
"youSign": {
"message": "Usted está firmando"
},
"yourSigRequested": {
"message": "Tu firma ya fue solicitada"
}
}

@ -1,10 +0,0 @@
{
"appName": {
"message": "MetaMask",
"description": "The name of the application"
},
"appDescription": {
"message": "Administración de identidad en Ethereum",
"description": "The description of the application"
}
}

@ -149,7 +149,7 @@
},
"depositCoin": {
"message": "Déposez votre $1 à l'adresse ci-dessous",
"description": "Indique à l'utilisateur quelle monnaie ils a choisi de déposer avec shapeshift"
"description": "Indique à l'utilisateur quelle monnaie il a choisi de déposer avec shapeshift"
},
"depositEth": {
"message": "Dépôt Eth"

@ -0,0 +1,819 @@
{
"accept": {
"message": "सर कर"
},
"account": {
"message": "ख"
},
"accountDetails": {
"message": "खिवरण"
},
"accountName": {
"message": "खम"
},
"address": {
"message": "ख पत"
},
"addCustomToken": {
"message": "कसटम टकन ज"
},
"addToken": {
"message": "टकन ज"
},
"addTokens": {
"message": "टकन"
},
"amount": {
"message": "रि"
},
"amountPlusGas": {
"message": "रि + गस"
},
"appDescription": {
"message": "एथरम बउजर एकसटशन",
"description": "आवदन किवरण"
},
"appName": {
"message": "मक/MetaMask",
"description": "एपिशन कम"
},
"attemptingConnect": {
"message": "बकचन स कनट करनरयस करन।सबर कर।"
},
"attributions": {
"message": "एटिशन"
},
"available": {
"message": "एटिशन उपलबध ह"
},
"back": {
"message": "वपस"
},
"balance": {
"message": "उपलबध बस।"
},
"balances": {
"message": "पक उपलबध बस"
},
"balanceIsInsufficientGas": {
"message": "वरतमन गस कल किए अपरत शष"
},
"beta": {
"message": "BETA/ब"
},
"betweenMinAndMax": {
"message": "$1 क बरबर ययद, $2 क बरबर य कम हिए।",
"description": "हस इनपट किए दशमलव इनपट कप म सहयक"
},
"blockiesIdenticon": {
"message": "बज पहचन क उपयग कर"
},
"borrowDharma": {
"message": "धर (ब) स / कथ उधर ल"
},
"builtInCalifornia": {
"message": "मक किििइन और बन गय।"
},
"buy": {
"message": "खर"
},
"buyCoinbase": {
"message": "कनबस पर खर"
},
"buyCoinbaseExplainer": {
"message": "बिटकइन, एथरम और लइटकइन खरदन और बचनिए दि सबसकपिय तर Coinbase ह।"
},
"cancel": {
"message": "रदद कर"
},
"classicInterface": {
"message": "किक इटरफस क उपयग क"
},
"clickCopy": {
"message": "क करनिए किक कर"
},
"confirm": {
"message": "पि कर"
},
"confirmContract": {
"message": "अनध कि कर"
},
"confirmPassword": {
"message": "पसवरड कि कर"
},
"confirmTransaction": {
"message": "लनदन कि कर"
},
"continue": {
"message": "ज रख"
},
"continueToCoinbase": {
"message": "कनबस कजन रख"
},
"contractDeployment": {
"message": "अनध परििजन व त"
},
"conversionProgress": {
"message": "रतरण परगति।"
},
"copiedButton": {
"message": "कि गय"
},
"copiedClipboard": {
"message": "किपबड पर कि गय"
},
"copiedExclamation": {
"message": "क कर दि गय!"
},
"copiedSafe": {
"message": "म इस कहरकित क कर दि"
},
"copy": {
"message": "क / परतििि कर"
},
"copyToClipboard": {
"message": "किपबड पर क कर"
},
"copyButton": {
"message": " क / परतििि कर [बततन] "
},
"copyPrivateKey": {
"message": "यह आपकि (क करनिए किक कर)।"
},
"create": {
"message": "बन"
},
"createAccount": {
"message": "ख बन"
},
"createDen": {
"message": "डन बन"
},
"crypto": {
"message": "कि",
"description": "एकसचज टइप (किचरस)"
},
"currentConversion": {
"message": "वरतमन रतरण"
},
"currentNetwork": {
"message": "वरतमन नटवरक"
},
"customGas": {
"message": "अनित करस"
},
"customize": {
"message": "अनित कर"
},
"customRPC": {
"message": "कसटम RPC"
},
"decimalsMustZerotoTen": {
"message": "दशमलव कम स कम 0 हिए, और 36 स अधिक नहिए।"
},
"decimal": {
"message": "दशमलव परिधत"
},
"defaultNetwork": {
"message": "ईथर लनदन किए डिट नटवरक मय नट ह।"
},
"denExplainer": {
"message": "आपकन मक कतर आपकसवरड-एनिड सज ह।"
},
"deposit": {
"message": "जम"
},
"depositBTC": {
"message": "निए गए पत पर अपन जम कर:"
},
"depositCoin": {
"message": "निए गए पत पर अपन $1 जम कर",
"description": "उपयगकर बति उनिथ जम करनिए किस सि चयन कि"
},
"depositEth": {
"message": "Eth जमआरथ"
},
"depositEther": {
"message": "जम - Ether"
},
"depositFiat": {
"message": "फिएट कथ जम"
},
"depositFromAccount": {
"message": "दसर जम कर"
},
"depositShapeShift": {
"message": "शपशिप कथ जम कर"
},
"depositShapeShiftExplainer": {
"message": "यदि आप अनय किटरज रखत, त आप सक वट म ईथर कर और जम कर सकत। कई ख आवशयक नह।"
},
"details": {
"message": "सश विवरण"
},
"directDeposit": {
"message": "परतयकष जम"
},
"directDepositEther": {
"message": "स ईथर जम कर"
},
"directDepositEtherExplainer": {
"message": "यदि आपकस पहलछ ईथर ह, त जम अपन नए बटए म ईथर पत करन तर।"
},
"done": {
"message": "सपनन"
},
"downloadStatelogs": {
"message": "रय लग डउनलड कर"
},
"edit": {
"message": "सित कर"
},
"editAccountName": {
"message": "खम सित कर"
},
"emailUs": {
"message": "हम ईमल कर!"
},
"encryptNewDen": {
"message": "अपन नयन एनिट कर"
},
"enterPassword": {
"message": "पसवरड दरज कर"
},
"enterPasswordConfirm": {
"message": "पि करनिए अपनसवरड दरज कर"
},
"etherscanView": {
"message": "ईथरसन पर ख"
},
"exchangeRate": {
"message": "वििमय दर"
},
"exportPrivateKey": {
"message": "निित कर"
},
"exportPrivateKeyWarning": {
"message": "अपनिम पर निित कर।"
},
"failed": {
"message": "विफल"
},
"fiat": {
"message": "FIAT एकसचज टइप",
"description": "एकसचज FIAT टइप"
},
"fileImportFail": {
"message": "फइल आयत कम नह कर रह? यहिक कर!",
"description": "यजर क अपन.एस..एन फइल स आयत करन मदद करत"
},
"followTwitter": {
"message": "हमिटर पर अनसरण कर"
},
"from": {
"message": "क तरफ स - सश"
},
"fromToSame": {
"message": "स और पत करनिए समन नह सकत"
},
"fromShapeShift": {
"message": "सशशशफट क"
},
"gas": {
"message": "गस कगत",
"description": "गस कगत कित सत"
},
"gasFee": {
"message": "गस शक"
},
"gasLimit": {
"message": "गस स"
},
"gasLimitCalculation": {
"message": "हम नटवरक क सफलत दर क आधर पर सई गई गस स गणन करत।"
},
"gasLimitRequired": {
"message": "गस स आवशयक"
},
"gasLimitTooLow": {
"message": "२१००० - गस क कम स कम 21000 हिए"
},
"generatingSeed": {
"message": "सजन बज उतपनन ... उतपनन ...उतपनन..."
},
"gasPrice": {
"message": "गस मय (जडबईआई),(GWEI)"
},
"gasPriceCalculation": {
"message": "हम नटवरक क सफलत दर क आधर पर सए गए गस कमत गणन करत।"
},
"gasPriceRequired": {
"message": "गस कमत आवशयक ह"
},
"getEther": {
"message": "ईथर पत कर"
},
"getEtherFromFaucet": {
"message": "$1 किए एक नल स ईथर पत कर",
"description": "ईथर नल किए नटवरक नम परदरित करत"
},
"greaterThanMin": {
"message": "$1 क बरबर य बरबर हिए।",
"description": "हस इनपट किए दशमलव इनपट कप म सहयक"
},
"here": {
"message": "यह",
"description": "अधिक जनकिए यहिक कर- (परथ जकनबस) (troubleTokenBalances)"
},
"hereList": {
"message": "यह एक स !!!!"
},
"hide": {
"message": "छ"
},
"hideToken": {
"message": "टकन छि"
},
"hideTokenPrompt": {
"message": "टकन छिn?"
},
"howToDeposit": {
"message": "आप ईथर जम करन?"
},
"holdEther": {
"message": "यह आपक आकश और टकन रखन अनमति, और वित अनरयिए आपकल कप मय करत।"
},
"import": {
"message": "आयत",
"description": "एक चयनित फइल स एक ख आयत करनिए बटन "
},
"importAccount": {
"message": "ख आयत"
},
"importAccountMsg": {
"message": "आयत किए गए ख आपकल रप स बनए गए मक अकट सडफज सबदध नह। आयत किए गए ख और ज"
},
"importAnAccount": {
"message": "ख आयत कर"
},
"importDen": {
"message": "मन आयत कर - DEN"
},
"imported": {
"message": "आयित",
"description": "यह सििििई ख तरह सिग मड ह"
},
"infoHelp": {
"message": "जनक और सहयत"
},
"insufficientFunds": {
"message": "अपरत धन"
},
"insufficientTokens": {
"message": "अपरत टकन।"
},
"invalidAddress": {
"message": "अमय पत"
},
"invalidAddressRecipient": {
"message": "पतकर पत अमय ह"
},
"invalidGasParams": {
"message": "अमय गस पटर"
},
"invalidInput": {
"message": "अमय इनपट।"
},
"invalidRequest": {
"message": "अमय अनध"
},
"invalidRPC": {
"message": "अमय RPC क URI"
},
"jsonFail": {
"message": "कछ गलत ह गय। कपयिित करि आपक JSON फइल ठक सट क गई ह।"
},
"jsonFile": {
"message": "JSON फइल",
"description": "एक ख आयत करनिए पप"
},
"kovan": {
"message": "कन टट नटवरक"
},
"knowledgeDataBase": {
"message": "हमज बस पर ज"
},
"lessThanMax": {
"message": "$1 स कम य बरबर हिए।",
"description": "हस इनपट किए दशमलव इनपट कप म सहयक"
},
"likeToAddTokens": {
"message": "क आप इन टकनहत?"
},
"limit": {
"message": "स"
},
"loading": {
"message": "लड ह रह ....."
},
"loadingTokens": {
"message": "टकन लड ह रह ....."
},
"localhost": {
"message": "सयहट 8545"
},
"login": {
"message": "लग इन कर"
},
"logout": {
"message": "लग आउट कर"
},
"loose": {
"message": "ढ"
},
"loweCaseWords": {
"message": "बज शबद मवल लअरकस वरण ह"
},
"mainnet": {
"message": "मय ईथरम नटवरक"
},
"message": {
"message": "सश"
},
"metamaskDescription": {
"message": "मक एथरमम किए एक सरकित पहचन वट ह।"
},
"min": {
"message": "ननतम"
},
"myAccounts": {
"message": "म"
},
"mustSelectOne": {
"message": "कम स कम 1 टकन क चयन करन आवशयक ह।"
},
"needEtherInWallet": {
"message": "मक क उपयग करनित अनरयथ बतचत करनिए, आपक अपनट म ईथर क आवशयकत।"
},
"needImportFile": {
"message": "आयत करनिए आपक एक फइल क चयन करन।",
"description": "परय महतवपण ख और उस रखनिए एक फइल ज आवशयकत"
},
"needImportPassword": {
"message": "चयनित फइल किए आपक एक पसवरड दरज करन।",
"description": "पसवरड और फइल क एक ख आयत करनिए आवशयक ह"
},
"negativeETH": {
"message": "ईटएच क नकमक म नहज सकत।."
},
"networks": {
"message": "नटवरक"
},
"newAccount": {
"message": "नय"
},
"newAccountNumberName": {
"message": "नय $1",
"description": "ख बन पर अगलिट नम"
},
"newContract": {
"message": "नय अनध"
},
"newPassword": {
"message": "नयसवरड (ननतम 8 वरण)"
},
"newRecipient": {
"message": "नयतकर"
},
"newRPC": {
"message": "नय RPC URL"
},
"next": {
"message": "अगल"
},
"noAddressForName": {
"message": "इस नम किए कई पतट नहि गय।"
},
"noDeposits": {
"message": "कई जमत नहई"
},
"noTransactionHistory": {
"message": "कई लनदन इतिस नह ..."
},
"noTransactions": {
"message": "कई लन-दन नह"
},
"notStarted": {
"message": "पभ नहि गय"
},
"oldUI": {
"message": "प UI"
},
"oldUIMessage": {
"message": "आप प UI पर वपस आ गए ह। आप ऊपर द ओर डपडउन मिकलप कयम स नए UI पर वपस सिच कर सकत।"
},
"or": {
"message": "य",
"description": "एक नय बन आयत करनच क पसद"
},
"passwordCorrect": {
"message": "कपयिित करि आपकसवरड सह।"
},
"passwordMismatch": {
"message": "पसवरड मल नह",
"description": "पसवरड निण परकि, द नए पसवरड फड मल नह"
},
"passwordShort": {
"message": "पसवरड परत ल नह",
"description": "पसवरड बनरकि, पसवरड सरकित हिए परत नह"
},
"pastePrivateKey": {
"message": "यह अपनििग चिपक:",
"description": "कििि आयत करनिए"
},
"pasteSeed": {
"message": "यह अपनज वश पट कर!"
},
"personalAddressDetected": {
"message": "वयकिगत पति। टकन अनध क पत इनपट।"
},
"pleaseReviewTransaction": {
"message": "कपय अपननदन क सम कर।"
},
"privacyMsg": {
"message": "गपनयति"
},
"privateKey": {
"message": "नि",
"description": "ख आयत करनिए उपयग करनिए इस परकर कइल क चयन कर"
},
"privateKeyWarning": {
"message": "चवन: कभ इस क न कर। आपकिई भ आपक रखिपति सकत।"
},
"privateNetwork": {
"message": "निटवरक"
},
"qrCode": {
"message": "QR कड दि"
},
"readdToken": {
"message": "आप अपनिकलप म .टकन ज. पर जकर भविय म इस टकन कपस ज सकत।"
},
"readMore": {
"message": "यह और पढ।"
},
"readMore2": {
"message": "ह - और पढ।"
},
"receive": {
"message": "पत कर"
},
"recipientAddress": {
"message": "पतकर पत"
},
"refundAddress": {
"message": "आपकिड पत"
},
"rejected": {
"message": "असत"
},
"resetAccount": {
"message": "खट कर"
},
"restoreFromSeed": {
"message": "बज वश सनरित कर"
},
"required": {
"message": "आवशयक"
},
"retryWithMoreGas": {
"message": "यह एक उचच गस कमत कथ पन: परयस कर"
},
"revealSeedWords": {
"message": "बज शबद परकट कर"
},
"revealSeedWordsWarning": {
"message": "किवजनिक सन पर अपनज क शबद ठक नह कर! य शबद आपक सभ करनिए उपयग किए ज सकत।"
},
"revert": {
"message": "वपस"
},
"rinkeby": {
"message": "रिव टट नटवरक"
},
"ropsten": {
"message": "रन टट नटवरक"
},
"sampleAccountName": {
"message": "उदहरण किए म नय",
"description": "उपयगकर अपननव-पठनय नम ज अवधरण समझ."
},
"save": {
"message": "सह"
},
"saveAsFile": {
"message": "फइल कप म सह",
"description": "खित परकि"
},
"saveSeedAsFile": {
"message": "सड वरस - फईलस सव कर"
},
"search": {
"message": "खज कर"
},
"secretPhrase": {
"message": "अपनत बरह शबद वश यह अपनिनरित करनिए दरज कर।"
},
"seedPhraseReq": {
"message": "बज वश 12 शबद ल"
},
"select": {
"message": "च"
},
"selectCurrency": {
"message": "म"
},
"selectService": {
"message": "स"
},
"selectType": {
"message": "परकर च"
},
"send": {
"message": "भ"
},
"sendETH": {
"message": "भ ETH"
},
"sendTokens": {
"message": "भकन"
},
"sendTokensAnywhere": {
"message": "इटरम खिकन भ"
},
"settings": {
"message": "सिस"
},
"shapeshiftBuy": {
"message": "शिट कथ खर"
},
"showPrivateKeys": {
"message": "निि"
},
"showQRCode": {
"message": "QR कड दि"
},
"sign": {
"message": "हसषर"
},
"signMessage": {
"message": "हसषर सश"
},
"signNotice": {
"message": "इस सश पर हसषर करन \n सइड इफट ह सकत। \n कवल अपनथ प तरह स भरद \n सइटश पर हसषर कर। \n यह खतरनक विि भविय ककरण मिल दएग।"
},
"sigRequest": {
"message": "हसषर अनध"
},
"sigRequested": {
"message": "हसषर अनित"
},
"spaceBetween": {
"message": "कवल शबच एक सन ह सकत"
},
"status": {
"message": "सिि"
},
"stateLogs": {
"message": "सििश"
},
"stateLogsDescription": {
"message": "सििश म आपकवजनिक ख, पत और भ गए लनदन, ह।"
},
"submit": {
"message": "सबमिट कर"
},
"supportCenter": {
"message": "हम सहयतर पर ज"
},
"symbolBetweenZeroTen": {
"message": "परतक 0 और 10 अकषरच हिए"
},
"takesTooLong": {
"message": "बहत समय ल रह?"
},
"terms": {
"message": "उपयग क शर"
},
"testFaucet": {
"message": "टट नलि"
},
"to": {
"message": "किए"
},
"toETHviaShapeShift": {
"message": "शपशट द $1 स ETH म जम",
"description": "सश कआत म जमरकर भर जएग"
},
"tokenAddress": {
"message": "टकन पत"
},
"tokenAlreadyAdded": {
"message": "टकन पहल।"
},
"tokenBalance": {
"message": "आपककन बस ह:"
},
"tokenSelection": {
"message": "टकन किए ख हमकपिय टस क।"
},
"tokenSymbol": {
"message": "टकन परतक"
},
"tokenWarning1": {
"message": "अपनक अकट स खर गए टकन नजर रख। अगर आप कि अलग ख उपयग कर टकन खर, तकन यहिई नह।"
},
"total": {
"message": "कल"
},
"transactions": {
"message": "लनदन"
},
"transactionMemo": {
"message": "लनदन म (वकलिक)"
},
"transactionNumber": {
"message": "लनदन स"
},
"transfers": {
"message": "सतरण"
},
"troubleTokenBalances": {
"message": "मबत... आपककन शष रिड करन हम परई थ। आप उनख सकत",
"description": "टकन शष दखनिए एक लिक ... (यह)"
},
"twelveWords": {
"message": "य 12 शबद आपकक खनरित करन एकमर तर। \n उन कहरकित और गत रप स सह।"
},
"typePassword": {
"message": "अपनसवरड टइप कर"
},
"uiWelcome": {
"message": "नयआई (ब) म आपकगत ह"
},
"uiWelcomeMessage": {
"message": "आप अब नए मक UI क उपयग कर रह। च ओर एक नजर ड, टकन भजन तरह नई सि, और हम बति आपकस कई समस।"
},
"unavailable": {
"message": "अनपलबध"
},
"unknown": {
"message": "अजत नटवरक"
},
"unknownNetwork": {
"message": "अजत निटवरक"
},
"unknownNetworkId": {
"message": "अजत नटवरक आईड.य़"
},
"uriErrorMsg": {
"message": "URI-यआरआई क उपयत HTTP / HTTPS उपसरग क आवशयकत।"
},
"usaOnly": {
"message": "कवल यएसए - USA",
"description": "इस एकसचज क उपयग करनत रय अमिदर हित ह"
},
"usedByClients": {
"message": "वििन कस द उपयग कि"
},
"useOldUI": {
"message": "प UI क उपयग कर"
},
"validFileImport": {
"message": "आयत करनिए आपक एक वध फइल चनन।"
},
"vaultCreated": {
"message": "वट बन गय"
},
"viewAccount": {
"message": "ख"
},
"visitWebSite": {
"message": "हमब सइट पर ज"
},
"warning": {
"message": "चवन"
},
"welcomeBeta": {
"message": "मक ब आपकगत ह"
},
"whatsThis": {
"message": "यह क?"
},
"yourSigRequested": {
"message": "आपक हसषर अनध कि रह"
},
"youSign": {
"message": "आप हसषर कर रह"
}
}

@ -0,0 +1,819 @@
{
"accept": {
"message": "Accetta"
},
"account": {
"message": "Account"
},
"accountDetails": {
"message": "Dettagli Account"
},
"accountName": {
"message": "Nome Account"
},
"address": {
"message": "Indirizzo"
},
"addCustomToken": {
"message": "Aggiungi un token personalizzato"
},
"addToken": {
"message": "Aggiungi Token"
},
"addTokens": {
"message": "Aggiungi più token"
},
"amount": {
"message": "Importo"
},
"amountPlusGas": {
"message": "Importo + Gas"
},
"appDescription": {
"message": "Ethereum Browser Extension",
"description": "La descrizione dell'applicazione"
},
"appName": {
"message": "MetaMask",
"description": "Il nome dell'applicazione"
},
"attemptingConnect": {
"message": "Tentativo di connessione alla blockchain."
},
"attributions": {
"message": "Attribuzioni"
},
"available": {
"message": "Disponibile"
},
"back": {
"message": "Indietro"
},
"balance": {
"message": "Bilancio:"
},
"balances": {
"message": "I tuoi bilanci"
},
"balanceIsInsufficientGas": {
"message": "Bilancio insufficiente per il gas totale corrente"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "deve essere maggiore o uguale a $1 e minore o uguale a $2.",
"description": "aiuto per inserire un input esadecimale come decimale"
},
"blockiesIdenticon": {
"message": "Usa le icone Blockie"
},
"borrowDharma": {
"message": "Prendi in presisito con Dharma (Beta)"
},
"builtInCalifornia": {
"message": "MetaMask è progettato e costruito in California."
},
"buy": {
"message": "Compra"
},
"buyCoinbase": {
"message": "Compra su Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase è il servizio più popolare al mondo per comprare e vendere bitcoin, ethereum e litecoin."
},
"cancel": {
"message": "Cancella"
},
"classicInterface": {
"message": "Usa l'interfaccia classica"
},
"clickCopy": {
"message": "Clicca per Copiare"
},
"confirm": {
"message": "Conferma"
},
"confirmContract": {
"message": "Conferma Contratto"
},
"confirmPassword": {
"message": "Conferma Password"
},
"confirmTransaction": {
"message": "Conferma Transazione"
},
"continue": {
"message": "Continua"
},
"continueToCoinbase": {
"message": "Continua su Coinbase"
},
"contractDeployment": {
"message": "Distribuzione Contratto"
},
"conversionProgress": {
"message": "Conversione in corso"
},
"copiedButton": {
"message": "Copiato"
},
"copiedClipboard": {
"message": "Copiato negli Appunti"
},
"copiedExclamation": {
"message": "Copiato!"
},
"copiedSafe": {
"message": "Le ho copiate in un posto sicuro"
},
"copy": {
"message": "Copia"
},
"copyToClipboard": {
"message": "Copia negli appunti"
},
"copyButton": {
"message": " Copia "
},
"copyPrivateKey": {
"message": "Questa è la tua chiave privata (clicca per copiare)"
},
"create": {
"message": "Crea"
},
"createAccount": {
"message": "Crea Account"
},
"createDen": {
"message": "Crea"
},
"crypto": {
"message": "Crypto",
"description": "Tipo di exchange (cryptomonete)"
},
"currentConversion": {
"message": "Cambio Corrente"
},
"currentNetwork": {
"message": "Rete Corrente"
},
"customGas": {
"message": "Personalizza Gas"
},
"customize": {
"message": "Personalizza"
},
"customRPC": {
"message": "RPC Personalizzata"
},
"decimalsMustZerotoTen": {
"message": "Il numero di decimali deve essere almeno 0, e non oltre 36."
},
"decimal": {
"message": "Precisione Decimali"
},
"defaultNetwork": {
"message": "La rete predefinita per transazioni in Ether è la Rete Ethereum Principale."
},
"denExplainer": {
"message": "Il DEN è il tuo archivio crittato con password dentro Metamask."
},
"deposit": {
"message": "Deposita"
},
"depositBTC": {
"message": "Deposita i tuoi BTC all'indirizzo sotto:"
},
"depositCoin": {
"message": "Deposita $1 all'indirizzo sotto",
"description": "Dice all'utente quale moneta ha selezionato per depositare con Shapeshift"
},
"depositEth": {
"message": "Deposita Eth"
},
"depositEther": {
"message": "Deposita Ether"
},
"depositFiat": {
"message": "Deposita con moneta Fiat"
},
"depositFromAccount": {
"message": "Deposita da un altro account"
},
"depositShapeShift": {
"message": "Deposita con ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Se possiedi altre criptomonete, puoi scambiare e depositare Ether direttamente nel tuo portafoglio MetaMask. Nessun account richiesto."
},
"details": {
"message": "Dettagli"
},
"directDeposit": {
"message": "Deposito Diretto"
},
"directDepositEther": {
"message": "Deposita Direttamente Ether"
},
"directDepositEtherExplainer": {
"message": "Se possiedi già degli Ether, questa è la via più veloce per aggiungere Ether al tuo portafoglio con un deposito diretto."
},
"done": {
"message": "Finito"
},
"downloadStatelogs": {
"message": "Scarica i log di Stato"
},
"edit": {
"message": "Modifica"
},
"editAccountName": {
"message": "Modifica Nome Account"
},
"emailUs": {
"message": "Mandaci una mail!"
},
"encryptNewDen": {
"message": "Cripta il tuo nuovo DEN"
},
"enterPassword": {
"message": "Inserisci password"
},
"enterPasswordConfirm": {
"message": "Inserisci la tua password per confermare"
},
"etherscanView": {
"message": "Vedi account su Etherscan"
},
"exchangeRate": {
"message": "Tasso di cambio"
},
"exportPrivateKey": {
"message": "Esporta Chiave Privata"
},
"exportPrivateKeyWarning": {
"message": "Esporta chiave privata a tuo rischio."
},
"failed": {
"message": "Fallito"
},
"fiat": {
"message": "FIAT",
"description": "Tipo di scambio"
},
"fileImportFail": {
"message": "Importazione file non funziona? Clicca qui!",
"description": "Aiuta gli utenti a importare il loro account da un file JSON"
},
"followTwitter": {
"message": "Seguici su Twitter"
},
"from": {
"message": "Da"
},
"fromToSame": {
"message": "Gli indirizzi Da e A non possono essere uguali"
},
"fromShapeShift": {
"message": "Da ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Piccola indicazione del costo del gas"
},
"gasFee": {
"message": "Costo Gas"
},
"gasLimit": {
"message": "Gas Limite"
},
"gasLimitCalculation": {
"message": "Calcoliamo il gas limite suggerito in base al successo delle transazioni in rete."
},
"gasLimitRequired": {
"message": "Gas Limite Richiesto"
},
"gasLimitTooLow": {
"message": "Il Gas Limite deve essere almeno 21000"
},
"generatingSeed": {
"message": "Generando la frase seed..."
},
"gasPrice": {
"message": "Prezzo del Gas (GWEI)"
},
"gasPriceCalculation": {
"message": "Calcoliamo il gas limite suggerito in base al successo delle transazioni in rete."
},
"gasPriceRequired": {
"message": "Prezzo Gas Richiesto"
},
"getEther": {
"message": "Ottieni Ether"
},
"getEtherFromFaucet": {
"message": "Ottieni Get Ether da un faucet per $1",
"description": "Visualizza il nome della rete per il faucet Ether"
},
"greaterThanMin": {
"message": "deve essere maggiore o uguale a $1.",
"description": "aiuto per inserire un input esadecimale come decimale"
},
"here": {
"message": "qui",
"description": "per intendere -clicca qui- per maggiori informazioni (va con troubleTokenBalances)"
},
"hereList": {
"message": "Questa è una lista!!!!"
},
"hide": {
"message": "Nascondi"
},
"hideToken": {
"message": "Nascondi Token"
},
"hideTokenPrompt": {
"message": "Nascondi Token?"
},
"howToDeposit": {
"message": "Come vuoi depositare Ether?"
},
"holdEther": {
"message": "Ti permette di tenere ether & token, e serve da ponte per le applicazioni decentralizzate."
},
"import": {
"message": "Importa",
"description": "Tasto per importare un account da un file selezionato"
},
"importAccount": {
"message": "Importa Account"
},
"importAccountMsg": {
"message":" Gli account importati non saranno associati alla frase seed originariamente creata con MetaMask. Impara di più sugli account importati "
},
"importAnAccount": {
"message": "Importa un account"
},
"importDen": {
"message": "Importa un DEN Esistente"
},
"imported": {
"message": "Importato",
"description": "stato che conferma che un account è stato totalmente caricato nel portachiavi"
},
"infoHelp": {
"message": "Informazioni & Aiuto"
},
"insufficientFunds": {
"message": "Fondi non sufficienti."
},
"insufficientTokens": {
"message": "Token non sufficienti."
},
"invalidAddress": {
"message": "Indirizzo non valido"
},
"invalidAddressRecipient": {
"message": "Indirizzo destinatario invalido"
},
"invalidGasParams": {
"message": "Parametri del Gas non validi"
},
"invalidInput": {
"message": "Input non valido."
},
"invalidRequest": {
"message": "Richiesta non Valida"
},
"invalidRPC": {
"message": "URI RPC invalido"
},
"jsonFail": {
"message": "Qualcosa è andato storto. Assicurati che il file JSON sia formattato correttamente."
},
"jsonFile": {
"message": "File JSON",
"description": "formato per importare un account"
},
"kovan": {
"message": "Rete di test Kovan"
},
"knowledgeDataBase": {
"message": "Visita la nostra Knowledge Base"
},
"lessThanMax": {
"message": "deve essere minore o uguale a $1.",
"description": "aiuto per inserire un input esadecimale come decimale"
},
"likeToAddTokens": {
"message": "Vorresti aggiungere questi token?"
},
"limit": {
"message": "Limite"
},
"loading": {
"message": "Caricamento..."
},
"loadingTokens": {
"message": "Caricamento Tokens..."
},
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Connetti"
},
"logout": {
"message": "Disconnetti"
},
"loose": {
"message": "Libero"
},
"loweCaseWords": {
"message": "le frasi seed hanno solo lettere minuscole"
},
"mainnet": {
"message": "Rete Ethereum Principale"
},
"message": {
"message": "Messaggio"
},
"metamaskDescription": {
"message": "MetaMask è una cassaforte sicura per identità su Ethereum."
},
"min": {
"message": "Minimo"
},
"myAccounts": {
"message": "Account Miei"
},
"mustSelectOne": {
"message": "Devi selezionare almeno un token."
},
"needEtherInWallet": {
"message": "Per interagire con applicazioni decentralizzate con MetaMask, devi possedere Ether nel tuo portafoglio."
},
"needImportFile": {
"message": "Devi selezionare un file da importare.",
"description": "L'utente sta importando un account e deve aggiungere un file per continuare"
},
"needImportPassword": {
"message": "Dei inserire una password per il file selezionato.",
"description": "Password e file necessari per importare un account"
},
"negativeETH": {
"message": "Non puoi inviare una quantità di ETH negativa."
},
"networks": {
"message": "Reti"
},
"newAccount": {
"message": "Nuovo Account"
},
"newAccountNumberName": {
"message": "Account $1",
"description": "Nome predefinito per il prossimo account da creare nella schermata di creazione account"
},
"newContract": {
"message": "Nuovo Contratto"
},
"newPassword": {
"message": "Nuova Password (minimo 8 caratteri)"
},
"newRecipient": {
"message": "Nuovo Destinatario"
},
"newRPC": {
"message": "Nuovo URL RPC"
},
"next": {
"message": "Prossimo"
},
"noAddressForName": {
"message": "Nessun indirizzo è stato impostato per questo nome."
},
"noDeposits": {
"message": "Nessun deposito ricevuto"
},
"noTransactionHistory": {
"message": "Nessuna cronologia delle transazioni."
},
"noTransactions": {
"message": "Nessuna Transazione"
},
"notStarted": {
"message": "Non Iniziato"
},
"oldUI": {
"message": "Vecchia interfaccia"
},
"oldUIMessage": {
"message": "Sei ritornato alla vecchia interfaccia. Puoi ritornare alla nuova interfaccia tramite l'opzione nel menu a discesa in alto a destra."
},
"or": {
"message": "o",
"description": "scelta tra creare o importare un nuovo account"
},
"passwordCorrect": {
"message": "Assicurati che la password sia corretta."
},
"passwordMismatch": {
"message": "le password non corrispondono",
"description": "nella creazione della password, le due password all'interno dei campi non corrispondono"
},
"passwordShort": {
"message": "password non sufficientemente lunga",
"description": "nella creazione della password, la password non è lunga abbastanza"
},
"pastePrivateKey": {
"message": "Incolla la tua chiave privata qui:",
"description": "Per importare un account da una chiave privata"
},
"pasteSeed": {
"message": "Incolla la tua frase seed qui!"
},
"personalAddressDetected": {
"message": "Rilevato indirizzo personale. Inserisci l'indirizzo del contratto del token."
},
"pleaseReviewTransaction": {
"message": "Ricontrolla la tua transazione."
},
"privacyMsg": {
"message": "Politica sulla Privacy"
},
"privateKey": {
"message": "Chiave Privata",
"description": "seleziona questo tipo di file per importare un account"
},
"privateKeyWarning": {
"message": "Attenzione: non dire a nessuno questa chiave! Chiunque con la tua chiave privata può rubare qualsiasi moneta contenuta nel tuo account."
},
"privateNetwork": {
"message": "Rete Privata"
},
"qrCode": {
"message": "Mostra Codice QR"
},
"readdToken": {
"message": "Puoi aggiungere nuovamente questo token in futuro andando in “Aggiungi token” nel menu delle opzioni del tuo account."
},
"readMore": {
"message": "Leggi di più qui."
},
"readMore2": {
"message": "Leggi di più."
},
"receive": {
"message": "Ricevi"
},
"recipientAddress": {
"message": "Indirizzo Destinatario"
},
"refundAddress": {
"message": "Indirizzo di Rimborso"
},
"rejected": {
"message": "Respinta"
},
"resetAccount": {
"message": "Resetta Account"
},
"restoreFromSeed": {
"message": "Ripristina da una frase seed"
},
"required": {
"message": "Richiesto"
},
"retryWithMoreGas": {
"message": "Riprova con un prezzo del Gas maggiore qui"
},
"revealSeedWords": {
"message": "Rivela Frase Seed"
},
"revealSeedWordsWarning": {
"message": "Non ripristinare la tua frase seed in pubblico!. Queste parole possono essere usate per rubare il tuo account."
},
"revert": {
"message": "Annulla"
},
"rinkeby": {
"message": "Rete di test Rinkeby"
},
"ropsten": {
"message": "Rete di test Ropsten"
},
"sampleAccountName": {
"message": "Es: Il mio nuovo account",
"description": "Aiuta l'utente a capire il concetto di aggiungere un nome leggibile al loro account"
},
"save": {
"message": "Salva"
},
"saveAsFile": {
"message": "Salva come File",
"description": "Processo per esportare un account"
},
"saveSeedAsFile": {
"message": "Salva la Frase Seed come File"
},
"search": {
"message": "Cerca"
},
"secretPhrase": {
"message": "Inserisci la tua frase segreta di dodici parole per ripristinare la cassaforte."
},
"seedPhraseReq": {
"message": "le frasi seed sono lunghe 12 parole"
},
"select": {
"message": "Seleziona"
},
"selectCurrency": {
"message": "Seleziona Moneta"
},
"selectService": {
"message": "Seleziona Servizio"
},
"selectType": {
"message": "Seleziona Tipo"
},
"send": {
"message": "Invia"
},
"sendETH": {
"message": "Invia ETH"
},
"sendTokens": {
"message": "Invia Tokens"
},
"sendTokensAnywhere": {
"message": "Invia Tokens a chiunque abbia un account Ethereum"
},
"settings": {
"message": "Impostazioni"
},
"shapeshiftBuy": {
"message": "Compra con Shapeshift"
},
"showPrivateKeys": {
"message": "Mostra Chiave Privata"
},
"showQRCode": {
"message": "Mostra Codie QR"
},
"sign": {
"message": "Firma"
},
"signMessage": {
"message": "Firma Messaggio"
},
"signNotice": {
"message": "Firmare questo messaggio può avere effetti collaterali pericolosi. \nFirma messaggi da siti di cui ti fidi totalmente. \nQuesto metodo pericoloso sarà rimosso in versioni future."
},
"sigRequest": {
"message": "Firma Richiesta"
},
"sigRequested": {
"message": "Richiesta Firma"
},
"spaceBetween": {
"message": "ci può essere solo uno spazio tra le parole"
},
"status": {
"message": "Stato"
},
"stateLogs": {
"message": "Log di Stato"
},
"stateLogsDescription": {
"message": "I log di stato contengono i tuoi indirizzi pubblici e le transazioni effettuate."
},
"submit": {
"message": "Invia"
},
"supportCenter": {
"message": "Visita il nostro Centro di Supporto"
},
"symbolBetweenZeroTen": {
"message": "Il simbolo deve essere lungo tra 0 e 10 caratteri."
},
"takesTooLong": {
"message": "Ci sta mettendo troppo?"
},
"terms": {
"message": "Termini di Uso"
},
"testFaucet": {
"message": "Prova Faucet"
},
"to": {
"message": "A"
},
"toETHviaShapeShift": {
"message": "$1 a ETH via ShapeShift",
"description": "il sistema riempirà il tipo di deposito all'inizio del messaggio"
},
"tokenAddress": {
"message": "Indirizzo Token"
},
"tokenAlreadyAdded": {
"message": "Il token è già stato aggiunto."
},
"tokenBalance": {
"message": "Bilancio Token:"
},
"tokenSelection": {
"message": "Cerca un token o seleziona dalla lista di token più popolari."
},
"tokenSymbol": {
"message": "Simbolo Token"
},
"tokenWarning1": {
"message": "Tieni traccia dei token che hai acquistato con il tuo account MetaMask. Se hai acquistato token con un account diverso, quei token non appariranno qui."
},
"total": {
"message": "Totale"
},
"transactions": {
"message": "transazioni"
},
"transactionMemo": {
"message": "Promemoria Transazione (opzionale)"
},
"transactionNumber": {
"message": "Numero Transazione"
},
"transfers": {
"message": "Trasferimenti"
},
"troubleTokenBalances": {
"message": "Abbiamo avuto un problema a caricare il bilancio dei tuoi token. Puoi vederlo ",
"description": "Seguito da un link (qui) per vedere il bilancio dei token"
},
"twelveWords": {
"message": "Queste 12 parole sono l'unico modo per ripristinare i tuoi account MetaMask. \nSalvale in un posto sicuro e segreto."
},
"typePassword": {
"message": "Inserisci Password"
},
"uiWelcome": {
"message": "Benvenuto alla nuova interfaccia (Beta)"
},
"uiWelcomeMessage": {
"message": "Stai utilizzanto la nuova interfaccia di MetaMask. Guarda in giro, prova nuove funzionalità come inviare token, e facci sapere se hai dei problemi."
},
"unavailable": {
"message": "Non Disponibile"
},
"unknown": {
"message": "Sconosciuto"
},
"unknownNetwork": {
"message": "Rete Privata Sconosciuta"
},
"unknownNetworkId": {
"message": "ID rete sconosciuto"
},
"uriErrorMsg": {
"message": "Gli URI richiedono un prefisso HTTP/HTTPS."
},
"usaOnly": {
"message": "Solo USA",
"description": "Usare questo sito di scambio è possibile solo per persone residenti in USA."
},
"usedByClients": {
"message": "Usato da una varietà di clients diversi"
},
"useOldUI": {
"message": "Use la vecchia UI"
},
"validFileImport": {
"message": "Devi selezionare un file valido da importare."
},
"vaultCreated": {
"message": "Cassaforte Creata"
},
"viewAccount": {
"message": "Vedi Account"
},
"visitWebSite": {
"message": "Visita il nostro sito web"
},
"warning": {
"message": "Attenzione"
},
"welcomeBeta": {
"message": "Benvenuto nella Beta di MetaMask"
},
"whatsThis": {
"message": "Cos'è questo?"
},
"yourSigRequested": {
"message": "E' richiesta la tua firma"
},
"youSign": {
"message": "Ti stai connettendo"
}
}

@ -1,10 +1,609 @@
{
"accept": {
"message": "承認"
},
"account": {
"message": "アカウント"
},
"accountDetails": {
"message": "アカウント詳細"
},
"accountName": {
"message": "アカウント名"
},
"address": {
"message": "アドレス"
},
"addToken": {
"message": "トークンを追加"
},
"amount": {
"message": "金額"
},
"amountPlusGas": {
"message": "金額 + ガス"
},
"appDescription": {
"message": "Ethereumのブラウザ・エクステンション",
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"description": "The name of the application"
},
"appDescription": {
"message": "EthereumのID管理",
"description": "The description of the application"
"attemptingConnect": {
"message": "ブロックチェーンに接続中"
},
"available": {
"message": "有効"
},
"back": {
"message": "戻る"
},
"balance": {
"message": "残高:"
},
"balanceIsInsufficientGas": {
"message": "現在のガス総量に対して残高が不足しています"
},
"beta": {
"message": "ベータ版"
},
"betweenMinAndMax": {
"message": " $1以上 $2以下にして下さい。",
"description": "helper for inputting hex as decimal input"
},
"borrowDharma": {
"message": "Dharmaで借りる(ベータ版)"
},
"buy": {
"message": "購入"
},
"buyCoinbase": {
"message": "Coinbaseで購入"
},
"buyCoinbaseExplainer": {
"message": "Coinbaseは、世界で最もポピュラーなBitcoin、Ethereum、そしてLitecoinの取引所です。"
},
"cancel": {
"message": "キャンセル"
},
"clickCopy": {
"message": "クリックしてコピー"
},
"confirm": {
"message": "確認"
},
"confirmContract": {
"message": "コントラクトの確認"
},
"confirmPassword": {
"message": "パスワードの確認"
},
"confirmTransaction": {
"message": "トランザクションの確認"
},
"continueToCoinbase": {
"message": "Coinbaseで続行"
},
"contractDeployment": {
"message": "コントラクトのデプロイ"
},
"conversionProgress": {
"message": "変換中"
},
"copiedButton": {
"message": "コピー完了"
},
"copiedClipboard": {
"message": "クリップボードへコピー済み"
},
"copiedExclamation": {
"message": "コピー完了!"
},
"copy": {
"message": "コピー"
},
"copyToClipboard": {
"message": "クリップボードへコピー"
},
"copyButton": {
"message": " コピー "
},
"copyPrivateKey": {
"message": "これはあなたの秘密鍵です(クリックでコピー)"
},
"create": {
"message": "作成"
},
"createAccount": {
"message": "アカウント作成"
},
"createDen": {
"message": "作成"
},
"crypto": {
"message": "暗号通貨",
"description": "Exchange type (cryptocurrencies)"
},
"customGas": {
"message": "ガスのカスタマイズ"
},
"customize": {
"message": "カスタマイズ"
},
"customRPC": {
"message": "カスタムRPC"
},
"defaultNetwork": {
"message": "Etherトランザクションのデフォルトのネットワークはメインネットです。"
},
"denExplainer": {
"message": "DENとは、あなたのパスワードが暗号化されたMetaMask内のストレージです。"
},
"deposit": {
"message": "デポジット"
},
"depositBTC": {
"message": "あなたのBTCを次のアドレスへデポジット:"
},
"depositCoin": {
"message": "あなたの $1を次のアドレスへデポジット",
"description": "Tells the user what coin they have selected to deposit with shapeshift"
},
"depositEth": {
"message": "ETHをデポジット"
},
"depositEther": {
"message": "Etherをデポジット"
},
"depositFiat": {
"message": "法定通貨でデポジット"
},
"depositFromAccount": {
"message": "別のアカウントからデポジット"
},
"depositShapeShift": {
"message": "ShapeShiftでデポジット"
},
"depositShapeShiftExplainer": {
"message": "あなたが他の暗号通貨を持っているなら、Etherにトレードしてダイレクトにメタマスクウォレットへのデポジットが可能です。アカウント作成は不要。"
},
"details": {
"message": "詳細"
},
"directDeposit": {
"message": "ダイレクトデポジット"
},
"directDepositEther": {
"message": "Etherをダイレクトデポジット"
},
"directDepositEtherExplainer": {
"message": "あなたがEtherをすでにお持ちなら、ダイレクトデポジットは新しいウォレットにEtherを入手する最も迅速な方法です。"
},
"done": {
"message": "完了"
},
"edit": {
"message": "編集"
},
"editAccountName": {
"message": "アカウント名を編集"
},
"encryptNewDen": {
"message": "新しいDENを暗号化する"
},
"enterPassword": {
"message": "パスワードを入力"
},
"etherscanView": {
"message": "Etherscanでアカウントを見る"
},
"exchangeRate": {
"message": "交換レート"
},
"exportPrivateKey": {
"message": "秘密鍵のエクスポート"
},
"exportPrivateKeyWarning": {
"message": "あなた自身の責任で秘密鍵をエクスポート"
},
"failed": {
"message": "失敗"
},
"fiat": {
"message": "法定通貨",
"description": "Exchange type"
},
"fileImportFail": {
"message": "ファイルがインポートされなければ、ここをクリック!",
"description": "Helps user import their account from a JSON file"
},
"from": {
"message": "送信元"
},
"fromShapeShift": {
"message": "ShapeShiftから"
},
"gas": {
"message": "ガス",
"description": "Short indication of gas cost"
},
"gasFee": {
"message": "ガス料金"
},
"gasLimit": {
"message": "ガスリミット"
},
"gasLimitCalculation": {
"message": "ネットワークの成功率を基にして、ガスリミットを提案しています。"
},
"gasLimitRequired": {
"message": "必要ガスリミット"
},
"gasLimitTooLow": {
"message": "ガスリミットは最低21000です。"
},
"gasPrice": {
"message": "ガスプライス (GWEI)"
},
"gasPriceCalculation": {
"message": "ネットワークの成功率を基にして、ガスプライスを提案しています。"
},
"gasPriceRequired": {
"message": "必要ガスプライス"
},
"getEther": {
"message": "Etherをゲット"
},
"getEtherFromFaucet": {
"message": "フォーセットで $1のEtherをゲット",
"description": "Displays network name for Ether faucet"
},
"greaterThanMin": {
"message": " $1以上にして下さい。",
"description": "helper for inputting hex as decimal input"
},
"here": {
"message": "ここ",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hide": {
"message": "隠す"
},
"hideToken": {
"message": "トークンを隠す"
},
"hideTokenPrompt": {
"message": "トークンを隠しますか??"
},
"howToDeposit": {
"message": "どのようにEtherをデポジットしますか?"
},
"import": {
"message": "インポート",
"description": "Button to import an account from a selected file"
},
"importAccount": {
"message": "アカウントのインポート"
},
"importAnAccount": {
"message": "アカウントをインポート"
},
"importDen": {
"message": "既存のDENをインポート"
},
"imported": {
"message": "インポート完了",
"description": "status showing that an account has been fully loaded into the keyring"
},
"infoHelp": {
"message": "インフォメーションとヘルプ"
},
"invalidAddress": {
"message": "アドレスが無効です。"
},
"invalidGasParams": {
"message": "ガスのパラメーターが無効です。"
},
"invalidInput": {
"message": "インプットが無効です。"
},
"invalidRequest": {
"message": "リクエストが無効です。"
},
"jsonFile": {
"message": "JSONファイル",
"description": "format for importing an account"
},
"kovan": {
"message": "Kovanテストネットワーク"
},
"lessThanMax": {
"message": " $1以下にして下さい。",
"description": "helper for inputting hex as decimal input"
},
"limit": {
"message": "リミット"
},
"loading": {
"message": "ロード中..."
},
"loadingTokens": {
"message": "トークンをロード中..."
},
"localhost": {
"message": "Localhost 8545"
},
"logout": {
"message": "ログアウト"
},
"loose": {
"message": "外部秘密鍵"
},
"mainnet": {
"message": "Ethereumメインネットワーク"
},
"message": {
"message": "メッセージ"
},
"min": {
"message": "ミニマム"
},
"myAccounts": {
"message": "マイアカウント"
},
"needEtherInWallet": {
"message": "MetaMaskを使って分散型アプリケーションと対話するためには、あなたのウォレットにEtherが必要になります。"
},
"needImportFile": {
"message": "インポートするファイルを選択してください。",
"description": "User is important an account and needs to add a file to continue"
},
"needImportPassword": {
"message": "選択したファイルのパスワードを入力してください。",
"description": "Password and file needed to import an account"
},
"networks": {
"message": "ネットワーク"
},
"newAccount": {
"message": "新規アカウント"
},
"newAccountNumberName": {
"message": "アカウント $1",
"description": "Default name of next account to be created on create account screen"
},
"newContract": {
"message": "新規コントラクト"
},
"newPassword": {
"message": "新規パスワード(最低8文字)"
},
"newRecipient": {
"message": "新規受取人"
},
"next": {
"message": "次へ"
},
"noAddressForName": {
"message": "この名前にはアドレスが設定されていません。"
},
"noDeposits": {
"message": "デポジットがありません。"
},
"noTransactionHistory": {
"message": "トランザクション履歴がありません。"
},
"noTransactions": {
"message": "トランザクションがありません。"
},
"notStarted": {
"message": "スタートしていません。"
},
"oldUI": {
"message": "旧UI"
},
"oldUIMessage": {
"message": "旧UIを表示しています。右上のドロップダウンメニューのオプションより、新UIへ切り替えが可能です。"
},
"or": {
"message": "または",
"description": "choice between creating or importing a new account"
},
"passwordMismatch": {
"message": "パスワードが一致しません。",
"description": "in password creation process, the two new password fields did not match"
},
"passwordShort": {
"message": "パスワードが短すぎます。",
"description": "in password creation process, the password is not long enough to be secure"
},
"pastePrivateKey": {
"message": "秘密鍵をここにペーストして下さい:",
"description": "For importing an account from a private key"
},
"pasteSeed": {
"message": "シードをここにペーストして下さい!"
},
"pleaseReviewTransaction": {
"message": "トランザクションをレビューして下さい。"
},
"privateKey": {
"message": "秘密鍵",
"description": "select this type of file to use to import an account"
},
"privateKeyWarning": {
"message": "警告: この鍵は絶対に公開しないで下さい。公開すると、誰でもあなたのアカウント内の資産を盗むことができてしまいます。"
},
"privateNetwork": {
"message": "プライベート・ネットワーク"
},
"qrCode": {
"message": "QRコードを表示"
},
"readdToken": {
"message": "アカウントのオプションメニューから「トークンを追加」すれば、将来このトークンを追加し直すことができます。"
},
"readMore": {
"message": "もっと読む"
},
"receive": {
"message": "受け取る"
},
"recipientAddress": {
"message": "受取人アドレス"
},
"refundAddress": {
"message": "あなたの返金先アドレス"
},
"rejected": {
"message": "拒否されました"
},
"required": {
"message": "必要です。"
},
"retryWithMoreGas": {
"message": "より高いガスプライスで再度試して下さい。"
},
"revert": {
"message": "元に戻す"
},
"rinkeby": {
"message": "Rinkebyテストネットワーク"
},
"ropsten": {
"message": "Ropstenテストネットワーク"
},
"sampleAccountName": {
"message": "例.新しいマイアカウント",
"description": "Help user understand concept of adding a human-readable name to their account"
},
"save": {
"message": "保存"
},
"saveAsFile": {
"message": "ファイルとして保存",
"description": "Account export process"
},
"selectService": {
"message": "サービスを選択"
},
"send": {
"message": "送信"
},
"sendTokens": {
"message": "トークンを送る"
},
"sendTokensAnywhere": {
"message": "イーサリアムのアカウントを持っている人にトークンを送る"
},
"settings": {
"message": "設定"
},
"shapeshiftBuy": {
"message": "Shapeshiftで買う"
},
"showPrivateKeys": {
"message": "秘密鍵を表示"
},
"showQRCode": {
"message": "QRコードを表示"
},
"sign": {
"message": "署名"
},
"signMessage": {
"message": "メッセージに署名"
},
"signNotice": {
"message": "このメッセージへの署名は危険となる可能性があります。\n完全に信頼するサイトからのメッセージのみ、\nあなたのアカウントで署名して下さい。今後のバージョンでは、\nこの危険なメソッドは削除される予定です。"
},
"sigRequest": {
"message": "署名リクエスト"
},
"sigRequested": {
"message": "署名がリクエストされました"
},
"status": {
"message": "ステータス"
},
"submit": {
"message": "送信"
},
"takesTooLong": {
"message": "長くかかりすぎていますか?"
},
"testFaucet": {
"message": "Faucetをテスト"
},
"to": {
"message": "宛先"
},
"toETHviaShapeShift": {
"message": "ShapeShiftで $1をETHにする",
"description": "system will fill in deposit type in start of message"
},
"tokenBalance": {
"message": "あなたのトークン残高:"
},
"total": {
"message": "合計"
},
"transactionMemo": {
"message": "トランザクションメモ (オプション)"
},
"transactionNumber": {
"message": "トランザクション番号"
},
"transfers": {
"message": "トランスファー"
},
"troubleTokenBalances": {
"message": "トークン残高を取得できません。こちらでご確認ください。",
"description": "Followed by a link (here) to view token balances"
},
"typePassword": {
"message": "パスワードタイプ"
},
"uiWelcome": {
"message": "新UIへようこそ!(ベータ版)"
},
"uiWelcomeMessage": {
"message": "現在Metamaskの新しいUIをお使いになっています。トークン送信など、新たな機能を試してみましょう!何か問題があればご報告ください。"
},
"unavailable": {
"message": "有効ではありません。"
},
"unknown": {
"message": "不明"
},
"unknownNetwork": {
"message": "不明なプライベートネットワーク"
},
"unknownNetworkId": {
"message": "不明なネットワークID"
},
"usaOnly": {
"message": "米国居住者のみ",
"description": "Using this exchange is limited to people inside the USA"
},
"usedByClients": {
"message": "様々なクライアントによって使用されています。"
},
"viewAccount": {
"message": "アカウントを見る"
},
"warning": {
"message": "警告"
},
"whatsThis": {
"message": "これは何でしょう?"
},
"yourSigRequested": {
"message": "あなたの署名がリクエストされています。"
},
"youSign": {
"message": "署名しています。"
}
}

@ -1,10 +1,609 @@
{
"appName": {
"message": "MetaMask",
"description": "The name of the application"
"accept": {
"message": "수락"
},
"account": {
"message": "계좌"
},
"accountDetails": {
"message": "계좌 상세보기"
},
"accountName": {
"message": "계좌 이름"
},
"address": {
"message": "주소"
},
"addToken": {
"message": "토큰 추가"
},
"amount": {
"message": "금액"
},
"amountPlusGas": {
"message": "금액 + 가스"
},
"appDescription": {
"message": "이더리움 계좌 관리",
"description": "The description of the application"
"message": "이더리움 브라우저 확장 프로그램",
"description": "어플리케이션 내용"
},
"appName": {
"message": "메타마스크",
"description": "어플리케이션 이름"
},
"attemptingConnect": {
"message": "블록체인에 접속 시도 중입니다."
},
"available": {
"message": "사용 가능한"
},
"back": {
"message": "뒤로"
},
"balance": {
"message": "잔액:"
},
"balanceIsInsufficientGas": {
"message": "가스가 충분하지 않습니다."
},
"beta": {
"message": "베타"
},
"betweenMinAndMax": {
"message": "$1 이상 $2 이하여야 합니다.",
"description": "helper for inputting hex as decimal input"
},
"borrowDharma": {
"message": "Dharma에서 빌리기(베타)"
},
"buy": {
"message": "구매"
},
"buyCoinbase": {
"message": "코인베이스에서 구매"
},
"buyCoinbaseExplainer": {
"message": "코인베이스에서 비트코인, 이더리움, 라이트코인을 구매하실 수 있습니다."
},
"cancel": {
"message": "취소"
},
"clickCopy": {
"message": "클릭하여 복사"
},
"confirm": {
"message": "승인"
},
"confirmContract": {
"message": "컨트랙트 승인"
},
"confirmPassword": {
"message": "패스워드 승인"
},
"confirmTransaction": {
"message": "트랜잭션 승인"
},
"continueToCoinbase": {
"message": "코인베이스로 계속하기"
},
"contractDeployment": {
"message": "컨트랙트 배포"
},
"conversionProgress": {
"message": "변환중.."
},
"copiedButton": {
"message": "복사되었습니다."
},
"copiedClipboard": {
"message": "클립보드에 복사되었습니다."
},
"copiedExclamation": {
"message": "복사되었습니다."
},
"copy": {
"message": "복사하기"
},
"copyToClipboard": {
"message": "클립보드에 복사"
},
"copyButton": {
"message": " 복사 "
},
"copyPrivateKey": {
"message": "비밀 키 (클릭하여 복사)"
},
"create": {
"message": "생성"
},
"createAccount": {
"message": "계좌 생성"
},
"createDen": {
"message": "생성"
},
"crypto": {
"message": "암호화폐",
"description": "Exchange type (cryptocurrencies)"
},
"customGas": {
"message": "가스 설정"
},
"customize": {
"message": "커스터마이즈"
},
"customRPC": {
"message": "커스텀 RPC"
},
"defaultNetwork": {
"message": "이더리움 트랜잭션의 기본 네트워크는 메인넷입니다."
},
"denExplainer": {
"message": "DEN은 비밀번호가 암호화 된 MetaMask의 스토리지입니다."
},
"deposit": {
"message": "입금"
},
"depositBTC": {
"message": "아래 주소로 BTC를 입급해주세요."
},
"depositCoin": {
"message": "아래 주소로 $1를 입금해주세요.",
"description": "Tells the user what coin they have selected to deposit with shapeshift"
},
"depositEth": {
"message": "이더 입금"
},
"depositEther": {
"message": "이더 입금"
},
"depositFiat": {
"message": "현금으로 입금하기"
},
"depositFromAccount": {
"message": "다른 주소에서 입금하기"
},
"depositShapeShift": {
"message": "ShapeShift를 통해 입금하기"
},
"depositShapeShiftExplainer": {
"message": "다른 암호화폐를 가지고 있으면, 계좌 생성 필요없이, 거래를 하거나 메타마스크 지갑을 통해 이더를 입금할 수 있습니다."
},
"details": {
"message": "상세"
},
"directDeposit": {
"message": "즉시 입금"
},
"directDepositEther": {
"message": "이더 즉시 입금"
},
"directDepositEtherExplainer": {
"message": "이더를 이미 보유하고 있다면, 직접 입금을 통해 이더를 즉시 입금하실 수 있습니다."
},
"done": {
"message": "완료"
},
"edit": {
"message": "수정"
},
"editAccountName": {
"message": "계좌명 수정"
},
"encryptNewDen": {
"message": "새 DEN 암호화"
},
"enterPassword": {
"message": "패스워드를 입력해주세요."
},
"etherscanView": {
"message": "이더스캔에서 계좌보기"
},
"exchangeRate": {
"message": "환율"
},
"exportPrivateKey": {
"message": "비밀키 내보내기"
},
"exportPrivateKeyWarning": {
"message": "Export private keys at your own risk."
},
"failed": {
"message": "실패"
},
"fiat": {
"message": "FIAT",
"description": "Exchange type"
},
"fileImportFail": {
"message": "파일을 가져올 수 없나요? 여기를 클릭해주세요!",
"description": "Helps user import their account from a JSON file"
},
"from": {
"message": "보내는 사람"
},
"fromShapeShift": {
"message": "ShapeShift로 부터"
},
"gas": {
"message": "가스",
"description": "Short indication of gas cost"
},
"gasFee": {
"message": "가스 수수료"
},
"gasLimit": {
"message": "가스 리밋"
},
"gasLimitCalculation": {
"message": "네트워크 성공률을 기반으로 적합한 가스 리밋을 계산합니다."
},
"gasLimitRequired": {
"message": "가스 리밋이 필요합니다."
},
"gasLimitTooLow": {
"message": "가스 리밋은 21000 이상이여야 합니다."
},
"gasPrice": {
"message": "가스 가격 (GWEI)"
},
"gasPriceCalculation": {
"message": "네트워크 성공률을 기반으로 적합한 가스 가격을 계산합니다."
},
"gasPriceRequired": {
"message": "가스 가격이 필요합니다."
},
"getEther": {
"message": "이더 얻기"
},
"getEtherFromFaucet": {
"message": "faucet에서 $1에 달하는 이더를 얻으세요.",
"description": "Displays network name for Ether faucet"
},
"greaterThanMin": {
"message": "$1 이상이어야 합니다.",
"description": "helper for inputting hex as decimal input"
},
"here": {
"message": "여기",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hide": {
"message": "숨기기"
},
"hideToken": {
"message": "토큰 숨기기"
},
"hideTokenPrompt": {
"message": "토큰 숨기기?"
},
"howToDeposit": {
"message": "어떤 방법으로 이더를 입금하시겠습니까?"
},
"import": {
"message": "파일에서 가져오기",
"description": "Button to import an account from a selected file"
},
"importAccount": {
"message": "계좌 가져오기"
},
"importAnAccount": {
"message": "계좌 가져오기"
},
"importDen": {
"message": "기존 DEN 가져오기"
},
"imported": {
"message": "가져오기 완료",
"description": "status showing that an account has been fully loaded into the keyring"
},
"infoHelp": {
"message": "정보 및 도움말"
},
"invalidAddress": {
"message": "유효하지 않은 주소"
},
"invalidGasParams": {
"message": "유효하지 않은 가스 입력값"
},
"invalidInput": {
"message": "유효하지 않은 입력값"
},
"invalidRequest": {
"message": "유효하지 않은 요청"
},
"jsonFile": {
"message": "JSON 파일",
"description": "format for importing an account"
},
"kovan": {
"message": "Kovan 테스트넷"
},
"lessThanMax": {
"message": "$1 이하여야합니다.",
"description": "helper for inputting hex as decimal input"
},
"limit": {
"message": "리밋"
},
"loading": {
"message": "로딩중..."
},
"loadingTokens": {
"message": "토큰 로딩중..."
},
"localhost": {
"message": "로컬호스트 8545"
},
"logout": {
"message": "로그아웃"
},
"loose": {
"message": "외부 비밀키"
},
"mainnet": {
"message": "이더리움 메인넷"
},
"message": {
"message": "메시지"
},
"min": {
"message": "최소"
},
"myAccounts": {
"message": "내 계좌"
},
"needEtherInWallet": {
"message": "dApp을 이용하기 위해서는 지갑에 이더가 있어야 합니다."
},
"needImportFile": {
"message": "가져올 파일을 선택해주세요.",
"description": "User is important an account and needs to add a file to continue"
},
"needImportPassword": {
"message": "선택 된 파일에 패스워드를 입력해주세요.",
"description": "Password and file needed to import an account"
},
"networks": {
"message": "네트워크"
},
"newAccount": {
"message": "새 계좌"
},
"newAccountNumberName": {
"message": "새 계좌 $1",
"description": "Default name of next account to be created on create account screen"
},
"newContract": {
"message": "새 컨트랙트"
},
"newPassword": {
"message": "새 패스워드 (최소 8자 이상)"
},
"newRecipient": {
"message": "받는 사람"
},
"next": {
"message": "다음"
},
"noAddressForName": {
"message": "이 이름에는 주소가 설정되어 있지 않습니다."
},
"noDeposits": {
"message": "입금이 없습니다."
},
"noTransactionHistory": {
"message": "트랜잭션 기록이 없습니다."
},
"noTransactions": {
"message": "트랜잭션이 없습니다."
},
"notStarted": {
"message": "시작되지 않음."
},
"oldUI": {
"message": "구버전의 UI"
},
"oldUIMessage": {
"message": "구버전 UI로 변경하셨습니다. 우 상단 드랍다운 메뉴에서 새 UI로 변경하실 수 있습니다."
},
"or": {
"message": "또는",
"description": "choice between creating or importing a new account"
},
"passwordMismatch": {
"message": "패스워드가 일치하지 않습니다.",
"description": "in password creation process, the two new password fields did not match"
},
"passwordShort": {
"message": "패스워드가 너무 짧습니다.",
"description": "in password creation process, the password is not long enough to be secure"
},
"pastePrivateKey": {
"message": "비밀키를 입력해주세요.",
"description": "For importing an account from a private key"
},
"pasteSeed": {
"message": "시드 문장들을 붙여넣어주세요."
},
"pleaseReviewTransaction": {
"message": "트랜잭션을 검토해주세요."
},
"privateKey": {
"message": "비밀키",
"description": "select this type of file to use to import an account"
},
"privateKeyWarning": {
"message": " 절대 이 키를 노출하지 마십시오. 비밀키가 노출되면 누구나 당신의 계좌에서 자산을 빼갈 수 있습니다."
},
"privateNetwork": {
"message": "프라이빗 네트워크"
},
"qrCode": {
"message": "QR 코드 보기"
},
"readdToken": {
"message": "옵션 메뉴에서 “토큰 추가”를 눌러서 추후에 다시 이 토큰을 추가하실 수 있습니다."
},
"readMore": {
"message": "더 읽기."
},
"receive": {
"message": "받기"
},
"recipientAddress": {
"message": "받는 사람 주소"
},
"refundAddress": {
"message": "환불받을 주소"
},
"rejected": {
"message": "거부되었음."
},
"required": {
"message": "필요함."
},
"retryWithMoreGas": {
"message": "더 높은 가스 가격으로 다시 시도해주세요."
},
"revert": {
"message": "취소"
},
"rinkeby": {
"message": "Rinkeby 테스트넷"
},
"ropsten": {
"message": "Ropsten 테스트넷"
},
"sampleAccountName": {
"message": "예) 나의 새 계좌",
"description": "Help user understand concept of adding a human-readable name to their account"
},
"save": {
"message": "저장"
},
"saveAsFile": {
"message": "파일로 저장",
"description": "Account export process"
},
"selectService": {
"message": "서비스 선택"
},
"send": {
"message": "전송"
},
"sendTokens": {
"message": "토큰 전송"
},
"sendTokensAnywhere": {
"message": "이더 계좌로 토큰 전송"
},
"settings": {
"message": "설정"
},
"shapeshiftBuy": {
"message": "Shapeshift를 통해서 구매하기"
},
"showPrivateKeys": {
"message": "비밀키 보기"
},
"showQRCode": {
"message": "QR코드 보기"
},
"sign": {
"message": "서명"
},
"signMessage": {
"message": "서명 메시지"
},
"signNotice": {
"message": "이 메시지에 대한 서명은 위험할 수 있습니다.\n 완전히 신뢰할 수 있는 사이트에서만 서명해주세요.\n 안전을 위해 추후의 버전에서는 삭제될 기능입니다. "
},
"sigRequest": {
"message": "서명 요청"
},
"sigRequested": {
"message": "서명이 요청되었습니다."
},
"status": {
"message": "상태"
},
"submit": {
"message": "제출"
},
"takesTooLong": {
"message": "너무 오래걸리나요?"
},
"testFaucet": {
"message": "Faucet 테스트"
},
"to": {
"message": "대상"
},
"toETHviaShapeShift": {
"message": "ShapeShift를 통해 $1를 ETH로 바꾸기",
"description": "system will fill in deposit type in start of message"
},
"tokenBalance": {
"message": "현재 토큰 잔액: "
},
"total": {
"message": "합계"
},
"transactionMemo": {
"message": "트랜잭션 메모 (선택사항)"
},
"transactionNumber": {
"message": "트랜잭션 번호"
},
"transfers": {
"message": "전송"
},
"troubleTokenBalances": {
"message": "토큰 잔액을 가져오는데에 문제가 생겼습니다. (여기)서 상세내용을 볼 수 있습니다.",
"description": "Followed by a link (here) to view token balances"
},
"typePassword": {
"message": "패스워드를 입력하세요."
},
"uiWelcome": {
"message": "새 UI에 오신 것을 환영합니다. (베타)"
},
"uiWelcomeMessage": {
"message": "새 메타마스크 UI를 사용하고 계십니다. 토큰 전송과 같은 새 기능들을 사용해보시면서 문제가 있다면 알려주세요."
},
"unavailable": {
"message": "유효하지 않은"
},
"unknown": {
"message": "알려지지 않은"
},
"unknownNetwork": {
"message": "알려지지 않은 프라이빗 네트워크"
},
"unknownNetworkId": {
"message": "알려지지 않은 네트워크 ID"
},
"usaOnly": {
"message": "USA 거주자 한정",
"description": "Using this exchange is limited to people inside the USA"
},
"usedByClients": {
"message": "다양한 클라이언트에서 사용되고 있습니다."
},
"viewAccount": {
"message": "계좌 보기"
},
"warning": {
"message": "경고"
},
"whatsThis": {
"message": "이것은 무엇인가요?"
},
"yourSigRequested": {
"message": "서명이 요청되고 있습니다."
},
"youSign": {
"message": "서명 중입니다."
}
}

@ -0,0 +1,819 @@
{
"accept": {
"message": "Aanvaarden"
},
"account": {
"message": "Account"
},
"accountDetails": {
"message": "Accountgegevens"
},
"accountName": {
"message": "Accountnaam"
},
"address": {
"message": "Adres"
},
"addCustomToken": {
"message": "Aangepaste token toevoegen"
},
"addToken": {
"message": "Voeg token toe"
},
"addTokens": {
"message": "Tokens toevoegen"
},
"amount": {
"message": "Bedrag"
},
"amountPlusGas": {
"message": "Bedrag + gas"
},
"appDescription": {
"message": "Ethereum Browser-extensie",
"description": "De beschrijving van de applicatie"
},
"appName": {
"message": "MetaMask",
"description": "De naam van de applicatie"
},
"attemptingConnect": {
"message": "Poging om verbinding te maken met blockchain."
},
"attributions": {
"message": "Bevoegdheden"
},
"available": {
"message": "Beschikbaar"
},
"back": {
"message": "Terug"
},
"balance": {
"message": "Balans:"
},
"balances": {
"message": "Je saldo"
},
"balanceIsInsufficientGas": {
"message": "Onvoldoende saldo voor huidig gastotaal"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "moet groter zijn dan of gelijk zijn aan $1 en kleiner dan of gelijk aan $2.",
"description": "helper voor het invoeren van hex als decimale invoer"
},
"blockiesIdenticon": {
"message": "Gebruik Blockies Identicon"
},
"borrowDharma": {
"message": "Lenen met Dharma (Beta)"
},
"builtInCalifornia": {
"message": "MetaMask is ontworpen en gebouwd in Californië."
},
"buy": {
"message": "Kopen"
},
"buyCoinbase": {
"message": "Koop op Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase is 's werelds populairste manier om bitcoin, ethereum en litecoin te kopen en verkopen."
},
"cancel": {
"message": "Annuleer"
},
"classicInterface": {
"message": "Gebruik de klassieke interface"
},
"clickCopy": {
"message": "Klik om te kopiëren"
},
"confirm": {
"message": "Bevestigen"
},
"confirmContract": {
"message": "Contract bevestigen"
},
"confirmPassword": {
"message": "bevestig wachtwoord"
},
"confirmTransaction": {
"message": "Bevestig transactie"
},
"continue": {
"message": "Doorgaan met"
},
"continueToCoinbase": {
"message": "Ga verder naar Coinbase"
},
"contractDeployment": {
"message": "Contractimplementatie"
},
"conversionProgress": {
"message": "Bezig met conversie"
},
"copiedButton": {
"message": "gekopieerde"
},
"copiedClipboard": {
"message": "Gekopieerd naar het klembord"
},
"copiedExclamation": {
"message": "Gekopieerde!"
},
"copiedSafe": {
"message": "Ik heb het ergens veilig gekopieerd"
},
"copy": {
"message": "Kopiëren"
},
"copyToClipboard": {
"message": "Kopieer naar klembord"
},
"copyButton": {
"message": " Kopiëren "
},
"copyPrivateKey": {
"message": "Dit is uw privésleutel (klik om te kopiëren)"
},
"create": {
"message": "creëren"
},
"createAccount": {
"message": "Account aanmaken"
},
"createDen": {
"message": "creëren"
},
"crypto": {
"message": "crypto",
"description": "Ruiltype (cryptocurrencies)"
},
"currentConversion": {
"message": "Huidige conversie"
},
"currentNetwork": {
"message": "Huidig netwerk"
},
"customGas": {
"message": "Pas Gas aan"
},
"customize": {
"message": "Aanpassen"
},
"customRPC": {
"message": "Aangepaste RPC"
},
"decimalsMustZerotoTen": {
"message": "Decimalen moeten minimaal 0 en niet meer dan 36 zijn."
},
"decimal": {
"message": "Decimalen van precisie"
},
"defaultNetwork": {
"message": "Het standaardnetwerk voor Ether-transacties is Main Net."
},
"denExplainer": {
"message": "Uw DEN is uw wachtwoord-gecodeerde opslag binnen MetaMask."
},
"deposit": {
"message": "Storting"
},
"depositBTC": {
"message": "Stort uw BTC op het onderstaande adres:"
},
"depositCoin": {
"message": "Stort uw $1 op het onderstaande adres",
"description": "Laat de gebruiker weten welk muntje ze hebben geselecteerd om te deponeren met shapeshift"
},
"depositEth": {
"message": "Aanbetaling Eth"
},
"depositEther": {
"message": "Stort Ether"
},
"depositFiat": {
"message": "Stort met Fiat"
},
"depositFromAccount": {
"message": "Storten van een ander account"
},
"depositShapeShift": {
"message": "Stort met ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Als u andere cryptocurrencies bezit, kunt u Ether direct in uw MetaMask-portemonnee ruilen en storten. Geen account nodig."
},
"details": {
"message": "Details"
},
"directDeposit": {
"message": "Directe storting"
},
"directDepositEther": {
"message": "Directe Ether storten"
},
"directDepositEtherExplainer": {
"message": "Als je al wat Ether hebt, de snelste manier om Ether in je nieuwe portemonnee te krijgen door een directe storting."
},
"done": {
"message": "Gedaan"
},
"downloadStatelogs": {
"message": "Staatslogboeken downloaden"
},
"edit": {
"message": "Bewerk"
},
"editAccountName": {
"message": "Bewerk accountnaam"
},
"emailUs": {
"message": "Email ons!"
},
"encryptNewDen": {
"message": "Versleutel je nieuwe DEN"
},
"enterPassword": {
"message": "Voer wachtwoord in"
},
"enterPasswordConfirm": {
"message": "Voer uw wachtwoord in om te bevestigen"
},
"etherscanView": {
"message": "Bekijk account op Etherscan"
},
"exchangeRate": {
"message": "Wisselkoers"
},
"exportPrivateKey": {
"message": "Exporteer privésleutel"
},
"exportPrivateKeyWarning": {
"message": "Exporteer privésleutels op eigen risico."
},
"failed": {
"message": "mislukt"
},
"fiat": {
"message": "FIAT",
"description": "Ruiltype"
},
"fileImportFail": {
"message": "Bestandsimport werkt niet? Klik hier!",
"description": "Helpt de gebruiker om zijn account vanuit een JSON-bestand te importeren"
},
"followTwitter": {
"message": "Volg ons op Twitter"
},
"from": {
"message": "Van"
},
"fromToSame": {
"message": "Van en naar adres kan niet hetzelfde zijn"
},
"fromShapeShift": {
"message": "Van ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Korte indicatie van gaskosten"
},
"gasFee": {
"message": "Gas vergoeding"
},
"gasLimit": {
"message": "Gaslimiet"
},
"gasLimitCalculation": {
"message": "We berekenen de voorgestelde gaslimiet op basis van succespercentages van het netwerk."
},
"gasLimitRequired": {
"message": "Gaslimiet vereist"
},
"gasLimitTooLow": {
"message": "De gaslimiet moet minstens 21000 zijn"
},
"generatingSeed": {
"message": "Zaad produceren ..."
},
"gasPrice": {
"message": "Gasprijs (GWEI)"
},
"gasPriceCalculation": {
"message": "We berekenen de voorgestelde gasprijzen op basis van succespercentages van het netwerk."
},
"gasPriceRequired": {
"message": "Gasprijs vereist"
},
"getEther": {
"message": "Krijg Ether"
},
"getEtherFromFaucet": {
"message": "Haal Ether uit een kraan voor de $1",
"description": "Geeft de netwerknaam voor Ether-kraan weer"
},
"greaterThanMin": {
"message": "moet groter zijn dan of gelijk zijn aan $1.",
"description": "helper voor het invoeren van hex als decimale invoer"
},
"here": {
"message": "hier",
"description": "zoals in -klik hier- voor meer informatie (gaat met troubleTokenBalances)"
},
"hereList": {
"message": "Hier is een lijst !!!!"
},
"hide": {
"message": "Verbergen"
},
"hideToken": {
"message": "Token verbergen"
},
"hideTokenPrompt": {
"message": "Token verbergen?"
},
"howToDeposit": {
"message": "Hoe zou je Ether willen deponeren?"
},
"holdEther": {
"message": "Hiermee kunt u ether & tokens bewaren en dient u als brug naar gedecentraliseerde applicaties."
},
"import": {
"message": "Importeren",
"description": "Knop om een account uit een geselecteerd bestand te importeren"
},
"importAccount": {
"message": "Account importeren"
},
"importAccountMsg": {
"message":" Geïmporteerde accounts worden niet gekoppeld aan de seedphrase van uw oorspronkelijk gemaakte MetaMask-account. Meer informatie over geïmporteerde accounts"
},
"importAnAccount": {
"message": "Importeer een account"
},
"importDen": {
"message": "Bestaande DEN importeren"
},
"imported": {
"message": "geïmporteerde",
"description": "status die aantoont dat een account volledig in de sleutelring is geladen"
},
"infoHelp": {
"message": "Info en hulp"
},
"insufficientFunds": {
"message": "Onvoldoende fondsen."
},
"insufficientTokens": {
"message": "Onvoldoende tokens."
},
"invalidAddress": {
"message": "Ongeldig adres"
},
"invalidAddressRecipient": {
"message": "Het adres van de ontvanger is ongeldig"
},
"invalidGasParams": {
"message": "Ongeldige gasparameters"
},
"invalidInput": {
"message": "Ongeldige invoer."
},
"invalidRequest": {
"message": "ongeldig verzoek"
},
"invalidRPC": {
"message": "Ongeldige RPC-URI"
},
"jsonFail": {
"message": "Er is iets fout gegaan. Zorg ervoor dat uw JSON-bestand correct is opgemaakt."
},
"jsonFile": {
"message": "JSON-bestand",
"description": "formaat voor het importeren van een account"
},
"kovan": {
"message": "Kovan-testnetwerk"
},
"knowledgeDataBase": {
"message": "Bezoek onze Knowledge Base"
},
"lessThanMax": {
"message": "moet kleiner zijn dan of gelijk zijn aan $1.",
"description": "helper voor het invoeren van hex als decimale invoer"
},
"likeToAddTokens": {
"message": "Wil je deze tokens toevoegen?"
},
"limit": {
"message": "Begrenzing"
},
"loading": {
"message": "Bezig met laden..."
},
"loadingTokens": {
"message": "Tokens laden ..."
},
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Log in"
},
"logout": {
"message": "Uitloggen"
},
"loose": {
"message": "Los"
},
"loweCaseWords": {
"message": "zaadwoorden hebben alleen kleine letters"
},
"mainnet": {
"message": "belangrijkste ethereum-netwerk"
},
"message": {
"message": "Bericht"
},
"metamaskDescription": {
"message": "MetaMask is een veilige identiteitskluis voor Ethereum."
},
"min": {
"message": "Minimum"
},
"myAccounts": {
"message": "Mijn accounts"
},
"mustSelectOne": {
"message": "Moet ten minste één token selecteren."
},
"needEtherInWallet": {
"message": "Om te communiceren met gedecentraliseerde applicaties met MetaMask, heb je Ether nodig in je portemonnee."
},
"needImportFile": {
"message": "U moet een bestand selecteren om te importeren.",
"description": "Gebruiker is belangrijk een account en moet een bestand toevoegen om door te gaan"
},
"needImportPassword": {
"message": "U moet een wachtwoord invoeren voor het geselecteerde bestand.",
"description": "Wachtwoord en bestand nodig om een account te importeren"
},
"negativeETH": {
"message": "Kan geen negatieve hoeveelheden ETH verzenden."
},
"networks": {
"message": "netwerken"
},
"newAccount": {
"message": "Nieuw account"
},
"newAccountNumberName": {
"message": "Account $1",
"description": "Standaardnaam van de volgende account die moet worden aangemaakt op het scherm voor het maken van een account"
},
"newContract": {
"message": "Nieuw contract"
},
"newPassword": {
"message": "Nieuw wachtwoord (min 8 tekens)"
},
"newRecipient": {
"message": "Nieuwe ontvanger"
},
"newRPC": {
"message": "Nieuwe RPC-URL"
},
"next": {
"message": "volgende"
},
"noAddressForName": {
"message": "Er is geen adres ingesteld voor deze naam."
},
"noDeposits": {
"message": "Geen aanbetalingen ontvangen"
},
"noTransactionHistory": {
"message": "Geen transactiegeschiedenis."
},
"noTransactions": {
"message": "Geen transacties"
},
"notStarted": {
"message": "Niet begonnen"
},
"oldUI": {
"message": "Oude gebruikersinterface"
},
"oldUIMessage": {
"message": "U bent teruggekeerd naar de oude gebruikersinterface. U kunt terugschakelen naar de nieuwe gebruikersinterface via de optie in het vervolgkeuzemenu in de rechterbovenhoek."
},
"or": {
"message": "of",
"description": "keuze tussen het maken of importeren van een nieuw account"
},
"passwordCorrect": {
"message": "Zorg ervoor dat uw wachtwoord correct is."
},
"passwordMismatch": {
"message": "wachtwoorden komen niet overeen",
"description": "bij het maken van het wachtwoord kwamen de twee nieuwe wachtwoordvelden niet overeen"
},
"passwordShort": {
"message": "wachtwoord niet lang genoeg",
"description": "bij het maken van het wachtwoord is het wachtwoord niet lang genoeg om veilig te zijn"
},
"pastePrivateKey": {
"message": "Plak hier uw privésleutelstring:",
"description": "Voor het importeren van een account vanaf een privésleutel"
},
"pasteSeed": {
"message": "Plak je zaadzin hier!"
},
"personalAddressDetected": {
"message": "Persoonlijk adres gedetecteerd. Voer het tokencontractadres in."
},
"pleaseReviewTransaction": {
"message": "Controleer uw transactie."
},
"privacyMsg": {
"message": "Privacybeleid"
},
"privateKey": {
"message": "Prive sleutel",
"description": "selecteer dit type bestand om te gebruiken om een account te importeren"
},
"privateKeyWarning": {
"message": "Waarschuwing: open deze sleutel nooit. Iedereen met uw privésleutels kan stelen van alle items in uw account."
},
"privateNetwork": {
"message": "Prive netwerk"
},
"qrCode": {
"message": "QR-code weergeven"
},
"readdToken": {
"message": "U kunt dit token in de toekomst weer toevoegen door naar \"Token toevoegen\" te gaan in het menu met accountopties."
},
"readMore": {
"message": "Lees hier meer."
},
"readMore2": {
"message": "Lees verder."
},
"receive": {
"message": "Te ontvangen"
},
"recipientAddress": {
"message": "Geadresseerde adres"
},
"refundAddress": {
"message": "Uw teruggave adres"
},
"rejected": {
"message": "Verworpen"
},
"resetAccount": {
"message": "Account opnieuw instellen"
},
"restoreFromSeed": {
"message": "Herstel van zaaduitdrukking"
},
"required": {
"message": "Verplicht"
},
"retryWithMoreGas": {
"message": "Probeer hier opnieuw met een hogere gasprijs"
},
"revealSeedWords": {
"message": "Onthul zaadwoorden"
},
"revealSeedWordsWarning": {
"message": "Herstel je zaadwoorden niet op een openbare plaats! Deze woorden kunnen worden gebruikt om al uw accounts te stelen."
},
"revert": {
"message": "terugkeren"
},
"rinkeby": {
"message": "Rinkeby testnetwerk"
},
"ropsten": {
"message": "Ropsten testnetwerk"
},
"sampleAccountName": {
"message": "Bijv. Mijn nieuwe account",
"description": "Help de gebruiker begrip te ontwikkelen van het toevoegen van een door mensen leesbare naam aan zijn of haar account"
},
"save": {
"message": "Opslaan"
},
"saveAsFile": {
"message": "Sla op als bestand",
"description": "Account export proces"
},
"saveSeedAsFile": {
"message": "Bewaar zaadwoorden als bestand"
},
"search": {
"message": "Zoeken"
},
"secretPhrase": {
"message": "Voer hier je geheime twaalfwoordfrase in om je kluis te herstellen."
},
"seedPhraseReq": {
"message": "zaadzinnen zijn 12 woorden lang"
},
"select": {
"message": "kiezen"
},
"selectCurrency": {
"message": "selecteer valuta"
},
"selectService": {
"message": "Selecteer Service"
},
"selectType": {
"message": "Selecteer type"
},
"send": {
"message": "Sturen"
},
"sendETH": {
"message": "Verzend ETH"
},
"sendTokens": {
"message": "Stuur tokens"
},
"sendTokensAnywhere": {
"message": "Stuur tokens naar iedereen met een Ethereum-account"
},
"settings": {
"message": "instellingen"
},
"shapeshiftBuy": {
"message": "Koop met Shapeshift"
},
"showPrivateKeys": {
"message": "Privésleutels weergeven"
},
"showQRCode": {
"message": "QR-code weergeven"
},
"sign": {
"message": "Teken"
},
"signMessage": {
"message": "Teken bericht"
},
"signNotice": {
"message": "Het ondertekenen van dit bericht kan hebben \ngevaarlijke bijwerkingen. Meld alleen berichten van \nsites die u volledig vertrouwt met uw volledige account.\n Deze gevaarlijke methode wordt in een toekomstige versie verwijderd."
},
"sigRequest": {
"message": "Ondertekeningsverzoek"
},
"sigRequested": {
"message": "Handtekening aangevraagd"
},
"spaceBetween": {
"message": "er kan alleen een spatie tussen woorden zijn"
},
"status": {
"message": "staat"
},
"stateLogs": {
"message": "Staatslogboeken"
},
"stateLogsDescription": {
"message": "Staatslogboeken bevatten uw openbare accountadressen en verzonden transacties."
},
"submit": {
"message": "voorleggen"
},
"supportCenter": {
"message": "Bezoek ons ondersteuningscentrum"
},
"symbolBetweenZeroTen": {
"message": "Het symbool moet tussen 0 en 10 tekens lang zijn."
},
"takesTooLong": {
"message": "Duurt te lang?"
},
"terms": {
"message": "Gebruiksvoorwaarden"
},
"testFaucet": {
"message": "Test de kraan"
},
"to": {
"message": "Naar"
},
"toETHviaShapeShift": {
"message": "$1 tot ETH via ShapeShift",
"description": "systeem zal het aanbetalingstype invullen bij het begin van het bericht"
},
"tokenAddress": {
"message": "Token-adres"
},
"tokenAlreadyAdded": {
"message": "Token is al toegevoegd."
},
"tokenBalance": {
"message": "Uw tokensaldo is:"
},
"tokenSelection": {
"message": "Zoek naar tokens of selecteer uit onze lijst met populaire tokens."
},
"tokenSymbol": {
"message": "Token Symbol"
},
"tokenWarning1": {
"message": "Houd de tokens bij die je hebt gekocht met je MetaMask-account. Als je tokens met een ander account hebt gekocht, worden die tokens hier niet weergegeven."
},
"total": {
"message": "Totaal"
},
"transactions": {
"message": "transacties"
},
"transactionMemo": {
"message": "Transactiememo (optioneel)"
},
"transactionNumber": {
"message": "Transactie nummer"
},
"transfers": {
"message": "transfers"
},
"troubleTokenBalances": {
"message": "We hadden problemen bij het laden van uw tokenbalansen. Je kunt ze bekijken",
"description": "Gevolgd door een link (hier) om tegensaldi te bekijken"
},
"twelveWords": {
"message": "Deze 12 woorden zijn de enige manier om uw MetaMask-accounts te herstellen.\nBewaar ze ergens veilig en geheim."
},
"typePassword": {
"message": "Typ uw wachtwoord"
},
"uiWelcome": {
"message": "Welkom bij de nieuwe gebruikersinterface (bèta)"
},
"uiWelcomeMessage": {
"message": "U gebruikt nu de nieuwe gebruikersinterface van Metamask. Kijk rond, probeer nieuwe functies uit zoals het verzenden van tokens en laat ons weten of u problemen ondervindt."
},
"unavailable": {
"message": "Niet beschikbaar"
},
"unknown": {
"message": "Onbekend"
},
"unknownNetwork": {
"message": "Onbekend privénetwerk"
},
"unknownNetworkId": {
"message": "Onbekende netwerk-ID"
},
"uriErrorMsg": {
"message": "Voor URI's is het juiste HTTP / HTTPS-voorvoegsel vereist."
},
"usaOnly": {
"message": "Alleen in de VS.",
"description": "Het gebruik van deze uitwisseling is beperkt tot mensen in de VS."
},
"usedByClients": {
"message": "Gebruikt door verschillende klanten"
},
"useOldUI": {
"message": "Gebruik de oude gebruikersinterface"
},
"validFileImport": {
"message": "U moet een geldig bestand selecteren om te importeren."
},
"vaultCreated": {
"message": "Vault gemaakt"
},
"viewAccount": {
"message": "Bekijk account"
},
"visitWebSite": {
"message": "Bezoek onze website"
},
"warning": {
"message": "Waarschuwing"
},
"welcomeBeta": {
"message": "Welkom bij MetaMask Beta"
},
"whatsThis": {
"message": "Wat is dit?"
},
"yourSigRequested": {
"message": "Uw handtekening wordt aangevraagd"
},
"youSign": {
"message": "U ondertekent"
}
}

@ -0,0 +1,609 @@
{
"accept": {
"message": "Tanggapin"
},
"account": {
"message": "Account"
},
"accountDetails": {
"message": "Detalye ng Account"
},
"accountName": {
"message": "Pangalan ng Account"
},
"address": {
"message": "Address"
},
"addToken": {
"message": "Magdagdag ng Token"
},
"amount": {
"message": "Halaga"
},
"amountPlusGas": {
"message": "Halaga + Gas"
},
"appDescription": {
"message": "Ethereum Browser Extension",
"description": "Ang deskripsyon ng application"
},
"appName": {
"message": "MetaMask",
"description": "Ang pangalan ng application"
},
"attemptingConnect": {
"message": "Sinusubukang kumonekta sa blockchain."
},
"available": {
"message": "Magagamit"
},
"back": {
"message": "Bumalik"
},
"balance": {
"message": "Balanse:"
},
"balanceIsInsufficientGas": {
"message": "Kulang ang balanse para sa kasalukuyang gas total"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "dapat mas malaki o katumbas ng $1 at mas mababa o katumbas ng $2.",
"description": "helper para sa pag-input ng hex bilang decimal input"
},
"borrowDharma": {
"message": "Humiram sa Dharma (Beta)"
},
"buy": {
"message": "Bumili"
},
"buyCoinbase": {
"message": "Bumili sa Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Ang Coinbase ang pinakasikat na paraan upang bumili at magbenta ng bitcoin, ethereum, at litecoin sa buong mundo."
},
"cancel": {
"message": "Kanselahin"
},
"clickCopy": {
"message": "I-click upang Makopya"
},
"confirm": {
"message": "Tiyakin"
},
"confirmContract": {
"message": "Tiyakin ang Contract"
},
"confirmPassword": {
"message": "Tiyakin ang Password"
},
"confirmTransaction": {
"message": "Tiyakin ang Transaksyon"
},
"continueToCoinbase": {
"message": "Magpatuloy sa Coinbase"
},
"contractDeployment": {
"message": "Pag-deploy ng Contract"
},
"conversionProgress": {
"message": "Isinasagawa ang conversion"
},
"copiedButton": {
"message": "Kinopya"
},
"copiedClipboard": {
"message": "Kinopya sa Clipboard"
},
"copiedExclamation": {
"message": "Kinopya!"
},
"copy": {
"message": "Kinopya"
},
"copyToClipboard": {
"message": "Kinopya sa clipboard"
},
"copyButton": {
"message": " Kinopya "
},
"copyPrivateKey": {
"message": "Ito ang iyong private key (i-click upang makopya)"
},
"create": {
"message": "Gumawa"
},
"createAccount": {
"message": "Gumawa ng Account"
},
"createDen": {
"message": "Gumawa"
},
"crypto": {
"message": "Crypto",
"description": "Type ng exchange (cryptocurrencies)"
},
"customGas": {
"message": "I-customize ang Gas"
},
"customize": {
"message": "I-customize"
},
"customRPC": {
"message": "Custom RPC"
},
"defaultNetwork": {
"message": "Ang default network para sa Ether transactions ay ang Main Net."
},
"denExplainer": {
"message": "Ang iyong DEN ang nagsisilbing password-encrypted storage mo sa loob ng MetaMask."
},
"deposit": {
"message": "Deposito"
},
"depositBTC": {
"message": "I-deposito ang iyong BTC sa address na ito:"
},
"depositCoin": {
"message": "I-deposito ang iyong $1 sa address na ito",
"description": "Sinasabihan ang user kung ano ang coin na kanilang pinili para I-deposito gamit ang shapeshift"
},
"depositEth": {
"message": "I-deposito ang Eth"
},
"depositEther": {
"message": "I-deposito ang Ether"
},
"depositFiat": {
"message": "I-deposito ang Fiat"
},
"depositFromAccount": {
"message": "I-deposito mula sa ibang account"
},
"depositShapeShift": {
"message": "I-deposito gamit ang ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Kung ikaw ay nagmamay-ari ng iba pang cryptocurrencies, pwede kang mag-trade at mag-deposito ng Ether diretso sa iyong MetaMask wallet. Hindi mo na kailangan ng account."
},
"details": {
"message": "Detalye"
},
"directDeposit": {
"message": "Direktang Deposito"
},
"directDepositEther": {
"message": "Direktang I-deposito ang Ether"
},
"directDepositEtherExplainer": {
"message": "Kung ika ay mayroon nang Ether, ang pinakamabilis na paraan upang makuha ang Ether sa iyong bagong wallet ay sa pamamagitan ng direktang deposito."
},
"done": {
"message": "Tapos na"
},
"edit": {
"message": "I-edit"
},
"editAccountName": {
"message": "I-edit ang Pangalang ng Account"
},
"encryptNewDen": {
"message": "I-encrypt ang iyong bagong DEN"
},
"enterPassword": {
"message": "I-enter ang password"
},
"etherscanView": {
"message": "Tingnan ang account sa Etherscan"
},
"exchangeRate": {
"message": "Exchange Rate"
},
"exportPrivateKey": {
"message": "I-export ang Private Key"
},
"exportPrivateKeyWarning": {
"message": "I-export ang private keys at intindihin ang panganib na kasama nito."
},
"failed": {
"message": "Nabigo"
},
"fiat": {
"message": "FIAT",
"description": "Type ng exchange"
},
"fileImportFail": {
"message": "Hindi gumagana ang file import? I-click ito!",
"description": "Tinutulungan ang user na i-import ang kanilang account mula sa JSON file"
},
"from": {
"message": "Mula sa"
},
"fromShapeShift": {
"message": "Mula sa ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Maikling indikasyon ng gas cost"
},
"gasFee": {
"message": "Gas Fee"
},
"gasLimit": {
"message": "Gas Limit"
},
"gasLimitCalculation": {
"message": "Kinalkula namin ang iminungkahing gas limit base sa network success rates."
},
"gasLimitRequired": {
"message": "Kailangan ang Gas Limit"
},
"gasLimitTooLow": {
"message": "Ang gas limit ay hindi dabat bababa sa 21000"
},
"gasPrice": {
"message": "Gas Price (GWEI)"
},
"gasPriceCalculation": {
"message": "Kinalkula namin ang iminungkahing gas prices base sa network success rates."
},
"gasPriceRequired": {
"message": "Kailangan ang Gas Price"
},
"getEther": {
"message": "Kumuha ng Ether"
},
"getEtherFromFaucet": {
"message": "Kumuha ng Ether mula sa faucet para sa $1",
"description": "Ipinapakita ang pangalan ng network para sa Ether faucet"
},
"greaterThanMin": {
"message": "dapat mas malaki o katumbas ng $1.",
"description": "helper para sa pag-input ng hex bilang decimal input"
},
"here": {
"message": "i-click ito",
"description": "tulad ng -i-click dito- para sa mas maraming impormasyon (kasama ng troubleTokenBalances)"
},
"hide": {
"message": "Itago"
},
"hideToken": {
"message": "Itago ang Token"
},
"hideTokenPrompt": {
"message": "Itago ang Token?"
},
"howToDeposit": {
"message": "Paano mo gustong mag-deposito ng Ether?"
},
"import": {
"message": "I-import",
"description": "Button para i-import ang account mula sa napiling file"
},
"importAccount": {
"message": "I-import ang Account"
},
"importAnAccount": {
"message": "I-import ang account"
},
"importDen": {
"message": "I-import ang Existing DEN"
},
"imported": {
"message": "Na-import na",
"description": "status na nagpapakita na ang account ay lubos na na-load sa keyring"
},
"infoHelp": {
"message": "Impormasyon at Tulong"
},
"invalidAddress": {
"message": "Invalid ang address"
},
"invalidGasParams": {
"message": "Invalid ang Gas Parameters"
},
"invalidInput": {
"message": "Invalid ang input."
},
"invalidRequest": {
"message": "Invalid ang Request"
},
"jsonFile": {
"message": "JSON File",
"description": "format para sa pag-import ng account"
},
"kovan": {
"message": "Kovan Test Network"
},
"lessThanMax": {
"message": "dapat mas mababa o katumbas ng $1.",
"description": "helper para sa pag-input ng hex bilang decimal input"
},
"limit": {
"message": "Limitasyon"
},
"loading": {
"message": "Naglo-load..."
},
"loadingTokens": {
"message": "Naglo-load ang Tokens..."
},
"localhost": {
"message": "Localhost 8545"
},
"logout": {
"message": "Log out"
},
"loose": {
"message": "Loose"
},
"mainnet": {
"message": "Main Ethereum Network"
},
"message": {
"message": "Mensahe"
},
"min": {
"message": "Minimum"
},
"myAccounts": {
"message": "Aking mga Account"
},
"needEtherInWallet": {
"message": "Upang makipag-ugnayan sa decentralized applications gamit ang MetaMask, kakailanganin mo ng Ether sa iyong wallet."
},
"needImportFile": {
"message": "Dapat kang pumili ng file para i-import.",
"description": "Ang user ay nag-iimport ng account at kailangan magdagdag ng file upang tumuloy"
},
"needImportPassword": {
"message": "Dapat mong i-enter ang password para sa napiling file.",
"description": "Password at file na kailangan upang ma-import ang account"
},
"networks": {
"message": "Networks"
},
"newAccount": {
"message": "Bagong Account"
},
"newAccountNumberName": {
"message": "Account $1",
"description": "Ang default na pangalan ng susunod na account na gagawin sa create account screen"
},
"newContract": {
"message": "Bagong Contract"
},
"newPassword": {
"message": "Bagong Password (min 8 chars)"
},
"newRecipient": {
"message": "Bagong Recipient"
},
"next": {
"message": "Sunod"
},
"noAddressForName": {
"message": "Walang naka-set na address para sa pangalang ito."
},
"noDeposits": {
"message": "Walang natanggap na mga deposito"
},
"noTransactionHistory": {
"message": "Walang kasaysayan ng transaksyon."
},
"noTransactions": {
"message": "Walang mga Transaksyon"
},
"notStarted": {
"message": "Hindi Sinimulan"
},
"oldUI": {
"message": "Lumang UI"
},
"oldUIMessage": {
"message": "Ikaw ay bumalik sa lumang UI. Maaari kang bumalik sa bagong UI mula sa isang opsyon sa dropdown menu na matatagpuan sa bandang taas at kanan."
},
"or": {
"message": "o",
"description": "Pagpili sa pagitan ng paggawa of pag-import ng bagong account"
},
"passwordMismatch": {
"message": "hindi nagtugma ang mga password",
"description": "Sa proseso ng paggawa ng password, ang dalawang password fields ay hindi nagtugma"
},
"passwordShort": {
"message": "hindi sapat ang haba ng password",
"description": "Sa proseso ng paggawa ng password, ang password ay hindi in password creation process, hind sapat ang haba ng password upang maging ligtas"
},
"pastePrivateKey": {
"message": "I-paste dito ang iyong private key string:",
"description": "Para sa pag-import ng account mula sa private key"
},
"pasteSeed": {
"message": "I-paste dito ang iyong seed phrase!"
},
"pleaseReviewTransaction": {
"message": "Mangyaring suriin ang iyong transaksyon."
},
"privateKey": {
"message": "Private Key",
"description": "Piliin ang ganitong type ng file upang gamitin sa pag-import ng account"
},
"privateKeyWarning": {
"message": "Babala: Huwag sabihin sa kahit na sino ang key na ito. Maaring makuha at manakaw ng sinumang nakakaalam ng iyong private key ang mga assets sa iyong account."
},
"privateNetwork": {
"message": "Pribadong Network"
},
"qrCode": {
"message": "Ipakita ang QR Code"
},
"readdToken": {
"message": "Upang muling idagdag ang token na ito, pumunta sa “Magdagdag ng Token” sa options menu ng iyong account."
},
"readMore": {
"message": "Alamin ang iba pang impormasyon dito."
},
"receive": {
"message": "Tanggapin"
},
"recipientAddress": {
"message": "Address ng Tatanggap"
},
"refundAddress": {
"message": "Ang Iyong Refund Address"
},
"rejected": {
"message": "Tinanggihan"
},
"required": {
"message": "Kailangan"
},
"retryWithMoreGas": {
"message": "Muling subukan ng may mas mataas na gas price dito"
},
"revert": {
"message": "Ibalik"
},
"rinkeby": {
"message": "Rinkeby Test Network"
},
"ropsten": {
"message": "Ropsten Test Network"
},
"sampleAccountName": {
"message": "Halimbawa: Ang aking bagong account",
"description": "Tulungan ang user na intindihin ang konsepto ng pagdagdag ng human-readable name sa kanilang account"
},
"save": {
"message": "I-save"
},
"saveAsFile": {
"message": "I-save bilang File",
"description": "Proseso sa pag-export ng Account"
},
"selectService": {
"message": "Piliin ang Service"
},
"send": {
"message": "Magpadala"
},
"sendTokens": {
"message": "Magpadala ng Tokens"
},
"sendTokensAnywhere": {
"message": "Magpadala ng Tokens sa sinumang may Ethereum account"
},
"settings": {
"message": "Mga Setting"
},
"shapeshiftBuy": {
"message": "Bumili gamit ang Shapeshift"
},
"showPrivateKeys": {
"message": "Ipakita ang Private Keys"
},
"showQRCode": {
"message": "Ipakita ang QR Code"
},
"sign": {
"message": "I-sign"
},
"signMessage": {
"message": "I-sign ang mensahe"
},
"signNotice": {
"message": "Ang pag-sign ng mensaheng ito ay maaring magdulot ng mapanganib na epekto. I-sign lamang ang mga mensahe mula sa mga site na pinagkakatiwalaan mo ng iyong account. Ang mapanganib na paraang ito ay aalisin sa isa sa mga susunod na bersyon. "
},
"sigRequest": {
"message": "Hiling na Signature"
},
"sigRequested": {
"message": "Hiniling ang Signature"
},
"status": {
"message": "Istado"
},
"submit": {
"message": "I-submit"
},
"takesTooLong": {
"message": "Masyadong matagal?"
},
"testFaucet": {
"message": "Test Faucet"
},
"to": {
"message": "To"
},
"toETHviaShapeShift": {
"message": "$1 sa ETH sa pamamagitan ng ShapeShift",
"description": "Pupunan ng system ang deposit type sa simula ng mensahe"
},
"tokenBalance": {
"message": "Ang iyong Token Balance ay:"
},
"total": {
"message": "Kabuuan"
},
"transactionMemo": {
"message": "Memo ng transaksyon (opsyonal)"
},
"transactionNumber": {
"message": "Numero ng Transaksyon"
},
"transfers": {
"message": "Mga Inilipat"
},
"troubleTokenBalances": {
"message": "Nagkaroon kami ng problema sa paglo-load ng iyong mga balanseng token. Tingnan ito dito ",
"description": "Susundan ng link (dito) para tingnan ang token balances"
},
"typePassword": {
"message": "I-type ang iyong Password"
},
"uiWelcome": {
"message": "Maligayang pagdating sa Bagong UI (Beta)"
},
"uiWelcomeMessage": {
"message": "Ginagamit mo na ngayon ang bagong MetaMask UI. I-explore at subukan ang mga bagong features tulad ng pagpapadala ng mga token, at ipaalam sa amin kung mayroon kang anumang mga isyu."
},
"unavailable": {
"message": "Hindi Magagamit"
},
"unknown": {
"message": "Hindi Alam"
},
"unknownNetwork": {
"message": "Hindi Alam ang Pribadong Network"
},
"unknownNetworkId": {
"message": "Hindi alam ang network ID"
},
"usaOnly": {
"message": "USA lamang",
"description": "Ang paggamit ng exchange na ito ay limitado sa mga tao sa loob ng Estados Unidos"
},
"usedByClients": {
"message": "Ginagamit ng iba't ibang mga clients"
},
"viewAccount": {
"message": "Tingnan ang Account"
},
"warning": {
"message": "Babala"
},
"whatsThis": {
"message": "Ano ito?"
},
"yourSigRequested": {
"message": "Hinihiling ang iyong signature"
},
"youSign": {
"message": "Ikaw ay nagsa-sign"
}
}

@ -0,0 +1,819 @@
{
"accept": {
"message": "Aceitar"
},
"account": {
"message": "Conta"
},
"accountDetails": {
"message": "Detalhes da Conta"
},
"accountName": {
"message": "Nome da Conta"
},
"address": {
"message": "Endereço"
},
"addCustomToken": {
"message": "Adicionar token customizada"
},
"addToken": {
"message": "Adicionar Token"
},
"addTokens": {
"message": "Adicionar Tokens"
},
"amount": {
"message": "Valor"
},
"amountPlusGas": {
"message": "Valor + Gas"
},
"appDescription": {
"message": "Extensão para o browser de Ethereum",
"description": "A descrição da aplicação"
},
"appName": {
"message": "MetaMask",
"description": "Nome da aplicação"
},
"attemptingConnect": {
"message": "A tentar ligar à blockchain."
},
"attributions": {
"message": "Atribuições"
},
"available": {
"message": "Disponível"
},
"back": {
"message": "Voltar"
},
"balance": {
"message": "Saldo:"
},
"balances": {
"message": "O meu saldo"
},
"balanceIsInsufficientGas": {
"message": "Saldo insuficiente para a quantidade de gas total"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "tem de ser maior ou igual a $1 e menor ou igual a $2.",
"description": "ajuda para introduzir hexadecimal como decimal"
},
"blockiesIdenticon": {
"message": "Usar Blockies Identicon"
},
"borrowDharma": {
"message": "Pedir Empréstimo Com Dharma (Beta)"
},
"builtInCalifornia": {
"message": "MetaMask é desenhada e construída na California."
},
"buy": {
"message": "Comprar"
},
"buyCoinbase": {
"message": "Comprar no Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase é a forma mais conhecida para comprar e vender bitcoin, ethereum, e litecoin."
},
"cancel": {
"message": "Cancelar"
},
"classicInterface": {
"message": "Utilizar interface clássico"
},
"clickCopy": {
"message": "Carregue para copiar"
},
"confirm": {
"message": "Confirmar"
},
"confirmContract": {
"message": "Confirmar Contrato"
},
"confirmPassword": {
"message": "Confirmar Palavra-passe"
},
"confirmTransaction": {
"message": "Confirmar Transação"
},
"continue": {
"message": "Continuar"
},
"continueToCoinbase": {
"message": "Continuar para o Coinbase"
},
"contractDeployment": {
"message": "Distribuição do Contrato"
},
"conversionProgress": {
"message": "Conversão em progresso"
},
"copiedButton": {
"message": "Copiado"
},
"copiedClipboard": {
"message": "Copiado para a Área de Transferência"
},
"copiedExclamation": {
"message": "Copiado!"
},
"copiedSafe": {
"message": "Já copiei para um lugar seguro"
},
"copy": {
"message": "Copiar"
},
"copyToClipboard": {
"message": "Copiar para o clipboard"
},
"copyButton": {
"message": " Copiar "
},
"copyPrivateKey": {
"message": "Esta é a sua chave privada (carregue para copiar)"
},
"create": {
"message": "Criar"
},
"createAccount": {
"message": "Criar Conta"
},
"createDen": {
"message": "Criar"
},
"crypto": {
"message": "Cripto",
"description": "Tipo de câmbio (criptomoedas)"
},
"currentConversion": {
"message": "Taxa de Conversão Atual"
},
"currentNetwork": {
"message": "Rede Atual"
},
"customGas": {
"message": "Customizar Gas"
},
"customize": {
"message": "Customizar"
},
"customRPC": {
"message": "Customizar RPC"
},
"decimalsMustZerotoTen": {
"message": "Decimais devem ser no mínimo 0 e não passar de 36."
},
"decimal": {
"message": "Precisão em Decimais"
},
"defaultNetwork": {
"message": "A rede pré definida para transações em Ether é a Main Net."
},
"denExplainer": {
"message": " DEN é o armazenamento encriptado da sua palavra-passe no MetaMask."
},
"deposit": {
"message": "Depósito"
},
"depositBTC": {
"message": "Deposite as suas BTC no endereço abaixo:"
},
"depositCoin": {
"message": "Deposite $1 no endereço abaixo",
"description": "Diz ao usuário que moeda selecionou para depositar com shapeshift"
},
"depositEth": {
"message": "Depositar Eth"
},
"depositEther": {
"message": "Depositar Ether"
},
"depositFiat": {
"message": "Depositar moeda fiduciária"
},
"depositFromAccount": {
"message": "Depositar de outra conta"
},
"depositShapeShift": {
"message": "Depositar com ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Se tem criptomoedas, pode trocar e depositar Ether diretamente na sua carteira MetaMask. Não precisa de conta."
},
"details": {
"message": "Detalhes"
},
"directDeposit": {
"message": "Depósito Direto"
},
"directDepositEther": {
"message": "Depositar Diretamente Ether"
},
"directDepositEtherExplainer": {
"message": "Se já tem Ether, a forma mais rápida de ficar com Ether na sua carteira é através de depósito direto."
},
"done": {
"message": "Finalizado"
},
"downloadStatelogs": {
"message": "Descarregar Registos de Estado"
},
"edit": {
"message": "Editar"
},
"editAccountName": {
"message": "Editar Nome da Conta"
},
"emailUs": {
"message": "Fale connosco!"
},
"encryptNewDen": {
"message": "Encripte o seu novo DEN"
},
"enterPassword": {
"message": "Introduza palavra-passe"
},
"enterPasswordConfirm": {
"message": "Introduza a sua palavra-passe para confirmar"
},
"etherscanView": {
"message": "Ver conta no Etherscan"
},
"exchangeRate": {
"message": "Taxa de Câmbio"
},
"exportPrivateKey": {
"message": "Exportar Chave Privada"
},
"exportPrivateKeyWarning": {
"message": "Exportar chaves privadas por sua conta e risco."
},
"failed": {
"message": "Falhou"
},
"fiat": {
"message": "FIAT",
"description": "Tipo de câmbio"
},
"fileImportFail": {
"message": "A importação de ficheiro não está a funcionar? Carregue aqui!",
"description": "Ajuda usuários a importar as suas contas a partir de um ficheiro JSON"
},
"followTwitter": {
"message": "Siga-nos no Twitter"
},
"from": {
"message": "De"
},
"fromToSame": {
"message": "Endereços De e Para não podem ser iguais"
},
"fromShapeShift": {
"message": "De ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Indicação breve do custo de gas"
},
"gasFee": {
"message": "Taxa de Gas"
},
"gasLimit": {
"message": "Limite de Gas"
},
"gasLimitCalculation": {
"message": "Calculamos o limite sugerido do gas com base nas taxas de sucesso da rede."
},
"gasLimitRequired": {
"message": "Limite de Gas Necessário"
},
"gasLimitTooLow": {
"message": "Limite de Gas deve ser no mínimo 21000"
},
"generatingSeed": {
"message": "A gerar Seed..."
},
"gasPrice": {
"message": "Preço Gas (GWEI)"
},
"gasPriceCalculation": {
"message": "Calculamos o gas sugerido com base nas taxas de sucesso da rede."
},
"gasPriceRequired": {
"message": "Preço Gas Necessário"
},
"getEther": {
"message": "Obter Ether"
},
"getEtherFromFaucet": {
"message": "Obter Ether de um faucet por $1",
"description": "Mostra nome da rede para faucet de Ether"
},
"greaterThanMin": {
"message": "tem de ser maior ou igual a $1.",
"description": "ajuda para introduzir hexadecimal como decimal"
},
"here": {
"message": "aqui",
"description": "como -clicar aqui- para mais informações (associado a troubleTokenBalances)"
},
"hereList": {
"message": "Aqui está uma lista!!!!"
},
"hide": {
"message": "Ocultar"
},
"hideToken": {
"message": "Ocultar Token"
},
"hideTokenPrompt": {
"message": "Ocultar Token?"
},
"howToDeposit": {
"message": "Como gostaria de depositar Ether?"
},
"holdEther": {
"message": "Permite ter ether & tokens, e serve como uma ponte para aplicações descentralizadas."
},
"import": {
"message": "Importar",
"description": "Botão para importar uma conta de um ficheiro selecionado"
},
"importAccount": {
"message": "Importar Conta"
},
"importAccountMsg": {
"message":"Contas importadas não irão ser associadas com a frase seed da conta criada originalmente pelo MetaMask. Saiba mais sobre contas importadas."
},
"importAnAccount": {
"message": "Importar uma conta"
},
"importDen": {
"message": "Importar DEN Existente"
},
"imported": {
"message": "Importado",
"description": "estado para mostrar que uma conta foi totalmente carregada para o keyring"
},
"infoHelp": {
"message": "Informação & Ajuda"
},
"insufficientFunds": {
"message": "Fundos insuficientes."
},
"insufficientTokens": {
"message": "Tokens insuficientes."
},
"invalidAddress": {
"message": "Endereço inválido"
},
"invalidAddressRecipient": {
"message": "O endereço do destinatário é inválido "
},
"invalidGasParams": {
"message": "Parâmetros para o Gas Inválidos"
},
"invalidInput": {
"message": "Campo inválido."
},
"invalidRequest": {
"message": "Pedido Inválido"
},
"invalidRPC": {
"message": "RPC URI Inválido"
},
"jsonFail": {
"message": "Ocorreu um erro. Por favor confirme que o seu ficheiro JSON está devidamente formatado."
},
"jsonFile": {
"message": "Ficheiro JSON",
"description": "Formatar para importar uma conta"
},
"kovan": {
"message": "Rede de Teste Kovan"
},
"knowledgeDataBase": {
"message": "Visite o nosso Centro de Conhecimento"
},
"lessThanMax": {
"message": "tem de ser menor ou igual a $1.",
"description": "ajuda para introduzir hexadecimal como decimal"
},
"likeToAddTokens": {
"message": "Gostaria de adicionar estes tokens?"
},
"limit": {
"message": "Limite"
},
"loading": {
"message": "A carregar..."
},
"loadingTokens": {
"message": "A carregar Tokens..."
},
"localhost": {
"message": "Localhost 8545"
},
"login": {
"message": "Entrar"
},
"logout": {
"message": "Sair"
},
"loose": {
"message": "Vago"
},
"loweCaseWords": {
"message": "palavras da seed apenas têm caracteres minúsculos"
},
"mainnet": {
"message": "Rede Principal de Ethereum"
},
"message": {
"message": "Mensagem"
},
"metamaskDescription": {
"message": "O MetaMask é um lugar seguro para guardar a sua identidade em em Ethereum."
},
"min": {
"message": "Mínimo"
},
"myAccounts": {
"message": "As minhas contas"
},
"mustSelectOne": {
"message": "Deve escolher no mínimo 1 token."
},
"needEtherInWallet": {
"message": "Para interagir com applicações descentralizadas usando MetaMask tem de ter Ether na sua carteira."
},
"needImportFile": {
"message": "Deve selecionar um ficheiro para importar.",
"description": "O utilizador deve adicionar um ficheiro para continuar"
},
"needImportPassword": {
"message": "Deve introduzir uma palavra-passe para o ficheiro selecionado.",
"description": "Palavra-passe e ficheiro necessários para importar uma conta"
},
"negativeETH": {
"message": "Não é possível enviar valores negativos de ETH."
},
"networks": {
"message": "Redes"
},
"newAccount": {
"message": "Conta Nova"
},
"newAccountNumberName": {
"message": "Conta $1",
"description": "Nome padrão da próxima conta a ser criado em Criar Conta"
},
"newContract": {
"message": "Contrato Novo"
},
"newPassword": {
"message": "Nova Palavra-passe (min 8 caracteres)"
},
"newRecipient": {
"message": "Recipiente Novo"
},
"newRPC": {
"message": "Novo RPC URL"
},
"next": {
"message": "Próximo"
},
"noAddressForName": {
"message": "Nenhum endereço foi estabelecido para este nome."
},
"noDeposits": {
"message": "Sem depósitos recebidos"
},
"noTransactionHistory": {
"message": "Sem histórico de transações."
},
"noTransactions": {
"message": "Sem Transações"
},
"notStarted": {
"message": "Não Iniciado"
},
"oldUI": {
"message": "UI Antigo"
},
"oldUIMessage": {
"message": "Voltou para o UI antigo. Pode reverter para o Novo UI através da opção no menu do topo direito."
},
"or": {
"message": "ou",
"description": "opção entre criar ou importar uma nova conta"
},
"passwordCorrect": {
"message": "Por favor confirme que a sua palavra-passe esteja correta."
},
"passwordMismatch": {
"message": "as palavras-passe não coincidem",
"description": "no processo de criação da palavra-passe, as duas palavras-passe não coincidiram"
},
"passwordShort": {
"message": "palavra-passe deve ser mais comprida",
"description": "no processo de criação da palavra-passe, a palavra-apasse não é longa o suficiente para ser segura"
},
"pastePrivateKey": {
"message": "Cole aqui a sua chave privada:",
"description": "Para importar uma conta através da chave privada"
},
"pasteSeed": {
"message": "Cole aqui a sua frase seed!"
},
"personalAddressDetected": {
"message": "Endereço pessoal detectado. Introduza o endereço do contrato do token."
},
"pleaseReviewTransaction": {
"message": "Por favor reveja a sua transação."
},
"privacyMsg": {
"message": "Política de Privacidade"
},
"privateKey": {
"message": "Chave Privada",
"description": "Selecione este tipo de ficheiro para importar uma conta"
},
"privateKeyWarning": {
"message": "Atenção: Nunca revele esta chave. Qualquer pessoa com acesso à sua chave privada pode roubar os bens que esta contém."
},
"privateNetwork": {
"message": "Rede Privada"
},
"qrCode": {
"message": "Mostrar Código QR"
},
"readdToken": {
"message": "Pode adicionar este token de novo clicando na opção “Adicionar token” no menu de opções da sua conta."
},
"readMore": {
"message": "Ler mais aqui."
},
"readMore2": {
"message": "Ler mais."
},
"receive": {
"message": "Receber"
},
"recipientAddress": {
"message": "Endereço do Destinatário"
},
"refundAddress": {
"message": "O seu endereço de reembolso"
},
"rejected": {
"message": "Rejeitado"
},
"resetAccount": {
"message": "Reinicializar Conta"
},
"restoreFromSeed": {
"message": "Restaurar a partir da frase seed"
},
"required": {
"message": "Necessário"
},
"retryWithMoreGas": {
"message": "Tentar novamente com um preço mais elevado aqui"
},
"revealSeedWords": {
"message": "Revelar Palavras Seed"
},
"revealSeedWordsWarning": {
"message": "Não revele as palavras seed num espaço público! Estas palavras podem ser usadas para roubar todas as suas contas."
},
"revert": {
"message": "Reverter"
},
"rinkeby": {
"message": "Rede de Teste Rinkeby"
},
"ropsten": {
"message": "Rede de Teste Ropsten"
},
"sampleAccountName": {
"message": "Ex. A minha conta nova",
"description": "Ajuda o utilizador a perceber o conceito de adicionar um nome legível à sua conta"
},
"save": {
"message": "Guardar"
},
"saveAsFile": {
"message": "Guardar como Ficheiro",
"description": "Processo de exportação de conta"
},
"saveSeedAsFile": {
"message": "Guardar Palavras Seed como um Ficheiro"
},
"search": {
"message": "Procurar"
},
"secretPhrase": {
"message": "Introduza a sua frase secreta de 12 palavras para recuperar o seu ."
},
"seedPhraseReq": {
"message": "seed phrases are 12 words long"
},
"select": {
"message": "Selecionar"
},
"selectCurrency": {
"message": "Selecionar Moeda"
},
"selectService": {
"message": "Selecionar Serviço"
},
"selectType": {
"message": "Selecionar Tipo"
},
"send": {
"message": "Enviar"
},
"sendETH": {
"message": "Enviar ETH"
},
"sendTokens": {
"message": "Enviar Tokens"
},
"sendTokensAnywhere": {
"message": "Enviar Tokens para qualquer pessoa com uma conta Ethereum"
},
"settings": {
"message": "Definições"
},
"shapeshiftBuy": {
"message": "Comprar com Shapeshift"
},
"showPrivateKeys": {
"message": "Mostrar Chaves Privadas"
},
"showQRCode": {
"message": "Mostrar Código QR"
},
"sign": {
"message": "Assinar"
},
"signMessage": {
"message": "Assinar Mensagem"
},
"signNotice": {
"message": "Assinar esta mensagem pode ter \nefeitos laterais perigosos. Apenas assine mensagens de sites que \ntotalmente confia com a sua conta total.\n Este método perigoso será removido numa versão posterior."
},
"sigRequest": {
"message": "Pedido de Assinatura"
},
"sigRequested": {
"message": "Assinatura Pedida"
},
"spaceBetween": {
"message": "só pode haver um espaço entre palavras"
},
"status": {
"message": "Estado"
},
"stateLogs": {
"message": "Registos de Estado"
},
"stateLogsDescription": {
"message": "Registo de estado podem conter o seu endereço e transações enviadas da sua conta pública."
},
"submit": {
"message": "Submeter"
},
"supportCenter": {
"message": "Visitar o nosso Centro de Suporte"
},
"symbolBetweenZeroTen": {
"message": "Símbolo deve conter entre 0 e 10 characters."
},
"takesTooLong": {
"message": "A demorar muito?"
},
"terms": {
"message": "Termos de Uso"
},
"testFaucet": {
"message": "Faucet de Teste"
},
"to": {
"message": "Para"
},
"toETHviaShapeShift": {
"message": "$1 para ETH via ShapeShift",
"description": "o sistema irá preencher o tipo de depósito no início da mensagem"
},
"tokenAddress": {
"message": "Endereço do Token"
},
"tokenAlreadyAdded": {
"message": "Token já foi adicionado."
},
"tokenBalance": {
"message": "O seu balanço é:"
},
"tokenSelection": {
"message": "Procure por tokens ou seleccione da nossa lista de tokens populares."
},
"tokenSymbol": {
"message": "Símbolo do Token"
},
"tokenWarning1": {
"message": "Registe os tokens que comprou com a sua conta MetaMask. Se comprou tokens utilizando uma conta diferente, esses tokens não irão aparecer aqui."
},
"total": {
"message": "Total"
},
"transactions": {
"message": "transações"
},
"transactionMemo": {
"message": "Notas da transação (opcional)"
},
"transactionNumber": {
"message": "Número da Transação"
},
"transfers": {
"message": "Transferências"
},
"troubleTokenBalances": {
"message": "Tivemos um problema a carregar o balanço dos seus tokens. Pode vê-los em ",
"description": "Seguido de um link (aqui) para ver o balanço dos seus tokens"
},
"twelveWords": {
"message": "Estas 12 palavras são a única forma de recuperar as suas contas na MetaMask.\nGuarde-as num local seguro e secreto."
},
"typePassword": {
"message": "Digite a sua Palavra-passe"
},
"uiWelcome": {
"message": "Bem-vindo ao seu Novo UI (Beta)"
},
"uiWelcomeMessage": {
"message": "Está agora a usar o novo UI da MetaMask. Dê uma vista de olhos, experimenta as novas funcionalidades como enviar tokens e diga-nos se tiver algum problema."
},
"unavailable": {
"message": "Indisponível"
},
"unknown": {
"message": "Desconhecido"
},
"unknownNetwork": {
"message": "Rede Privada Desconhecida"
},
"unknownNetworkId": {
"message": "Identificador da rede desconhecido"
},
"uriErrorMsg": {
"message": "Links requerem o prefixo HTTP/HTTPS apropriado."
},
"usaOnly": {
"message": "Só nos EUA",
"description": "Usar esta taxa de câmbio está limitado a pessoas residentes nos EUA"
},
"usedByClients": {
"message": "Utilizado por vários tipos de clientes"
},
"useOldUI": {
"message": "Utilizar UI antigo"
},
"validFileImport": {
"message": "Deve selecionar um ficheiro válido para importar."
},
"vaultCreated": {
"message": "Cofre Criado"
},
"viewAccount": {
"message": "Ver Conta"
},
"visitWebSite": {
"message": "Visite o nosso site"
},
"warning": {
"message": "Aviso"
},
"welcomeBeta": {
"message": "Bem-vindo ao MetaMask Beta"
},
"whatsThis": {
"message": "O que é isto?"
},
"yourSigRequested": {
"message": "A sua assinatura está a ser pedida"
},
"youSign": {
"message": "Está a assinar"
}
}

@ -0,0 +1,819 @@
{
"accept": {
"message": "Принять"
},
"account": {
"message": "Аккаунт"
},
"accountDetails": {
"message": "Детали Аккаунта"
},
"accountName": {
"message": "Имя Пользователя"
},
"address": {
"message": "Адрес"
},
"addCustomToken": {
"message": "Добавить пользовательский токен"
},
"addToken": {
"message": "Добавить токен"
},
"addTokens": {
"message": "Добавить Токены"
},
"amount": {
"message": "Количество"
},
"amountPlusGas": {
"message": "Количество + газ"
},
"appDescription": {
"message": "Расширение браузера для Ethereum",
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"description": "The name of the application"
},
"attemptingConnect": {
"message": "Попытка подключиться к блокчейн сети."
},
"attributions": {
"message": "Опознания"
},
"available": {
"message": "Доступный"
},
"back": {
"message": "Назад"
},
"balance": {
"message": "Баланс:"
},
"balances": {
"message": "Ваши балансы"
},
"balanceIsInsufficientGas": {
"message": "Недостаточный баланс для текущего объема газа"
},
"beta": {
"message": "БЕТА"
},
"betweenMinAndMax": {
"message": "должно быть больше или равно $1 и меньше или равно $2.",
"description": "helper for inputting hex as decimal input"
},
"blockiesIdenticon": {
"message": "Использовать Blockies Identicon"
},
"borrowDharma": {
"message": "Заимствовать с Dharma (бета)"
},
"builtInCalifornia": {
"message": "MetaMask спроектирован и построен в Калифорнии."
},
"buy": {
"message": "Купить"
},
"buyCoinbase": {
"message": "Купить на Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase - самый популярный в мире способ купить и продать биткойн, ethereum и litecoin."
},
"cancel": {
"message": "Отмена"
},
"classicInterface": {
"message": "Использовать классический интерфейс"
},
"clickCopy": {
"message": "Нажмите, чтобы скопировать"
},
"confirm": {
"message": "Подтвердить"
},
"confirmContract": {
"message": "Подтвердить Контракт"
},
"confirmPassword": {
"message": "Подтвердите Пароль"
},
"confirmTransaction": {
"message": "Подтвердить Транзакцию"
},
"continue": {
"message": "Продолжить"
},
"continueToCoinbase": {
"message": "Продолжить в Coinbase"
},
"contractDeployment": {
"message": "Развертывание контракта"
},
"conversionProgress": {
"message": "Выполняется конверсия"
},
"copiedButton": {
"message": "Скопировано"
},
"copiedClipboard": {
"message": "Скопировано в буфер обмена"
},
"copiedExclamation": {
"message": "Скопировано!"
},
"copiedSafe": {
"message": "Я скопировал его где-то в безопасности"
},
"copy": {
"message": "Скопировать"
},
"copyToClipboard": {
"message": "Скопировать в буфер обмена"
},
"copyButton": {
"message": " Скопировать "
},
"copyPrivateKey": {
"message": "Это ваш личный ключ (нажмите, чтобы скопировать)"
},
"create": {
"message": "Создать"
},
"createAccount": {
"message": "Регистрация"
},
"createDen": {
"message": "Создать"
},
"crypto": {
"message": "Крипто",
"description": "Exchange type (cryptocurrencies)"
},
"currentConversion": {
"message": "Текущая конверсия"
},
"currentNetwork": {
"message": "Текущая сеть"
},
"customGas": {
"message": "Настроить Газ"
},
"customize": {
"message": "Настроить"
},
"customRPC": {
"message": "Пользовательский RPC"
},
"decimalsMustZerotoTen": {
"message": "Десятичные числа должны быть не менее 0, и не более 36."
},
"decimal": {
"message": "Десятичные значения точности"
},
"defaultNetwork": {
"message": "Сеть по умолчанию для транзакций Ether - это Main Net."
},
"denExplainer": {
"message": "Ваш DEN - это ваше зашифрованное паролем хранилище в MetaMask."
},
"deposit": {
"message": "Депозит"
},
"depositBTC": {
"message": "Депозит BTC по адресу:"
},
"depositCoin": {
"message": "Депозит $1 по указанному ниже адресу",
"description": "Tells the user what coin they have selected to deposit with shapeshift"
},
"depositEth": {
"message": "Депозит Eth"
},
"depositEther": {
"message": "Депозит Эфир"
},
"depositFiat": {
"message": "Депозит с деньгами"
},
"depositFromAccount": {
"message": "Депозит с другого счета"
},
"depositShapeShift": {
"message": "Депозит с ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Если у вас есть другие крипторесурсы, вы можете торговать и вносить Эфир непосредственно в кошелек MetaMask. Нет необходимости в аккаунте."
},
"details": {
"message": "Детали"
},
"directDeposit": {
"message": "Прямой Депозит"
},
"directDepositEther": {
"message": "Прямой Депозит Эфира"
},
"directDepositEtherExplainer": {
"message": "Если у вас уже есть Эфир, самый быстрый способ получить Эфир в вашем новом кошельке это прямым депозитом."
},
"done": {
"message": "Готово"
},
"downloadStatelogs": {
"message": "Загрузить логи статус"
},
"edit": {
"message": "Редактировать"
},
"editAccountName": {
"message": "Изменить Имя Аккаунта"
},
"emailUs": {
"message": "Свяжитесь с нами по электронной почте!"
},
"encryptNewDen": {
"message": "Шифруйте новый DEN"
},
"enterPassword": {
"message": "Введите пароль"
},
"enterPasswordConfirm": {
"message": "Введите свой пароль для подтверждения"
},
"etherscanView": {
"message": "Просмотреть аккаунт на Etherscan"
},
"exchangeRate": {
"message": "Обменный Курс"
},
"exportPrivateKey": {
"message": "Экспорт закрытого ключа"
},
"exportPrivateKeyWarning": {
"message": "Экспорт секретных ключей на свой страх и риск."
},
"failed": {
"message": "Не смогли"
},
"fiat": {
"message": "Бумажные деньги",
"description": "Exchange type"
},
"fileImportFail": {
"message": "Ошибка импорта файлов? Кликните сюда!",
"description": "Helps user import their account from a JSON file"
},
"followTwitter": {
"message": "Следуйте за нами на Twitter"
},
"from": {
"message": "Из"
},
"fromToSame": {
"message": "От и до адреса не могут быть одинаковым"
},
"fromShapeShift": {
"message": "Из ShapeShift"
},
"gas": {
"message": "Газ",
"description": "Short indication of gas cost"
},
"gasFee": {
"message": "Плата за Газ"
},
"gasLimit": {
"message": "Газовый Предел"
},
"gasLimitCalculation": {
"message": "Мы рассчитываем предполагаемый предел газа на основе коэффициентов успешности сети."
},
"gasLimitRequired": {
"message": "Требуется ограничение на Газ"
},
"gasLimitTooLow": {
"message": "Предел газа должен быть не менее 21000"
},
"generatingSeed": {
"message": "Создание Семян ..."
},
"gasPrice": {
"message": "Цена на Газ (GWEI)"
},
"gasPriceCalculation": {
"message": "Мы вычисляем предлагаемые цены на газ на основе коэффициентов успеха сети."
},
"gasPriceRequired": {
"message": "Требуется цена на Газ"
},
"getEther": {
"message": "Получить Эфир"
},
"getEtherFromFaucet": {
"message": "Получите Эфир из крана $1",
"description": "Displays network name for Ether faucet"
},
"greaterThanMin": {
"message": "должно быть больше или равно $1.",
"description": "helper for inputting hex as decimal input"
},
"here": {
"message": "здесь",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hereList": {
"message": "Вот список !!!!"
},
"hide": {
"message": "Спрятать"
},
"hideToken": {
"message": "Скрыть токен"
},
"hideTokenPrompt": {
"message": "Скрыть токен?"
},
"howToDeposit": {
"message": "Как бы вы хотели поместить Эфир?"
},
"holdEther": {
"message": "Это позволяет вам использовать эфир и токены и служит мостом для децентрализованных приложений."
},
"import": {
"message": "Импортировать",
"description": "Button to import an account from a selected file"
},
"importAccount": {
"message": "Импорт Аккаунта"
},
"importAccountMsg": {
"message": " Импортированные аккаунты не будут связаны с вашей первоначально созданным аккаунтом MetaMask. Подробнее о импортированных аккаунтах "
},
"importAnAccount": {
"message": "Импортировать аккаунт"
},
"importDen": {
"message": "Импорт существующих DEN"
},
"imported": {
"message": "Импортирован",
"description": "status showing that an account has been fully loaded into the keyring"
},
"infoHelp": {
"message": "Информация и Помощь"
},
"insufficientFunds": {
"message": "Недостаточно средств."
},
"insufficientTokens": {
"message": "Недостаточно токенов."
},
"invalidAddress": {
"message": "Недействительный адрес"
},
"invalidAddressRecipient": {
"message": "Недопустимый адрес получателя."
},
"invalidGasParams": {
"message": "Недопустимые параметры Газа"
},
"invalidInput": {
"message": "Неправильный ввод."
},
"invalidRequest": {
"message": "Неверный Запрос"
},
"invalidRPC": {
"message": "Недопустимый URI RPC"
},
"jsonFail": {
"message": "Что-то пошло не так. Убедитесь, что ваш файл JSON правильно отформатирован."
},
"jsonFile": {
"message": "Файл JSON",
"description": "format for importing an account"
},
"kovan": {
"message": "Kovan тестовая сеть"
},
"knowledgeDataBase": {
"message": "Посетите нашу базу знаний"
},
"lessThanMax": {
"message": "должно быть меньше или равно $1.",
"description": "helper for inputting hex as decimal input"
},
"likeToAddTokens": {
"message": "Вы хотите добавить эти токены?"
},
"limit": {
"message": "Предел"
},
"loading": {
"message": "Загрузка..."
},
"loadingTokens": {
"message": "Загрузка токенов ..."
},
"localhost": {
"message": "Локальный адрес 8545"
},
"login": {
"message": "Авторизоваться"
},
"logout": {
"message": "Выйти"
},
"loose": {
"message": "Рыхлый"
},
"loweCaseWords": {
"message": "семенные слова имеют только символы нижнего регистра"
},
"mainnet": {
"message": "Основная сеть Ethereum"
},
"message": {
"message": "Сообщение"
},
"metamaskDescription": {
"message": "MetaMask - это безопасное хранилище для Ethereum."
},
"min": {
"message": "Минимум"
},
"myAccounts": {
"message": "Мои Аккаунты"
},
"mustSelectOne": {
"message": "Необходимо выбрать не менее 1 токена."
},
"needEtherInWallet": {
"message": "Чтобы взаимодействовать с децентрализованными приложениями с помощью MetaMask, вам понадобится Эфир в вашем кошельке."
},
"needImportFile": {
"message": "Вы должны выбрать файл для импорта.",
"description": "User is important an account and needs to add a file to continue"
},
"needImportPassword": {
"message": "Вы должны ввести пароль для выбранного файла.",
"description": "Password and file needed to import an account"
},
"negativeETH": {
"message": "Невозможно отправить отрицательные количества ETH."
},
"networks": {
"message": "Сети"
},
"newAccount": {
"message": "Новый Аккаунт"
},
"newAccountNumberName": {
"message": "Аккаунт $1",
"description": "Default name of next account to be created on create account screen"
},
"newContract": {
"message": "Новый Контракт"
},
"newPassword": {
"message": "Новый пароль (мин. 8 символов)"
},
"newRecipient": {
"message": "Новый Получатель"
},
"newRPC": {
"message": "Новый URL-адрес RPC"
},
"next": {
"message": "Далее"
},
"noAddressForName": {
"message": "Для этого имени не задан адрес."
},
"noDeposits": {
"message": "Не было получено никаких депозитов"
},
"noTransactionHistory": {
"message": "Нет истории транзакций."
},
"noTransactions": {
"message": "Нет Транзакций"
},
"notStarted": {
"message": "Не Начался"
},
"oldUI": {
"message": "Старый Интерфейс"
},
"oldUIMessage": {
"message": "Вы вернулись к старому интерфейсу. Вы можете вернуться к новому с помощью опции в раскрывающемся меню в правом верхнем углу."
},
"or": {
"message": "или",
"description": "choice between creating or importing a new account"
},
"passwordCorrect": {
"message": "Убедитесь, что ваш пароль правильный."
},
"passwordMismatch": {
"message": "пароли не совпадают",
"description": "in password creation process, the two new password fields did not match"
},
"passwordShort": {
"message": "пароль недостаточно длинный",
"description": "in password creation process, the password is not long enough to be secure"
},
"pastePrivateKey": {
"message": "Вставьте свою личную строку:",
"description": "For importing an account from a private key"
},
"pasteSeed": {
"message": "Вставьте здесь свою семенную фразу!"
},
"personalAddressDetected": {
"message": "Персональный адрес обнаружен. Введите адрес контракта токена."
},
"pleaseReviewTransaction": {
"message": "Проверьте транзакцию."
},
"privacyMsg": {
"message": "Политика Конфиденциальности"
},
"privateKey": {
"message": "Закрытый ключ",
"description": "select this type of file to use to import an account"
},
"privateKeyWarning": {
"message": "Предупреждение: никогда не раскрывайте этот ключ. Любой, у кого есть ваши личные ключи, может украсть любые активы, хранящиеся в вашем аккаунте."
},
"privateNetwork": {
"message": "Частная сеть"
},
"qrCode": {
"message": "Показать QR-код"
},
"readdToken": {
"message": "Вы можете добавить этот токен в будущем, перейдя в “Добавить токен” в меню параметров вашего аккаунта."
},
"readMore": {
"message": "Подробнее читайте здесь."
},
"readMore2": {
"message": "Прочитайте больше."
},
"receive": {
"message": "Получить"
},
"recipientAddress": {
"message": "Адрес Получателя"
},
"refundAddress": {
"message": "Ваш Адрес Возврата"
},
"rejected": {
"message": "Отклонено"
},
"resetAccount": {
"message": "Сбросить аккаунт"
},
"restoreFromSeed": {
"message": "Восстановить от семенной фразы"
},
"required": {
"message": "Необходимо"
},
"retryWithMoreGas": {
"message": "Повторите попытку с более высокой ценой на газ здесь"
},
"revealSeedWords": {
"message": "Раскрыть семенные слова"
},
"revealSeedWordsWarning": {
"message": "Не восстанавливайте семенные слова в общественном месте! Эти слова могут использоваться для кражи всех ваших аккаунтах."
},
"revert": {
"message": "Откат"
},
"rinkeby": {
"message": "Rinkeby тестовая сеть"
},
"ropsten": {
"message": "Ropsten тестовая сеть"
},
"sampleAccountName": {
"message": "Например, Мой новый аккаунт",
"description": "Help user understand concept of adding a human-readable name to their account"
},
"save": {
"message": "Сохранить"
},
"saveAsFile": {
"message": "Сохранить как Файл",
"description": "Account export process"
},
"saveSeedAsFile": {
"message": "Сохранить Семенные Слова Как Файл"
},
"search": {
"message": "Поиск"
},
"secretPhrase": {
"message": "Введите свою секретную двенадцатисловную фразу здесь, чтобы восстановить хранилище."
},
"seedPhraseReq": {
"message": "семенные фразы длиной 12 слов"
},
"select": {
"message": "Выбрать"
},
"selectCurrency": {
"message": "Выберите Валюту"
},
"selectService": {
"message": "Выберите Сервис"
},
"selectType": {
"message": "Выберите Тип"
},
"send": {
"message": "Послать"
},
"sendETH": {
"message": "Отправить ETH"
},
"sendTokens": {
"message": "Отправить Токены"
},
"sendTokensAnywhere": {
"message": "Отправить Токены кому-либо с аккаунтом Ethereum"
},
"settings": {
"message": "Настройки"
},
"shapeshiftBuy": {
"message": "Купить с помощью Shapeshift"
},
"showPrivateKeys": {
"message": "Показать приватные ключи"
},
"showQRCode": {
"message": "Показать QR-код"
},
"sign": {
"message": "Знак"
},
"signMessage": {
"message": "Нодписать сообщение"
},
"signNotice": {
"message": "Подписание этого сообщения может иметь \nопасные побочные эффекты. Только подписывайте сообщения \nс сайтов, которым вы полностью доверяете своим аккаунтом. Этот опасный метод будет удален в будущей версии."
},
"sigRequest": {
"message": "Запрос на подпись"
},
"sigRequested": {
"message": "Подпись Запрошена"
},
"spaceBetween": {
"message": "между словами может быть только пробел"
},
"status": {
"message": "Статус"
},
"stateLogs": {
"message": "Логи Статуса"
},
"stateLogsDescription": {
"message": "Логи статуса содержат ваши общедоступные адреса и отправленные транзакции."
},
"submit": {
"message": "Отправить"
},
"supportCenter": {
"message": "Посетите наш Центр поддержки"
},
"symbolBetweenZeroTen": {
"message": "Символ должен быть от 0 до 10 символов."
},
"takesTooLong": {
"message": "Занимает слишком долго?"
},
"terms": {
"message": "Условия Эксплуатации"
},
"testFaucet": {
"message": "Тестовый Кран"
},
"to": {
"message": "К"
},
"toETHviaShapeShift": {
"message": "$1 в ETH через ShapeShift",
"description": "system will fill in deposit type in start of message"
},
"tokenAddress": {
"message": "Адрес Токена"
},
"tokenAlreadyAdded": {
"message": "Токен уже добавлен."
},
"tokenBalance": {
"message": "Баланс Вашых Tокенов:"
},
"tokenSelection": {
"message": "Поиск токенов или выбор из нашего списка популярных токенов."
},
"tokenSymbol": {
"message": "Символ Токена"
},
"tokenWarning1": {
"message": "Следите за токенами, которые вы купили с помощью аккаунта MetaMask. Если вы купили токены, используя другой аккаунт, эти токены здесь не появятся."
},
"total": {
"message": "Всего"
},
"transactions": {
"message": "транзакции"
},
"transactionMemo": {
"message": "Транзакционная записка (необязательно)"
},
"transactionNumber": {
"message": "Номер Транзакции"
},
"transfers": {
"message": "Переводы"
},
"troubleTokenBalances": {
"message": "У нас были проблемы с загрузкой ваших токенов. Вы можете просмотреть их ",
"description": "Followed by a link (here) to view token balances"
},
"twelveWords": {
"message": "Эти 12 слов - единственный способ восстановить ваши учетные записи MetaMask.\nСохраните их где-нибудь в безопасности и в тайне."
},
"typePassword": {
"message": "Введите Пароль"
},
"uiWelcome": {
"message": "Добро пожаловать в новый интерфейс (бета-версия)"
},
"uiWelcomeMessage": {
"message": "Теперь вы используете новый интерфейс Metamask. Осмотритесь, попробуйте новые функции, такие как отправку токенов, и сообщите нам, есть ли у вас какие-либо проблемы."
},
"unavailable": {
"message": "Недоступен"
},
"unknown": {
"message": "Неизвестный"
},
"unknownNetwork": {
"message": "Неизвестная частная сеть"
},
"unknownNetworkId": {
"message": "Неизвестный идентификатор сети"
},
"uriErrorMsg": {
"message": "Для URI требуется соответствующий префикс HTTP / HTTPS."
},
"usaOnly": {
"message": "Только США",
"description": "Using this exchange is limited to people inside the USA"
},
"usedByClients": {
"message": "Используется различными клиентами"
},
"useOldUI": {
"message": "Использовать старый интерфейс"
},
"validFileImport": {
"message": "Вы должны выбрать действительный файл для импорта."
},
"vaultCreated": {
"message": "Создано хранилище"
},
"viewAccount": {
"message": "Посмотреть аккаунт"
},
"visitWebSite": {
"message": "Посетите наш сайт"
},
"warning": {
"message": "Предупреждение"
},
"welcomeBeta": {
"message": "Добро пожаловать в MetaMask Beta"
},
"whatsThis": {
"message": "Что это?"
},
"yourSigRequested": {
"message": "Ваша подпись запрашивается"
},
"youSign": {
"message": "Вы подписываете"
}
}

@ -0,0 +1,609 @@
{
"accept": {
"message": "Chấp nhận"
},
"account": {
"message": "Tài khoản"
},
"accountDetails": {
"message": "Chi tiết tài khoản"
},
"accountName": {
"message": "Tên tài khoản"
},
"addToken": {
"message": "Thêm mã Token"
},
"address": {
"message": "Địa chỉ"
},
"amount": {
"message": "Số lượng"
},
"amountPlusGas": {
"message": "Số lượng + Gas"
},
"appDescription": {
"description": "Mô tả phần mềm",
"message": "Tính năng Ethereum cho trình duyệt"
},
"appName": {
"description": "Tên phần mềm",
"message": "MetaMask"
},
"attemptingConnect": {
"message": "Đang kết nối đến blockchain."
},
"available": {
"message": "Có sẵn"
},
"back": {
"message": "Quay lại"
},
"balance": {
"message": "Số dư:"
},
"balanceIsInsufficientGas": {
"message": "Số dư không đủ để thanh toán tổng tiền gas hiện tại"
},
"beta": {
"message": "Bản thử nghiệm Beta"
},
"betweenMinAndMax": {
"description": "trợ giúp để nhập hex dưới dạng số thập phân",
"message": "phải nhiều hơn hoặc bằng $1 và ít hơn hoặc bằng $2."
},
"borrowDharma": {
"message": "Vay Dharma (thử nghiệm)"
},
"buy": {
"message": "Mua"
},
"buyCoinbase": {
"message": "Mua trên Coinbase"
},
"buyCoinbaseExplainer": {
"message": "Coinbase là dịch vụ ví điện tử thông dụng nhất thế giới để mua bán Bitcoin, Ethereum, và Litecoin"
},
"cancel": {
"message": "Hủy"
},
"clickCopy": {
"message": "Nhấp vào để sao chép"
},
"confirm": {
"message": "Xác nhận"
},
"confirmContract": {
"message": "Xác nhận hợp đồng"
},
"confirmPassword": {
"message": "Xác nhận mật khẩu"
},
"confirmTransaction": {
"message": "Xác nhận giao dịch"
},
"continueToCoinbase": {
"message": "Tiếp tục đến Coinbase"
},
"contractDeployment": {
"message": "Triển khai hợp đồng"
},
"conversionProgress": {
"message": "Đang chuyển đổi"
},
"copiedButton": {
"message": "Đã sao chép"
},
"copiedClipboard": {
"message": "Đã sao chép vào bộ nhớ Clipboard"
},
"copiedExclamation": {
"message": "Đã sao chép!"
},
"copy": {
"message": "Sao chép"
},
"copyButton": {
"message": "Sao chép"
},
"copyPrivateKey": {
"message": "Đây là Khoá Bí Mật của bạn (nhấp vào để sao chép)"
},
"copyToClipboard": {
"message": "Đã sao chép vào clipboard"
},
"create": {
"message": "Tạo"
},
"createAccount": {
"message": "Tạo tài khoản"
},
"createDen": {
"message": "Tạo"
},
"crypto": {
"description": "Hình thức giao dịch (tiền điện tử)",
"message": "Tiền điện tử"
},
"customGas": {
"message": "Tùy chỉnh gas"
},
"customRPC": {
"message": "Tùy chỉnh RPC"
},
"customize": {
"message": "Tùy chỉnh"
},
"defaultNetwork": {
"message": "Mạng lưới mặc định dùng cho các giao dịch Ether là Main Net (tiền ETH thật)."
},
"denExplainer": {
"message": "Số DEN của bạn là mật khẩu đã được mã hóa và lưu trữ trong MetaMask"
},
"deposit": {
"message": "Ký gửi/nạp tiền"
},
"depositBTC": {
"message": "Ký gửi BTC đến địa chỉ sau:"
},
"depositCoin": {
"description": "Báo cho người dùng biết đồng tiền nào họ đã chọn để ký gửi với ShapeShift",
"message": "Ký gửi $1 đến địa chỉ sau:"
},
"depositEth": {
"message": "Ký gửi Eth"
},
"depositEther": {
"message": "Ký gửi Ether"
},
"depositFiat": {
"message": "Ký gửi bằng tiền Fiat (USD, GBP, ...)"
},
"depositFromAccount": {
"message": "Ký gửi từ một tài khoản khác"
},
"depositShapeShift": {
"message": "Ký gửi với ShapeShift"
},
"depositShapeShiftExplainer": {
"message": "Nếu bạn sở hữu các đồng tiền điện tử khác, bạn có thể giao dịch và ký gửi Ether trực tiếp vào ví MetaMask của bạn. Không cần tạo thêm tài khoản."
},
"details": {
"message": "Chi tiết"
},
"directDeposit": {
"message": "Ký gửi trực tiếp"
},
"directDepositEther": {
"message": "Ký gửi Ether trực tiếp"
},
"directDepositEtherExplainer": {
"message": "Nếu bạn đã có sẵn vài Ether, cách nhanh nhất để thêm Ether vào ví tiền mới của bạn là bằng ký gửi trực tiếp."
},
"done": {
"message": "Hoàn tất"
},
"edit": {
"message": "Chỉnh sửa"
},
"editAccountName": {
"message": "Chỉnh sửa tên tài khoản"
},
"encryptNewDen": {
"message": "Mã hóa số DEN mới của bạn"
},
"enterPassword": {
"message": "Nhập mật khẩu"
},
"etherscanView": {
"message": "Xem tài khoản trên Etherscan"
},
"exchangeRate": {
"message": "Tỷ giá"
},
"exportPrivateKey": {
"message": "Xuất mã khóa cá nhân"
},
"exportPrivateKeyWarning": {
"message": "Xuất mã khóa cá nhân theo rủi ro tự chịu"
},
"failed": {
"message": "Không thành công"
},
"fiat": {
"description": "Hình thức giao dịch",
"message": "FIAT"
},
"fileImportFail": {
"description": "Giúp người dùng nhập tài khoản từ tập tin JSON",
"message": "Tập tin đã nhập không hoạt động? Nhấp vào đây!"
},
"from": {
"message": "Từ"
},
"fromShapeShift": {
"message": "Từ ShapeShift"
},
"gas": {
"description": "Viết tắt của giá ga",
"message": "Ga"
},
"gasFee": {
"message": "Tiền ga"
},
"gasLimit": {
"message": "Hạn mức ga"
},
"gasLimitCalculation": {
"message": "Chúng tôi tính toán và gợi ý một hạn mức ga cụ thể dựa trên tỷ lệ thành công của hệ thống."
},
"gasLimitRequired": {
"message": "Hạn mức ga được yêu cầu"
},
"gasLimitTooLow": {
"message": "Hạn mức ga phải đạt tối thiểu 21000"
},
"gasPrice": {
"message": "Giá ga (GWEI)"
},
"gasPriceCalculation": {
"message": "Chúng tôi tính toán và gợi ý một giá ga cụ thể dựa trên tỷ lệ thành công của hệ thống."
},
"gasPriceRequired": {
"message": "Giá ga được yêu cầu"
},
"getEther": {
"message": "Lấy Ether"
},
"getEtherFromFaucet": {
"description": "Hiển thị tên mạng cho vòi Ether",
"message": "Lấy Ether từ vòi với giá $1"
},
"greaterThanMin": {
"description": "trợ giúp để nhập hex dưới dạng số thập phân",
"message": "phải nhiều hơn hoặc bằng $1"
},
"here": {
"description": "như trong -Nhấp vào đây để xem thêm thông tin- (dùng với các số dư token có vấn đề)",
"message": "tại đây"
},
"hide": {
"message": "Ẩn"
},
"hideToken": {
"message": "Ẩn mã token"
},
"hideTokenPrompt": {
"message": "Ẩn mã token?"
},
"howToDeposit": {
"message": "Bạn muốn ký gửi Ether bằng cách nào?"
},
"import": {
"description": "Nút để nhập tài khoản từ một tập tin đã chọn",
"message": "Nhập"
},
"importAccount": {
"message": "Nhập tài khoản"
},
"importAnAccount": {
"message": "Nhập một tài khoản"
},
"importDen": {
"message": "Nhập mã DEN hiện hành"
},
"imported": {
"description": "Trạng thái hiển thị cho một tài khoản đã được tải toàn bộ vào chùm chìa khóa",
"message": "Đã nhập"
},
"infoHelp": {
"message": "Thông tin & Trợ giúp"
},
"invalidAddress": {
"message": "Địa chỉ không hợp lệ"
},
"invalidGasParams": {
"message": "Thông số ga không hợp lệ"
},
"invalidInput": {
"message": "Thông tin nhập vào không hợp lệ"
},
"invalidRequest": {
"message": "Yêu cầu không hợp lệ"
},
"jsonFile": {
"description": "định dạng để nhập tài khoản",
"message": "Tập tin JSON"
},
"kovan": {
"message": "Mạng thử nghiệm Kovan"
},
"lessThanMax": {
"description": "trợ giúp để nhập hex dưới dạng số thập phân",
"message": "phải ít hơn hoặc bằng $1."
},
"limit": {
"message": "Giới hạn"
},
"loading": {
"message": "Đang tải..."
},
"loadingTokens": {
"message": "Đang tải mã token..."
},
"localhost": {
"message": "Localhost 8545"
},
"logout": {
"message": "Thoát"
},
"loose": {
"message": "Nới lỏng"
},
"mainnet": {
"message": "Mạng Ethereum MainNet (tiền ETH thật)"
},
"message": {
"message": "Tin nhắn"
},
"min": {
"message": "Tối thiểu"
},
"myAccounts": {
"message": "Tài khoản của tôi"
},
"needEtherInWallet": {
"message": "Để tương tác với các ứng dụng phân tán bằng MetaMask, bạn sẽ phải cần có Ether trong ví của bạn."
},
"needImportFile": {
"description": "Người dùng đang nhập một tài khoản và cần thêm tập tin để tiếp tục",
"message": "Bạn phải chọn một tập tin để nhập."
},
"needImportPassword": {
"description": "Mật khẩu và tập tin cần thiết để nhập một tài khoản",
"message": "Bạn phải điền mật khẩu cho tập tin đã chọn."
},
"networks": {
"message": "Các mạng lưới"
},
"newAccount": {
"message": "Tài khoản mới"
},
"newAccountNumberName": {
"description": "Tên mặc định của tài khoản tiếp theo để tạo trên màn hình tài khoản",
"message": "Tài khoản $1"
},
"newContract": {
"message": "Hợp đồng mới"
},
"newPassword": {
"message": "Mật khẩu mới (tối thiểu 8 ký tự)"
},
"newRecipient": {
"message": "Người nhận mới"
},
"next": {
"message": "Kế tiếp"
},
"noAddressForName": {
"message": "Không có địa chỉ nào được ấn định cho tên này."
},
"noDeposits": {
"message": "Không có tiền ký gửi nào được nhận"
},
"noTransactionHistory": {
"message": "Không có lịch sử giao dịch"
},
"noTransactions": {
"message": "Không có giao dịch"
},
"notStarted": {
"message": "Chưa bắt đầu"
},
"oldUI": {
"message": "Giao diện cũ"
},
"oldUIMessage": {
"message": "Bạn vừa quay về giao diện cũ. Bạn có thể chuyển đổi sang giao diện mới bằng tùy chọn trong menu ở góc phải trên cùng."
},
"or": {
"description": "lựa chọn giữa tạo hay nhập một tài khoản mới",
"message": "hoặc"
},
"passwordMismatch": {
"description": "trong quá trình tạo mật khẩu, hai trường mật khẩu mới không khớp",
"message": "mật khẩu không khớp"
},
"passwordShort": {
"description": "trong quá trình tạo mật khẩu, mật khẩu không đủ dài để đảm bảo an toàn",
"message": "mật khẩu không đủ dài"
},
"pastePrivateKey": {
"description": "Dùng cho việc nhập tài khoản từ một khóa cá nhân",
"message": "Dán dãy khóa cá nhân của bạn tại đây:"
},
"pasteSeed": {
"message": "Dán Mật Khẩu Sinh Khoá (seed phrase) của bạn tại đây!"
},
"pleaseReviewTransaction": {
"message": "Vui lòng xem lại giao dịch của bạn."
},
"privateKey": {
"description": "chọn định dạng tập tin này để nhập một tài khoản",
"message": "Khóa Bí Mật"
},
"privateKeyWarning": {
"message": "Cảnh báo: Không bao giờ được tiết lộ khóa này. Bất kỳ ai có Khóa Bí Mật của bạn đều có thể đánh cắp tài sản được giữ trong tài khoản của bạn."
},
"privateNetwork": {
"message": "Mạng lưới riêng"
},
"qrCode": {
"message": "Hiển thị mã QR"
},
"readMore": {
"message": "Đọc thêm tại đây."
},
"readdToken": {
"message": "Bạn có thể thêm trở lại mã token này bằng cách nhấn \"Thêm mã token\" trong menu tùy chọn trong tài khoản của bạn."
},
"receive": {
"message": "Nhận"
},
"recipientAddress": {
"message": "Địa chỉ người nhận"
},
"refundAddress": {
"message": "Địa chỉ hoàn trả lại của bạn"
},
"rejected": {
"message": "Không chấp thuận/Bị từ chối"
},
"required": {
"message": "Yêu cầu"
},
"retryWithMoreGas": {
"message": "Thử lại với một giá ga cao hơn tại đây"
},
"revert": {
"message": "Chuyển lại"
},
"rinkeby": {
"message": "Mạng thử nghiệm Rinkeby"
},
"ropsten": {
"message": "Mạng thử nghiệm Ropsten"
},
"sampleAccountName": {
"description": "Giúp người dùng hiểu khái niệm thêm một cái tên có thể đọc được vào tài khoản của họ",
"message": "Ví dụ, Tài khoản mới của tôi"
},
"save": {
"message": "Lưu"
},
"saveAsFile": {
"description": "Quá trình xuất tài khoản",
"message": "Lưu lại dưới dạng tập tin"
},
"selectService": {
"message": "Chọn dịch vụ"
},
"send": {
"message": "Gửi"
},
"sendTokens": {
"message": "Gửi mã token"
},
"sendTokensAnywhere": {
"message": "Gửi mã token đến bất kỳ ai có tài khoản Ethereum"
},
"settings": {
"message": "Cài đặt"
},
"shapeshiftBuy": {
"message": "Mua với ShapeShift"
},
"showPrivateKeys": {
"message": "Hiển thị khóa cá nhân"
},
"showQRCode": {
"message": "Hiển thị mã QR"
},
"sigRequest": {
"message": "Yêu cầu chữ ký"
},
"sigRequested": {
"message": "Đã yêu cầu chữ ký"
},
"sign": {
"message": "Ký nhận"
},
"signMessage": {
"message": "Ký nhận tin nhắn"
},
"signNotice": {
"message": "Ký nhận vào tin nhắn này có thể gây nguy hiểm. Chỉ nên ký nhận tin nhắn từ những nguồn bạn hoàn toàn tin tưởng có thể dùng với tài khoản của bạn. Cách thức nguy hiểm này sẽ bị xóa trong phiên bản sắp tới."
},
"status": {
"message": "Trạng thái"
},
"submit": {
"message": "Gửi đi"
},
"takesTooLong": {
"message": "Chờ quá lâu?"
},
"testFaucet": {
"message": "Vòi nhận tiền ETH ảo để thử nghiệm"
},
"to": {
"message": "Đến"
},
"toETHviaShapeShift": {
"description": "hệ thống sẽ điền vào loại tiền gửi khi bắt đầu tin nhắn",
"message": "$1 thành ETH qua ShapeShift"
},
"tokenBalance": {
"message": "Số dư token của bạn là:"
},
"total": {
"message": "Tổng cộng"
},
"transactionMemo": {
"message": "Ghi nhớ giao dịch (tùy chọn)"
},
"transactionNumber": {
"message": "Số thứ tự giao dịch"
},
"transfers": {
"message": "Các giao dịch"
},
"troubleTokenBalances": {
"description": "Kèm theo một đường link (tại đây) để xem số dư token.",
"message": "Chúng tôi gặp sự cố khi tải số dư token của bạn. Xin vui lòng xem lại"
},
"typePassword": {
"message": "Điền mật khẩu của bạn"
},
"uiWelcome": {
"message": "Chào mừng bạn đến với giao diện mới (Beta)"
},
"uiWelcomeMessage": {
"message": "Bạn đang sử dụng giao diện mới của Metamask. Chúng tôi khuyến khích bạn thử nghiệm và khám phá các tính năng mới như gửi token, và nếu bạn có gặp phải vấn đề gì khó khăn, xin hãy liên hệ ngay để chúng tôi có thể giúp đỡ bạn."
},
"unavailable": {
"message": "Không có sẵn"
},
"unknown": {
"message": "Không xác định"
},
"unknownNetwork": {
"message": "Mạng lưới riêng không xác định"
},
"unknownNetworkId": {
"message": "ID không xác định"
},
"usaOnly": {
"description": "Việc sử dụng hệ thống giao dịch này chỉ giới hạn cho người dùng ở Mỹ",
"message": "Chỉ áp dụng cho người dùng ở Mỹ"
},
"usedByClients": {
"message": "Được sử dụng bởi nhiều khách hàng khác nhau"
},
"viewAccount": {
"message": "Xem tài khoản"
},
"warning": {
"message": "Cảnh báo"
},
"whatsThis": {
"message": "Đây là gì?"
},
"youSign": {
"message": "Bạn đang ký nhận"
},
"yourSigRequested": {
"message": "Chữ ký của bạn đang được yêu cầu"
}
}

@ -1,10 +1,609 @@
{
"accept": {
"message": "接受"
},
"account": {
"message": "账户"
},
"accountDetails": {
"message": "账户详情"
},
"accountName": {
"message": "账户名称"
},
"address": {
"message": "地址"
},
"addToken": {
"message": "添加代币"
},
"amount": {
"message": "数量"
},
"amountPlusGas": {
"message": "数量 + Gas"
},
"appDescription": {
"message": "以太坊浏览器插件",
"description": "The description of the application"
},
"appName": {
"message": "MetaMask",
"description": "The name of the application"
},
"appDescription": {
"message": "以太坊身份管理",
"description": "The description of the application"
"attemptingConnect": {
"message": "正在尝试连接区块链。"
},
"available": {
"message": "可用"
},
"back": {
"message": "返回"
},
"balance": {
"message": "余额:"
},
"balanceIsInsufficientGas": {
"message": "当前余额不足以支付 Gas"
},
"beta": {
"message": "BETA"
},
"betweenMinAndMax": {
"message": "必须大于等于 $1 并且小于等于 $2 。",
"description": "helper for inputting hex as decimal input"
},
"borrowDharma": {
"message": "Borrow With Dharma (Beta)"
},
"buy": {
"message": "购买"
},
"buyCoinbase": {
"message": "在 Coinbase 上购买"
},
"buyCoinbaseExplainer": {
"message": "Coinbase 是世界上最流行的买卖比特币,以太币和莱特币的交易所。"
},
"cancel": {
"message": "取消"
},
"clickCopy": {
"message": "点击复制"
},
"confirm": {
"message": "确认"
},
"confirmContract": {
"message": "确认合约"
},
"confirmPassword": {
"message": "确认密码"
},
"confirmTransaction": {
"message": "确认交易"
},
"continueToCoinbase": {
"message": "继续访问 Coinbase"
},
"contractDeployment": {
"message": "合约部署"
},
"conversionProgress": {
"message": "正在进行转换"
},
"copiedButton": {
"message": "已复制"
},
"copiedClipboard": {
"message": "已复制到剪贴板"
},
"copiedExclamation": {
"message": "已复制!"
},
"copy": {
"message": "复制"
},
"copyToClipboard": {
"message": "复制到剪贴板"
},
"copyButton": {
"message": " 复制 "
},
"copyPrivateKey": {
"message": "这是你的私钥(点击复制)"
},
"create": {
"message": "创建"
},
"createAccount": {
"message": "创建账户"
},
"createDen": {
"message": "创建"
},
"crypto": {
"message": "加密",
"description": "Exchange type (cryptocurrencies)"
},
"customGas": {
"message": "自定义 Gas"
},
"customize": {
"message": "自定义"
},
"customRPC": {
"message": "自定义 RPC"
},
"defaultNetwork": {
"message": "默认以太坊交易网络为主网。"
},
"denExplainer": {
"message": "你的 DEN 是存储在 MetaMask 中的已加密密码。"
},
"deposit": {
"message": "存入"
},
"depositBTC": {
"message": "将你的 BTC 存入到下面的地址:"
},
"depositCoin": {
"message": "将你的 $1 存入到下面的地址",
"description": "Tells the user what coin they have selected to deposit with shapeshift"
},
"depositEth": {
"message": "存入 Eth"
},
"depositEther": {
"message": "存入 Ether"
},
"depositFiat": {
"message": "从 Fiat 存入"
},
"depositFromAccount": {
"message": "从其他账户存入"
},
"depositShapeShift": {
"message": "从 ShapeShift 存入"
},
"depositShapeShiftExplainer": {
"message": "如果你拥有其他加密货币,你可以直接交易并存入 Ether 到你的 MetaMask 钱包。 不需要帐户。"
},
"details": {
"message": "详情"
},
"directDeposit": {
"message": "直接存入"
},
"directDepositEther": {
"message": "直接存入 Ether"
},
"directDepositEtherExplainer": {
"message": "如果你已经有了一些 Ether,通过直接转入是你的新钱包获取 Ether 的最快捷方式。"
},
"done": {
"message": "完成"
},
"edit": {
"message": "编辑"
},
"editAccountName": {
"message": "编辑账户名称"
},
"encryptNewDen": {
"message": "加密你的新 DEN"
},
"enterPassword": {
"message": "请输入密码"
},
"etherscanView": {
"message": "在 Etherscan 上查看账户"
},
"exchangeRate": {
"message": "兑换比率"
},
"exportPrivateKey": {
"message": "导出私钥"
},
"exportPrivateKeyWarning": {
"message": "导出私钥需要你自担风险"
},
"failed": {
"message": "失败"
},
"fiat": {
"message": "FIAT",
"description": "Exchange type"
},
"fileImportFail": {
"message": "文件导入失败? 点击这里!",
"description": "Helps user import their account from a JSON file"
},
"from": {
"message": "来自"
},
"fromShapeShift": {
"message": "来自 ShapeShift"
},
"gas": {
"message": "Gas",
"description": "Short indication of gas cost"
},
"gasFee": {
"message": "Gas 费用"
},
"gasLimit": {
"message": "Gas Limit"
},
"gasLimitCalculation": {
"message": "我们根据网络成功率计算建议的 Gas Limit。"
},
"gasLimitRequired": {
"message": "Gas Limit 必填"
},
"gasLimitTooLow": {
"message": "Gas Limit 至少要 21000"
},
"gasPrice": {
"message": "Gas Price (GWEI)"
},
"gasPriceCalculation": {
"message": "我们根据网络成功率计算建议的 Gas Price"
},
"gasPriceRequired": {
"message": "Gas Price 必填"
},
"getEther": {
"message": "获取 Ether"
},
"getEtherFromFaucet": {
"message": "从水管获取$1网络的 Ether",
"description": "Displays network name for Ether faucet"
},
"greaterThanMin": {
"message": "必须要大于等于 $1。",
"description": "helper for inputting hex as decimal input"
},
"here": {
"message": "这里",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hide": {
"message": "隐藏"
},
"hideToken": {
"message": "隐藏代币"
},
"hideTokenPrompt": {
"message": "隐藏代币?"
},
"howToDeposit": {
"message": "你想怎样转入 Ether?"
},
"import": {
"message": "导入",
"description": "Button to import an account from a selected file"
},
"importAccount": {
"message": "导入账户"
},
"importAnAccount": {
"message": "导入一个账户"
},
"importDen": {
"message": "导入存在的 DEN"
},
"imported": {
"message": "已导入私钥",
"description": "status showing that an account has been fully loaded into the keyring"
},
"infoHelp": {
"message": "信息 & 帮助"
},
"invalidAddress": {
"message": "错误的地址"
},
"invalidGasParams": {
"message": "错误的 Gas 参数"
},
"invalidInput": {
"message": "错误的输入。"
},
"invalidRequest": {
"message": "无效请求"
},
"jsonFile": {
"message": "JSON 文件",
"description": "format for importing an account"
},
"kovan": {
"message": "Kovan 测试网络"
},
"lessThanMax": {
"message": "必须小于等于 $1.",
"description": "helper for inputting hex as decimal input"
},
"limit": {
"message": "限定"
},
"loading": {
"message": "加载..."
},
"loadingTokens": {
"message": "加载代币..."
},
"localhost": {
"message": "本地主机 8545"
},
"logout": {
"message": "登出"
},
"loose": {
"message": "疏松"
},
"mainnet": {
"message": "以太坊主网络"
},
"message": {
"message": "消息"
},
"min": {
"message": "最小"
},
"myAccounts": {
"message": "我的账户"
},
"needEtherInWallet": {
"message": "使用 MetaMask 与 DAPP 交互,需要你的钱包里有 Ether。"
},
"needImportFile": {
"message": "必须选择导入一个文件。",
"description": "User is important an account and needs to add a file to continue"
},
"needImportPassword": {
"message": "必须为已选择的文件输入密码。",
"description": "Password and file needed to import an account"
},
"networks": {
"message": "网络"
},
"newAccount": {
"message": "新账户"
},
"newAccountNumberName": {
"message": "账户 $1",
"description": "Default name of next account to be created on create account screen"
},
"newContract": {
"message": "新合约"
},
"newPassword": {
"message": "新密码(至少 8 个字符)"
},
"newRecipient": {
"message": "新收款人"
},
"next": {
"message": "下一个"
},
"noAddressForName": {
"message": "此 ENS 名字还没有指定地址。"
},
"noDeposits": {
"message": "没有已收的存款"
},
"noTransactionHistory": {
"message": "没有交易历史。"
},
"noTransactions": {
"message": "没有交易"
},
"notStarted": {
"message": "未开始"
},
"oldUI": {
"message": "旧版界面"
},
"oldUIMessage": {
"message": "你已经切换到旧版界面。 你可以通过右上方下拉菜单中的选项切换回新的用户界面。"
},
"or": {
"message": "或",
"description": "choice between creating or importing a new account"
},
"passwordMismatch": {
"message": "密码不匹配",
"description": "in password creation process, the two new password fields did not match"
},
"passwordShort": {
"message": "密码不够长",
"description": "in password creation process, the password is not long enough to be secure"
},
"pastePrivateKey": {
"message": "请粘贴你的私钥:",
"description": "For importing an account from a private key"
},
"pasteSeed": {
"message": "请粘贴你的助记词!"
},
"pleaseReviewTransaction": {
"message": "请检查你的交易。"
},
"privateKey": {
"message": "私钥",
"description": "select this type of file to use to import an account"
},
"privateKeyWarning": {
"message": "注意:永远不要公开这个私钥。任何拥有你的私钥的人都可以窃取你帐户中的任何资产。"
},
"privateNetwork": {
"message": "私有网络"
},
"qrCode": {
"message": "显示二维码"
},
"readdToken": {
"message": "之后你还可以通过帐户选项菜单中的“添加代币”来添加此代币。"
},
"readMore": {
"message": "了解更多。"
},
"receive": {
"message": "接收"
},
"recipientAddress": {
"message": "接收地址"
},
"refundAddress": {
"message": "你的退款地址"
},
"rejected": {
"message": "拒绝"
},
"required": {
"message": "必填"
},
"retryWithMoreGas": {
"message": "使用更高的 Gas Price 重试"
},
"revert": {
"message": "还原"
},
"rinkeby": {
"message": "Rinkeby 测试网络"
},
"ropsten": {
"message": "Ropsten 测试网络"
},
"sampleAccountName": {
"message": "例如:我的账户",
"description": "Help user understand concept of adding a human-readable name to their account"
},
"save": {
"message": "保存"
},
"saveAsFile": {
"message": "保存文件",
"description": "Account export process"
},
"selectService": {
"message": "选择服务"
},
"send": {
"message": "发送"
},
"sendTokens": {
"message": "发送代币"
},
"sendTokensAnywhere": {
"message": "发送代币给拥有以太坊账户的任何人"
},
"settings": {
"message": "设置"
},
"shapeshiftBuy": {
"message": "使用 Shapeshift 购买"
},
"showPrivateKeys": {
"message": "显示私钥"
},
"showQRCode": {
"message": "显示二维码"
},
"sign": {
"message": "签名"
},
"signMessage": {
"message": "签署消息"
},
"signNotice": {
"message": "签署此消息可能会产生危险的副作用。 \n只从你完全信任的网站上签名。 这种危险的方法将在未来的版本中被移除。"
},
"sigRequest": {
"message": "请求签名"
},
"sigRequested": {
"message": "签名已请求"
},
"status": {
"message": "状态"
},
"submit": {
"message": "提交"
},
"takesTooLong": {
"message": "花费太长时间?"
},
"testFaucet": {
"message": "测试水管"
},
"to": {
"message": "至"
},
"toETHviaShapeShift": {
"message": "$1 ETH 通过 ShapeShift",
"description": "system will fill in deposit type in start of message"
},
"tokenBalance": {
"message": "代币余额:"
},
"total": {
"message": "总量"
},
"transactionMemo": {
"message": "交易备注 (可选)"
},
"transactionNumber": {
"message": "交易号"
},
"transfers": {
"message": "Transfers"
},
"troubleTokenBalances": {
"message": "无法加载代币余额。你可以再这里查看 ",
"description": "Followed by a link (here) to view token balances"
},
"typePassword": {
"message": "请输入密码"
},
"uiWelcome": {
"message": "欢迎使用新版界面 (Beta)"
},
"uiWelcomeMessage": {
"message": "你现在正在使用新的 Metamask 界面。 尝试发送代币等新功能,有任何问题请告知我们。"
},
"unavailable": {
"message": "不可用"
},
"unknown": {
"message": "未知"
},
"unknownNetwork": {
"message": "未知私有网络"
},
"unknownNetworkId": {
"message": "未知网络 ID"
},
"usaOnly": {
"message": "只限于美国",
"description": "Using this exchange is limited to people inside the USA"
},
"usedByClients": {
"message": "可用于各种不同的客户端"
},
"viewAccount": {
"message": "查看账户"
},
"warning": {
"message": "警告"
},
"whatsThis": {
"message": "这是什么?"
},
"yourSigRequested": {
"message": "正在请求你的签名"
},
"youSign": {
"message": "正在签名"
}
}

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="25px" height="21px" viewBox="0 0 25 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 48.2 (47327) - http://www.bohemiancoding.com/sketch -->
<title>arrow-right</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Confirm-Send-ETH---V3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(-500.000000, -235.000000)">
<g id="Group-4" transform="translate(312.000000, 99.000000)" fill="#5B5B5B">
<g id="Group-18" transform="translate(109.000000, 119.000000)">
<g id="arrow-right" transform="translate(78.000000, 17.000000)">
<path d="M13.2809946,0.467462271 L13.2809946,0.467462271 C12.6477116,1.09191648 12.6477116,2.10286154 13.2809946,2.72571868 L19.1052554,8.46878095 L2.61883998,8.46878095 C1.72479329,8.46878095 0.999190175,9.18426813 0.999190175,10.0658505 L0.999190175,10.0674476 C0.999190175,10.94903 1.72479329,11.6629201 2.61883998,11.6629201 L19.1052554,11.6629201 L13.2809946,17.4075795 C12.6477116,18.0304366 12.6477116,19.0413817 13.2809946,19.6658359 C13.9126581,20.288693 14.9378964,20.288693 15.5711795,19.6658359 L25.3052748,10.0658505 L15.5711795,0.467462271 C14.9378964,-0.155394872 13.9126581,-0.155394872 13.2809946,0.467462271" id="Fill-1"></path>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="80px" height="78px" viewBox="0 0 80 78" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49 (51002) - http://www.bohemiancoding.com/sketch -->
<title>deposit-eth</title>
<desc>Created with Sketch.</desc>
<defs>
<circle id="path-1" cx="34" cy="34" r="34"></circle>
<circle id="path-2" cx="17" cy="17" r="17"></circle>
</defs>
<g id="Buy-ETH" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="deposit-Ether" transform="translate(-79.000000, -146.000000)">
<g id="Group-12" transform="translate(8.000000, 10.000000)">
<g id="Group-7" transform="translate(71.000000, 122.000000)">
<g id="deposit-eth" transform="translate(0.000000, 14.000000)">
<g id="Oval">
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-1"></use>
<circle stroke="#38393A" stroke-width="3" cx="34" cy="34" r="32.5"></circle>
</g>
<path d="M34.406509,44.95 L22,37.7 L34.406509,55 L46.8205983,37.7 L34.4039822,44.95 L34.406509,44.95 Z M34.593491,15 L22.186982,35.37 L34.593491,42.6275 L47,35.3775 L34.593491,15 Z" id="Shape" fill="#38393A"></path>
<g id="Group-6" transform="translate(46.000000, 44.000000)">
<g id="Oval-Copy">
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-2"></use>
<circle stroke="#38393A" stroke-width="3" cx="17" cy="17" r="15.5"></circle>
</g>
<path d="M19.0769231,15.4230769 L25.5,15.4230769 L25.5,19.5769231 L19.0769231,19.5769231 L19.0769231,26 L14.9230769,26 L14.9230769,19.5769231 L8.5,19.5769231 L8.5,15.4230769 L14.9230769,15.4230769 L14.9230769,9 L19.0769231,9 L19.0769231,15.4230769 Z" id="Combined-Shape" fill="#38393A"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,14 @@
# Main MetaMask Code
This folder contains the core-code.
Currently, it is organized mostly based on file category, like:
controllers, migrations, lib
## Ongoing Task
Refactor code-structure, thus the subsystems are reflected on the filesystem.
### Examples

@ -96,7 +96,8 @@ function logStreamDisconnectWarning (remoteLabel, err) {
}
function shouldInjectWeb3 () {
return doctypeCheck() && suffixCheck() && documentElementCheck()
return doctypeCheck() && suffixCheck()
&& documentElementCheck() && !blacklistedDomainCheck()
}
function doctypeCheck () {
@ -129,6 +130,20 @@ function documentElementCheck () {
return true
}
function blacklistedDomainCheck () {
var blacklistedDomains = ['uscourts.gov', 'dropbox.com']
var currentUrl = window.location.href
var currentRegex
for (let i = 0; i < blacklistedDomains.length; i++) {
const blacklistedDomain = blacklistedDomains[i].replace('.', '\\.')
currentRegex = new RegExp(`(?:https?:\\/\\/)(?:(?!${blacklistedDomain}).)*$`)
if (!currentRegex.test(currentUrl)) {
return true
}
}
return false
}
function redirectToPhishingWarning () {
console.log('MetaMask - redirecting to phishing warning')
window.location.href = 'https://metamask.io/phishing.html'

@ -0,0 +1,4 @@
# Controllers
Different controllers (in the sense of *VC *View-Controller).

@ -6,7 +6,6 @@ const EthQuery = require('ethjs-query')
const TransactionStateManager = require('../lib/tx-state-manager')
const TxGasUtil = require('../lib/tx-gas-utils')
const PendingTransactionTracker = require('../lib/pending-tx-tracker')
const createId = require('../lib/random-id')
const NonceTracker = require('../lib/nonce-tracker')
/*
@ -92,8 +91,8 @@ module.exports = class TransactionController extends EventEmitter {
this.pendingTxTracker.on('tx:warning', (txMeta) => {
this.txStateManager.updateTx(txMeta, 'transactions/pending-tx-tracker#event: tx:warning')
})
this.pendingTxTracker.on('tx:confirmed', (txId) => this._markNonceDuplicatesDropped(txId))
this.pendingTxTracker.on('tx:failed', this.txStateManager.setTxStatusFailed.bind(this.txStateManager))
this.pendingTxTracker.on('tx:confirmed', this.txStateManager.setTxStatusConfirmed.bind(this.txStateManager))
this.pendingTxTracker.on('tx:block-update', (txMeta, latestBlockNumber) => {
if (!txMeta.firstRetryBlockNumber) {
txMeta.firstRetryBlockNumber = latestBlockNumber
@ -186,14 +185,7 @@ module.exports = class TransactionController extends EventEmitter {
// validate
await this.txGasUtil.validateTxParams(txParams)
// construct txMeta
const txMeta = {
id: createId(),
time: (new Date()).getTime(),
status: 'unapproved',
metamaskNetworkId: this.getNetwork(),
txParams: txParams,
loadingDefaults: true,
}
const txMeta = this.txStateManager.generateTxMeta({txParams})
this.addTx(txMeta)
this.emit('newUnapprovedTx', txMeta)
// add default tx params
@ -215,7 +207,6 @@ module.exports = class TransactionController extends EventEmitter {
const txParams = txMeta.txParams
// ensure value
txMeta.gasPriceSpecified = Boolean(txParams.gasPrice)
txMeta.nonceSpecified = Boolean(txParams.nonce)
let gasPrice = txParams.gasPrice
if (!gasPrice) {
gasPrice = this.getGasPrice ? this.getGasPrice() : await this.query.gasPrice()
@ -226,11 +217,17 @@ module.exports = class TransactionController extends EventEmitter {
return await this.txGasUtil.analyzeGasUsage(txMeta)
}
async retryTransaction (txId) {
this.txStateManager.setTxStatusUnapproved(txId)
const txMeta = this.txStateManager.getTx(txId)
txMeta.lastGasPrice = txMeta.txParams.gasPrice
this.txStateManager.updateTx(txMeta, 'retryTransaction: manual retry')
async retryTransaction (originalTxId) {
const originalTxMeta = this.txStateManager.getTx(originalTxId)
const lastGasPrice = originalTxMeta.txParams.gasPrice
const txMeta = this.txStateManager.generateTxMeta({
txParams: originalTxMeta.txParams,
lastGasPrice,
loadingDefaults: false,
})
this.addTx(txMeta)
this.emit('newUnapprovedTx', txMeta)
return txMeta
}
async updateTransaction (txMeta) {
@ -253,11 +250,9 @@ module.exports = class TransactionController extends EventEmitter {
// wait for a nonce
nonceLock = await this.nonceTracker.getNonceLock(fromAddress)
// add nonce to txParams
const nonce = txMeta.nonceSpecified ? txMeta.txParams.nonce : nonceLock.nextNonce
if (nonce > nonceLock.nextNonce) {
const message = `Specified nonce may not be larger than account's next valid nonce.`
throw new Error(message)
}
// if txMeta has lastGasPrice then it is a retry at same nonce with higher
// gas price transaction and their for the nonce should not be calculated
const nonce = txMeta.lastGasPrice ? txMeta.txParams.nonce : nonceLock.nextNonce
txMeta.txParams.nonce = ethUtil.addHexPrefix(nonce.toString(16))
// add nonce debugging information to txMeta
txMeta.nonceDetails = nonceLock.nonceDetails
@ -314,6 +309,22 @@ module.exports = class TransactionController extends EventEmitter {
// PRIVATE METHODS
//
_markNonceDuplicatesDropped (txId) {
this.txStateManager.setTxStatusConfirmed(txId)
// get the confirmed transactions nonce and from address
const txMeta = this.txStateManager.getTx(txId)
const { nonce, from } = txMeta.txParams
const sameNonceTxs = this.txStateManager.getFilteredTxList({nonce, from})
if (!sameNonceTxs.length) return
// mark all same nonce transactions as dropped and give i a replacedBy hash
sameNonceTxs.forEach((otherTxMeta) => {
if (otherTxMeta.id === txId) return
otherTxMeta.replacedBy = txMeta.hash
this.txStateManager.updateTx(txMeta, 'transactions/pending-tx-tracker#event: tx:confirmed reference to confirmed txHash with same nonce')
this.txStateManager.setTxStatusDropped(otherTxMeta.id)
})
}
_updateMemstore () {
const unapprovedTxs = this.txStateManager.getUnapprovedTxList()
const selectedAddressTxList = this.txStateManager.getFilteredTxList({

@ -1,9 +1,21 @@
const extend = require('xtend')
const EventEmitter = require('events')
const ObservableStore = require('obs-store')
const createId = require('./random-id')
const ethUtil = require('ethereumjs-util')
const txStateHistoryHelper = require('./tx-state-history-helper')
// STATUS METHODS
// statuses:
// - `'unapproved'` the user has not responded
// - `'rejected'` the user has responded no!
// - `'approved'` the user has approved the tx
// - `'signed'` the tx is signed
// - `'submitted'` the tx is sent to a server
// - `'confirmed'` the tx has been included in a block.
// - `'failed'` the tx failed for some reason, included on tx data.
// - `'dropped'` the tx nonce was already used
module.exports = class TransactionStateManager extends EventEmitter {
constructor ({ initState, txHistoryLimit, getNetwork }) {
super()
@ -16,6 +28,16 @@ module.exports = class TransactionStateManager extends EventEmitter {
this.getNetwork = getNetwork
}
generateTxMeta (opts) {
return extend({
id: createId(),
time: (new Date()).getTime(),
status: 'unapproved',
metamaskNetworkId: this.getNetwork(),
loadingDefaults: true,
}, opts)
}
// Returns the number of txs for the current network.
getTxCount () {
return this.getTxList().length
@ -164,16 +186,6 @@ module.exports = class TransactionStateManager extends EventEmitter {
})
}
// STATUS METHODS
// statuses:
// - `'unapproved'` the user has not responded
// - `'rejected'` the user has responded no!
// - `'approved'` the user has approved the tx
// - `'signed'` the tx is signed
// - `'submitted'` the tx is sent to a server
// - `'confirmed'` the tx has been included in a block.
// - `'failed'` the tx failed for some reason, included on tx data.
// get::set status
// should return the status of the tx.
@ -202,7 +214,11 @@ module.exports = class TransactionStateManager extends EventEmitter {
}
// should update the status of the tx to 'submitted'.
// and add a time stamp for when it was called
setTxStatusSubmitted (txId) {
const txMeta = this.getTx(txId)
txMeta.submittedTime = (new Date()).getTime()
this.updateTx(txMeta, 'txStateManager - add submitted time stamp')
this._setTxStatus(txId, 'submitted')
}
@ -211,6 +227,12 @@ module.exports = class TransactionStateManager extends EventEmitter {
this._setTxStatus(txId, 'confirmed')
}
// should update the status dropped
setTxStatusDropped (txId) {
this._setTxStatus(txId, 'dropped')
}
setTxStatusFailed (txId, err) {
const txMeta = this.getTx(txId)
txMeta.err = {

@ -1,3 +1,9 @@
/**
* @file The central metamask controller. Aggregates other controllers and exports an api.
* @copyright Copyright (c) 2018 MetaMask
* @license MIT
*/
const EventEmitter = require('events')
const extend = require('xtend')
const pump = require('pump')
@ -41,7 +47,11 @@ const seedPhraseVerifier = require('./lib/seed-phrase-verifier')
module.exports = class MetamaskController extends EventEmitter {
constructor (opts) {
/**
* @constructor
* @param {Object} opts
*/
constructor (opts) {
super()
this.defaultMaxListeners = 20
@ -223,10 +233,9 @@ module.exports = class MetamaskController extends EventEmitter {
this.infuraController.store.subscribe(sendUpdate)
}
//
// Constructor helpers
//
/**
* Constructor helper: initialize a provider.
*/
initializeProvider () {
const providerOpts = {
static: {
@ -257,6 +266,9 @@ module.exports = class MetamaskController extends EventEmitter {
return providerProxy
}
/**
* Constructor helper: initialize a public config store.
*/
initPublicConfigStore () {
// get init state
const publicConfigStore = new ObservableStore()
@ -278,10 +290,15 @@ module.exports = class MetamaskController extends EventEmitter {
return publicConfigStore
}
//
// State Management
//
//=============================================================================
// EXPOSED TO THE UI SUBSYSTEM
//=============================================================================
/**
* The metamask-state of the various controllers, made available to the UI
*
* @returns {Object} status
*/
getState () {
const wallet = this.configManager.getWallet()
const vault = this.keyringController.store.getState().vault
@ -316,10 +333,11 @@ module.exports = class MetamaskController extends EventEmitter {
)
}
//
// Remote Features
//
/**
* Returns an api-object which is consumed by the UI
*
* @returns {Object}
*/
getApi () {
const keyringController = this.keyringController
const preferencesController = this.preferencesController
@ -400,127 +418,24 @@ module.exports = class MetamaskController extends EventEmitter {
}
}
setupUntrustedCommunication (connectionStream, originDomain) {
// Check if new connection is blacklisted
if (this.blacklistController.checkForPhishing(originDomain)) {
log.debug('MetaMask - sending phishing warning for', originDomain)
this.sendPhishingWarning(connectionStream, originDomain)
return
}
// setup multiplexing
const mux = setupMultiplex(connectionStream)
// connect features
this.setupProviderConnection(mux.createStream('provider'), originDomain)
this.setupPublicConfig(mux.createStream('publicConfig'))
}
setupTrustedCommunication (connectionStream, originDomain) {
// setup multiplexing
const mux = setupMultiplex(connectionStream)
// connect features
this.setupControllerConnection(mux.createStream('controller'))
this.setupProviderConnection(mux.createStream('provider'), originDomain)
}
sendPhishingWarning (connectionStream, hostname) {
const mux = setupMultiplex(connectionStream)
const phishingStream = mux.createStream('phishing')
phishingStream.write({ hostname })
}
setupControllerConnection (outStream) {
const api = this.getApi()
const dnode = Dnode(api)
pump(
outStream,
dnode,
outStream,
(err) => {
if (err) log.error(err)
}
)
dnode.on('remote', (remote) => {
// push updates to popup
const sendUpdate = remote.sendUpdate.bind(remote)
this.on('update', sendUpdate)
})
}
setupProviderConnection (outStream, origin) {
// setup json rpc engine stack
const engine = new RpcEngine()
// create filter polyfill middleware
const filterMiddleware = createFilterMiddleware({
provider: this.provider,
blockTracker: this.provider._blockTracker,
})
engine.push(createOriginMiddleware({ origin }))
engine.push(createLoggerMiddleware({ origin }))
engine.push(filterMiddleware)
engine.push(createProviderMiddleware({ provider: this.provider }))
// setup connection
const providerStream = createEngineStream({ engine })
pump(
outStream,
providerStream,
outStream,
(err) => {
// cleanup filter polyfill middleware
filterMiddleware.destroy()
if (err) log.error(err)
}
)
}
setupPublicConfig (outStream) {
pump(
asStream(this.publicConfigStore),
outStream,
(err) => {
if (err) log.error(err)
}
)
}
privateSendUpdate () {
this.emit('update', this.getState())
}
getGasPrice () {
const { recentBlocksController } = this
const { recentBlocks } = recentBlocksController.store.getState()
// Return 1 gwei if no blocks have been observed:
if (recentBlocks.length === 0) {
return '0x' + GWEI_BN.toString(16)
}
const lowestPrices = recentBlocks.map((block) => {
if (!block.gasPrices || block.gasPrices.length < 1) {
return GWEI_BN
}
return block.gasPrices
.map(hexPrefix => hexPrefix.substr(2))
.map(hex => new BN(hex, 16))
.sort((a, b) => {
return a.gt(b) ? 1 : -1
})[0]
})
.map(number => number.div(GWEI_BN).toNumber())
const percentileNum = percentile(50, lowestPrices)
const percentileNumBn = new BN(percentileNum)
return '0x' + percentileNumBn.mul(GWEI_BN).toString(16)
}
//
// Vault Management
//
//=============================================================================
// VAULT / KEYRING RELATED METHODS
//=============================================================================
/**
* Creates a new Vault(?) and create a new keychain(?)
*
* A vault is ...
*
* A keychain is ...
*
*
* @param {} password
*
* @returns {} vault
*/
async createNewVaultAndKeychain (password) {
const release = await this.createVaultMutex.acquire()
let vault
@ -544,6 +459,11 @@ module.exports = class MetamaskController extends EventEmitter {
return vault
}
/**
* Create a new Vault and restore an existent keychain
* @param {} password
* @param {} seed
*/
async createNewVaultAndRestore (password, seed) {
const release = await this.createVaultMutex.acquire()
try {
@ -557,16 +477,28 @@ module.exports = class MetamaskController extends EventEmitter {
}
}
/**
* Retrieves the first Identiy from the passed Vault and selects the related address
*
* An Identity is ...
*
* @param {} vault
*/
selectFirstIdentity (vault) {
const { identities } = vault
const address = Object.keys(identities)[0]
this.preferencesController.setSelectedAddress(address)
}
//
// ?
// Opinionated Keyring Management
//
/**
* Adds a new account to ...
*
* @returns {} keyState
*/
async addNewAccount () {
const primaryKeyring = this.keyringController.getKeyringsByType('HD Key Tree')[0]
if (!primaryKeyring) {
@ -588,10 +520,12 @@ module.exports = class MetamaskController extends EventEmitter {
return keyState
}
// Adds the current vault's seed words to the UI's state tree.
//
// Used when creating a first vault, to allow confirmation.
// Also used when revealing the seed words in the confirmation view.
/**
* Adds the current vault's seed words to the UI's state tree.
*
* Used when creating a first vault, to allow confirmation.
* Also used when revealing the seed words in the confirmation view.
*/
placeSeedWords (cb) {
this.verifySeedPhrase()
@ -604,10 +538,13 @@ module.exports = class MetamaskController extends EventEmitter {
})
}
// Verifies the current vault's seed words if they can restore the
// accounts belonging to the current vault.
//
// Called when the first account is created and on unlocking the vault.
/**
* Verifies the validity of the current vault's seed phrase.
*
* Validity: seed phrase restores the accounts belonging to the current vault.
*
* Called when the first account is created and on unlocking the vault.
*/
async verifySeedPhrase () {
const primaryKeyring = this.keyringController.getKeyringsByType('HD Key Tree')[0]
@ -632,22 +569,33 @@ module.exports = class MetamaskController extends EventEmitter {
}
}
// ClearSeedWordCache
//
// Removes the primary account's seed words from the UI's state tree,
// ensuring they are only ever available in the background process.
/**
* Remove the primary account seed phrase from the UI's state tree.
*
* The seed phrase remains available in the background process.
*
*/
clearSeedWordCache (cb) {
this.configManager.setSeedWords(null)
cb(null, this.preferencesController.getSelectedAddress())
}
/**
* ?
*/
resetAccount (cb) {
const selectedAddress = this.preferencesController.getSelectedAddress()
this.txController.wipeTransactions(selectedAddress)
cb(null, selectedAddress)
}
/**
* Imports an account ... ?
*
* @param {} strategy
* @param {} args
* @param {} cb
*/
importAccountWithStrategy (strategy, args, cb) {
accountImporter.importAccount(strategy, args)
.then((privateKey) => {
@ -659,11 +607,150 @@ module.exports = class MetamaskController extends EventEmitter {
.catch((reason) => { cb(reason) })
}
// ---------------------------------------------------------------------------
// Identity Management (sign)
//
// Identity Management
//
//
/**
* @param {} msgParams
* @param {} cb
*/
signMessage (msgParams, cb) {
log.info('MetaMaskController - signMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.messageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.messageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
// Prefixed Style Message Signing Methods:
/**
*
* @param {} msgParams
* @param {} cb
*/
approvePersonalMessage (msgParams, cb) {
const msgId = this.personalMessageManager.addUnapprovedMessage(msgParams)
this.sendUpdate()
this.opts.showUnconfirmedMessage()
this.personalMessageManager.once(`${msgId}:finished`, (data) => {
switch (data.status) {
case 'signed':
return cb(null, data.rawSig)
case 'rejected':
return cb(new Error('MetaMask Message Signature: User denied transaction signature.'))
default:
return cb(new Error(`MetaMask Message Signature: Unknown problem: ${JSON.stringify(msgParams)}`))
}
})
}
/**
* @param {} msgParams
*/
signPersonalMessage (msgParams) {
log.info('MetaMaskController - signPersonalMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.personalMessageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signPersonalMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.personalMessageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
/**
* @param {} msgParams
*/
signTypedMessage (msgParams) {
log.info('MetaMaskController - signTypedMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.typedMessageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signTypedMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.typedMessageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
// ---------------------------------------------------------------------------
// Account Restauration
/**
* ?
*
* @param {} migratorOutput
*/
restoreOldVaultAccounts (migratorOutput) {
const { serialized } = migratorOutput
return this.keyringController.restoreKeyring(serialized)
.then(() => migratorOutput)
}
/**
* ?
*
* @param {} migratorOutput
*/
restoreOldLostAccounts (migratorOutput) {
const { lostAccounts } = migratorOutput
if (lostAccounts) {
this.configManager.setLostAccounts(lostAccounts.map(acct => acct.address))
return this.importLostAccounts(migratorOutput)
}
return Promise.resolve(migratorOutput)
}
/**
* Import (lost) Accounts
*
* @param {Object} {lostAccounts} @Array accounts <{ address, privateKey }>
*
* Uses the array's private keys to create a new Simple Key Pair keychain
* and add it to the keyring controller.
*/
importLostAccounts ({ lostAccounts }) {
const privKeys = lostAccounts.map(acct => acct.privateKey)
return this.keyringController.restoreKeyring({
type: 'Simple Key Pair',
data: privKeys,
})
}
//=============================================================================
// END (VAULT / KEYRING RELATED METHODS)
//=============================================================================
//
//=============================================================================
// MESSAGES
//=============================================================================
async retryTransaction (txId, cb) {
await this.txController.retryTransaction(txId)
@ -730,25 +817,6 @@ module.exports = class MetamaskController extends EventEmitter {
})
}
signMessage (msgParams, cb) {
log.info('MetaMaskController - signMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.messageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.messageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
cancelMessage (msgId, cb) {
const messageManager = this.messageManager
messageManager.rejectMsg(msgId)
@ -757,59 +825,6 @@ module.exports = class MetamaskController extends EventEmitter {
}
}
// Prefixed Style Message Signing Methods:
approvePersonalMessage (msgParams, cb) {
const msgId = this.personalMessageManager.addUnapprovedMessage(msgParams)
this.sendUpdate()
this.opts.showUnconfirmedMessage()
this.personalMessageManager.once(`${msgId}:finished`, (data) => {
switch (data.status) {
case 'signed':
return cb(null, data.rawSig)
case 'rejected':
return cb(new Error('MetaMask Message Signature: User denied transaction signature.'))
default:
return cb(new Error(`MetaMask Message Signature: Unknown problem: ${JSON.stringify(msgParams)}`))
}
})
}
signPersonalMessage (msgParams) {
log.info('MetaMaskController - signPersonalMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.personalMessageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signPersonalMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.personalMessageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
signTypedMessage (msgParams) {
log.info('MetaMaskController - signTypedMessage')
const msgId = msgParams.metamaskId
// sets the status op the message to 'approved'
// and removes the metamaskId for signing
return this.typedMessageManager.approveMessage(msgParams)
.then((cleanMsgParams) => {
// signs the message
return this.keyringController.signTypedMessage(cleanMsgParams)
})
.then((rawSig) => {
// tells the listener that the message has been signed
// and can be returned to the dapp
this.typedMessageManager.setMsgStatusSigned(msgId, rawSig)
return this.getState()
})
}
cancelPersonalMessage (msgId, cb) {
const messageManager = this.personalMessageManager
messageManager.rejectMsg(msgId)
@ -844,36 +859,130 @@ module.exports = class MetamaskController extends EventEmitter {
cb()
}
restoreOldVaultAccounts (migratorOutput) {
const { serialized } = migratorOutput
return this.keyringController.restoreKeyring(serialized)
.then(() => migratorOutput)
}
//=============================================================================
// SETUP
//=============================================================================
restoreOldLostAccounts (migratorOutput) {
const { lostAccounts } = migratorOutput
if (lostAccounts) {
this.configManager.setLostAccounts(lostAccounts.map(acct => acct.address))
return this.importLostAccounts(migratorOutput)
setupUntrustedCommunication (connectionStream, originDomain) {
// Check if new connection is blacklisted
if (this.blacklistController.checkForPhishing(originDomain)) {
log.debug('MetaMask - sending phishing warning for', originDomain)
this.sendPhishingWarning(connectionStream, originDomain)
return
}
return Promise.resolve(migratorOutput)
// setup multiplexing
const mux = setupMultiplex(connectionStream)
// connect features
this.setupProviderConnection(mux.createStream('provider'), originDomain)
this.setupPublicConfig(mux.createStream('publicConfig'))
}
// IMPORT LOST ACCOUNTS
// @Object with key lostAccounts: @Array accounts <{ address, privateKey }>
// Uses the array's private keys to create a new Simple Key Pair keychain
// and add it to the keyring controller.
importLostAccounts ({ lostAccounts }) {
const privKeys = lostAccounts.map(acct => acct.privateKey)
return this.keyringController.restoreKeyring({
type: 'Simple Key Pair',
data: privKeys,
setupTrustedCommunication (connectionStream, originDomain) {
// setup multiplexing
const mux = setupMultiplex(connectionStream)
// connect features
this.setupControllerConnection(mux.createStream('controller'))
this.setupProviderConnection(mux.createStream('provider'), originDomain)
}
sendPhishingWarning (connectionStream, hostname) {
const mux = setupMultiplex(connectionStream)
const phishingStream = mux.createStream('phishing')
phishingStream.write({ hostname })
}
setupControllerConnection (outStream) {
const api = this.getApi()
const dnode = Dnode(api)
pump(
outStream,
dnode,
outStream,
(err) => {
if (err) log.error(err)
}
)
dnode.on('remote', (remote) => {
// push updates to popup
const sendUpdate = remote.sendUpdate.bind(remote)
this.on('update', sendUpdate)
})
}
//
// config
//
setupProviderConnection (outStream, origin) {
// setup json rpc engine stack
const engine = new RpcEngine()
// create filter polyfill middleware
const filterMiddleware = createFilterMiddleware({
provider: this.provider,
blockTracker: this.provider._blockTracker,
})
engine.push(createOriginMiddleware({ origin }))
engine.push(createLoggerMiddleware({ origin }))
engine.push(filterMiddleware)
engine.push(createProviderMiddleware({ provider: this.provider }))
// setup connection
const providerStream = createEngineStream({ engine })
pump(
outStream,
providerStream,
outStream,
(err) => {
// cleanup filter polyfill middleware
filterMiddleware.destroy()
if (err) log.error(err)
}
)
}
setupPublicConfig (outStream) {
pump(
asStream(this.publicConfigStore),
outStream,
(err) => {
if (err) log.error(err)
}
)
}
privateSendUpdate () {
this.emit('update', this.getState())
}
getGasPrice () {
const { recentBlocksController } = this
const { recentBlocks } = recentBlocksController.store.getState()
// Return 1 gwei if no blocks have been observed:
if (recentBlocks.length === 0) {
return '0x' + GWEI_BN.toString(16)
}
const lowestPrices = recentBlocks.map((block) => {
if (!block.gasPrices || block.gasPrices.length < 1) {
return GWEI_BN
}
return block.gasPrices
.map(hexPrefix => hexPrefix.substr(2))
.map(hex => new BN(hex, 16))
.sort((a, b) => {
return a.gt(b) ? 1 : -1
})[0]
})
.map(number => number.div(GWEI_BN).toNumber())
const percentileNum = percentile(50, lowestPrices)
const percentileNumBn = new BN(percentileNum)
return '0x' + percentileNumBn.mul(GWEI_BN).toString(16)
}
//=============================================================================
// CONFIG
//=============================================================================
// Log blocks

@ -0,0 +1,5 @@
# Migrations
Data (user data, config files etc.) is migrated from one version to another.
Migrations are called by {} from {} during {}.

@ -0,0 +1,5 @@
# Development
Several files which are needed for developing on(!) MetaMask.
Usually each files contains information about its scope / usage.

@ -116,7 +116,7 @@
"send": {
"gasLimit": "0xea60",
"gasPrice": "0xba43b7400",
"gasTotal": "0xb451dc41b578",
"gasTotal": "0xaa87bee538000",
"tokenBalance": null,
"from": {
"address": "0xc5b8dbac4c1d3f152cdeb400e2313f309c410acb",

@ -116,7 +116,7 @@
"send": {
"gasLimit": "0xea60",
"gasPrice": "0xba43b7400",
"gasTotal": "0xb451dc41b578",
"gasTotal": "0xaa87bee538000",
"tokenBalance": null,
"from": {
"address": "0xc5b8dbac4c1d3f152cdeb400e2313f309c410acb",

@ -0,0 +1,96 @@
////////////////////////////////////////////////////////////////////////////////
//
// Locale verification script
//
// usage:
//
// node app/scripts/verify-locale-strings.js <locale>
//
// will check the given locale against the strings in english
//
////////////////////////////////////////////////////////////////////////////////
var fs = require('fs')
var path = require('path')
console.log('Locale Verification')
var locale = process.argv[2]
if (!locale || locale == '') {
console.log('Must enter a locale as argument. exitting')
process.exit(1)
}
console.log("verifying for locale " + locale)
localeFilePath = path.join(process.cwd(), 'app', '_locales', locale, 'messages.json')
try {
localeObj = JSON.parse(fs.readFileSync(localeFilePath, 'utf8'));
} catch (e) {
if(e.code == 'ENOENT') {
console.log('Locale file not found')
} else {
console.log('Error opening your locale file: ', e)
}
process.exit(1)
}
englishFilePath = path.join(process.cwd(), 'app', '_locales', 'en', 'messages.json')
try {
englishObj = JSON.parse(fs.readFileSync(englishFilePath, 'utf8'));
} catch (e) {
if(e.code == 'ENOENT') {
console.log("English File not found")
} else {
console.log("Error opening english locale file: ", e)
}
process.exit(1)
}
console.log('\tverifying whether all your locale strings are contained in the english one')
var counter = 0
var foundErrorA = false
var notFound = [];
Object.keys(localeObj).forEach(function(key){
if (!englishObj[key]) {
foundErrorA = true
notFound.push(key)
}
counter++
})
if (foundErrorA) {
console.log('\nThe following string(s) is(are) not found in the english locale:')
notFound.forEach(function(key) {
console.log(key)
})
} else {
console.log('\tall ' + counter +' strings declared in your locale were found in the english one')
}
console.log('\n\tverifying whether your locale contains all english strings')
var counter = 0
var foundErrorB = false
var notFound = [];
Object.keys(englishObj).forEach(function(key){
if (!localeObj[key]) {
foundErrorB = true
notFound.push(key)
}
counter++
})
if (foundErrorB) {
console.log('\nThe following string(s) is(are) not found in the your locale:')
notFound.forEach(function(key) {
console.log(key)
})
} else {
console.log('\tall ' + counter +' english strings were found in your locale!')
}
if (!foundErrorA && !foundErrorB) {
console.log('You are good to go')
}

@ -0,0 +1,13 @@
# Documentation
- [How to add custom build to Chrome](./add-to-chrome.md)
- [How to add custom build to Firefox](./add-to-firefox.md)
- [How to develop a live-reloading UI](./ui-dev-mode.md)
- [Publishing Guide](./publishing.md)
- [How to develop an in-browser mocked UI](./ui-mock-mode.md)
- [How to live reload on local dependency changes](./developing-on-deps.md)
- [How to add new networks to the Provider Menu](./adding-new-networks.md)
- [How to manage notices that appear when the app starts up](./notices.md)
- [How to port MetaMask to a new platform](./porting_to_new_environment.md)
- [How to generate a visualization of this repository's development](./development-visualization.md)

@ -1,14 +1,12 @@
## Add Custom Build to Chrome
Open `Settings` > `Extensions`.
Check "Developer mode".
At the top, click `Load Unpacked Extension`.
Navigate to your `metamask-plugin/dist/chrome` folder.
Click `Select`.
* Open `Settings` > `Extensions`.
* Check "Developer mode".
* Alternatively, use the URL `chrome://extensions/` in your address bar
* At the top, click `Load Unpacked Extension`.
* Navigate to your `metamask-plugin/dist/chrome` folder.
* Click `Select`.
* Change to your locale via `chrome://settings/languages`
* Restart the browser and test the plugin in your locale
You now have the plugin, and can click 'inspect views: background plugin' to view its dev console.

@ -14,5 +14,13 @@ That's it! When MetaMask is loaded on a computer with that language set as the s
## Testing
To verify that your translation works, you will need to [build a local copy](https://github.com/MetaMask/metamask-extension#building-locally) of MetaMask.
To automatically see if you are missing any phrases to translate, we have a script you can run (if you know how to use the command line). The script is:
```
node development/verify-locale-strings.js $YOUR_LOCALE
```
Where `$YOUR_LOCALE` is your [locale string](https://r12a.github.io/app-subtags/), i.e. the name of your language folder.
To verify that your translation works in the app, you will need to [build a local copy](https://github.com/MetaMask/metamask-extension#building-locally) of MetaMask. You will need to change your browser language, your operating system language, and restart your browser (sorry it's so much work!).

@ -408,7 +408,11 @@ function bundleTask(opts) {
.pipe(gulpif(debug, sourcemaps.init({ loadMaps: true })))
// Minification
.pipe(gulpif(opts.isBuild, uglify({
mangle: { reserved: [ 'MetamaskInpageProvider' ] },
mangle: { reserved: [ 'MetamaskInpageProvider' ] },
})))
// Transpile to ES5
.pipe(gulpif(opts.isBuild, babel({
presets: ['env']
})))
// writes .map file
.pipe(gulpif(debug, sourcemaps.write('./')))

@ -78,26 +78,28 @@ class BackupPhraseScreen extends Component {
{this.props.seedWords}
</div>
{!isShowingSecret && (
<div className="backup-phrase__secret-blocker">
<div
className="backup-phrase__secret-blocker"
onClick={() => this.setState({ isShowingSecret: true })}
>
<LockIcon width="28px" height="35px" fill="#FFFFFF" />
<button
<div
className="backup-phrase__reveal-button"
onClick={() => this.setState({ isShowingSecret: true })}
>
Click here to reveal secret words
</button>
</div>
</div>
)}
</div>
);
)
}
renderSecretScreen() {
renderSecretScreen () {
const { isShowingSecret } = this.state
return (
<div className="backup-phrase__content-wrapper">
<div>
<div className="backup-phrase__phrase">
<div className="backup-phrase__title">Secret Backup Phrase</div>
<div className="backup-phrase__body-text">
Your secret backup phrase makes it easy to back up and restore your account.
@ -106,17 +108,6 @@ class BackupPhraseScreen extends Component {
WARNING: Never disclose your backup phrase. Anyone with this phrase can take your Ether forever.
</div>
{this.renderSecretWordsContainer()}
<button
className="first-time-flow__button"
onClick={() => isShowingSecret && this.setState({
isShowingSecret: false,
page: BackupPhraseScreen.PAGE.CONFIRM
})}
disabled={!isShowingSecret}
>
Next
</button>
<Breadcrumbs total={3} currentIndex={1} />
</div>
<div className="backup-phrase__tips">
<div className="backup-phrase__tips-text">Tips:</div>
@ -130,6 +121,19 @@ class BackupPhraseScreen extends Component {
Memorize this phrase.
</div>
</div>
<div className="backup-phrase__next-button">
<button
className="first-time-flow__button"
onClick={() => isShowingSecret && this.setState({
isShowingSecret: false,
page: BackupPhraseScreen.PAGE.CONFIRM,
})}
disabled={!isShowingSecret}
>
Next
</button>
<Breadcrumbs total={3} currentIndex={1} />
</div>
</div>
)
}
@ -231,10 +235,14 @@ class BackupPhraseScreen extends Component {
return this.props.isLoading
? <LoadingScreen loadingMessage="Creating your new account" />
: (
<div className="backup-phrase">
{this.renderBack()}
<Identicon address={this.props.address} diameter={70} />
{this.renderContent()}
<div className="first-view-main-wrapper">
<div className="first-view-main">
<div className="backup-phrase">
{this.renderBack()}
<Identicon address={this.props.address} diameter={70} />
{this.renderContent()}
</div>
</div>
</div>
)
}

@ -79,70 +79,73 @@ class ImportSeedPhraseScreen extends Component {
const { warning } = this.props
const importDisabled = warning || !seedPhrase || !password || !confirmPassword
return (
<div className="import-account">
<a
className="import-account__back-button"
onClick={e => {
e.preventDefault()
this.props.back()
}}
href="#"
>
{`< Back`}
</a>
<div className="import-account__title">
Import an Account with Seed Phrase
<div className="first-view-main-wrapper">
<div className="first-view-main">
<div className="import-account">
<a
className="import-account__back-button"
onClick={e => {
e.preventDefault()
this.props.back()
}}
href="#"
>
{`< Back`}
</a>
<div className="import-account__title">
Import an Account with Seed Phrase
</div>
<div className="import-account__selector-label">
Enter your secret twelve word phrase here to restore your vault.
</div>
<div className="import-account__input-wrapper">
<label className="import-account__input-label">Wallet Seed</label>
<textarea
className="import-account__secret-phrase"
onChange={e => this.onChange({seedPhrase: e.target.value})}
value={this.state.seedPhrase}
placeholder="Separate each word with a single space"
/>
</div>
<span
className="error"
>
{this.props.warning}
</span>
<div className="import-account__input-wrapper">
<label className="import-account__input-label">New Password</label>
<input
className="first-time-flow__input"
type="password"
placeholder="New Password (min 8 characters)"
onChange={e => this.onChange({password: e.target.value})}
/>
</div>
<div className="import-account__input-wrapper">
<label
className={classnames('import-account__input-label', {
'import-account__input-label__disabled': password.length < 8,
})}
>Confirm Password</label>
<input
className={classnames('first-time-flow__input', {
'first-time-flow__input__disabled': password.length < 8,
})}
type="password"
placeholder="Confirm Password"
onChange={e => this.onChange({confirmPassword: e.target.value})}
disabled={password.length < 8}
/>
</div>
<button
className="first-time-flow__button"
onClick={() => !importDisabled && this.onClick()}
disabled={importDisabled}
>
Import
</button>
</div>
</div>
<div className="import-account__selector-label">
Enter your secret twelve word phrase here to restore your vault.
</div>
<div className="import-account__input-wrapper">
<label className="import-account__input-label">Wallet Seed</label>
<textarea
className="import-account__secret-phrase"
onChange={e => this.onChange({seedPhrase: e.target.value})}
value={this.state.seedPhrase}
placeholder="Separate each word with a single space"
/>
</div>
<span
className="error"
>
{this.props.warning}
</span>
<div className="import-account__input-wrapper">
<label className="import-account__input-label">New Password</label>
<input
className="first-time-flow__input"
type="password"
placeholder="New Password (min 8 characters)"
onChange={e => this.onChange({password: e.target.value})}
/>
</div>
<div className="import-account__input-wrapper">
<label
className="import-account__input-label"
className={classnames('import-account__input-label', {
'import-account__input-label__disabled': password.length < 8,
})}
>Confirm Password</label>
<input
className={classnames('first-time-flow__input', {
'first-time-flow__input__disabled': password.length < 8,
})}
type="password"
placeholder="Confirm Password"
onChange={e => this.onChange({confirmPassword: e.target.value})}
disabled={password.length < 8}
/>
</div>
<button
className="first-time-flow__button"
onClick={() => !importDisabled && this.onClick()}
disabled={importDisabled}
>
Import
</button>
</div>
)
}

@ -17,12 +17,34 @@
font-family: Roboto;
}
.alpha-warning__container {
display: flex;
justify-content: center;
background: #f7861c;
}
.alpha-warning,
.alpha-warning-welcome-screen {
background: #f7861c;
color: #fff;
line-height: 2em;
padding-left: 10vw;
}
@media screen and (min-width: 576px) {
.alpha-warning {
width: 85vw;
}
}
@media screen and (min-width: 769px) {
.alpha-warning {
width: 80vw;
}
}
@media screen and (min-width: 1281px) {
.alpha-warning {
width: 62vw;
}
}
.alpha-warning-welcome-screen {
@ -33,26 +55,22 @@
.first-view-main-wrapper {
display: flex;
width: 100%;
padding-left: 10vw;
height: 100%;
justify-content: center;
padding: 0 10px;
}
.first-view-main,
.first-view-main__mascara {
display: flex;
flex-direction: row-reverse;
justify-content: center;
flex-direction: row;
justify-content: flex-start;
}
.first-view-main__mascara {
justify-content: space-between;
}
@media screen and (max-width: 575px) {
.first-view-main-wrapper {
padding: 0;
}
}
@media screen and (min-width: 1281px) {
.first-view-main {
width: 62vw;
@ -83,12 +101,8 @@
.buy-ether {
display: flex;
flex-flow: column nowrap;
margin: 67px 0 50px;
max-width: 35rem;
}
.create-password {
margin: 67px 0 50px;
margin: 60px 0 30px 0;
position: relative;
}
.import-account {
@ -133,10 +147,6 @@
margin-top: 12px;
}
.first-view-main .create-password {
margin-top: 0px;
}
.mascara-info {
margin-top: 0px;
width: 100%;
@ -212,7 +222,7 @@
}
.backup-phrase {
max-width: 100%;
width: 100%;
}
.create-password__title,
@ -298,7 +308,18 @@
.backup-phrase__content-wrapper {
display: flex;
flex: row nowrap;
flex-flow: row wrap;
justify-content: space-between;
}
.backup-phrase__phrase {
flex-grow: .5;
min-width: 0;
}
.backup-phrase__next-button {
flex-grow: 1;
width: 100%;
}
.backup-phrase__body-text {
@ -306,8 +327,10 @@
}
.backup-phrase__tips {
margin: 40px 85px;
margin-top: 40px;
width: 285px;
flex-grow: .5;
min-width: 0;
}
.backup-phrase__tips-text {
@ -315,6 +338,22 @@
font-size: 16px;
line-height: 23px;
font-family: Roboto;
min-width: 0;
}
@media only screen and (max-width: 768px) {
.backup-phrase__content-wrapper {
flex-direction: column;
}
.backup-phrase__phrase {
flex: 1 0 auto;
}
.backup-phrase__tips {
width: 100%;
flex: 1 0 auto;
}
}
.backup-phrase__secret {
@ -371,13 +410,17 @@
}
.backup-phrase__back-button,
.backup-phrase__back-button:hover,
.import-account__back-button,
.import-account__back-button:hover {
.import-account__back-button {
margin-bottom: 18px;
color: #22232C;
color: #22232c;
font-size: 16px;
line-height: 21px;
position: absolute;
top: -25px;
}
.backup-phrase__back-button {
top: -30px;
}
button.backup-phrase__reveal-button:hover {

@ -63,26 +63,32 @@ class NoticeScreen extends Component {
return (
isLoading
? <LoadingScreen />
: <div
className="tou"
onScroll={this.onScroll}
>
<Identicon address={address} diameter={70} />
<div className="tou__title">{title}</div>
<Markdown
className="tou__body markdown"
source={body}
skipHtml
/>
<button
className="first-time-flow__button"
onClick={atBottom && this.acceptTerms}
disabled={!atBottom}
>
Accept
</button>
<Breadcrumbs total={3} currentIndex={2} />
</div>
: (
<div className="first-view-main-wrapper">
<div className="first-view-main">
<div
className="tou"
onScroll={this.onScroll}
>
<Identicon address={address} diameter={70} />
<div className="tou__title">{title}</div>
<Markdown
className="tou__body markdown"
source={body}
skipHtml
/>
<button
className="first-time-flow__button"
onClick={atBottom && this.acceptTerms}
disabled={!atBottom}
>
Accept
</button>
<Breadcrumbs total={3} currentIndex={2} />
</div>
</div>
</div>
)
)
}
}

@ -12,22 +12,26 @@ class UniqueImageScreen extends Component {
render () {
return (
<div className="unique-image">
<Identicon address={this.props.address} diameter={70} />
<div className="unique-image__title">Your unique account image</div>
<div className="unique-image__body-text">
This image was programmatically generated for you by your new account number.
<div className="first-view-main-wrapper">
<div className="first-view-main">
<div className="unique-image">
<Identicon address={this.props.address} diameter={70} />
<div className="unique-image__title">Your unique account image</div>
<div className="unique-image__body-text">
This image was programmatically generated for you by your new account number.
</div>
<div className="unique-image__body-text">
Youll see this image everytime you need to confirm a transaction.
</div>
<button
className="first-time-flow__button"
onClick={this.props.next}
>
Next
</button>
<Breadcrumbs total={3} currentIndex={1} />
</div>
</div>
<div className="unique-image__body-text">
Youll see this image everytime you need to confirm a transaction.
</div>
<button
className="first-time-flow__button"
onClick={this.props.next}
>
Next
</button>
<Breadcrumbs total={3} currentIndex={1} />
</div>
)
}

@ -0,0 +1,5 @@
# Notices
Those notices are of legal nature. They are displayed to the users of MetaMask.
Any changes or additions must be reviewed by the product management.

@ -29,9 +29,16 @@ function TransactionListItem () {
}
TransactionListItem.prototype.showRetryButton = function () {
const { transaction = {} } = this.props
const { status, time } = transaction
return status === 'submitted' && Date.now() - time > 30000
const { transaction = {}, transactions } = this.props
const { status, submittedTime, txParams } = transaction
const currentNonce = txParams.nonce
const currentNonceTxs = transactions.filter(tx => tx.txParams.nonce === currentNonce)
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted')
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[0]
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce
&& lastSubmittedTxWithCurrentNonce.id === transaction.id
return currentTxIsLatestWithNonce && Date.now() - submittedTime > 30000
}
TransactionListItem.prototype.render = function () {
@ -201,6 +208,11 @@ function formatDate (date) {
function renderErrorOrWarning (transaction) {
const { status, err, warning } = transaction
// show dropped
if (status === 'dropped') {
return h('span.dropped', ' (Dropped)')
}
// show rejected
if (status === 'rejected') {
return h('span.error', ' (Rejected)')

@ -62,7 +62,7 @@ TransactionList.prototype.render = function () {
}
return h(TransactionListItem, {
transaction, i, network, key,
conversionRate,
conversionRate, transactions,
showTx: (txId) => {
this.props.viewPendingTx(txId)
},

@ -247,6 +247,10 @@ app sections
color: #FFAE00;
}
.dropped {
color: #6195ED;
}
.lock {
width: 50px;
height: 50px;

10
package-lock.json generated

@ -3942,6 +3942,16 @@
"resolved": "https://registry.npmjs.org/debounce/-/debounce-1.1.0.tgz",
"integrity": "sha512-ZQVKfRVlwRfD150ndzEK8M90ABT+Y/JQKs4Y7U4MXdpuoUkkrr4DwKbVux3YjylA5bUMUj0Nc3pMxPJX6N2QQQ=="
},
"debounce-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/debounce-stream/-/debounce-stream-2.0.0.tgz",
"integrity": "sha1-HjNADM/wFavY7DMGYaVitoQQsI8=",
"requires": {
"debounce": "1.1.0",
"duplexer": "0.1.1",
"through": "2.3.8"
}
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",

@ -10,9 +10,10 @@
"mock": "beefy development/mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
"mascara": "gulp build && cross-env METAMASK_DEBUG=true node ./mascara/example/server",
"dist": "npm run dist:clear && npm install && gulp dist",
"dist": "npm run dist:clear && npm install && gulp dist && npm run test:es5",
"dist:clear": "rm -rf node_modules/eth-contract-metadata && rm -rf node_modules/eth-phishing-detect",
"test": "npm run lint && npm run test:coverage && npm run test:integration",
"test:es5": "es-check es5 ./dist/**/*.js",
"test:unit": "cross-env METAMASK_ENV=test mocha --exit --require babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"",
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
@ -26,7 +27,7 @@
"test:flat:build:states": "node development/genStates.js",
"test:flat:build:ui": "npm run test:flat:build:states && browserify ./development/mock-dev.js -o ./development/bundle.js",
"test:mascara": "npm run test:mascara:build && karma start test/mascara.conf.js",
"test:mascara:build": "mkdir -p dist/mascara && npm run test:mascara:build:ui && npm run test:mascara:build:background && npm run test:mascara:build:tests",
"test:mascara:build": "mkdirp dist/mascara && npm run test:mascara:build:ui && npm run test:mascara:build:background && npm run test:mascara:build:tests",
"test:mascara:build:ui": "browserify mascara/test/test-ui.js -o dist/mascara/ui.js",
"test:mascara:build:background": "browserify mascara/src/background.js -o dist/mascara/background.js",
"test:mascara:build:tests": "browserify test/integration/lib/first-time.js -o dist/mascara/tests.js",
@ -202,6 +203,7 @@
"envify": "^4.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.5",
"es-check": "^2.0.2",
"eslint-plugin-chai": "0.0.1",
"eslint-plugin-mocha": "^4.9.0",
"eslint-plugin-react": "^7.4.0",

@ -1,4 +1,4 @@
const reactTriggerChange = require('react-trigger-change')
const reactTriggerChange = require('../../lib/react-trigger-change')
const {
timeout,
queryAsync,
@ -93,7 +93,7 @@ async function runSendFlowTest(assert, done) {
'send gas field should show estimated gas total converted to USD'
)
const sendGasOpenCustomizeModalButton = await queryAsync($, '.send-v2__sliders-icon-container')
const sendGasOpenCustomizeModalButton = await queryAsync($, '.sliders-icon-container')
sendGasOpenCustomizeModalButton[0].click()
const customizeGasModal = await queryAsync($, '.send-v2__customize-gas')
@ -128,19 +128,19 @@ async function runSendFlowTest(assert, done) {
selectState.val('send edit')
reactTriggerChange(selectState[0])
const confirmFromName = (await queryAsync($, '.confirm-screen-account-name')).first()
const confirmFromName = (await queryAsync($, '.sender-to-recipient__sender-name')).first()
assert.equal(confirmFromName[0].textContent, 'Send Account 2', 'confirm screen should show correct from name')
const confirmToName = (await queryAsync($, '.confirm-screen-account-name')).last()
const confirmToName = (await queryAsync($, '.sender-to-recipient__recipient-name')).last()
assert.equal(confirmToName[0].textContent, 'Send Account 3', 'confirm screen should show correct to name')
const confirmScreenRows = await queryAsync($, '.confirm-screen-rows')
const confirmScreenGas = confirmScreenRows.find('.confirm-screen-row-info')[2]
assert.equal(confirmScreenGas.textContent, '3.6 USD', 'confirm screen should show correct gas')
const confirmScreenTotal = confirmScreenRows.find('.confirm-screen-row-info')[3]
const confirmScreenGas = confirmScreenRows.find('.currency-display__converted-value')[0]
assert.equal(confirmScreenGas.textContent, '3.60 USD', 'confirm screen should show correct gas')
const confirmScreenTotal = confirmScreenRows.find('.confirm-screen-row-info')[2]
assert.equal(confirmScreenTotal.textContent, '2405.36 USD', 'confirm screen should show correct total')
const confirmScreenBackButton = await queryAsync($, '.confirm-screen-back-button')
const confirmScreenBackButton = await queryAsync($, '.page-container__back-button')
confirmScreenBackButton[0].click()
const sendFromFieldItemInEdit = await queryAsync($, '.account-list-item')
@ -167,7 +167,7 @@ async function runSendFlowTest(assert, done) {
// TODO: Need a way to mock background so that we can test correct transition from editing to confirm
selectState.val('confirm new ui')
reactTriggerChange(selectState[0])
const confirmScreenConfirmButton = await queryAsync($, '.confirm-screen-confirm-button')
const confirmScreenConfirmButton = await queryAsync($, '.btn-confirm.page-container__footer-button')
console.log(`+++++++++++++++++++++++++++++++= confirmScreenConfirmButton[0]`, confirmScreenConfirmButton[0]);
confirmScreenConfirmButton[0].click()

@ -0,0 +1,161 @@
// Trigger React's synthetic change events on input, textarea and select elements
// https://github.com/vitalyq/react-trigger-change
/******************IMPORTANT NOTE******************/
/* This file is a modification of the */
/* 'react-trigger-change' library linked above. */
/* That library breaks when 'onFocus' events are */
/* added to components under test because it */
/* dispatches focus events to ensure changes are */
/* triggered in some versions of IE. */
/* This modification removes the accomodations */
/* 'react-trigger-change' makes for IE to ensure */
/* our tests can pass in chrome and firefox. */
/**************************************************/
'use strict';
// Constants and functions are declared inside the closure.
// In this way, reactTriggerChange can be passed directly to executeScript in Selenium.
module.exports = function reactTriggerChange(node) {
var supportedInputTypes = {
color: true,
date: true,
datetime: true,
'datetime-local': true,
email: true,
month: true,
number: true,
password: true,
range: true,
search: true,
tel: true,
text: true,
time: true,
url: true,
week: true
};
var nodeName = node.nodeName.toLowerCase();
var type = node.type;
var event;
var descriptor;
var initialValue;
var initialChecked;
var initialCheckedRadio;
// Do not try to delete non-configurable properties.
// Value and checked properties on DOM elements are non-configurable in PhantomJS.
function deletePropertySafe(elem, prop) {
var desc = Object.getOwnPropertyDescriptor(elem, prop);
if (desc && desc.configurable) {
delete elem[prop];
}
}
function getCheckedRadio(radio) {
var name = radio.name;
var radios;
var i;
if (name) {
radios = document.querySelectorAll('input[type="radio"][name="' + name + '"]');
for (i = 0; i < radios.length; i += 1) {
if (radios[i].checked) {
return radios[i] !== radio ? radios[i] : null;
}
}
}
return null;
}
function preventChecking(e) {
e.preventDefault();
if (!initialChecked) {
e.target.checked = false;
}
if (initialCheckedRadio) {
initialCheckedRadio.checked = true;
}
}
if (nodeName === 'select' ||
(nodeName === 'input' && type === 'file')) {
// IE9-IE11, non-IE
// Dispatch change.
event = document.createEvent('HTMLEvents');
event.initEvent('change', true, false);
node.dispatchEvent(event);
} else if ((nodeName === 'input' && supportedInputTypes[type]) ||
nodeName === 'textarea') {
// React 16
// Cache artificial value property descriptor.
// Property doesn't exist in React <16, descriptor is undefined.
descriptor = Object.getOwnPropertyDescriptor(node, 'value');
// Update inputValueTracking cached value.
// Remove artificial value property.
// Restore initial value to trigger event with it.
initialValue = node.value;
node.value = initialValue + '#';
deletePropertySafe(node, 'value');
node.value = initialValue;
// React 0.14: IE10-IE11, non-IE
// React 15: non-IE
// React 16: IE10-IE11, non-IE
event = document.createEvent('HTMLEvents');
event.initEvent('input', true, false);
node.dispatchEvent(event);
// React 16
// Restore artificial value property descriptor.
if (descriptor) {
Object.defineProperty(node, 'value', descriptor);
}
} else if (nodeName === 'input' && type === 'checkbox') {
// Invert inputValueTracking cached value.
node.checked = !node.checked;
// Dispatch click.
// Click event inverts checked value.
event = document.createEvent('MouseEvents');
event.initEvent('click', true, true);
node.dispatchEvent(event);
} else if (nodeName === 'input' && type === 'radio') {
// Cache initial checked value.
initialChecked = node.checked;
// Find and cache initially checked radio in the group.
initialCheckedRadio = getCheckedRadio(node);
// React 16
// Cache property descriptor.
// Invert inputValueTracking cached value.
// Remove artificial checked property.
// Restore initial value, otherwise preventDefault will eventually revert the value.
descriptor = Object.getOwnPropertyDescriptor(node, 'checked');
node.checked = !initialChecked;
deletePropertySafe(node, 'checked');
node.checked = initialChecked;
// Prevent toggling during event capturing phase.
// Set checked value to false if initialChecked is false,
// otherwise next listeners will see true.
// Restore initially checked radio in the group.
node.addEventListener('click', preventChecking, true);
// Dispatch click.
// Click event inverts checked value.
event = document.createEvent('MouseEvents');
event.initEvent('click', true, true);
node.dispatchEvent(event);
// Remove listener to stop further change prevention.
node.removeEventListener('click', preventChecking, true);
// React 16
// Restore artificial checked property descriptor.
if (descriptor) {
Object.defineProperty(node, 'checked', descriptor);
}
}
};

@ -1,5 +1,5 @@
var assert = require('assert')
var BinaryRenderer = require('../../../ui/app/components/binary-renderer')
var BinaryRenderer = require('../../../old-ui/app/components/binary-renderer')
describe('BinaryRenderer', function () {
let binaryRenderer

@ -6,7 +6,7 @@ const ReactTestUtils = require('react-addons-test-utils')
const ethUtil = require('ethereumjs-util')
const BN = ethUtil.BN
var BnInput = require('../../../ui/app/components/bn-as-decimal-input')
var BnInput = require('../../../old-ui/app/components/bn-as-decimal-input')
describe('BnInput', function () {
it('can tolerate a gas decimal number at a high precision', function (done) {

@ -2,7 +2,7 @@ var assert = require('assert')
var sinon = require('sinon')
var path = require('path')
var contractNamer = require(path.join(__dirname, '..', '..', 'ui', 'lib', 'contract-namer.js'))
var contractNamer = require(path.join(__dirname, '..', '..', 'old-ui', 'lib', 'contract-namer.js'))
describe('contractNamer', function () {
beforeEach(function () {

@ -392,6 +392,49 @@ describe('Transaction Controller', function () {
})
})
describe('#retryTransaction', function () {
it('should create a new txMeta with the same txParams as the original one', function (done) {
let txParams = {
nonce: '0x00',
from: '0xB09d8505E1F4EF1CeA089D47094f5DD3464083d4',
to: '0xB09d8505E1F4EF1CeA089D47094f5DD3464083d4',
data: '0x0',
}
txController.txStateManager._saveTxList([
{ id: 1, status: 'submitted', metamaskNetworkId: currentNetworkId, txParams },
])
txController.retryTransaction(1)
.then((txMeta) => {
assert.equal(txMeta.txParams.nonce, txParams.nonce, 'nonce should be the same')
assert.equal(txMeta.txParams.from, txParams.from, 'from should be the same')
assert.equal(txMeta.txParams.to, txParams.to, 'to should be the same')
assert.equal(txMeta.txParams.data, txParams.data, 'data should be the same')
assert.ok(('lastGasPrice' in txMeta), 'should have the key `lastGasPrice`')
assert.equal(txController.txStateManager.getTxList().length, 2)
done()
}).catch(done)
})
})
describe('#_markNonceDuplicatesDropped', function () {
it('should mark all nonce duplicates as dropped without marking the confirmed transaction as dropped', function () {
txController.txStateManager._saveTxList([
{ id: 1, status: 'confirmed', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 2, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 3, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 4, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 5, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 6, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
{ id: 7, status: 'submitted', metamaskNetworkId: currentNetworkId, history: [{}], txParams: { nonce: '0x01' } },
])
txController._markNonceDuplicatesDropped(1)
const confirmedTx = txController.txStateManager.getTx(1)
const droppedTxs = txController.txStateManager.getFilteredTxList({ nonce: '0x01', status: 'dropped' })
assert.equal(confirmedTx.status, 'confirmed', 'the confirmedTx should remain confirmed')
assert.equal(droppedTxs.length, 6, 'their should be 6 dropped txs')
})
})
describe('#getPendingTransactions', function () {
beforeEach(function () {
@ -401,7 +444,7 @@ describe('Transaction Controller', function () {
{ id: 3, status: 'approved', metamaskNetworkId: currentNetworkId, txParams: {} },
{ id: 4, status: 'signed', metamaskNetworkId: currentNetworkId, txParams: {} },
{ id: 5, status: 'submitted', metamaskNetworkId: currentNetworkId, txParams: {} },
{ id: 6, status: 'confimed', metamaskNetworkId: currentNetworkId, txParams: {} },
{ id: 6, status: 'confirmed', metamaskNetworkId: currentNetworkId, txParams: {} },
{ id: 7, status: 'failed', metamaskNetworkId: currentNetworkId, txParams: {} },
])
})

@ -1,117 +0,0 @@
const inherits = require('util').inherits
const extend = require('xtend')
const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const actions = require('./actions')
const valuesFor = require('./util').valuesFor
const TransactionList = require('./components/transaction-list')
const ExportAccountView = require('./components/account-export')
const TabBar = require('./components/tab-bar')
const TokenList = require('./components/token-list')
module.exports = connect(mapStateToProps)(AccountDetailScreen)
function mapStateToProps (state) {
return {
metamask: state.metamask,
identities: state.metamask.identities,
accounts: state.metamask.accounts,
address: state.metamask.selectedAddress,
accountDetail: state.appState.accountDetail,
network: state.metamask.network,
unapprovedMsgs: valuesFor(state.metamask.unapprovedMsgs),
shapeShiftTxList: state.metamask.shapeShiftTxList,
transactions: state.metamask.selectedAddressTxList || [],
conversionRate: state.metamask.conversionRate,
currentCurrency: state.metamask.currentCurrency,
currentAccountTab: state.metamask.currentAccountTab,
tokens: state.metamask.tokens,
computedBalances: state.metamask.computedBalances,
}
}
inherits(AccountDetailScreen, Component)
function AccountDetailScreen () {
Component.call(this)
}
// Note: This component is no longer used. Leaving the file for reference:
// - structuring routing for add token
// - state required for TxList
// Delete file when those features are complete
AccountDetailScreen.prototype.render = function () {}
AccountDetailScreen.prototype.subview = function () {
var subview
try {
subview = this.props.accountDetail.subview
} catch (e) {
subview = null
}
switch (subview) {
case 'transactions':
return this.tabSections()
case 'export':
var state = extend({key: 'export'}, this.props)
return h(ExportAccountView, state)
default:
return this.tabSections()
}
}
AccountDetailScreen.prototype.tabSections = function () {
const { currentAccountTab } = this.props
return h('section.tabSection.full-flex-height.grow-tenx', [
h(TabBar, {
tabs: [
{ content: 'Sent', key: 'history' },
{ content: 'Tokens', key: 'tokens' },
],
defaultTab: currentAccountTab || 'history',
tabSelected: (key) => {
this.props.dispatch(actions.setCurrentAccountTab(key))
},
}),
this.tabSwitchView(),
])
}
AccountDetailScreen.prototype.tabSwitchView = function () {
const props = this.props
const { address, network } = props
const { currentAccountTab, tokens } = this.props
switch (currentAccountTab) {
case 'tokens':
return h(TokenList, {
userAddress: address,
network,
tokens,
addToken: () => this.props.dispatch(actions.showAddTokenPage()),
})
default:
return this.transactionList()
}
}
AccountDetailScreen.prototype.transactionList = function () {
const {transactions, unapprovedMsgs, address,
network, shapeShiftTxList, conversionRate } = this.props
return h(TransactionList, {
transactions: transactions.sort((a, b) => b.time - a.time),
network,
unapprovedMsgs,
conversionRate,
address,
shapeShiftTxList,
viewPendingTx: (txId) => {
this.props.dispatch(actions.viewPendingTx(txId))
},
})
}

@ -37,7 +37,7 @@ AccountImportSubview.prototype.render = function () {
h('div.new-account-import-form', [
h('.new-account-import-disclaimer', [
h('span', 'Imported accounts will not be associated with your originally created MetaMask account seedphrase. Learn more about imported accounts '),
h('span', t('importAccountMsg')),
h('span', {
style: {
cursor: 'pointer',
@ -48,12 +48,12 @@ AccountImportSubview.prototype.render = function () {
url: 'https://metamask.helpscoutdocs.com/article/17-what-are-loose-accounts',
})
},
}, 'here'),
}, t('here')),
]),
h('div.new-account-import-form__select-section', [
h('div.new-account-import-form__select-label', 'Select Type'),
h('div.new-account-import-form__select-label', t('selectType')),
h(Select, {
className: 'new-account-import-form__select',

@ -84,7 +84,7 @@ class JsonImportSubview extends Component {
const state = this.state
if (!state) {
const message = 'You must select a valid file to import.'
const message = t('validFileImport')
return this.props.displayWarning(message)
}

@ -1278,8 +1278,10 @@ function retryTransaction (txId) {
if (err) {
return dispatch(actions.displayWarning(err.message))
}
const { selectedAddressTxList } = newState
const { id: newTxId } = selectedAddressTxList[selectedAddressTxList.length - 1]
dispatch(actions.updateMetamaskState(newState))
dispatch(actions.viewPendingTx(txId))
dispatch(actions.viewPendingTx(newTxId))
})
}
}

@ -26,6 +26,7 @@ const fuse = new Fuse(contractList, {
const actions = require('./actions')
const ethUtil = require('ethereumjs-util')
const { tokenInfoGetter } = require('./token-util')
const t = require('../i18n')
const emptyAddr = '0x0000000000000000000000000000000000000000'
@ -139,28 +140,28 @@ AddTokenScreen.prototype.validate = function () {
if (customAddress) {
const validAddress = ethUtil.isValidAddress(customAddress)
if (!validAddress) {
errors.customAddress = 'Address is invalid. '
errors.customAddress = t('invalidAddress')
}
const validDecimals = customDecimals !== null && customDecimals >= 0 && customDecimals < 36
if (!validDecimals) {
errors.customDecimals = 'Decimals must be at least 0, and not over 36.'
errors.customDecimals = t('decimalsMustZerotoTen')
}
const symbolLen = customSymbol.trim().length
const validSymbol = symbolLen > 0 && symbolLen < 10
if (!validSymbol) {
errors.customSymbol = 'Symbol must be between 0 and 10 characters.'
errors.customSymbol = t('symbolBetweenZeroTen')
}
const ownAddress = identitiesList.includes(standardAddress)
if (ownAddress) {
errors.customAddress = 'Personal address detected. Input the token contract address.'
errors.customAddress = t('personalAddressDetected')
}
const tokenAlreadyAdded = this.checkExistingAddresses(customAddress)
if (tokenAlreadyAdded) {
errors.customAddress = 'Token has already been added.'
errors.customAddress = t('tokenAlreadyAdded')
}
} else if (
Object.entries(selectedTokens)
@ -168,7 +169,7 @@ AddTokenScreen.prototype.validate = function () {
isEmpty && !isSelected
), true)
) {
errors.tokenSelector = 'Must select at least 1 token.'
errors.tokenSelector = t('mustSelectOne')
}
return {
@ -198,7 +199,7 @@ AddTokenScreen.prototype.renderCustomForm = function () {
'add-token__add-custom-field--error': errors.customAddress,
}),
}, [
h('div.add-token__add-custom-label', 'Token Address'),
h('div.add-token__add-custom-label', t('tokenAddress')),
h('input.add-token__add-custom-input', {
type: 'text',
onChange: this.tokenAddressDidChange,
@ -211,7 +212,7 @@ AddTokenScreen.prototype.renderCustomForm = function () {
'add-token__add-custom-field--error': errors.customSymbol,
}),
}, [
h('div.add-token__add-custom-label', 'Token Symbol'),
h('div.add-token__add-custom-label', t('tokenSymbol')),
h('input.add-token__add-custom-input', {
type: 'text',
onChange: this.tokenSymbolDidChange,
@ -225,7 +226,7 @@ AddTokenScreen.prototype.renderCustomForm = function () {
'add-token__add-custom-field--error': errors.customDecimals,
}),
}, [
h('div.add-token__add-custom-label', 'Decimals of Precision'),
h('div.add-token__add-custom-label', t('decimal')),
h('input.add-token__add-custom-input', {
type: 'number',
onChange: this.tokenDecimalsDidChange,
@ -299,11 +300,11 @@ AddTokenScreen.prototype.renderConfirmation = function () {
h('div.add-token', [
h('div.add-token__wrapper', [
h('div.add-token__title-container.add-token__confirmation-title', [
h('div.add-token__title', 'Add Token'),
h('div.add-token__description', 'Would you like to add these tokens?'),
h('div.add-token__title', t('addToken')),
h('div.add-token__description', t('likeToAddTokens')),
]),
h('div.add-token__content-container.add-token__confirmation-content', [
h('div.add-token__description.add-token__confirmation-description', 'Your balances'),
h('div.add-token__description.add-token__confirmation-description', t('balances')),
h('div.add-token__confirmation-token-list',
Object.entries(tokens)
.map(([ address, token ]) => (
@ -322,10 +323,10 @@ AddTokenScreen.prototype.renderConfirmation = function () {
h('div.add-token__buttons', [
h('button.btn-cancel.add-token__button', {
onClick: () => this.setState({ isShowingConfirmation: false }),
}, 'Back'),
}, t('back')),
h('button.btn-clear.add-token__button', {
onClick: () => addTokens(tokens).then(goHome),
}, 'Add Tokens'),
}, t('addTokens')),
]),
])
)
@ -341,15 +342,15 @@ AddTokenScreen.prototype.render = function () {
h('div.add-token', [
h('div.add-token__wrapper', [
h('div.add-token__title-container', [
h('div.add-token__title', 'Add Token'),
h('div.add-token__description', 'Keep track of the tokens you’ve bought with your MetaMask account. If you bought tokens using a different account, those tokens will not appear here.'),
h('div.add-token__description', 'Search for tokens or select from our list of popular tokens.'),
h('div.add-token__title', t('addToken')),
h('div.add-token__description', t('tokenWarning1')),
h('div.add-token__description', t('tokenSelection')),
]),
h('div.add-token__content-container', [
h('div.add-token__input-container', [
h('input.add-token__input', {
type: 'text',
placeholder: 'Search',
placeholder: t('search'),
onChange: e => this.setState({ searchQuery: e.target.value }),
}),
h('div.add-token__search-input-error-message', errors.tokenSelector),
@ -363,7 +364,7 @@ AddTokenScreen.prototype.render = function () {
h('div.add-token__add-custom', {
onClick: () => this.setState({ isCollapsed: !isCollapsed }),
}, [
'Add custom token',
t('addCustomToken'),
h(`i.fa.fa-angle-${isCollapsed ? 'down' : 'up'}`),
]),
this.renderCustomForm(),
@ -372,10 +373,10 @@ AddTokenScreen.prototype.render = function () {
h('div.add-token__buttons', [
h('button.btn-cancel.add-token__button', {
onClick: goHome,
}, 'Cancel'),
}, t('cancel')),
h('button.btn-clear.add-token__button', {
onClick: this.onNext,
}, 'Next'),
}, t('next')),
]),
])
)

@ -132,7 +132,7 @@ App.prototype.render = function () {
} = props
const isLoadingNetwork = network === 'loading' && props.currentView.name !== 'config'
const loadMessage = loadingMessage || isLoadingNetwork ?
`Connecting to ${this.getNetworkName()}` : null
this.getConnectingLabel() : null
log.debug('Main ui render function')
return (
@ -329,12 +329,14 @@ App.prototype.renderAppBar = function () {
]),
]),
!isInitialized && !isPopup && betaUI && h('h2', {
className: classnames({
'alpha-warning': welcomeScreenSeen,
'alpha-warning-welcome-screen': !welcomeScreenSeen,
}),
}, 'Please be aware that this version is still under development'),
!isInitialized && !isPopup && betaUI && h('.alpha-warning__container', {}, [
h('h2', {
className: classnames({
'alpha-warning': welcomeScreenSeen,
'alpha-warning-welcome-screen': !welcomeScreenSeen,
}),
}, 'Please be aware that this version is still under development'),
]),
])
)
@ -548,6 +550,27 @@ App.prototype.toggleMetamaskActive = function () {
}
}
App.prototype.getConnectingLabel = function () {
const { provider } = this.props
const providerName = provider.type
let name
if (providerName === 'mainnet') {
name = t('connectingToMainnet')
} else if (providerName === 'ropsten') {
name = t('connectingToRopsten')
} else if (providerName === 'kovan') {
name = t('connectingToRopsten')
} else if (providerName === 'rinkeby') {
name = t('connectingToRinkeby')
} else {
name = t('connectingToUnknown')
}
return name
}
App.prototype.getNetworkName = function () {
const { provider } = this.props
const providerName = provider.type
@ -555,15 +578,15 @@ App.prototype.getNetworkName = function () {
let name
if (providerName === 'mainnet') {
name = 'Main Ethereum Network'
name = t('mainnet')
} else if (providerName === 'ropsten') {
name = 'Ropsten Test Network'
name = t('ropsten')
} else if (providerName === 'kovan') {
name = 'Kovan Test Network'
name = t('kovan')
} else if (providerName === 'rinkeby') {
name = 'Rinkeby Test Network'
name = t('rinkeby')
} else {
name = 'Unknown Private Network'
name = t('unknownNetwork')
}
return name

@ -1,89 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const formatBalance = require('../util').formatBalance
const generateBalanceObject = require('../util').generateBalanceObject
const Tooltip = require('./tooltip.js')
const FiatValue = require('./fiat-value.js')
module.exports = EthBalanceComponent
inherits(EthBalanceComponent, Component)
function EthBalanceComponent () {
Component.call(this)
}
EthBalanceComponent.prototype.render = function () {
var props = this.props
let { value } = props
var style = props.style
var needsParse = this.props.needsParse !== undefined ? this.props.needsParse : true
value = value ? formatBalance(value, 6, needsParse) : '...'
var width = props.width
return (
h('.ether-balance.ether-balance-amount', {
style: style,
}, [
h('div', {
style: {
display: 'inline',
width: width,
},
}, this.renderBalance(value)),
])
)
}
EthBalanceComponent.prototype.renderBalance = function (value) {
var props = this.props
if (value === 'None') return value
if (value === '...') return value
var balanceObj = generateBalanceObject(value, props.shorten ? 1 : 3)
var balance
var splitBalance = value.split(' ')
var ethNumber = splitBalance[0]
var ethSuffix = splitBalance[1]
const showFiat = 'showFiat' in props ? props.showFiat : true
if (props.shorten) {
balance = balanceObj.shortBalance
} else {
balance = balanceObj.balance
}
var label = balanceObj.label
return (
h(Tooltip, {
position: 'bottom',
title: `${ethNumber} ${ethSuffix}`,
}, h('div.flex-column', [
h('.flex-row', {
style: {
alignItems: 'flex-end',
lineHeight: '13px',
fontFamily: 'Montserrat Light',
textRendering: 'geometricPrecision',
},
}, [
h('div', {
style: {
width: '100%',
textAlign: 'right',
},
}, this.props.incoming ? `+${balance}` : balance),
h('div', {
style: {
color: ' #AEAEAE',
fontSize: '12px',
marginLeft: '5px',
},
}, label),
]),
showFiat ? h(FiatValue, { value: props.value }) : null,
]))
)
}

@ -1,46 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const ethUtil = require('ethereumjs-util')
const extend = require('xtend')
module.exports = BinaryRenderer
inherits(BinaryRenderer, Component)
function BinaryRenderer () {
Component.call(this)
}
BinaryRenderer.prototype.render = function () {
const props = this.props
const { value, style } = props
const text = this.hexToText(value)
const defaultStyle = extend({
width: '315px',
maxHeight: '210px',
resize: 'none',
border: 'none',
background: 'white',
padding: '3px',
}, style)
return (
h('textarea.font-small', {
readOnly: true,
style: defaultStyle,
defaultValue: text,
})
)
}
BinaryRenderer.prototype.hexToText = function (hex) {
try {
const stripped = ethUtil.stripHexPrefix(hex)
const buff = Buffer.from(stripped, 'hex')
return buff.toString('utf8')
} catch (e) {
return hex
}
}

@ -8,8 +8,12 @@ inherits(CurrencyInput, Component)
function CurrencyInput (props) {
Component.call(this)
const sanitizedValue = sanitizeValue(props.value)
this.state = {
value: sanitizeValue(props.value),
value: sanitizedValue,
emptyState: false,
focused: false,
}
}
@ -58,9 +62,11 @@ CurrencyInput.prototype.handleChange = function (newValue) {
if (value === '0' && newValue[newValueLastIndex] === '0') {
parsedValue = parsedValue.slice(0, newValueLastIndex)
}
const sanitizedValue = sanitizeValue(parsedValue)
this.setState({ value: sanitizedValue })
this.setState({
value: sanitizedValue,
emptyState: newValue === '' && sanitizedValue === '0',
})
onInputChange(sanitizedValue)
}
@ -85,18 +91,22 @@ CurrencyInput.prototype.render = function () {
placeholder,
readOnly,
inputRef,
type,
} = this.props
const { emptyState, focused } = this.state
const inputSizeMultiplier = readOnly ? 1 : 1.2
const valueToRender = this.getValueToRender()
return h('input', {
className,
value: valueToRender,
placeholder,
type,
value: emptyState ? '' : valueToRender,
placeholder: focused ? '' : placeholder,
size: valueToRender.length * inputSizeMultiplier,
readOnly,
onFocus: () => this.setState({ focused: true, emptyState: valueToRender === '0' }),
onBlur: () => this.setState({ focused: false, emptyState: false }),
onChange: e => this.handleChange(e.target.value),
ref: inputRef,
})

@ -22,12 +22,14 @@ const {
conversionUtil,
multiplyCurrencies,
conversionGreaterThan,
conversionMax,
subtractCurrencies,
} = require('../../conversion-util')
const {
getGasPrice,
getGasLimit,
getForceGasMin,
conversionRateSelector,
getSendAmount,
getSelectedToken,
@ -45,6 +47,7 @@ function mapStateToProps (state) {
return {
gasPrice: getGasPrice(state),
gasLimit: getGasLimit(state),
forceGasMin: getForceGasMin(state),
conversionRate,
amount: getSendAmount(state),
maxModeOn: getSendMaxModeState(state),
@ -115,9 +118,9 @@ CustomizeGasModal.prototype.save = function (gasPrice, gasLimit, gasTotal) {
updateSendAmount(maxAmount)
}
updateGasPrice(gasPrice)
updateGasLimit(gasLimit)
updateGasTotal(gasTotal)
updateGasPrice(ethUtil.addHexPrefix(gasPrice))
updateGasLimit(ethUtil.addHexPrefix(gasLimit))
updateGasTotal(ethUtil.addHexPrefix(gasTotal))
hideModal()
}
@ -218,7 +221,7 @@ CustomizeGasModal.prototype.convertAndSetGasPrice = function (newGasPrice) {
}
CustomizeGasModal.prototype.render = function () {
const { hideModal } = this.props
const { hideModal, forceGasMin } = this.props
const { gasPrice, gasLimit, gasTotal, error, priceSigZeros, priceSigDec } = this.state
let convertedGasPrice = conversionUtil(gasPrice, {
@ -230,6 +233,22 @@ CustomizeGasModal.prototype.render = function () {
convertedGasPrice += convertedGasPrice.match(/[.]/) ? priceSigZeros : `${priceSigDec}${priceSigZeros}`
let newGasPrice = gasPrice
if (forceGasMin) {
const convertedMinPrice = conversionUtil(forceGasMin, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
})
convertedGasPrice = conversionMax(
{ value: convertedMinPrice, fromNumericBase: 'dec' },
{ value: convertedGasPrice, fromNumericBase: 'dec' }
)
newGasPrice = conversionMax(
{ value: gasPrice, fromNumericBase: 'hex' },
{ value: forceGasMin, fromNumericBase: 'hex' }
)
}
const convertedGasLimit = conversionUtil(gasLimit, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
@ -252,7 +271,7 @@ CustomizeGasModal.prototype.render = function () {
h(GasModalCard, {
value: convertedGasPrice,
min: MIN_GAS_PRICE_GWEI,
min: forceGasMin || MIN_GAS_PRICE_GWEI,
// max: 1000,
step: multiplyCurrencies(MIN_GAS_PRICE_GWEI, 10),
onChange: value => this.convertAndSetGasPrice(value),
@ -288,7 +307,7 @@ CustomizeGasModal.prototype.render = function () {
}, [t('cancel')]),
h(`div.send-v2__customize-gas__save${error ? '__error' : ''}.allcaps`, {
onClick: () => !error && this.save(gasPrice, gasLimit, gasTotal),
onClick: () => !error && this.save(newGasPrice, gasLimit, gasTotal),
}, [t('save')]),
]),

@ -1,29 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountDropdowns = require('./components/account-dropdowns')
inherits(AccountOptionsDropdown, Component)
function AccountOptionsDropdown () {
Component.call(this)
}
module.exports = AccountOptionsDropdown
// TODO: specify default props and proptypes
// TODO: hook up to state, connect to redux to clean up API
// TODO: selectedAddress is not defined... should we use selected?
AccountOptionsDropdown.prototype.render = function () {
const { selected, network, identities, style, dropdownWrapperStyle, menuItemStyles } = this.props
return h(AccountDropdowns, {
enableAccountOptions: true,
enableAccountsSelector: false,
selected,
network,
identities,
style: style || {},
dropdownWrapperStyle: dropdownWrapperStyle || {},
menuItemStyles: menuItemStyles || {},
}, [])
}

@ -1,29 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountDropdowns = require('./components/account-dropdowns')
inherits(AccountSelectionDropdown, Component)
function AccountSelectionDropdown () {
Component.call(this)
}
module.exports = AccountSelectionDropdown
// TODO: specify default props and proptypes
// TODO: hook up to state, connect to redux to clean up API
// TODO: selectedAddress is not defined... should we use selected?
AccountSelectionDropdown.prototype.render = function () {
const { selected, network, identities, style, dropdownWrapperStyle, menuItemStyles } = this.props
return h(AccountDropdowns, {
enableAccountOptions: false,
enableAccountsSelector: true,
selected,
network,
identities,
style: style || {},
dropdownWrapperStyle: dropdownWrapperStyle || {},
menuItemStyles: menuItemStyles || {},
}, [])
}

@ -1,17 +1,11 @@
// Reusable Dropdown Components
// TODO: Refactor into separate components
const Dropdown = require('./components/dropdown').Dropdown
const AccountDropdowns = require('./components/account-dropdowns')
// App-Specific Instances
const AccountSelectionDropdown = require('./account-selection-dropdown')
const AccountOptionsDropdown = require('./account-options-dropdown')
const NetworkDropdown = require('./network-dropdown').default
module.exports = {
AccountSelectionDropdown,
AccountOptionsDropdown,
NetworkDropdown,
Dropdown,
AccountDropdowns,
}

@ -55,6 +55,7 @@ InputNumber.prototype.render = function () {
className: 'customize-gas-input',
value,
placeholder,
type: 'number',
onInputChange: newValue => {
this.setValue(newValue)
},

@ -1,74 +0,0 @@
const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const Identicon = require('./identicon')
module.exports = AccountPanel
inherits(AccountPanel, Component)
function AccountPanel () {
Component.call(this)
}
AccountPanel.prototype.render = function () {
var props = this.props
var picOrder = props.picOrder || 'left'
const { imageSeed } = props
return (
h('.identity-panel.flex-row.flex-left', {
style: {
cursor: props.onClick ? 'pointer' : undefined,
},
onClick: props.onClick,
}, [
this.genIcon(imageSeed, picOrder),
h('div.flex-column.flex-justify-center', {
style: {
lineHeight: '15px',
order: 2,
display: 'flex',
alignItems: picOrder === 'left' ? 'flex-begin' : 'flex-end',
},
}, this.props.children),
])
)
}
AccountPanel.prototype.genIcon = function (seed, picOrder) {
const props = this.props
// When there is no seed value, this is a contract creation.
// We then show the contract icon.
if (!seed) {
return h('.identicon-wrapper.flex-column.select-none', {
style: {
order: picOrder === 'left' ? 1 : 3,
},
}, [
h('i.fa.fa-file-text-o.fa-lg', {
style: {
fontSize: '42px',
transform: 'translate(0px, -16px)',
},
}),
])
}
// If there was a seed, we return an identicon for that address.
return h('.identicon-wrapper.flex-column.select-none', {
style: {
order: picOrder === 'left' ? 1 : 3,
},
}, [
h(Identicon, {
address: seed,
imageify: props.imageifyIdenticons,
}),
])
}

@ -109,7 +109,7 @@ DepositEtherModal.prototype.render = function () {
const isTestNetwork = ['3', '4', '42'].find(n => n === network)
const networkName = networkNames[network]
return h('div.page-container.page-container--full-width', {}, [
return h('div.page-container.page-container--full-width.page-container--full-height', {}, [
h('div.page-container__header', [
@ -134,7 +134,9 @@ DepositEtherModal.prototype.render = function () {
h('div.deposit-ether-modal__buy-rows', [
this.renderRow({
logo: h('img.deposit-ether-modal__buy-row__eth-logo', { src: '../../../images/eth_logo.svg' }),
logo: h('img.deposit-ether-modal__logo', {
src: '../../../images/deposit-eth.svg',
}),
title: DIRECT_DEPOSIT_ROW_TITLE,
text: DIRECT_DEPOSIT_ROW_TEXT,
buttonLabel: t('viewAccount'),

@ -0,0 +1,51 @@
const { Component } = require('react')
const h = require('react-hyperscript')
const PropTypes = require('prop-types')
const { connect } = require('react-redux')
const NetworkDropdownIcon = require('./dropdowns/components/network-dropdown-icon')
const t = require('../../i18n')
const networkToColorHash = {
1: '#038789',
3: '#e91550',
42: '#690496',
4: '#ebb33f',
}
class NetworkDisplay extends Component {
renderNetworkIcon () {
const { network } = this.props
const networkColor = networkToColorHash[network]
return networkColor
? h(NetworkDropdownIcon, { backgroundColor: networkColor })
: h('i.fa.fa-question-circle.fa-med', {
style: {
margin: '0 4px',
color: 'rgb(125, 128, 130)',
},
})
}
render () {
const { provider: { type } } = this.props
return h('.network-display__container', [
this.renderNetworkIcon(),
h('.network-name', t(type)),
])
}
}
NetworkDisplay.propTypes = {
network: PropTypes.string,
provider: PropTypes.object,
}
const mapStateToProps = ({ metamask: { network, provider } }) => {
return {
network,
provider,
}
}
module.exports = connect(mapStateToProps)(NetworkDisplay)

@ -1,60 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const t = require('../../i18n')
const AccountPanel = require('./account-panel')
const BinaryRenderer = require('./binary-renderer')
module.exports = PendingMsgDetails
inherits(PendingMsgDetails, Component)
function PendingMsgDetails () {
Component.call(this)
}
PendingMsgDetails.prototype.render = function () {
var state = this.props
var msgData = state.txData
var msgParams = msgData.msgParams || {}
var address = msgParams.from || state.selectedAddress
var identity = state.identities[address] || { address: address }
var account = state.accounts[address] || { address: address }
var { data } = msgParams
return (
h('div', {
key: msgData.id,
style: {
margin: '10px 20px',
},
}, [
// account that will sign
h(AccountPanel, {
showFullAddress: true,
identity: identity,
account: account,
imageifyIdenticons: state.imageifyIdenticons,
}),
// message data
h('div', {
style: {
height: '260px',
},
}, [
h('label.font-small.allcaps', { style: { display: 'block' } }, t('message')),
h(BinaryRenderer, {
value: data,
style: {
height: '215px',
},
}),
]),
])
)
}

@ -1,349 +1,354 @@
const Component = require('react').Component
const { Component } = require('react')
const { connect } = require('react-redux')
const h = require('react-hyperscript')
const inherits = require('util').inherits
const PropTypes = require('prop-types')
const actions = require('../../actions')
const clone = require('clone')
const Identicon = require('../identicon')
const ethUtil = require('ethereumjs-util')
const BN = ethUtil.BN
const hexToBn = require('../../../../app/scripts/lib/hex-to-bn')
const { conversionUtil } = require('../../conversion-util')
const t = require('../../../i18n')
const SenderToRecipient = require('../sender-to-recipient')
const NetworkDisplay = require('../network-display')
const { MIN_GAS_PRICE_HEX } = require('../send/send-constants')
class ConfirmDeployContract extends Component {
constructor (props) {
super(props)
module.exports = connect(mapStateToProps, mapDispatchToProps)(ConfirmDeployContract)
function mapStateToProps (state) {
const {
conversionRate,
identities,
currentCurrency,
} = state.metamask
const accounts = state.metamask.accounts
const selectedAddress = state.metamask.selectedAddress || Object.keys(accounts)[0]
return {
currentCurrency,
conversionRate,
identities,
selectedAddress,
this.state = {
valid: false,
submitting: false,
}
}
}
function mapDispatchToProps (dispatch) {
return {
backToAccountDetail: address => dispatch(actions.backToAccountDetail(address)),
cancelTransaction: ({ id }) => dispatch(actions.cancelTx({ id })),
onSubmit (event) {
event.preventDefault()
const txMeta = this.gatherTxMeta()
const valid = this.checkValidity()
this.setState({ valid, submitting: true })
if (valid && this.verifyGasParams()) {
this.props.sendTransaction(txMeta, event)
} else {
this.props.displayWarning('invalidGasParams')
this.setState({ submitting: false })
}
}
}
inherits(ConfirmDeployContract, Component)
function ConfirmDeployContract () {
Component.call(this)
this.state = {}
this.onSubmit = this.onSubmit.bind(this)
}
cancel (event, txMeta) {
event.preventDefault()
this.props.cancelTransaction(txMeta)
}
ConfirmDeployContract.prototype.onSubmit = function (event) {
event.preventDefault()
const txMeta = this.gatherTxMeta()
const valid = this.checkValidity()
this.setState({ valid, submitting: true })
if (valid && this.verifyGasParams()) {
this.props.sendTransaction(txMeta, event)
} else {
this.props.dispatch(actions.displayWarning(t('invalidGasParams')))
this.setState({ submitting: false })
checkValidity () {
const form = this.getFormEl()
const valid = form.checkValidity()
return valid
}
}
ConfirmDeployContract.prototype.cancel = function (event, txMeta) {
event.preventDefault()
this.props.cancelTransaction(txMeta)
}
getFormEl () {
const form = document.querySelector('form#pending-tx-form')
// Stub out form for unit tests:
if (!form) {
return { checkValidity () { return true } }
}
return form
}
ConfirmDeployContract.prototype.checkValidity = function () {
const form = this.getFormEl()
const valid = form.checkValidity()
return valid
}
// After a customizable state value has been updated,
gatherTxMeta () {
const props = this.props
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
ConfirmDeployContract.prototype.getFormEl = function () {
const form = document.querySelector('form#pending-tx-form')
// Stub out form for unit tests:
if (!form) {
return { checkValidity () { return true } }
// log.debug(`UI has defaulted to tx meta ${JSON.stringify(txData)}`)
return txData
}
return form
}
// After a customizable state value has been updated,
ConfirmDeployContract.prototype.gatherTxMeta = function () {
const props = this.props
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
// log.debug(`UI has defaulted to tx meta ${JSON.stringify(txData)}`)
return txData
}
verifyGasParams () {
// We call this in case the gas has not been modified at all
if (!this.state) { return true }
return (
this._notZeroOrEmptyString(this.state.gas) &&
this._notZeroOrEmptyString(this.state.gasPrice)
)
}
ConfirmDeployContract.prototype.verifyGasParams = function () {
// We call this in case the gas has not been modified at all
if (!this.state) { return true }
return (
this._notZeroOrEmptyString(this.state.gas) &&
this._notZeroOrEmptyString(this.state.gasPrice)
)
}
_notZeroOrEmptyString (obj) {
return obj !== '' && obj !== '0x0'
}
ConfirmDeployContract.prototype._notZeroOrEmptyString = function (obj) {
return obj !== '' && obj !== '0x0'
}
bnMultiplyByFraction (targetBN, numerator, denominator) {
const numBN = new BN(numerator)
const denomBN = new BN(denominator)
return targetBN.mul(numBN).div(denomBN)
}
ConfirmDeployContract.prototype.bnMultiplyByFraction = function (targetBN, numerator, denominator) {
const numBN = new BN(numerator)
const denomBN = new BN(denominator)
return targetBN.mul(numBN).div(denomBN)
}
getData () {
const { identities } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
return {
from: {
address: txParams.from,
name: identities[txParams.from].name,
},
memo: txParams.memo || '',
}
}
ConfirmDeployContract.prototype.getData = function () {
const { identities } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
getAmount () {
const { conversionRate, currentCurrency } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
const FIAT = conversionUtil(txParams.value, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: currentCurrency,
numberOfDecimals: 2,
fromDenomination: 'WEI',
conversionRate,
})
const ETH = conversionUtil(txParams.value, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'ETH',
fromDenomination: 'WEI',
conversionRate,
numberOfDecimals: 6,
})
return {
fiat: Number(FIAT),
token: Number(ETH),
}
return {
from: {
address: txParams.from,
name: identities[txParams.from].name,
},
memo: txParams.memo || '',
}
}
ConfirmDeployContract.prototype.getAmount = function () {
const { conversionRate, currentCurrency } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
const FIAT = conversionUtil(txParams.value, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: currentCurrency,
numberOfDecimals: 2,
fromDenomination: 'WEI',
conversionRate,
})
const ETH = conversionUtil(txParams.value, {
fromNumericBase: 'hex',
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'ETH',
fromDenomination: 'WEI',
conversionRate,
numberOfDecimals: 6,
})
return {
fiat: Number(FIAT),
token: Number(ETH),
getGasFee () {
const { conversionRate, currentCurrency } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
// Gas
const gas = txParams.gas
const gasBn = hexToBn(gas)
// Gas Price
const gasPrice = txParams.gasPrice || MIN_GAS_PRICE_HEX
const gasPriceBn = hexToBn(gasPrice)
const txFeeBn = gasBn.mul(gasPriceBn)
const FIAT = conversionUtil(txFeeBn, {
fromNumericBase: 'BN',
toNumericBase: 'dec',
fromDenomination: 'WEI',
fromCurrency: 'ETH',
toCurrency: currentCurrency,
numberOfDecimals: 2,
conversionRate,
})
const ETH = conversionUtil(txFeeBn, {
fromNumericBase: 'BN',
toNumericBase: 'dec',
fromDenomination: 'WEI',
fromCurrency: 'ETH',
toCurrency: 'ETH',
numberOfDecimals: 6,
conversionRate,
})
return {
fiat: Number(FIAT),
eth: Number(ETH),
}
}
}
renderGasFee () {
const { currentCurrency } = this.props
const { fiat: fiatGas, eth: ethGas } = this.getGasFee()
ConfirmDeployContract.prototype.getGasFee = function () {
const { conversionRate, currentCurrency } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
return (
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('gasFee') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${fiatGas} ${currentCurrency.toUpperCase()}`),
// Gas
const gas = txParams.gas
const gasBn = hexToBn(gas)
h(
'div.confirm-screen-row-detail',
`${ethGas} ETH`
),
]),
])
)
}
// Gas Price
const gasPrice = txParams.gasPrice || MIN_GAS_PRICE_HEX
const gasPriceBn = hexToBn(gasPrice)
renderHeroAmount () {
const { currentCurrency } = this.props
const { fiat: fiatAmount } = this.getAmount()
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
const { memo = '' } = txParams
return (
h('div.confirm-send-token__hero-amount-wrapper', [
h('h3.flex-center.confirm-screen-send-amount', `${fiatAmount}`),
h('h3.flex-center.confirm-screen-send-amount-currency', currentCurrency.toUpperCase()),
h('div.flex-center.confirm-memo-wrapper', [
h('h3.confirm-screen-send-memo', memo),
]),
])
)
}
const txFeeBn = gasBn.mul(gasPriceBn)
renderTotalPlusGas () {
const { currentCurrency } = this.props
const { fiat: fiatAmount, token: tokenAmount } = this.getAmount()
const { fiat: fiatGas, eth: ethGas } = this.getGasFee()
const FIAT = conversionUtil(txFeeBn, {
fromNumericBase: 'BN',
toNumericBase: 'dec',
fromDenomination: 'WEI',
fromCurrency: 'ETH',
toCurrency: currentCurrency,
numberOfDecimals: 2,
conversionRate,
})
const ETH = conversionUtil(txFeeBn, {
fromNumericBase: 'BN',
toNumericBase: 'dec',
fromDenomination: 'WEI',
fromCurrency: 'ETH',
toCurrency: 'ETH',
numberOfDecimals: 6,
conversionRate,
})
return (
h('section.flex-row.flex-center.confirm-screen-row.confirm-screen-total-box ', [
h('div.confirm-screen-section-column', [
h('span.confirm-screen-label', [ t('total') + ' ' ]),
h('div.confirm-screen-total-box__subtitle', [ t('amountPlusGas') ]),
]),
return {
fiat: Number(FIAT),
eth: Number(ETH),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${fiatAmount + fiatGas} ${currentCurrency.toUpperCase()}`),
h('div.confirm-screen-row-detail', `${tokenAmount + ethGas} ETH`),
]),
])
)
}
}
ConfirmDeployContract.prototype.renderGasFee = function () {
const { currentCurrency } = this.props
const { fiat: fiatGas, eth: ethGas } = this.getGasFee()
return (
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('gasFee') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${fiatGas} ${currentCurrency.toUpperCase()}`),
h(
'div.confirm-screen-row-detail',
`${ethGas} ETH`
),
]),
])
)
}
render () {
const { backToAccountDetail, selectedAddress } = this.props
const txMeta = this.gatherTxMeta()
const {
from: {
address: fromAddress,
name: fromName,
},
} = this.getData()
this.inputs = []
return (
h('.page-container', [
h('.page-container__header', [
h('.page-container__header-row', [
h('span.page-container__back-button', {
onClick: () => backToAccountDetail(selectedAddress),
}, t('back')),
window.METAMASK_UI_TYPE === 'notification' && h(NetworkDisplay),
]),
h('.page-container__title', t('confirmContract')),
h('.page-container__subtitle', t('pleaseReviewTransaction')),
]),
// Main Send token Card
h('.page-container__content', [
h(SenderToRecipient, {
senderName: fromName,
senderAddress: fromAddress,
}),
// h('h3.flex-center.confirm-screen-sending-to-message', {
// style: {
// textAlign: 'center',
// fontSize: '16px',
// },
// }, [
// `You're deploying a new contract.`,
// ]),
this.renderHeroAmount(),
h('div.confirm-screen-rows', [
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('from') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', fromName),
h('div.confirm-screen-row-detail', `...${fromAddress.slice(fromAddress.length - 4)}`),
]),
]),
ConfirmDeployContract.prototype.renderHeroAmount = function () {
const { currentCurrency } = this.props
const { fiat: fiatAmount } = this.getAmount()
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
const { memo = '' } = txParams
return (
h('div.confirm-send-token__hero-amount-wrapper', [
h('h3.flex-center.confirm-screen-send-amount', `${fiatAmount}`),
h('h3.flex-center.confirm-screen-send-amount-currency', currentCurrency.toUpperCase()),
h('div.flex-center.confirm-memo-wrapper', [
h('h3.confirm-screen-send-memo', memo),
]),
])
)
}
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('to') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', t('newContract')),
]),
]),
ConfirmDeployContract.prototype.renderTotalPlusGas = function () {
const { currentCurrency } = this.props
const { fiat: fiatAmount, token: tokenAmount } = this.getAmount()
const { fiat: fiatGas, eth: ethGas } = this.getGasFee()
return (
h('section.flex-row.flex-center.confirm-screen-total-box ', [
h('div.confirm-screen-section-column', [
h('span.confirm-screen-label', [ t('total') + ' ' ]),
h('div.confirm-screen-total-box__subtitle', [ t('amountPlusGas') ]),
]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${fiatAmount + fiatGas} ${currentCurrency.toUpperCase()}`),
h('div.confirm-screen-row-detail', `${tokenAmount + ethGas} ETH`),
]),
])
)
}
this.renderGasFee(),
ConfirmDeployContract.prototype.render = function () {
const { backToAccountDetail, selectedAddress } = this.props
const txMeta = this.gatherTxMeta()
this.renderTotalPlusGas(),
const {
from: {
address: fromAddress,
name: fromName,
},
} = this.getData()
this.inputs = []
return (
h('div.flex-column.flex-grow.confirm-screen-container', {
style: { minWidth: '355px' },
}, [
// Main Send token Card
h('div.confirm-screen-wrapper.flex-column.flex-grow', [
h('h3.flex-center.confirm-screen-header', [
h('button.confirm-screen-back-button.allcaps', {
onClick: () => backToAccountDetail(selectedAddress),
}, t('back')),
h('div.confirm-screen-title', t('confirmContract')),
h('div.confirm-screen-header-tip'),
]),
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: fromAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', fromName),
// h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)),
]),
h('i.fa.fa-arrow-right.fa-lg'),
h('div.confirm-screen-account-wrapper', [
h('i.fa.fa-file-text-o'),
h('span.confirm-screen-account-name', t('newContract')),
h('span.confirm-screen-account-number', ' '),
]),
]),
// h('h3.flex-center.confirm-screen-sending-to-message', {
// style: {
// textAlign: 'center',
// fontSize: '16px',
// },
// }, [
// `You're deploying a new contract.`,
// ]),
this.renderHeroAmount(),
h('div.confirm-screen-rows', [
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('from') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', fromName),
h('div.confirm-screen-row-detail', `...${fromAddress.slice(fromAddress.length - 4)}`),
]),
]),
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('to') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', t('newContract')),
]),
h('form#pending-tx-form', {
onSubmit: event => this.onSubmit(event),
}, [
h('.page-container__footer', [
// Cancel Button
h('button.btn-cancel.page-container__footer-button.allcaps', {
onClick: event => this.cancel(event, txMeta),
}, t('cancel')),
// Accept Button
h('button.btn-confirm.page-container__footer-button.allcaps', {
onClick: event => this.onSubmit(event),
}, t('confirm')),
]),
]),
])
)
}
}
this.renderGasFee(),
ConfirmDeployContract.propTypes = {
sendTransaction: PropTypes.func,
cancelTransaction: PropTypes.func,
backToAccountDetail: PropTypes.func,
displayWarning: PropTypes.func,
identities: PropTypes.object,
conversionRate: PropTypes.number,
currentCurrency: PropTypes.string,
selectedAddress: PropTypes.string,
}
this.renderTotalPlusGas(),
const mapStateToProps = state => {
const {
conversionRate,
identities,
currentCurrency,
} = state.metamask
const accounts = state.metamask.accounts
const selectedAddress = state.metamask.selectedAddress || Object.keys(accounts)[0]
return {
currentCurrency,
conversionRate,
identities,
selectedAddress,
}
}
]),
]),
h('form#pending-tx-form', {
onSubmit: this.onSubmit,
}, [
// Cancel Button
h('div.cancel.btn-light.confirm-screen-cancel-button.allcaps', {
onClick: (event) => this.cancel(event, txMeta),
}, t('cancel')),
// Accept Button
h('button.confirm-screen-confirm-button.allcaps', [t('confirm')]),
]),
])
)
const mapDispatchToProps = dispatch => {
return {
backToAccountDetail: address => dispatch(actions.backToAccountDetail(address)),
cancelTransaction: ({ id }) => dispatch(actions.cancelTx({ id })),
displayWarning: warning => actions.displayWarning(t(warning)),
}
}
module.exports = connect(mapStateToProps, mapDispatchToProps)(ConfirmDeployContract)

@ -4,12 +4,18 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const actions = require('../../actions')
const clone = require('clone')
const Identicon = require('../identicon')
const ethUtil = require('ethereumjs-util')
const BN = ethUtil.BN
const hexToBn = require('../../../../app/scripts/lib/hex-to-bn')
const { conversionUtil, addCurrencies } = require('../../conversion-util')
const {
conversionUtil,
addCurrencies,
multiplyCurrencies,
} = require('../../conversion-util')
const GasFeeDisplay = require('../send/gas-fee-display-v2')
const t = require('../../../i18n')
const SenderToRecipient = require('../sender-to-recipient')
const NetworkDisplay = require('../network-display')
const { MIN_GAS_PRICE_HEX } = require('../send/send-constants')
@ -44,6 +50,7 @@ function mapDispatchToProps (dispatch) {
to,
value: amount,
} = txParams
dispatch(actions.updateSend({
gasLimit,
gasPrice,
@ -56,6 +63,29 @@ function mapDispatchToProps (dispatch) {
dispatch(actions.showSendPage())
},
cancelTransaction: ({ id }) => dispatch(actions.cancelTx({ id })),
showCustomizeGasModal: (txMeta, sendGasLimit, sendGasPrice, sendGasTotal) => {
const { id, txParams, lastGasPrice } = txMeta
const { gas: txGasLimit, gasPrice: txGasPrice } = txParams
let forceGasMin
if (lastGasPrice) {
forceGasMin = ethUtil.addHexPrefix(multiplyCurrencies(lastGasPrice, 1.1, {
multiplicandBase: 16,
multiplierBase: 10,
toNumericBase: 'hex',
fromDenomination: 'WEI',
}))
}
dispatch(actions.updateSend({
gasLimit: sendGasLimit || txGasLimit,
gasPrice: sendGasPrice || txGasPrice,
editingTransactionId: id,
gasTotal: sendGasTotal,
forceGasMin,
}))
dispatch(actions.showModal({ name: 'CUSTOMIZE_GAS' }))
},
}
}
@ -140,6 +170,7 @@ ConfirmSendEther.prototype.getGasFee = function () {
return {
FIAT,
ETH,
gasFeeInHex: txFeeBn.toString(16),
}
}
@ -147,7 +178,7 @@ ConfirmSendEther.prototype.getData = function () {
const { identities } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
const { FIAT: gasFeeInFIAT, ETH: gasFeeInETH } = this.getGasFee()
const { FIAT: gasFeeInFIAT, ETH: gasFeeInETH, gasFeeInHex } = this.getGasFee()
const { FIAT: amountInFIAT, ETH: amountInETH } = this.getAmount()
const totalInFIAT = addCurrencies(gasFeeInFIAT, amountInFIAT, {
@ -175,11 +206,20 @@ ConfirmSendEther.prototype.getData = function () {
amountInETH,
totalInFIAT,
totalInETH,
gasFeeInHex,
}
}
ConfirmSendEther.prototype.render = function () {
const { editTransaction, currentCurrency, clearSend } = this.props
const {
editTransaction,
currentCurrency,
clearSend,
conversionRate,
currentCurrency: convertedCurrency,
showCustomizeGasModal,
send: { gasTotal, gasLimit: sendGasLimit, gasPrice: sendGasPrice },
} = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
@ -193,13 +233,17 @@ ConfirmSendEther.prototype.render = function () {
name: toName,
},
memo,
gasFeeInFIAT,
gasFeeInETH,
gasFeeInHex,
amountInFIAT,
totalInFIAT,
totalInETH,
} = this.getData()
const title = txMeta.lastGasPrice ? 'Reprice Transaction' : 'Confirm'
const subtitle = txMeta.lastGasPrice
? 'Increase your gas fee to attempt to overwrite and speed up your transaction'
: 'Please review your transaction.'
// This is from the latest master
// It handles some of the errors that we are not currently handling
// Leaving as comments fo reference
@ -214,41 +258,28 @@ ConfirmSendEther.prototype.render = function () {
this.inputs = []
return (
h('div.confirm-screen-container.confirm-send-ether', [
// Main Send token Card
h('div.page-container', [
h('div.page-container__header', [
h('button.confirm-screen-back-button', {
// Main Send token Card
h('.page-container', [
h('.page-container__header', [
h('.page-container__header-row', [
h('span.page-container__back-button', {
onClick: () => editTransaction(txMeta),
style: {
visibility: !txMeta.lastGasPrice ? 'initial' : 'hidden',
},
}, 'Edit'),
h('div.page-container__title', 'Confirm'),
h('div.page-container__subtitle', `Please review your transaction.`),
]),
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: fromAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', fromName),
// h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)),
]),
h('i.fa.fa-arrow-right.fa-lg'),
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: txParams.to,
diameter: 60,
},
),
h('span.confirm-screen-account-name', toName),
// h('span.confirm-screen-account-number', toAddress.slice(toAddress.length - 4)),
]),
window.METAMASK_UI_TYPE === 'notification' && h(NetworkDisplay),
]),
h('.page-container__title', title),
h('.page-container__subtitle', subtitle),
]),
h('.page-container__content', [
h(SenderToRecipient, {
senderName: fromName,
senderAddress: fromAddress,
recipientName: toName,
recipientAddress: txParams.to,
}),
// h('h3.flex-center.confirm-screen-sending-to-message', {
// style: {
@ -285,14 +316,16 @@ ConfirmSendEther.prototype.render = function () {
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('gasFee') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${gasFeeInFIAT} ${currentCurrency.toUpperCase()}`),
h('div.confirm-screen-row-detail', `${gasFeeInETH} ETH`),
h(GasFeeDisplay, {
gasTotal: gasTotal || gasFeeInHex,
conversionRate,
convertedCurrency,
onClick: () => showCustomizeGasModal(txMeta, sendGasLimit, sendGasPrice, gasTotal),
}),
]),
]),
h('section.flex-row.flex-center.confirm-screen-total-box ', [
h('section.flex-row.flex-center.confirm-screen-row.confirm-screen-total-box ', [
h('div.confirm-screen-section-column', [
h('span.confirm-screen-label', [ t('total') + ' ' ]),
h('div.confirm-screen-total-box__subtitle', [ t('amountPlusGas') ]),
@ -389,16 +422,18 @@ ConfirmSendEther.prototype.render = function () {
h('form#pending-tx-form', {
onSubmit: this.onSubmit,
}, [
// Cancel Button
h('div.cancel.btn-light.confirm-screen-cancel-button.allcaps', {
onClick: (event) => {
clearSend()
this.cancel(event, txMeta)
},
}, t('cancel')),
// Accept Button
h('button.confirm-screen-confirm-button.allcaps', [t('confirm')]),
h('.page-container__footer', [
// Cancel Button
h('button.btn-cancel.page-container__footer-button.allcaps', {
onClick: (event) => {
clearSend()
this.cancel(event, txMeta)
},
}, t('cancel')),
// Accept Button
h('button.btn-confirm.page-container__footer-button.allcaps', [t('confirm')]),
]),
]),
])
)
@ -446,6 +481,27 @@ ConfirmSendEther.prototype.gatherTxMeta = function () {
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send
const {
lastGasPrice,
txParams: {
gasPrice: txGasPrice,
gas: txGasLimit,
},
} = txData
let forceGasMin
if (lastGasPrice) {
forceGasMin = ethUtil.addHexPrefix(multiplyCurrencies(lastGasPrice, 1.1, {
multiplicandBase: 16,
multiplierBase: 10,
toNumericBase: 'hex',
}))
}
txData.txParams.gasPrice = sendGasPrice || forceGasMin || txGasPrice
txData.txParams.gas = sendGasLimit || txGasLimit
// log.debug(`UI has defaulted to tx meta ${JSON.stringify(txData)}`)
return txData
}

@ -9,6 +9,7 @@ const actions = require('../../actions')
const t = require('../../../i18n')
const clone = require('clone')
const Identicon = require('../identicon')
const GasFeeDisplay = require('../send/gas-fee-display-v2.js')
const ethUtil = require('ethereumjs-util')
const BN = ethUtil.BN
const {
@ -89,6 +90,39 @@ function mapDispatchToProps (dispatch, ownProps) {
}))
dispatch(actions.showSendTokenPage())
},
showCustomizeGasModal: (txMeta, sendGasLimit, sendGasPrice, sendGasTotal) => {
const { id, txParams, lastGasPrice } = txMeta
const { gas: txGasLimit, gasPrice: txGasPrice } = txParams
const tokenData = txParams.data && abiDecoder.decodeMethod(txParams.data)
const { params = [] } = tokenData
const { value: to } = params[0] || {}
const { value: tokenAmountInDec } = params[1] || {}
const tokenAmountInHex = conversionUtil(tokenAmountInDec, {
fromNumericBase: 'dec',
toNumericBase: 'hex',
})
let forceGasMin
if (lastGasPrice) {
forceGasMin = ethUtil.addHexPrefix(multiplyCurrencies(lastGasPrice, 1.1, {
multiplicandBase: 16,
multiplierBase: 10,
toNumericBase: 'hex',
fromDenomination: 'WEI',
}))
}
dispatch(actions.updateSend({
gasLimit: sendGasLimit || txGasLimit,
gasPrice: sendGasPrice || txGasPrice,
editingTransactionId: id,
gasTotal: sendGasTotal,
to,
amount: tokenAmountInHex,
forceGasMin,
}))
dispatch(actions.showModal({ name: 'CUSTOMIZE_GAS' }))
},
}
}
@ -188,6 +222,7 @@ ConfirmSendToken.prototype.getGasFee = function () {
token: tokenExchangeRate
? tokenGas
: null,
gasFeeInHex: gasTotal.toString(16),
}
}
@ -240,19 +275,25 @@ ConfirmSendToken.prototype.renderHeroAmount = function () {
}
ConfirmSendToken.prototype.renderGasFee = function () {
const { token: { symbol }, currentCurrency } = this.props
const { fiat: fiatGas, token: tokenGas, eth: ethGas } = this.getGasFee()
const {
currentCurrency: convertedCurrency,
conversionRate,
send: { gasTotal, gasLimit: sendGasLimit, gasPrice: sendGasPrice },
showCustomizeGasModal,
} = this.props
const txMeta = this.gatherTxMeta()
const { gasFeeInHex } = this.getGasFee()
return (
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('gasFee') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', `${fiatGas} ${currentCurrency}`),
h(
'div.confirm-screen-row-detail',
tokenGas ? `${tokenGas} ${symbol}` : `${ethGas} ETH`
),
h(GasFeeDisplay, {
gasTotal: gasTotal || gasFeeInHex,
conversionRate,
convertedCurrency,
onClick: () => showCustomizeGasModal(txMeta, sendGasLimit, sendGasPrice, gasTotal),
}),
]),
])
)
@ -265,7 +306,7 @@ ConfirmSendToken.prototype.renderTotalPlusGas = function () {
return fiatAmount && fiatGas
? (
h('section.flex-row.flex-center.confirm-screen-total-box ', [
h('section.flex-row.flex-center.confirm-screen-row.confirm-screen-total-box ', [
h('div.confirm-screen-section-column', [
h('span.confirm-screen-label', [ t('total') + ' ' ]),
h('div.confirm-screen-total-box__subtitle', [ t('amountPlusGas') ]),
@ -278,7 +319,7 @@ ConfirmSendToken.prototype.renderTotalPlusGas = function () {
])
)
: (
h('section.flex-row.flex-center.confirm-screen-total-box ', [
h('section.flex-row.flex-center.confirm-screen-row.confirm-screen-total-box ', [
h('div.confirm-screen-section-column', [
h('span.confirm-screen-label', [ t('total') + ' ' ]),
h('div.confirm-screen-total-box__subtitle', [ t('amountPlusGas') ]),
@ -308,91 +349,98 @@ ConfirmSendToken.prototype.render = function () {
this.inputs = []
const title = txMeta.lastGasPrice ? 'Reprice Transaction' : t('confirm')
const subtitle = txMeta.lastGasPrice
? 'Increase your gas fee to attempt to overwrite and speed up your transaction'
: t('pleaseReviewTransaction')
return (
h('div.confirm-screen-container.confirm-send-token', [
// Main Send token Card
h('div.page-container', [
h('div.page-container__header', [
h('button.confirm-screen-back-button', {
!txMeta.lastGasPrice && h('button.confirm-screen-back-button', {
onClick: () => editTransaction(txMeta),
}, t('edit')),
h('div.page-container__title', t('confirm')),
h('div.page-container__subtitle', t('pleaseReviewTransaction')),
]),
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: fromAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', fromName),
// h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)),
]),
h('i.fa.fa-arrow-right.fa-lg'),
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: toAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', toName),
// h('span.confirm-screen-account-number', toAddress.slice(toAddress.length - 4)),
]),
h('div.page-container__title', title),
h('div.page-container__subtitle', subtitle),
]),
// h('h3.flex-center.confirm-screen-sending-to-message', {
// style: {
// textAlign: 'center',
// fontSize: '16px',
// },
// }, [
// `You're sending to Recipient ...${toAddress.slice(toAddress.length - 4)}`,
// ]),
this.renderHeroAmount(),
h('div.confirm-screen-rows', [
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('from') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', fromName),
h('div.confirm-screen-row-detail', `...${fromAddress.slice(fromAddress.length - 4)}`),
h('.page-container__content', [
h('div.flex-row.flex-center.confirm-screen-identicons', [
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: fromAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', fromName),
// h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)),
]),
h('i.fa.fa-arrow-right.fa-lg'),
h('div.confirm-screen-account-wrapper', [
h(
Identicon,
{
address: toAddress,
diameter: 60,
},
),
h('span.confirm-screen-account-name', toName),
// h('span.confirm-screen-account-number', toAddress.slice(toAddress.length - 4)),
]),
]),
toAddress && h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('to') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', toName),
h('div.confirm-screen-row-detail', `...${toAddress.slice(toAddress.length - 4)}`),
// h('h3.flex-center.confirm-screen-sending-to-message', {
// style: {
// textAlign: 'center',
// fontSize: '16px',
// },
// }, [
// `You're sending to Recipient ...${toAddress.slice(toAddress.length - 4)}`,
// ]),
this.renderHeroAmount(),
h('div.confirm-screen-rows', [
h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('from') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', fromName),
h('div.confirm-screen-row-detail', `...${fromAddress.slice(fromAddress.length - 4)}`),
]),
]),
]),
this.renderGasFee(),
toAddress && h('section.flex-row.flex-center.confirm-screen-row', [
h('span.confirm-screen-label.confirm-screen-section-column', [ t('to') ]),
h('div.confirm-screen-section-column', [
h('div.confirm-screen-row-info', toName),
h('div.confirm-screen-row-detail', `...${toAddress.slice(toAddress.length - 4)}`),
]),
]),
this.renderTotalPlusGas(),
this.renderGasFee(),
]),
]),
this.renderTotalPlusGas(),
h('form#pending-tx-form', {
onSubmit: this.onSubmit,
}, [
// Cancel Button
h('div.cancel.btn-light.confirm-screen-cancel-button.allcaps', {
onClick: (event) => this.cancel(event, txMeta),
}, t('cancel')),
]),
// Accept Button
h('button.confirm-screen-confirm-button.allcaps', [t('confirm')]),
]),
h('form#pending-tx-form', {
onSubmit: this.onSubmit,
}, [
h('.page-container__footer', [
// Cancel Button
h('button.btn-cancel.page-container__footer-button.allcaps', {
onClick: (event) => this.cancel(event, txMeta),
}, t('cancel')),
// Accept Button
h('button.btn-confirm.page-container__footer-button.allcaps', [t('confirm')]),
]),
]),
]),
])
)
}
@ -439,6 +487,27 @@ ConfirmSendToken.prototype.gatherTxMeta = function () {
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
const { gasPrice: sendGasPrice, gas: sendGasLimit } = props.send
const {
lastGasPrice,
txParams: {
gasPrice: txGasPrice,
gas: txGasLimit,
},
} = txData
let forceGasMin
if (lastGasPrice) {
forceGasMin = ethUtil.addHexPrefix(multiplyCurrencies(lastGasPrice, 1.1, {
multiplicandBase: 16,
multiplierBase: 10,
toNumericBase: 'hex',
}))
}
txData.txParams.gasPrice = sendGasPrice || forceGasMin || txGasPrice
txData.txParams.gas = sendGasLimit || txGasLimit
// log.debug(`UI has defaulted to tx meta ${JSON.stringify(txData)}`)
return txData
}

@ -1,60 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const AccountPanel = require('./account-panel')
const TypedMessageRenderer = require('./typed-message-renderer')
const t = require('../../i18n')
module.exports = PendingMsgDetails
inherits(PendingMsgDetails, Component)
function PendingMsgDetails () {
Component.call(this)
}
PendingMsgDetails.prototype.render = function () {
var state = this.props
var msgData = state.txData
var msgParams = msgData.msgParams || {}
var address = msgParams.from || state.selectedAddress
var identity = state.identities[address] || { address: address }
var account = state.accounts[address] || { address: address }
var { data } = msgParams
return (
h('div', {
key: msgData.id,
style: {
margin: '10px 20px',
},
}, [
// account that will sign
h(AccountPanel, {
showFullAddress: true,
identity: identity,
account: account,
imageifyIdenticons: state.imageifyIdenticons,
}),
// message data
h('div', {
style: {
height: '260px',
},
}, [
h('label.font-small.allcaps', { style: { display: 'block' } }, t('youSign')),
h(TypedMessageRenderer, {
value: data,
style: {
height: '215px',
},
}),
]),
])
)
}

@ -1,47 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const PendingTxDetails = require('./pending-typed-msg-details')
const t = require('../../i18n')
module.exports = PendingMsg
inherits(PendingMsg, Component)
function PendingMsg () {
Component.call(this)
}
PendingMsg.prototype.render = function () {
var state = this.props
var msgData = state.txData
return (
h('div', {
key: msgData.id,
}, [
// header
h('h3', {
style: {
fontWeight: 'bold',
textAlign: 'center',
},
}, t('signMessage')),
// message details
h(PendingTxDetails, state),
// sign + cancel
h('.flex-row.flex-space-around', [
h('button.allcaps', {
onClick: state.cancelTypedMessage,
}, t('cancel')),
h('button.allcaps', {
onClick: state.signTypedMessage,
}, t('sign')),
]),
])
)
}

@ -1,58 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
module.exports = RangeSlider
inherits(RangeSlider, Component)
function RangeSlider () {
Component.call(this)
}
RangeSlider.prototype.render = function () {
const state = this.state || {}
const props = this.props
const onInput = props.onInput || function () {}
const name = props.name
const {
min = 0,
max = 100,
increment = 1,
defaultValue = 50,
mirrorInput = false,
} = this.props.options
const {container, input, range} = props.style
return (
h('.flex-row', {
style: container,
}, [
h('input', {
type: 'range',
name: name,
min: min,
max: max,
step: increment,
style: range,
value: state.value || defaultValue,
onChange: mirrorInput ? this.mirrorInputs.bind(this, event) : onInput,
}),
// Mirrored input for range
mirrorInput ? h('input.large-input', {
type: 'number',
name: `${name}Mirror`,
min: min,
max: max,
value: state.value || defaultValue,
step: increment,
style: input,
onChange: this.mirrorInputs.bind(this, event),
}) : null,
])
)
}
RangeSlider.prototype.mirrorInputs = function (event) {
this.setState({value: event.target.value})
}

@ -1,440 +0,0 @@
const Component = require('react').Component
const connect = require('react-redux').connect
const h = require('react-hyperscript')
const classnames = require('classnames')
const abi = require('ethereumjs-abi')
const inherits = require('util').inherits
const actions = require('../../actions')
const selectors = require('../../selectors')
const { isValidAddress, allNull } = require('../../util')
const t = require('../../../i18n')
// const BalanceComponent = require('./balance-component')
const Identicon = require('../identicon')
const TokenBalance = require('../token-balance')
const CurrencyToggle = require('../send/currency-toggle')
const GasTooltip = require('../send/gas-tooltip')
const GasFeeDisplay = require('../send/gas-fee-display')
module.exports = connect(mapStateToProps, mapDispatchToProps)(SendTokenScreen)
function mapStateToProps (state) {
// const sidebarOpen = state.appState.sidebarOpen
const { warning } = state.appState
const identities = state.metamask.identities
const addressBook = state.metamask.addressBook
const conversionRate = state.metamask.conversionRate
const currentBlockGasLimit = state.metamask.currentBlockGasLimit
const accounts = state.metamask.accounts
const selectedTokenAddress = state.metamask.selectedTokenAddress
const selectedAddress = state.metamask.selectedAddress || Object.keys(accounts)[0]
const selectedToken = selectors.getSelectedToken(state)
const tokenExchangeRates = state.metamask.tokenExchangeRates
const pair = `${selectedToken.symbol.toLowerCase()}_eth`
const { rate: tokenExchangeRate = 0 } = tokenExchangeRates[pair] || {}
return {
selectedAddress,
selectedTokenAddress,
identities,
addressBook,
conversionRate,
tokenExchangeRate,
currentBlockGasLimit,
selectedToken,
warning,
}
}
function mapDispatchToProps (dispatch) {
return {
backToAccountDetail: address => dispatch(actions.backToAccountDetail(address)),
hideWarning: () => dispatch(actions.hideWarning()),
addToAddressBook: (recipient, nickname) => dispatch(
actions.addToAddressBook(recipient, nickname)
),
signTx: txParams => dispatch(actions.signTx(txParams)),
signTokenTx: (tokenAddress, toAddress, amount, txData) => (
dispatch(actions.signTokenTx(tokenAddress, toAddress, amount, txData))
),
updateTokenExchangeRate: token => dispatch(actions.updateTokenExchangeRate(token)),
estimateGas: params => dispatch(actions.estimateGas(params)),
getGasPrice: () => dispatch(actions.getGasPrice()),
}
}
inherits(SendTokenScreen, Component)
function SendTokenScreen () {
Component.call(this)
this.state = {
to: '',
amount: '0x0',
amountToSend: '0x0',
selectedCurrency: 'USD',
isGasTooltipOpen: false,
gasPrice: null,
gasLimit: null,
errors: {},
}
}
SendTokenScreen.prototype.componentWillMount = function () {
const {
updateTokenExchangeRate,
selectedToken: { symbol },
getGasPrice,
estimateGas,
selectedAddress,
} = this.props
updateTokenExchangeRate(symbol)
const data = Array.prototype.map.call(
abi.rawEncode(['address', 'uint256'], [selectedAddress, '0x0']),
x => ('00' + x.toString(16)).slice(-2)
).join('')
console.log(data)
Promise.all([
getGasPrice(),
estimateGas({
from: selectedAddress,
value: '0x0',
gas: '746a528800',
data,
}),
])
.then(([blockGasPrice, estimatedGas]) => {
console.log({ blockGasPrice, estimatedGas})
this.setState({
gasPrice: blockGasPrice,
gasLimit: estimatedGas,
})
})
}
SendTokenScreen.prototype.validate = function () {
const {
to,
amount: stringAmount,
gasPrice: hexGasPrice,
gasLimit: hexGasLimit,
} = this.state
const gasPrice = parseInt(hexGasPrice, 16)
const gasLimit = parseInt(hexGasLimit, 16) / 1000000000
const amount = Number(stringAmount)
const errors = {
to: !to ? t('required') : null,
amount: !amount ? t('required') : null,
gasPrice: !gasPrice ? t('gasPriceRequired') : null,
gasLimit: !gasLimit ? t('gasLimitRequired') : null,
}
if (to && !isValidAddress(to)) {
errors.to = t('invalidAddress')
}
const isValid = Object.entries(errors).every(([key, value]) => value === null)
return {
isValid,
errors: isValid ? {} : errors,
}
}
SendTokenScreen.prototype.setErrorsFor = function (field) {
const { errors: previousErrors } = this.state
const {
isValid,
errors: newErrors,
} = this.validate()
const nextErrors = Object.assign({}, previousErrors, {
[field]: newErrors[field] || null,
})
if (!isValid) {
this.setState({
errors: nextErrors,
isValid,
})
}
}
SendTokenScreen.prototype.clearErrorsFor = function (field) {
const { errors: previousErrors } = this.state
const nextErrors = Object.assign({}, previousErrors, {
[field]: null,
})
this.setState({
errors: nextErrors,
isValid: allNull(nextErrors),
})
}
SendTokenScreen.prototype.getAmountToSend = function (amount, selectedToken) {
const { decimals } = selectedToken || {}
const multiplier = Math.pow(10, Number(decimals || 0))
const sendAmount = '0x' + Number(amount * multiplier).toString(16)
return sendAmount
}
SendTokenScreen.prototype.submit = function () {
const {
to,
amount,
gasPrice,
gasLimit,
} = this.state
const {
identities,
selectedAddress,
selectedTokenAddress,
hideWarning,
addToAddressBook,
signTokenTx,
selectedToken,
} = this.props
const { nickname = ' ' } = identities[to] || {}
hideWarning()
addToAddressBook(to, nickname)
const txParams = {
from: selectedAddress,
value: '0',
gas: gasLimit,
gasPrice: gasPrice,
}
const sendAmount = this.getAmountToSend(amount, selectedToken)
signTokenTx(selectedTokenAddress, to, sendAmount, txParams)
}
SendTokenScreen.prototype.renderToAddressInput = function () {
const {
identities,
addressBook,
} = this.props
const {
to,
errors: { to: errorMessage },
} = this.state
return h('div', {
className: classnames('send-screen-input-wrapper', {
'send-screen-input-wrapper--error': errorMessage,
}),
}, [
h('div', [t('to') + ':']),
h('input.large-input.send-screen-input', {
name: 'address',
list: 'addresses',
placeholder: t('address'),
value: to,
onChange: e => this.setState({
to: e.target.value,
errors: {},
}),
onBlur: () => {
this.setErrorsFor('to')
},
onFocus: event => {
if (to) event.target.select()
this.clearErrorsFor('to')
},
}),
h('datalist#addresses', [
// Corresponds to the addresses owned.
Object.entries(identities).map(([key, { address, name }]) => {
return h('option', {
value: address,
label: name,
key: address,
})
}),
addressBook.map(({ address, name }) => {
return h('option', {
value: address,
label: name,
key: address,
})
}),
]),
h('div.send-screen-input-wrapper__error-message', [ errorMessage ]),
])
}
SendTokenScreen.prototype.renderAmountInput = function () {
const {
selectedCurrency,
amount,
errors: { amount: errorMessage },
} = this.state
const {
tokenExchangeRate,
selectedToken: {symbol},
} = this.props
return h('div.send-screen-input-wrapper', {
className: classnames('send-screen-input-wrapper', {
'send-screen-input-wrapper--error': errorMessage,
}),
}, [
h('div.send-screen-amount-labels', [
h('span', [t('amount')]),
h(CurrencyToggle, {
currentCurrency: tokenExchangeRate ? selectedCurrency : 'USD',
currencies: tokenExchangeRate ? [ symbol, 'USD' ] : [],
onClick: currency => this.setState({ selectedCurrency: currency }),
}),
]),
h('input.large-input.send-screen-input', {
placeholder: `0 ${symbol}`,
type: 'number',
value: amount,
onChange: e => this.setState({
amount: e.target.value,
}),
onBlur: () => {
this.setErrorsFor('amount')
},
onFocus: () => this.clearErrorsFor('amount'),
}),
h('div.send-screen-input-wrapper__error-message', [ errorMessage ]),
])
}
SendTokenScreen.prototype.renderGasInput = function () {
const {
isGasTooltipOpen,
gasPrice,
gasLimit,
selectedCurrency,
errors: {
gasPrice: gasPriceErrorMessage,
gasLimit: gasLimitErrorMessage,
},
} = this.state
const {
conversionRate,
tokenExchangeRate,
currentBlockGasLimit,
} = this.props
return h('div.send-screen-input-wrapper', {
className: classnames('send-screen-input-wrapper', {
'send-screen-input-wrapper--error': gasPriceErrorMessage || gasLimitErrorMessage,
}),
}, [
isGasTooltipOpen && h(GasTooltip, {
className: 'send-tooltip',
gasPrice: gasPrice || '0x0',
gasLimit: gasLimit || '0x0',
onClose: () => this.setState({ isGasTooltipOpen: false }),
onFeeChange: ({ gasLimit, gasPrice }) => {
this.setState({ gasLimit, gasPrice, errors: {} })
},
onBlur: () => {
this.setErrorsFor('gasLimit')
this.setErrorsFor('gasPrice')
},
onFocus: () => {
this.clearErrorsFor('gasLimit')
this.clearErrorsFor('gasPrice')
},
}),
h('div.send-screen-gas-labels', {}, [
h('span', [ h('i.fa.fa-bolt'), t('gasFee') + ':']),
h('span', [t('whatsThis')]),
]),
h('div.large-input.send-screen-gas-input', [
h(GasFeeDisplay, {
conversionRate,
tokenExchangeRate,
gasPrice: gasPrice || '0x0',
activeCurrency: selectedCurrency,
gas: gasLimit || '0x0',
blockGasLimit: currentBlockGasLimit,
}),
h(
'div.send-screen-gas-input-customize',
{ onClick: () => this.setState({ isGasTooltipOpen: !isGasTooltipOpen }) },
[t('customize')]
),
]),
h('div.send-screen-input-wrapper__error-message', [
gasPriceErrorMessage || gasLimitErrorMessage,
]),
])
}
SendTokenScreen.prototype.renderMemoInput = function () {
return h('div.send-screen-input-wrapper', [
h('div', {}, [t('transactionMemo')]),
h(
'input.large-input.send-screen-input',
{ onChange: e => this.setState({ memo: e.target.value }) }
),
])
}
SendTokenScreen.prototype.renderButtons = function () {
const { selectedAddress, backToAccountDetail } = this.props
const { isValid } = this.validate()
return h('div.send-token__button-group', [
h('button.send-token__button-next.btn-secondary', {
className: !isValid && 'send-screen__send-button__disabled',
onClick: () => isValid && this.submit(),
}, [t('next')]),
h('button.send-token__button-cancel.btn-tertiary', {
onClick: () => backToAccountDetail(selectedAddress),
}, [t('cancel')]),
])
}
SendTokenScreen.prototype.render = function () {
const {
selectedTokenAddress,
selectedToken,
warning,
} = this.props
return h('div.send-token', [
h('div.send-token__content', [
h(Identicon, {
diameter: 75,
address: selectedTokenAddress,
}),
h('div.send-token__title', [t('sendTokens')]),
h('div.send-token__description', [t('sendTokensAnywhere')]),
h('div.send-token__balance-text', [t('tokenBalance')]),
h('div.send-token__token-balance', [
h(TokenBalance, { token: selectedToken, balanceOnly: true }),
]),
h('div.send-token__token-symbol', [selectedToken.symbol]),
this.renderToAddressInput(),
this.renderAmountInput(),
this.renderGasInput(),
this.renderMemoInput(),
warning && h('div.send-screen-input-wrapper--error', {},
h('div.send-screen-input-wrapper__error-message', [
warning,
])
),
]),
this.renderButtons(),
])
}

@ -1,44 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const classnames = require('classnames')
module.exports = CurrencyToggle
inherits(CurrencyToggle, Component)
function CurrencyToggle () {
Component.call(this)
}
const defaultCurrencies = [ 'ETH', 'USD' ]
CurrencyToggle.prototype.renderToggles = function () {
const { onClick, activeCurrency } = this.props
const [currencyA, currencyB] = this.props.currencies || defaultCurrencies
return [
h('span', {
className: classnames('currency-toggle__item', {
'currency-toggle__item--selected': currencyA === activeCurrency,
}),
onClick: () => onClick(currencyA),
}, [ currencyA ]),
'<>',
h('span', {
className: classnames('currency-toggle__item', {
'currency-toggle__item--selected': currencyB === activeCurrency,
}),
onClick: () => onClick(currencyB),
}, [ currencyB ]),
]
}
CurrencyToggle.prototype.render = function () {
const currencies = this.props.currencies || defaultCurrencies
return h('span.currency-toggle', currencies.length
? this.renderToggles()
: []
)
}

@ -1,37 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const EthBalance = require('../eth-balance')
const { getTxFeeBn } = require('../../util')
module.exports = EthFeeDisplay
inherits(EthFeeDisplay, Component)
function EthFeeDisplay () {
Component.call(this)
}
EthFeeDisplay.prototype.render = function () {
const {
activeCurrency,
conversionRate,
gas,
gasPrice,
blockGasLimit,
} = this.props
return h(EthBalance, {
value: getTxFeeBn(gas, gasPrice, blockGasLimit),
currentCurrency: activeCurrency,
conversionRate,
showFiat: false,
hideTooltip: true,
styleOveride: {
color: '#5d5d5d',
fontSize: '16px',
fontFamily: 'DIN OT',
lineHeight: '22.4px',
},
})
}

@ -18,6 +18,7 @@ GasFeeDisplay.prototype.render = function () {
onClick,
primaryCurrency = 'ETH',
convertedCurrency,
gasLoadingError,
} = this.props
return h('div.send-v2__gas-fee-display', [
@ -31,13 +32,15 @@ GasFeeDisplay.prototype.render = function () {
convertedPrefix: '$',
readOnly: true,
})
: h('div.currency-display', t('loading')),
: gasLoadingError
? h('div..currency-display.currency-display--message', 'Set with the gas price customizer.')
: h('div.currency-display', t('loading')),
h('button.send-v2__sliders-icon-container', {
h('button.sliders-icon-container', {
onClick,
disabled: !gasTotal,
disabled: !gasTotal && !gasLoadingError,
}, [
h('i.fa.fa-sliders.send-v2__sliders-icon'),
h('i.fa.fa-sliders.sliders-icon'),
]),
])

@ -1,62 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const USDFeeDisplay = require('./usd-fee-display')
const EthFeeDisplay = require('./eth-fee-display')
const { getTxFeeBn, formatBalance, shortenBalance } = require('../../util')
module.exports = GasFeeDisplay
inherits(GasFeeDisplay, Component)
function GasFeeDisplay () {
Component.call(this)
}
GasFeeDisplay.prototype.getTokenValue = function () {
const {
tokenExchangeRate,
gas,
gasPrice,
blockGasLimit,
} = this.props
const value = formatBalance(getTxFeeBn(gas, gasPrice, blockGasLimit), 6, true)
const [ethNumber] = value.split(' ')
return shortenBalance(Number(ethNumber) / tokenExchangeRate, 6)
}
GasFeeDisplay.prototype.render = function () {
const {
activeCurrency,
conversionRate,
gas,
gasPrice,
blockGasLimit,
} = this.props
switch (activeCurrency) {
case 'USD':
return h(USDFeeDisplay, {
activeCurrency,
conversionRate,
gas,
gasPrice,
blockGasLimit,
})
case 'ETH':
return h(EthFeeDisplay, {
activeCurrency,
conversionRate,
gas,
gasPrice,
blockGasLimit,
})
default:
return h('div.token-gas', [
h('div.token-gas__amount', this.getTokenValue()),
h('div.token-gas__symbol', activeCurrency),
])
}
}

@ -48,6 +48,7 @@ function mapStateToProps (state) {
primaryCurrency,
convertedCurrency: getCurrentCurrency(state),
data,
selectedAddress,
amountConversionRate: selectedToken ? tokenToFiatRate : conversionRate,
tokenContract: getSelectedTokenContract(state),
unapprovedTxs: state.metamask.unapprovedTxs,

@ -1,35 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const FiatValue = require('../fiat-value')
const { getTxFeeBn } = require('../../util')
module.exports = USDFeeDisplay
inherits(USDFeeDisplay, Component)
function USDFeeDisplay () {
Component.call(this)
}
USDFeeDisplay.prototype.render = function () {
const {
activeCurrency,
conversionRate,
gas,
gasPrice,
blockGasLimit,
} = this.props
return h(FiatValue, {
value: getTxFeeBn(gas, gasPrice, blockGasLimit),
conversionRate,
currentCurrency: activeCurrency,
style: {
color: '#5d5d5d',
fontSize: '16px',
fontFamily: 'DIN OT',
lineHeight: '22.4px',
},
})
}

@ -0,0 +1,66 @@
const { Component } = require('react')
const h = require('react-hyperscript')
const PropTypes = require('prop-types')
const t = require('../../i18n')
const Identicon = require('./identicon')
class SenderToRecipient extends Component {
renderRecipientIcon () {
const { recipientAddress } = this.props
return (
recipientAddress
? h(Identicon, { address: recipientAddress, diameter: 20 })
: h('i.fa.fa-file-text-o')
)
}
renderRecipient () {
const { recipientName } = this.props
return (
h('.sender-to-recipient__recipient', [
this.renderRecipientIcon(),
h(
'.sender-to-recipient__name.sender-to-recipient__recipient-name',
recipientName || t('newContract')
),
])
)
}
render () {
const { senderName, senderAddress } = this.props
return (
h('.sender-to-recipient__container', [
h('.sender-to-recipient__sender', [
h('.sender-to-recipient__sender-icon', [
h(Identicon, {
address: senderAddress,
diameter: 20,
}),
]),
h('.sender-to-recipient__name.sender-to-recipient__sender-name', senderName),
]),
h('.sender-to-recipient__arrow-container', [
h('.sender-to-recipient__arrow-circle', [
h('img', {
height: 15,
width: 15,
src: '/images/arrow-right.svg',
}),
]),
]),
this.renderRecipient(),
])
)
}
}
SenderToRecipient.propTypes = {
senderName: PropTypes.string,
senderAddress: PropTypes.string,
recipientName: PropTypes.string,
recipientAddress: PropTypes.string,
}
module.exports = SenderToRecipient

@ -1,18 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
module.exports = NewComponent
inherits(NewComponent, Component)
function NewComponent () {
Component.call(this)
}
NewComponent.prototype.render = function () {
const props = this.props
return (
h('span', props.message)
)
}

@ -1,68 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const Tooltip = require('./tooltip')
const Identicon = require('./identicon')
module.exports = TransactionIcon
inherits(TransactionIcon, Component)
function TransactionIcon () {
Component.call(this)
}
TransactionIcon.prototype.render = function () {
const { transaction, txParams, isMsg } = this.props
switch (transaction.status) {
case 'unapproved':
return h(!isMsg ? '.unapproved-tx-icon' : 'i.fa.fa-certificate.fa-lg')
case 'rejected':
return h('i.fa.fa-exclamation-triangle.fa-lg.warning', {
style: {
width: '24px',
},
})
case 'failed':
return h('i.fa.fa-exclamation-triangle.fa-lg.error', {
style: {
width: '24px',
},
})
case 'submitted':
return h(Tooltip, {
title: 'Pending',
position: 'right',
}, [
h('i.fa.fa-ellipsis-h', {
style: {
fontSize: '27px',
},
}),
])
}
if (isMsg) {
return h('i.fa.fa-certificate.fa-lg', {
style: {
width: '24px',
},
})
}
if (txParams.to) {
return h(Identicon, {
diameter: 24,
address: txParams.to || transaction.hash,
})
} else {
return h('i.fa.fa-file-text-o.fa-lg', {
style: {
width: '24px',
},
})
}
}

@ -1,239 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const connect = require('react-redux').connect
const EthBalance = require('./eth-balance')
const addressSummary = require('../util').addressSummary
const explorerLink = require('etherscan-link').createExplorerLink
const CopyButton = require('./copyButton')
const vreme = new (require('vreme'))()
const Tooltip = require('./tooltip')
const numberToBN = require('number-to-bn')
const actions = require('../actions')
const t = require('../../i18n')
const TransactionIcon = require('./transaction-list-item-icon')
const ShiftListItem = require('./shift-list-item')
const mapDispatchToProps = dispatch => {
return {
retryTransaction: transactionId => dispatch(actions.retryTransaction(transactionId)),
}
}
module.exports = connect(null, mapDispatchToProps)(TransactionListItem)
inherits(TransactionListItem, Component)
function TransactionListItem () {
Component.call(this)
}
TransactionListItem.prototype.showRetryButton = function () {
const { transaction = {} } = this.props
const { status, time } = transaction
return status === 'submitted' && Date.now() - time > 30000
}
TransactionListItem.prototype.render = function () {
const { transaction, network, conversionRate, currentCurrency } = this.props
const { status } = transaction
if (transaction.key === 'shapeshift') {
if (network === '1') return h(ShiftListItem, transaction)
}
var date = formatDate(transaction.time)
let isLinkable = false
const numericNet = parseInt(network)
isLinkable = numericNet === 1 || numericNet === 3 || numericNet === 4 || numericNet === 42
var isMsg = ('msgParams' in transaction)
var isTx = ('txParams' in transaction)
var isPending = status === 'unapproved'
let txParams
if (isTx) {
txParams = transaction.txParams
} else if (isMsg) {
txParams = transaction.msgParams
}
const nonce = txParams.nonce ? numberToBN(txParams.nonce).toString(10) : ''
const isClickable = ('hash' in transaction && isLinkable) || isPending
return (
h('.transaction-list-item.flex-column', {
onClick: (event) => {
if (isPending) {
this.props.showTx(transaction.id)
}
event.stopPropagation()
if (!transaction.hash || !isLinkable) return
var url = explorerLink(transaction.hash, parseInt(network))
global.platform.openWindow({ url })
},
style: {
padding: '20px 0',
alignItems: 'center',
},
}, [
h(`.flex-row.flex-space-between${isClickable ? '.pointer' : ''}`, {
style: {
width: '100%',
},
}, [
h('.identicon-wrapper.flex-column.flex-center.select-none', [
h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
]),
h(Tooltip, {
title: t('transactionNumber'),
position: 'right',
}, [
h('span', {
style: {
display: 'flex',
cursor: 'normal',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
padding: '10px',
},
}, nonce),
]),
h('.flex-column', {style: {width: '200px', overflow: 'hidden'}}, [
domainField(txParams),
h('div', date),
recipientField(txParams, transaction, isTx, isMsg),
]),
// Places a copy button if tx is successful, else places a placeholder empty div.
transaction.hash ? h(CopyButton, { value: transaction.hash }) : h('div', {style: { display: 'flex', alignItems: 'center', width: '26px' }}),
isTx ? h(EthBalance, {
value: txParams.value,
conversionRate,
currentCurrency,
width: '55px',
shorten: true,
showFiat: false,
style: {fontSize: '15px'},
}) : h('.flex-column'),
]),
this.showRetryButton() && h('.transition-list-item__retry.grow-on-hover', {
onClick: event => {
event.stopPropagation()
this.resubmit()
},
style: {
height: '22px',
borderRadius: '22px',
color: '#F9881B',
padding: '0 20px',
backgroundColor: '#FFE3C9',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
fontSize: '8px',
cursor: 'pointer',
},
}, [
h('div', {
style: {
paddingRight: '2px',
},
}, t('takesTooLong')),
h('div', {
style: {
textDecoration: 'underline',
},
}, t('retryWithMoreGas')),
]),
])
)
}
TransactionListItem.prototype.resubmit = function () {
const { transaction } = this.props
this.props.retryTransaction(transaction.id)
}
function domainField (txParams) {
return h('div', {
style: {
fontSize: 'x-small',
color: '#ABA9AA',
overflow: 'hidden',
textOverflow: 'ellipsis',
width: '100%',
},
}, [
txParams.origin,
])
}
function recipientField (txParams, transaction, isTx, isMsg) {
let message
if (isMsg) {
message = t('sigRequested')
} else if (txParams.to) {
message = addressSummary(txParams.to)
} else {
message = t('contractDeployment')
}
return h('div', {
style: {
fontSize: 'x-small',
color: '#ABA9AA',
},
}, [
message,
renderErrorOrWarning(transaction),
])
}
function formatDate (date) {
return vreme.format(new Date(date), 'March 16 2014 14:30')
}
function renderErrorOrWarning (transaction) {
const { status } = transaction
// show rejected
if (status === 'rejected') {
return h('span.error', ' (' + t('rejected') + ')')
}
if (transaction.err || transaction.warning) {
const { err, warning = {} } = transaction
const errFirst = !!((err && warning) || err)
errFirst ? err.message : warning.message
// show error
if (err) {
const message = err.message || ''
return (
h(Tooltip, {
title: message,
position: 'bottom',
}, [
h(`span.error`, ` (` + t('failed') + `)`),
])
)
}
// show warning
if (warning) {
const message = warning.message
return h(Tooltip, {
title: message,
position: 'bottom',
}, [
h(`span.warning`, ` (` + t('warning') + `)`),
])
}
}
}

@ -1,87 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const TransactionListItem = require('./transaction-list-item')
const t = require('../../i18n')
module.exports = TransactionList
inherits(TransactionList, Component)
function TransactionList () {
Component.call(this)
}
TransactionList.prototype.render = function () {
const { transactions, network, unapprovedMsgs, conversionRate } = this.props
var shapeShiftTxList
if (network === '1') {
shapeShiftTxList = this.props.shapeShiftTxList
}
const txsToRender = !shapeShiftTxList ? transactions.concat(unapprovedMsgs) : transactions.concat(unapprovedMsgs, shapeShiftTxList)
.sort((a, b) => b.time - a.time)
return (
h('section.transaction-list.full-flex-height', {
style: {
justifyContent: 'center',
},
}, [
h('style', `
.transaction-list .transaction-list-item:not(:last-of-type) {
border-bottom: 1px solid #D4D4D4;
}
.transaction-list .transaction-list-item .ether-balance-label {
display: block !important;
font-size: small;
}
`),
h('.tx-list', {
style: {
overflowY: 'auto',
height: '100%',
padding: '0 20px',
textAlign: 'center',
},
}, [
txsToRender.length
? txsToRender.map((transaction, i) => {
let key
switch (transaction.key) {
case 'shapeshift':
const { depositAddress, time } = transaction
key = `shift-tx-${depositAddress}-${time}-${i}`
break
default:
key = `tx-${transaction.id}-${i}`
}
return h(TransactionListItem, {
transaction, i, network, key,
conversionRate,
showTx: (txId) => {
this.props.viewPendingTx(txId)
},
})
})
: h('.flex-center.full-flex-height', {
style: {
flexDirection: 'column',
justifyContent: 'center',
},
}, [
h('p', {
style: {
marginTop: '50px',
},
}, t('noTransactionHistory')),
]),
]),
])
)
}

@ -9,19 +9,28 @@ abiDecoder.addABI(abi)
const Identicon = require('./identicon')
const contractMap = require('eth-contract-metadata')
const actions = require('../actions')
const { conversionUtil, multiplyCurrencies } = require('../conversion-util')
const { calcTokenAmount } = require('../token-util')
const { getCurrentCurrency } = require('../selectors')
const t = require('../../i18n')
module.exports = connect(mapStateToProps)(TxListItem)
module.exports = connect(mapStateToProps, mapDispatchToProps)(TxListItem)
function mapStateToProps (state) {
return {
tokens: state.metamask.tokens,
currentCurrency: getCurrentCurrency(state),
tokenExchangeRates: state.metamask.tokenExchangeRates,
selectedAddressTxList: state.metamask.selectedAddressTxList,
}
}
function mapDispatchToProps (dispatch) {
return {
setSelectedToken: tokenAddress => dispatch(actions.setSelectedToken(tokenAddress)),
retryTransaction: transactionId => dispatch(actions.retryTransaction(transactionId)),
}
}
@ -32,6 +41,7 @@ function TxListItem () {
this.state = {
total: null,
fiatTotal: null,
isTokenTx: null,
}
}
@ -40,12 +50,13 @@ TxListItem.prototype.componentDidMount = async function () {
const decodedData = txParams.data && abiDecoder.decodeMethod(txParams.data)
const { name: txDataName } = decodedData || {}
const isTokenTx = txDataName === 'transfer'
const { total, fiatTotal } = txDataName === 'transfer'
const { total, fiatTotal } = isTokenTx
? await this.getSendTokenTotal()
: this.getSendEtherTotal()
this.setState({ total, fiatTotal })
this.setState({ total, fiatTotal, isTokenTx })
}
TxListItem.prototype.getAddressText = function () {
@ -168,22 +179,49 @@ TxListItem.prototype.getSendTokenTotal = async function () {
}
}
TxListItem.prototype.showRetryButton = function () {
const {
transactionSubmittedTime,
selectedAddressTxList,
transactionId,
txParams,
} = this.props
const currentNonce = txParams.nonce
const currentNonceTxs = selectedAddressTxList.filter(tx => tx.txParams.nonce === currentNonce)
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted')
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[currentNonceSubmittedTxs.length - 1]
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce
&& lastSubmittedTxWithCurrentNonce.id === transactionId
return currentTxIsLatestWithNonce && Date.now() - transactionSubmittedTime > 30000
}
TxListItem.prototype.setSelectedToken = function (tokenAddress) {
this.props.setSelectedToken(tokenAddress)
}
TxListItem.prototype.resubmit = function () {
const { transactionId } = this.props
this.props.retryTransaction(transactionId)
}
TxListItem.prototype.render = function () {
const {
transactionStatus,
transactionAmount,
onClick,
transActionId,
transactionId,
dateString,
address,
className,
txParams,
} = this.props
const { total, fiatTotal } = this.state
const { total, fiatTotal, isTokenTx } = this.state
const showFiatTotal = transactionAmount !== '0x0' && fiatTotal
return h(`div${className || ''}`, {
key: transActionId,
onClick: () => onClick && onClick(transActionId),
key: transactionId,
onClick: () => onClick && onClick(transactionId),
}, [
h(`div.flex-column.tx-list-item-wrapper`, {}, [
@ -224,9 +262,10 @@ TxListItem.prototype.render = function () {
className: classnames('tx-list-status', {
'tx-list-status--rejected': transactionStatus === 'rejected',
'tx-list-status--failed': transactionStatus === 'failed',
'tx-list-status--dropped': transactionStatus === 'dropped',
}),
},
transactionStatus,
this.txStatusIndicator(),
),
]),
]),
@ -241,6 +280,48 @@ TxListItem.prototype.render = function () {
]),
]),
this.showRetryButton() && h('div.tx-list-item-retry-container', [
h('span.tx-list-item-retry-copy', 'Taking too long?'),
h('span.tx-list-item-retry-link', {
onClick: (event) => {
event.stopPropagation()
if (isTokenTx) {
this.setSelectedToken(txParams.to)
}
this.resubmit()
},
}, 'Increase the gas price on your transaction'),
]),
]), // holding on icon from design
])
}
TxListItem.prototype.txStatusIndicator = function () {
const { transactionStatus } = this.props
let name
if (transactionStatus === 'unapproved') {
name = t('unapproved')
} else if (transactionStatus === 'rejected') {
name = t('rejected')
} else if (transactionStatus === 'approved') {
name = t('approved')
} else if (transactionStatus === 'signed') {
name = t('signed')
} else if (transactionStatus === 'submitted') {
name = t('submitted')
} else if (transactionStatus === 'confirmed') {
name = t('confirmed')
} else if (transactionStatus === 'failed') {
name = t('failed')
} else if (transactionStatus === 'dropped') {
name = t('dropped')
}
return name
}

@ -40,7 +40,7 @@ TxList.prototype.render = function () {
return h('div.flex-column', [
h('div.flex-row.tx-list-header-wrapper', [
h('div.flex-row.tx-list-header', [
h('div', 'transactions'),
h('div', t('transactions')),
]),
]),
h('div.flex-column.tx-list-container', {}, [
@ -75,9 +75,10 @@ TxList.prototype.renderTransactionListItem = function (transaction, conversionRa
address: transaction.txParams.to,
transactionStatus: transaction.status,
transactionAmount: transaction.txParams.value,
transActionId: transaction.id,
transactionId: transaction.id,
transactionHash: transaction.hash,
transactionNetworkId: transaction.metamaskNetworkId,
transactionSubmittedTime: transaction.submittedTime,
}
const {
@ -85,29 +86,31 @@ TxList.prototype.renderTransactionListItem = function (transaction, conversionRa
transactionStatus,
transactionAmount,
dateString,
transActionId,
transactionId,
transactionHash,
transactionNetworkId,
transactionSubmittedTime,
} = props
const { showConfTxPage } = this.props
const opts = {
key: transActionId || transactionHash,
key: transactionId || transactionHash,
txParams: transaction.txParams,
transactionStatus,
transActionId,
transactionId,
dateString,
address,
transactionAmount,
transactionHash,
conversionRate,
tokenInfoGetter: this.tokenInfoGetter,
transactionSubmittedTime,
}
const isUnapproved = transactionStatus === 'unapproved'
if (isUnapproved) {
opts.onClick = () => showConfTxPage({id: transActionId})
opts.onClick = () => showConfTxPage({id: transactionId})
opts.transactionStatus = t('Not Started')
} else if (transactionHash) {
opts.onClick = () => this.view(transactionHash, transactionNetworkId)

@ -1,42 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const extend = require('xtend')
module.exports = TypedMessageRenderer
inherits(TypedMessageRenderer, Component)
function TypedMessageRenderer () {
Component.call(this)
}
TypedMessageRenderer.prototype.render = function () {
const props = this.props
const { value, style } = props
const text = renderTypedData(value)
const defaultStyle = extend({
width: '315px',
maxHeight: '210px',
resize: 'none',
border: 'none',
background: 'white',
padding: '3px',
overflow: 'scroll',
}, style)
return (
h('div.font-small', {
style: defaultStyle,
}, text)
)
}
function renderTypedData (values) {
return values.map(function (value) {
return h('div', {}, [
h('strong', {style: {display: 'block', fontWeight: 'bold'}}, String(value.name) + ':'),
h('div', {}, value.value),
])
})
}

@ -1,56 +0,0 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
module.exports = WalletContentDisplay
inherits(WalletContentDisplay, Component)
function WalletContentDisplay () {
Component.call(this)
}
WalletContentDisplay.prototype.render = function () {
const { title, amount, fiatValue, active, style } = this.props
// TODO: Separate component: wallet-content-account
return h('div.flex-column', {
style: {
marginLeft: '1.3em',
alignItems: 'flex-start',
...style,
},
}, [
h('span', {
style: {
fontSize: '1.1em',
},
}, title),
h('span', {
style: {
fontSize: '1.8em',
margin: '0.4em 0em',
},
}, amount),
h('span', {
style: {
fontSize: '1.3em',
},
}, fiatValue),
active && h('div', {
style: {
position: 'absolute',
marginLeft: '-1.3em',
height: '6em',
width: '0.3em',
background: '#D8D8D8', // $alto
},
}, [
]),
])
}

@ -40,6 +40,7 @@ function mapStateToProps (state) {
currentCurrency: state.metamask.currentCurrency,
blockGasLimit: state.metamask.currentBlockGasLimit,
computedBalances: state.metamask.computedBalances,
selectedAddressTxList: state.metamask.selectedAddressTxList,
}
}
@ -48,6 +49,23 @@ function ConfirmTxScreen () {
Component.call(this)
}
ConfirmTxScreen.prototype.componentDidUpdate = function (prevProps) {
const {
unapprovedTxs,
network,
selectedAddressTxList,
} = this.props
const { index: prevIndex, unapprovedTxs: prevUnapprovedTxs } = prevProps
const prevUnconfTxList = txHelper(prevUnapprovedTxs, {}, {}, {}, network)
const prevTxData = prevUnconfTxList[prevIndex] || {}
const prevTx = selectedAddressTxList.find(({ id }) => id === prevTxData.id) || {}
const unconfTxList = txHelper(unapprovedTxs, {}, {}, {}, network)
if (prevTx.status === 'dropped' && unconfTxList.length === 0) {
this.goHome({})
}
}
ConfirmTxScreen.prototype.render = function () {
const props = this.props
const {

@ -187,6 +187,18 @@ const conversionGreaterThan = (
return firstValue.gt(secondValue)
}
const conversionMax = (
{ ...firstProps },
{ ...secondProps },
) => {
const firstIsGreater = conversionGreaterThan(
{ ...firstProps },
{ ...secondProps }
)
return firstIsGreater ? firstProps.value : secondProps.value
}
const conversionGTE = (
{ ...firstProps },
{ ...secondProps },
@ -216,6 +228,7 @@ module.exports = {
conversionGreaterThan,
conversionGTE,
conversionLTE,
conversionMax,
toNegative,
subtractCurrencies,
}

@ -87,7 +87,6 @@
flex: 1 0 auto;
display: flex;
flex-flow: column nowrap;
padding-top: 4px;
}
&__check-mark {
@ -115,13 +114,11 @@
color: $white;
font-size: 18px;
font-weight: 300;
line-height: 16px;
}
&__balance {
color: $dusty-gray;
font-size: 14px;
line-height: 19px;
}
&__action {

@ -45,6 +45,18 @@
}
}
.btn-confirm {
background-color: $caribbean-green; // TODO: reusable color in colors.css
text-align: center;
padding: .8rem 1rem;
color: $white;
border: 2px solid $caribbean-green;
border-radius: 4px;
font-size: .85rem;
font-weight: 400;
transition: border-color .3s ease;
}
// No longer used in flat design, remove when modal buttons done
// div.wallet-btn {
// border: 1px solid rgb(91, 93, 103);

@ -202,7 +202,7 @@
}
.confirm-screen-label {
font-size: 18px;
font-size: 16px;
line-height: 40px;
color: $scorpion;
text-align: left;
@ -229,7 +229,6 @@ section .confirm-screen-account-number,
.confirm-screen-row {
display: flex;
flex-flow: row nowrap;
border-bottom: 1px solid $alto;
width: 100%;
align-items: center;
padding: 12px;
@ -237,6 +236,26 @@ section .confirm-screen-account-number,
font-size: 16px;
line-height: 22px;
font-weight: 300;
&:not(:last-of-type) {
border-bottom: 1px solid $alto;
}
}
@media screen and (max-width: 379px) {
.confirm-screen-row {
span.confirm-screen-section-column {
flex: 0.4;
}
div.confirm-screen-section-column {
flex: 0.6;
}
.currency-display__input {
font-size: 14px;
}
}
}
.confirm-screen-row-detail {
@ -247,12 +266,9 @@ section .confirm-screen-account-number,
.confirm-screen-total-box {
background-color: $wild-sand;
padding: 20px;
padding-left: 35px;
border-bottom: 1px solid $alto;
.confirm-screen-label {
line-height: 18px;
line-height: 21px;
}
.confirm-screen-row-detail {
@ -261,7 +277,7 @@ section .confirm-screen-account-number,
&__subtitle {
font-size: 12px;
line-height: 22px;
line-height: 16px;
}
.confirm-screen-row-info {
@ -304,21 +320,3 @@ section .confirm-screen-account-number,
font-weight: 300;
margin: 0 5px;
}
#pending-tx-form {
flex: 1 0 auto;
position: relative;
display: flex;
flex-flow: row nowrap;
background-color: $white;
padding: 12px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
width: 100%;
@media screen and (max-width: $break-small) {
border-top: 1px solid $alto;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}

@ -58,3 +58,4 @@
@import './welcome-screen.scss';
@import './sender-to-recipient.scss';

@ -725,16 +725,6 @@
height: 60px;
}
&__eth-logo {
border-radius: 50%;
height: 68px;
width: 68px;
border: 3px solid $tundora;
z-index: 25;
padding: 4px;
background-color: #fff;
}
&__right {
display: flex;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save