* Initial work on refactoring node definitions to reduce number of places theyre defined, amount of copy pasting.
* Use makeAutoNodeNAme instead of manually appending _auto
* Add getNetVersion to list of unsupported methods
* PR feedback
* Rework web template node selector to be a network selector. Refactor some types to help with that. Better handle removing custom nodes.
* Remove color dropdown.
* Fix selecting custom networks. Show notification if change network intent fails.
* Use selectors for current node / network instead of intuiting from nodeSelection
* Add id key to all networks, simplify add and remove custom node and network functions.
* Fix a lot of uses of network.name to use network.id instead.
* Dont allow network chainid conflicts
* Fix web3 network by chainid
* Add testnet badge to network selector
* Change nomenclature from change(Node|Network)(Intent)? to change(Node|Network)(Requested|Succeeded)
* tscheck
* Better code for chainid collision
* Remove console logs
* Fix tests
* Network selector becomes self contained component used both by web header and electron nav.
* Dont select node again
* Additional title text
* tscheck
* Custom node behavior in Electron
* Close panel too
* Convert node label data into selector function
* tscheck
* Parens & space
* Add a new route for AddressBook
* Further templating of the AddressBook view
* Add initial functionality to handle a table of existing address labels
* Make the linter happy
* Adjust paths
* Factor out TableRow and add common functionality
* Add initial Redux boilerplate for addressBook | fix minor linting issues
* Swap out terminology and types
* Connect up to Redux
* Connect data for AddressBookTable to Redux
* Use temporary fields for addition
* Remove alignment and index column
* Stopping point
* Adjust the sizing of rows to be consistent
* Initial implementation of a dropdown for the address field
* Minor styling to dropdown
* Stopping point
* Apply a focus concept onto the factory
* Add keyboard controls for the address field dropdown
* Adjust label of address field when it matches an addressBook entry
* Properly handle attempting to blur a non-existent component
* Minor styling changes on dropdown box
* Standardize address casing, add accessibility to dropdown
* Create an addressLabel component
* Pass refs correctly and fix some typings
* Exact version
* Add module name mapping for shared/keycodes
* addressBook reducer tests
* Add functionality to DeterministicModal
* Minor changes / Add test for addressBook selectors
* Move out AddressBookTable to a component
* Typing, translation and restructuring
* More typing and translation fixes
* More linting fixes
* More type changes
* Variable name for dropdown background
* Fix TS type errors, lint errors, remove unused props
* Used a different selector and removed method: AddressBookTable
* Linter was mad
* Linter mad again :(
* Add a translation and adjust styling of AddressBookTable
* Move the onBlur to a class method
* Prevent the default behavior of up/down/enter for dropdown
* Let's do it this way instead
* Adjust the styling on DeterministicWalletModal labels
* Change `AddressBookTable` into a pseudo-table using section and div
* Use readable keys vs. keycodes
* Put the dropdown in InputFactory and position it correctly
* Sanitation of label adding and changing
* Prevent duplicate labels in AddressBook and Row
* Add a box shadow and use `invalid` class insted of custom
* Use emphasis vs strong for address in dropdown
* Display the label undernearth the input vs. changing it
* Isolate AccountAddress into its own component
* Introduce interactivity to AccountAddress
* Fully incorporate with Redux
* Validation for AccountAddress
* Add validation notifications for address field on AddressBookTable
* Minor formatting
* Adjust wrappage for optimal flexboxxing
* Make AddressBookTable responsive
* Show an invalid input in "real time" instead of only on submit
* Real time input validation for AddressBookTableRow
* Responsive-ize the To address dropdown
* Hide identicons instead at small enough screen sizes
* Fix repsonsiveness of dropdown further
* Fix responsiveness of table rows and inputs
* Truncate account info and switch identicons to the right for consistency
* Use classnames instead of targetting element directly for DWM
* Display a notice if the entered query doesnt match a label and isnt an addr
* Don't show an error on the To address if its a label entry
* Display an error under AddressBookTableRow in real time
* Display errors in real time for AddressBookTable temp inputs
* Add realtime validation to AccountAddress
* Ensure toChecksumAddress is used when entering labels to address manager
* Show errors even after blurring.
* Only show errors on address/label entry if they have been blurred
* On certain inputs, show an invalid input immediately
* Add displayed errors for labels with 0x and labels containing ens
* Move ENS checking validation out
* Add a saga for addLabelForAddress
* Completely revamp the redux side of Address Manager and test it all
* Adjust components to use new redux addressBook
* Incorporate new redux into AddressBookTableRow and clean up for linter
* Make linter and tests happy
* Another reduxy overhaul
* Still fixing it
* More redux updates
* Finalize redux stuff.
* Incorporate new reduxy way into AddressBookTable & Row
* Incorporate redux changes into Account Address
* Small tests fix
* Add and fix some selector tests
* Addressing Will's comments
* Shortened visibility class for line length reasons.
* Change gas price validation to be string input based
* Change sanitization to use Nunber
* Have validators use Number over parseFloat
* Fix css validation class
* Add valid css to address field
* Add data field validation
* Remove unused import
* Fix button being hidden on inputs
* Dead code removal
* Unify textarea and input class validation
* Adjust validity styling to only apply after a value has been inputted
* Do not pass custom props to DOM
* Remove title from account, tighten buttons and subtabs.
* Send everything button in input.
* Request tx to full width, adjust transaction fee spacing.
* Fix token balances button spacing.
* Fix address identicon flying offscreen. Tighten up identicon, show border even when theres no identicon.
* Add isSelfAddress boolean to AddressField, use it on WalletInfo tab.
* Use short amount again.
* Unused
* Update account view routing
* Temporarily add unicode character to translated strings for testing
* Temporarily select add unicode to all untranslated strings
* Format changes
* Add all english translations for /account & /generate
* Add the rest of the english translations
* Add a few more missing translations
* Update en translations
* Get selectedLanguage from localstorage instead of redux sttate
* Update snapshots
* Add missing translation keys & Update translate functs & change variable prefix
* translate all markdown strings & remove old translation strings
* Update snapshot
* Add a few more translation strs
* Move raw strings being translated into json
* All translation keys are now Uppercase
* Fix up the last few translations
* Update snapshot
* Uppercase de translation strings
* Bring back shapeshift logo on swap
* Fix contracts tab translations
* Fix a few more translations
* Fix translations
* remove debugging stuff
* Update snapshots
* Use react.fragment as markdown root renderer
* Seperate markdown translations into their own function
* Clean up translation functions
* Clean up translation functions
* Update snapshot
* Fix some broken translation strings
* Add prettier ignore file
* Manage modal focus
* Add isOpen prop to CustomNodeModal
* Remove outline overrides
* Update outline style for inputs
* Fix modal focus management & Cleanup CustomNodeModal
* Add aria-label on modal close button
* Fix modal scroll to top
* Add aria-live property for notifications
* Add aria-busy to Spinner component
* Fix border styles for generatewallet password inputs
* Update token balances inputs
* Remove multiple h1's & Update styles
* Add alt text to all img elements
* Update swap link from bity to shapeshift
* Update aria-labels and alt text
* Only show keystore password input when required
* Revert "Only show keystore password input when required"
This reverts commit 7ec5de52da0982cd3131f365b142f6915638d831.
* address changes requested
* Connect Promos; pass current wallet address to Coinbase
* Use ShapeShift as promo if no wallet instance when showing Coinbase
* use appstate for typing
* added code for copy to clipbaord svg
* removed svg link
* can copy clipboard to mouse
* can copy clipboard to mouse
* can copy clipboard to mouse
* change copy svg to copy icon
* updated css styling
* locked in version number
* removed css state color
* scss updates coloring instead of additonal state
* change colors to scss variables
* changed p tag to span tag
* final style updates
* function to revert copied text
* Configure sagas and components to react to network switch.
* tscheck
* Update tests with new behavior.
* tscheck
* Log out of wallet on network change.
* Fix up test.
* Update styles
* Add fiat symbols
* chore(package): update webpack-dev-middleware to version 2.0.5 (#1036)
* Fix double alert on swap timeout (#1034)
* chore(package): update @types/jest to version 22.1.2 (#1037)
* Update Banners / Versions to Beta (#1040)
* update agreeement banner with beta nomenclature / styling
* update version
* remove v4 text
* adjust language
* more language
* MyEtherWallet => MyCrypto (#1041)
* MyEtherWallet => MyCrypto
Note: Knowledge base links in translations are not working due to the new knowledge base. Some links link to the MyEtherWallet Chrome Extension.
* Update consoleAdvertisement.ts
* Update consoleAdvertisement.ts
* Update en.json
* Update consoleAdvertisement.ts
* Update InsecureWalletWarning.tsx
* Update Footer to Prod Styles (#1044)
* More MEW -> MyCrypto Changes (#1043)
* Replace all language instances of MYCRYPTO LLC
* Fix disclaimer LLC
* Fix console advert link, adjust logo and make it easier to edit.
* Update coinbase URL.
* Fix trezor and ledger component links and text.
* Misc. cleanup.
* Update unlock guide at the end of generate.
* Fix onboarding translation string
* Change salt hash from mew to mycrpyto.
* chore(package): update webpack to version 3.11.0 (#1045)
* Contributor Guidelines (#1054)
* chore(package): update ts-jest to version 22.0.4 (#1053)
* fix(package): update react-markdown to version 3.2.0 (#1055)
* chore(package): update image-webpack-loader to version 4.1.0 (#1049)
* Add selfHidingImg
* Add coin & token images
* Update styles & fix undefined img path
* Update styles
* Align all symbols to left
* Use icon assets
* remove selfhidingimg
* Start splitting networks into their own reducers
* Split out nodes and networks into their own reducers
* Cleanup file structure
* Make selectors for new state
* Change custom network typing
* re-type repo
* Fix up components to use selectors, work on fixing sagas
* Provide consistency in naming, fix more sagas
* Get non web3 node switching working
* Split config rehydration off into a different file for store
* Inline auth for custom nodes
* Include typing for app state
* moar selectors
* Get web3 working + cleanup sagas
* Cleanup tsc errors
* Use forof loop instead of foreach for clearing pruning custom networks
* Add reducer tests for new redux state
* Export needed variables
* Add console error
* Remove old comment
* Work on saga tests
* Get passing existing saga tests
* Fix more tests
* Remove irrlevant tests
* add console error
* Get rest of tests passing
* Fix merge errors
* Remove random text
* Fix store saving
* Fix selector lib only grabbing from static nodes
* Fix custom node removal crashing app
* Infer selected network via node
* Prune custom networks properly on node removal
* Infer network name from chainid from selecting state
* Cleanup tsc errors
* Remove MEW nodes for main and testnet
* Replace all language instances of MYCRYPTO LLC
* Fix disclaimer LLC
* Fix console advert link, adjust logo and make it easier to edit.
* Update coinbase URL.
* Fix trezor and ledger component links and text.
* Misc. cleanup.
* Update unlock guide at the end of generate.
* Fix onboarding translation string
* Change salt hash from mew to mycrpyto.
* Use shapeshift for all swaps.
* Replace existing redux-promise-middleware based CCRequest action with saga based action.
* Remove module from package.json, store middleware, webpack_config.
* fix snapshot
* Add return typing
* Add test for saga
* Replace all mentions of MyEtherWallet in translations with MyCrypto
* Replace all translation mentions of kvhnuke/etherwallet repo with MyCryptoHQ/MyCrypto repo.
* Replace all instances of MEW with MyCrypto in translations.
* Replace all instances of myetherwallet.com with mycrypto.com
* First pass of myetherwallet -> mycrypto in codebase.
* Replace most MEWs and mews with MyCrypto or MyC or myc
* Update all assets, clean out unused old assets.
* Adjust v3 url
* Convert all links to help articles to a help link component to make future changes easier.
* Rework onboarding images
* Adjust logo colors due to CMY issue.
* Update donation address, remove mentions of mewtopia.eth
* Update license
* Update sosh meed and referral links.
* Fix more translations strings.
* Tscheck fix.
* Update shapeshift api key.
* PureComponent a ton of non-connected components.
* Debounce gas price slider. Keep gas price in state to reflect changes immediately.
* PureComponent balance sidebar and swap unconnected components.
* Import correct component.
* Move debouncing of gas slider to sagas via gasPriceInputIntent action.
* Remove console log.
* Remove leftover file from merge.
* Fix large images in onboarding in safari.
* Fix shapeshift banner centering, adjusted spacing and logo.
* Fix jagged rates.
* Fix small password input on Firefox.
* Remove top and bottom padding on form inputs that would cause cut off text.
* Dont remove top and bottom padding on textareas.
* Prevent flickering from rerender of promos.
Update <EquivalentValues /> component
Now works on non-ethereum networks
Update dropdown with new <Select /> from react-select
Calculates total value for all coins & tokens
* Check offline status immediately.
* If they start the page offline, show a less severe error message.
* Get rid of offline aware header. Disable wallet options when offline.
* Add online indicator to the header.
* Prevent some components from render, some requests from firing when offline.
* Allow for array of elements with typing.
* Dont show dollars in fee summary when offline.
* Fix up saga tests.
* Fix sidebar component offline styles.
* Remove force offline.
* Dont request rates if offline.
* Nonce in advanced, show even of online.
* Show invalid advanced props.
* Fix up offline poll tests.
* working version of test custom rule config
* setting no imports to false so tests will pass
* adding anchor blank noopener rule, rule currently off to allow tests to pass
* removing copied code from tslint-microsoft-contrib
* adding tslint-microsoft-contrib to dev deps
* extending tslint for external http rule
* locking tslint-microsoft-contrib version and turning on target blank noopener rule
* final fixes for pull #663
* add noopener noreferrer as needed
* fixing false positives for a tags without href
* really fix linting errors
* fix imports
* remove accidently(?) added LedgerNano duplicate file
* Initial crack at simple only gas slider component.
* Work on advanced component. Refactor redux and components to specify gas limit vs price.
* Convert fee summary to a render cbesque thing.
* Rework responsive columns.
* Remove force offline button.
* Tweak styles.
* Fix tscheck issues, remove unneeded prop.
* Fix references to GasField
* Gas slider in lite send.
* Make gas slider network-aware for symbol and price calculation.
* export conditional input and hoc
* Move typings and fields out of send transaction
* Move fields into their own component for decoupled handling, use conditional inputs to simplify disabled components
* Handle hex and non hex strings automatically in BN conversion
* Fix handling of strings and numbers for BN
* add web3 fixes & comments
* Display short balances on deterministic modals
* add more tests, fix rounding
* Add spacer to balance sidebar network name
* Fix tsc error
* Add offline render CB
* Make more render callbacks
* Transform NonceField into its self contained component
* Remove styling from nonce field
* Better network handling in nonce cb
* Move network nonce initialization to componentDidMount
* Remove unessesary conditional input
* Make nonce component return a BN
* Simplify Query render cb
* Add gas query and token query render cbs
* Re-write address field component, strip out ENS name functionality for now
* Add address and data as unit types
* Cleanup Address Field component
* Export gas query
* Re-write gas field component
* Cleanup gas estimation check
* Re-write Data field
* Transaction field skeleton
* Export transaction field actions
* Rename fields to map to ethtx fields
* Make reducers for fields
* Fix reducer module exports
* Export reducer
* Formatting fix
* Type return of GasQuery
* Add transaction field getter / setter component
* Make transaction fields more flexible
* Formatting fix
* Split transaction fields component into two
* Remove erroneous prop
* Fix field naming to follow ethereum transaction fields
* Merge valid prop into componeent
* Change address field to be redux based
* Convert nonce field to redux based
* Make component for passing in current transaction
* Re-write Gas component to use redux state
* Reduxify data field component
* seperate transaction fields redux state into field data and meta data
* Rename SetTransactionFields to be singular
* Make render callback components for getting/setting meta fields
* Add non-zero option prop for token balance render cb
* re-write unit dropdown component to be redux based
* Make ether the first option
* Fix tsc error on tokenquery
* Handle query string default values in unit drop down
* Add thunks to package
* Add helper function for encoding transfer data
* Handle co-dependencies between fields via thunks, seperate value fields into ether and token based
* Fix wrong typing
* Add token metafield as export
* Start scaffolding out amount field component
* Make render cbs for conditional selection of value and balance
* Make render callbacks nullable
* Progress commit -- get dynaming swapping between tokens and ether working
* Get gas estimation working between ether and tokens
* Remove nonce from breaking gas estimation
* Add better validation for amount field
* Add 500ms debounce to gas saga
* Self contain custom message component
* Add web3 awareness to wallet render cb
* Add render cb for checking if wallet is unlocked
* Cleanup inline typing
* export available params
* Add render cb to render component when a query string exists
* Add boolean callback param that check that the transaction is filled by user
* Remove uneeded typings from send transaction
* Fix misnomer
* Self contain generate transaction button
* Compartmentalize more send transaction components
* Add query string warning, custom message and generate tx button to fields
* Cleanup send tx component with new components
* export render callbacks
* saga transaction scaffolding
* make gas saga fully declarative
* transaction lib renaming
* Seperate gasprice into its own generator
* Make action creators for tx sign actions
* Clean up signing saga, introduce reducer for signing, make HW wallet libs compatible with new tx format, fix some typing with ethereumjs-tx
* Add TransactionComparison component
* Add pushTx
* Progress commit -- Streamline web3 and local signing / broadcasting flows. Need to still implement reducers for broadcasting and notifications
* Get local transaction broadcasting working
* re-write confirmation modal to be redux based
* Fix spacing and import
* Move confirmation modal to be attached to send button, create send button
* Properly handle broadcasting for conf modal
* Handle gas cost > balance for send everything
* Add signing status as its own component (#454)
* Fix ledger errors not showing on notifs
* Make dedicated actions for swapping from tokens to ether and ether to tokens
* Split actionTypes file
* Cleanup comments
* Cleanup comments
* Fix various tsc errors
* Lay down infrastructure for saving configurations per-wallet.
* Add pending and rejected states properly to token values.
* Add custom token form improvements.
* Fix metamask transaction errors
* Fix send entire balance estimation
* Fix add token form from never being enabled.
* Initial pass at account tab with send and view wallet tabs.
* Fix inactive tab.
* Hide private key, toggling
* Progress commit -- Replacing render callbacks with selectors, put validation logic in sagas
* Moved the restore keystore functionality to view wallet info, and put it in a modal / util file.
* Fix navigation link active
* Force read only wallets to info tab.
* Remove commented code
* Saga-ify send everything
* Scan for new tokens, track saved tokens, only request tracked tokens on initial load.
* Add custom token to current wallets tracked tokens.
* Rework remove token icon.
* Adjust button margin
* Remove the rest of the needless render callbacks for selectors, sagaify nonce
* Bug fix send transaction
* remove unused redux-thunk
* Move fields to general components
* Clean up saga structure
* Refactor broadcast tx
* Implement better validation logic, get contract deploy working
* PR feedback.
* Convert tokenbalances component to connected redux component.
* Addressed feedback from Henry.
* Progress commit -- Implement Interact logic, needs manual testing
* Get rid of commented code
* move exports after declarations
* add tests, rough draft
* Get contract method calls working
* Bugfix contracts
* Cleanup hex prefixing
* Reset transaction state on wallet change
* Get rid of old send transaction component
* Disable sign transaction button when network request is underway
* Flatten send button tree, make nonce human readable in confirmation modal
* Add ghetto cost breakdown component, fix token field validation
* Create Generic SubTab and use in Send
* MVP of mnemonics with sub-tabs in Create Wallet view.
* Do dynamic revalidation
* move exports after declarations
* add forgotten signing tests
* update token spec
* update currentValue spec
* update validationHelpers spec
* Address TODO - use injected history to push navigation state instead of hardcoding window.location
* Use SubTabs in Contracts
* Fix revertPath prop for AcceptOrRedirectModal
* Use subtabs in SignAndVerifyMessage
* Routing for subtabs
* Fix routes, adjust sizing.
* Remove unused import
* Request nonce in base 10
* Add offline override to unit display
* Make cost breakdown less buggy
* Add non standard transaction warning
* Fix amount validity
* Cleanup datafield validity
* Display notif on gas estimation failure
* Add post-signing verification against fields, clean up gas price
* Fix tsc errors
* Code cleanup
* add exports to functions
* add specs for sendEverything and reset sagas
* delete duplicate files
* make tslint happy
* Merge develop
* Fix develop regressions
* Delegate nonce pulling to wallet being set
* Clarify non standard transaction
* Make address a buffer to avoid leading 0's bug
* Clarify validation helper comment
* Increase debounce time, add console error
* Better validation for non-standard transactions
* Add verification skipping for broadcasting txs
* Fix state and wallet resetting for contract tabs
* Fix some spec files, remove contract.spec
* Remove broadcasting specs from wallet
* Close DeterministicWalletModal on confirm
* Revert "Close DeterministicWalletModal on confirm"
This reverts commit 16c860e854ca29e9de754164d8be5e24f722cbad.
* Reset hardware wallet state on unlocking. Dont render walletdecrypt content when its hidden.
* Fix client side broadcast checking
* Add more state resetters in error scenarios
* Fix gas estimation
* Add validation for value transactions to contract creation
* Add transaction comparaision differentiation depending on wallet type
* Fix token row display balance showing twice
* Properly handle failed transactions
* Handle bad error messages
* fix broken tests
* fix broken test
* Progress commit -- Implement generic subtab types
* Remove react router v3
* Remove unused routes
* Clean up Tabbing code, add onTabChange handler
* Fix tests
* Add nav fix
* revert opinionated sub-tab implementation
* additional reverts
* Add decimal validation
* Make gas price single source of truth, dont save any transaction state other than gas price
* Get rid of old wallet.spec reducer tests
* Add decimal validation when re-validating gasCost
* remove utilities view
* Remove cost breakdown
* Remove local gas estimation warning
* Create getShownTokenBalances selector; use in UnitDropDown and Equivalent Values
* Convert reducers to switch case
* Clean tsc errors
* Fix failing test
* fix tscheck error
* Add number validation to gas field
* Fix misaligned input dropdown
* Revert "Fix misaligned input dropdown"
This reverts commit a40a4c0e8d52471dea01e6727f741a737b798695.
* Set window timeout long enough for node switch to be persisted to state
* Transaction Refactor Style Fixes (#615)
* Fix unit dropdown alignment by rendering it in AmountField, and fixing a missed bootstrap case.
* Fix modal amount and gas text.
* Fix misaligned dropdown
* Update conditions for NavLink is-active class
* Initialize with no requested currencies, so that the initial request always fires.
* Adjust tokens with different decimals for equivalent values.
* Reuse libs units function.
* Create lib function and tests for base conversion behavior.