aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src
Commit message (Collapse)AuthorAgeFilesLines
* Deploy @dexon-foundation/0x.jsstableHsuan Lee2019-03-0619-1756/+0
|
* fix: lowercase supplied address before comparing with derived addresses ↵Fabio Berger2018-11-121-1/+2
| | | | (which are not checksummed)
* Remove unused instance variableFabio Berger2018-11-121-1/+0
|
* Fix prettier issuesLeonid Logvinov2018-10-181-8/+1
|
* chore: change package org from 0xproject to 0xJacob Evans2018-10-1812-20/+20
|
* Throw and handle errors from Providers.Jacob Evans2018-10-092-2/+8
| | | | | | | In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined. In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing. Exposed the ZeroExTransaction JSON schema. In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
* Return SignedOrder from signing utils.Jacob Evans2018-10-056-30/+42
| | | | | Create a helper back in EIP712Utils for code cleanup. Moved constants in order-utils into the constants object
* Add eth_signTypedData support to our wallet subprovidersJacob Evans2018-10-056-2/+87
|
* Introduce Metamask Subprovider.Jacob Evans2018-10-054-2/+138
| | | | MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
* Add temporarily missing web3-provider-engine types in subprovidersLeonid Logvinov2018-09-041-0/+18
|
* Improve doc commebntFabio Berger2018-08-231-1/+2
|
* Fix many linter errors that showed up upon upgrading tsutilFabio Berger2018-08-231-0/+2
|
* Cleanup web3-wrapper and subproviders index.tsFabio Berger2018-08-201-3/+4
|
* Merge developmentFabio Berger2018-08-151-2/+1
|\
| * Import marshaller directlyLeonid Logvinov2018-08-091-2/+1
| |
* | Add missing doc commentsFabio Berger2018-08-035-3/+18
| |
* | Re-order subproviders index.ts and add missing typesFabio Berger2018-08-031-12/+20
| |
* | Add missing exports discovered by generating compact typedoc JSONFabio Berger2018-07-301-0/+4
| |
* | Remove all in-package monorepo-scripts by adding doc gen/upload and ↵Fabio Berger2018-07-302-16/+0
|/ | | | aggregate release note publishing to publish script
* Fix marshaller importFabio Berger2018-07-261-1/+1
|
* Stop exporting marshaller from web3-wrapperfragosti2018-07-201-1/+2
|
* Fix tslint issuesLeonid Logvinov2018-07-1711-21/+21
|
* Add missing assertionFabio Berger2018-07-131-0/+1
|
* Move type defs to typescript-typingsdFabio Berger2018-07-131-10/+0
|
* Fix linterFabio Berger2018-07-131-1/+1
|
* Make createFinalPayload protectedFabio Berger2018-07-132-3/+3
|
* Export Web3ProviderEngine from subproviders packageFabio Berger2018-07-132-2/+3
|
* Add typedoc for json-rpc-error packageFabio Berger2018-07-131-1/+9
|
* Make timeout configurable on RPCSubproviderFabio Berger2018-07-131-5/+4
|
* Adjust timeoutFabio Berger2018-07-131-1/+3
|
* Add fetchAsync util and RPCSubproviderFabio Berger2018-07-134-13/+104
|
* Fix linting issuesfragosti2018-07-071-1/+1
|
* Export marshaller and use it to unmarshal tx dataafragosti2018-07-071-2/+3
|
* Revert moving formatUtils into utilsfragosti2018-07-071-4/+2
|
* Unmarshall txn data in SignerSubprovider before calling web3wrapper ↵fragosti2018-07-061-2/+4
| | | | sendTransactionAsync
* merge v2-prototypeFabio Berger2018-07-043-5/+69
|\
| * Fix unused importsJacob Evans2018-07-031-6/+1
| |
| * Remove duplicate type definitions.Jacob Evans2018-07-022-59/+1
| | | | | | | | | | Clear private key earlier Fix changelog in typescript-typings from bad merge
| * Merge branch 'v2-prototype' into eth-lightwallet-subprovider-finalJacob Evans2018-07-022-1/+2
| |\
| * | Use PrivateKeySubprovider inside eth lightwalletJacob Evans2018-07-021-25/+15
| | | | | | | | | | | | There's a loss of information when hex encoding and passing to eth light wallet (chain id is lost). This results in a different signature. While it may work on testnets it is not sufficient for our test cases. We can export the private key and use it in our PrivateKeyWalletSubprovider
| * | Small stylistic tweaksFabio Berger2018-06-261-6/+0
| | |
| * | Fix and imprrove ethLightWalletSubproviderFabio Berger2018-06-261-9/+10
| | |
| * | Remove legacy named subproviderFabio Berger2018-06-261-100/+0
| | |
| * | Remove duplicate typeFabio Berger2018-06-261-23/+0
| | |
| * | Add eth-lightwallet subprovider and testsCavan2018-06-263-1/+117
| | |
| * | Format subprovider using prettierCavan2018-06-261-0/+2
| | |
| * | Remove timestamps and fix typingsCavan2018-06-261-2/+12
| | |
| * | Formatting and standards updatesCavan2018-06-262-0/+89
| | |
* | | Fix instance variable nameFabio Berger2018-07-041-6/+6
| | |
* | | Fix importFabio Berger2018-07-041-1/+1
| | |
* | | Replace use of web3 w/ web3wrapper in subproviders and rename injectedWeb3 ↵Fabio Berger2018-07-042-15/+32
| |/ |/| | | | | to signer subprovider for clarity
* | Move ledgerhq module declarations to typescript-typingsAmir Bandeali2018-06-301-48/+0
| |
* | Export LedgerEthereumClient type in subprovidersAmir Bandeali2018-06-301-0/+1
| |
* | Improve `ganache-core`'s `GanacheOpts` type and require it instead of `any`Fabio Berger2018-06-281-1/+1
|/
* Fix no-unused-variable tslint rule to include parameters and fix issuesFabio Berger2018-06-122-2/+2
|
* Implement SolidityProfiler & adapt sol-cov to work with GethLeonid Logvinov2018-06-091-3/+3
|
* Try enabling no-unused-variable...fragosti2018-06-057-9/+3
|
* Fix linter errorsLeonid Logvinov2018-06-012-2/+2
|
* Introduce ethereum-types packageLeonid Logvinov2018-06-019-9/+10
|
* Address feedbackLeonid Logvinov2018-05-231-0/+2
|
* Remove web3Factory.create and remove dev-tools dependency on sol-covLeonid Logvinov2018-05-232-0/+14
|
* Fix TSLint rulesFabio Berger2018-05-164-11/+19
|
* Add missing type definitionsLeonid Logvinov2018-05-148-11/+11
|
* Update Web3 Provider Engine to 14.0.4Jacob Evans2018-04-241-2/+3
|
* Fix commentsFabio Berger2018-04-181-4/+5
|
* Revert Ledger back to assigning ledgerClient to instance variableJacob Evans2018-04-122-12/+11
|
* Rename to parentDerivedKeyInfo to be explicity about how we walk the treeJacob Evans2018-04-121-8/+8
|
* Pluck key off of base path branch for MnemonicJacob Evans2018-04-124-35/+32
| | | | This reduces the tree walk complexity in wallet utils as it is assumed that we always walk relative. It also removes a HACK :)
* Merge branch 'development' into feature/subproviders/mnemonic-wallet-subproviderJacob Evans2018-04-127-29/+32
|\
| * merge developmentFabio Berger2018-04-095-152/+221
| |\
| * | Refactor RedundantRpcSubprovider into RedundantSubproviderFabio Berger2018-04-062-16/+11
| | |
| * | Make all `handleRequest` methods async, rename _engine to engine to remain ↵Fabio Berger2018-04-065-13/+21
| | | | | | | | | | | | compliant with web3-provider-engine
* | | Update documentation and add to website docsJacob Evans2018-04-113-14/+14
| | |
* | | Renamed DerivedHDKey to DerivedHDKeyInfoJacob Evans2018-04-115-108/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added assertions on addresses for public methods Throw a helpful error message when signer address is not instantiated address in PrivateKeyWalletSubprovider Update changelog and rename derivationBasePath to baseDerivationPath When returning undefined use pattern of IfExists Added configuration object for MnemonicWallet Put constants back into each individual wallet rather than in walletUtils Delete accidental package-lock.json
* | | Update website to support latest ledgerJacob Evans2018-04-112-7/+0
| | |
* | | Move type declaration for hdkey to typescript-typingsJacob Evans2018-04-111-13/+0
| | |
* | | Test valid address format but not foundJacob Evans2018-04-113-7/+11
| | |
* | | Update JSDoc for methods in ledger and mnemonic walletJacob Evans2018-04-113-11/+11
| | |
* | | Update changelog and add derivationBasePathJacob Evans2018-04-114-28/+31
| | |
* | | Follow file naming pattern for mnemonic and private key subproviderJacob Evans2018-04-113-3/+3
| | |
* | | Iterator pattern for walking derived keysJacob Evans2018-04-112-44/+60
| | |
* | | Throw errors when the address is not specified or invalidJacob Evans2018-04-115-36/+40
| | |
* | | Add isChildKey to derived keyJacob Evans2018-04-114-72/+73
| | |
* | | Improve Documentation for functions and constructorsJacob Evans2018-04-102-6/+24
| | |
* | | Rename to IS_CHILD_KEYJacob Evans2018-04-102-17/+13
| | |
* | | Refactor ledger to support multiple accounts with from addressJacob Evans2018-04-104-56/+91
| | |
* | | Added walletUtils and address in signMessageJacob Evans2018-04-105-54/+110
| | |
* | | Add Mnemonic wallet subproviderJacob Evans2018-04-066-4/+130
| |/ |/|
* | Merge pull request #506 from ↵Jacob Evans2018-04-065-152/+221
|\ \ | |/ |/| | | | | 0xProject/feature/subproviders/pk-wallet-subprovider Private Key subprovider
| * FeedbackJacob Evans2018-04-064-23/+29
| | | | | | | | | | remove id management from testnet faucet spread over txParams rather than modify in place
| * Create a private key subproviderJacob Evans2018-04-055-152/+215
| |
* | Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-043-57/+4
|/
* Used generic declaration to remove need for `any`Fabio Berger2018-04-041-1/+1
|
* Fix TS errorFabio Berger2018-04-031-1/+1
|
* Use @0xproject/utils promisify everywhereFabio Berger2018-04-032-3/+1
|
* Add metacoin example projectLeonid Logvinov2018-04-021-25/+0
|
* Move common types out of web3 typesLeonid Logvinov2018-03-2711-35/+28
|
* Make handleRequest public and add comment for itFabio Berger2018-03-227-21/+70
|
* Make setEngine publicFabio Berger2018-03-221-3/+3
|
* Improve subproviders commentFabio Berger2018-03-226-6/+6
|
* Move docs from README into docs page and add a link to it.Fabio Berger2018-03-221-1/+2
|
* Improve all the comments for the subproviders public methodsFabio Berger2018-03-229-115/+199
|
* Remove duplicate ECSignature type defFabio Berger2018-03-202-7/+6
|
* Rename `stagedocs.ts` file to `stage_docs.ts` in keeping with our file ↵Fabio Berger2018-03-201-0/+0
| | | | naming conventions. `postpublish.ts` is the only exception and this is because it is dictated by Lerna
* Add Subprovider docs to websiteFabio Berger2018-03-191-0/+8
|
* Export ErrorCallback type from Subproviders packageFabio Berger2018-03-181-1/+1
|
* Add missing typeFabio Berger2018-03-161-0/+5
|
* Add missing type to subproviders exportsFabio Berger2018-03-161-1/+7
|
* Use named types and introduce `JSONRPCRequestPayloadWithMethod` typeFabio Berger2018-03-167-26/+23
|
* Fix linter issuesxFabio Berger2018-03-141-0/+1
|
* Merge branch 'development' into convertScriptsToTsFabio Berger2018-03-1411-79/+114
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (71 commits) Transform input data before encoding for callAsync and getABIEncodedTransactionData Update coverage badge to show development coverage Configure post build hook Notify coveralls after all tasks have finished Address feedback Revert "Report all coverage reports together" Separate published packages and typescript typings on README Report all coverage reports together Add other statement types Properly and consistently parse ENV vars Add forgotten file Start using solidity-parser-antlr Fix the default always overriding to address Submit a TD PR Add an explanatory comment for making ranges unique Fix a typo in handling env variables Introduce TESTRPC_FIRST_ADDRESS Make BlockchainLifecycle accept only web3Wrapper Fix comments Fix deployer CHANGELOG ... # Conflicts: # README.md # packages/deployer/package.json # packages/subproviders/src/globals.d.ts # yarn.lock
| * Use locks instead of semaphores in ledger subproviderLeonid Logvinov2018-03-122-27/+15
| |
| * Address feedbackLeonid Logvinov2018-03-121-1/+1
| |
| * Add sol-cover implementationLeonid Logvinov2018-03-1211-52/+99
| |
* | Move configuration into package.json configs sectionFabio Berger2018-03-141-2/+3
| |
* | Fix lint issuesFabio Berger2018-03-131-0/+1
| |
* | move scripts to monorepro-scriptsFabio Berger2018-03-132-0/+13
|/
* FeedbackJacob Evans2018-03-081-2/+2
|
* Add ledger-node package as optional dependencyJacob Evans2018-03-071-1/+9
|
* Force shouldGetChainCode to true in typesJacob Evans2018-03-061-2/+4
|
* Nuke tests for nowJacob Evans2018-03-063-41/+21
|
* Remove old ledgerJacob Evans2018-03-062-39/+0
|
* Update ledgerco packagesJacob Evans2018-03-064-31/+73
|
* Add `numberOfAccounts` param to `LedgerSubprovider` method ↵Fabio Berger2018-03-041-3/+3
| | | | `getAccountsAsync` and add tests
* Move subproviders from dev-utils to subprovidersLeonid Logvinov2018-02-153-0/+63
|
* Attribute the origins of NonceTrackerJacob Evans2018-02-071-0/+5
| | | | NonceTrackerSubprovider is inspired from Web3ProviderEngine NonceTracker
* Move BlockParamLiteral to shared types packageJacob Evans2018-02-071-7/+5
| | | | Also BlockParam
* FixesJacob Evans2018-02-071-4/+5
| | | | | Rename to isFirstGetTransactionCount assign nextPrefixedHexNonce as a const
* Move BlockParam and BlockParamLiteral to shared typesJacob Evans2018-02-073-7/+4
|
* Merge branch 'development' into feature/subproviders/nonce-trackerJacob Evans2018-02-061-5/+6
|\
| * Reword comment on anyJacob Evans2018-02-061-1/+2
| |
| * Justify the any usageJacob Evans2018-02-061-1/+2
| |
| * Change the InjectedWeb3Subprovider to accept Web3.ProviderJacob Evans2018-02-031-5/+4
| |
* | Remove re-fetch of transaction count on errorJacob Evans2018-02-064-32/+40
| |
* | Readability and prettierJacob Evans2018-02-022-13/+11
| |
* | PrettifyJacob Evans2018-02-022-9/+3
| |
* | Nonce tracker subproviderJacob Evans2018-02-023-0/+134
|/ | | | | Caches the nonce when a request to getTransactionCount is made and increments the pending nonce after successful transactions
* Remove redundant type refsLeonid Logvinov2018-01-131-2/+0
|
* Merge pull request #303 from ERCdEX/ercdex/send_transaction_return_txhashLeonid2018-01-031-2/+2
|\ | | | | _sendTransactionAsync should return txHash string
| * sendTransactionAsync should return txHash stringLuke2018-01-031-2/+2
| |
* | Apply prettier configLeonid Logvinov2018-01-037-54/+68
|/
* Support both personal_sign and eth_signFabio Berger2017-12-281-1/+2
|
* Update subprovider to catch correct RPC methodCavan Flynn2017-12-281-2/+2
| | | ZeroEx uses web3.eth.sign, rather than web3.eth.personal.sign. In addition, the message to sign is the second parameter; not the first. The first parameter is the address.
* Add new underscore-privates rule to @0xproject/tslint-config and fix lint errorsBrandon Millman2017-12-204-41/+41
|
* Add a commentLeonid Logvinov2017-12-181-0/+2
|
* Introduce a variable for trueLeonid Logvinov2017-12-181-1/+4
|
* Remove redundant template stringLeonid Logvinov2017-12-181-1/+1
|
* Implement the address derivationsLeonid Logvinov2017-12-183-15/+24
|
* Add hdnode dependencyLeonid Logvinov2017-12-181-0/+11
|
* Fix connect unused varsLeonid Logvinov2017-12-153-20/+0
|
* Implement first custom linter rule async-suffixLeonid Logvinov2017-12-152-0/+2
|
* Move isAddress to shared utils and remove all dependencies on ethereum-addressLeonid Logvinov2017-12-112-7/+2
|
* Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-091-1/+1
| | | | | | | | | | | | | | | | * development: Update README.md Inline network module Stop supporting different file extensions in abi-gen Refactor networkId out of web3Wrapper Update connect types in preperation for publishing Fix CI command Address feedback Refactor web3Wrapper to a separate package # Conflicts: # package.json # packages/website/ts/blockchain.ts
* remove console.logFabio Berger2017-12-091-2/+0
|
* Debug CircleCi failureFabio Berger2017-12-081-0/+2
|
* Add todoFabio Berger2017-12-081-0/+1
|
* Add link to random id generatorFabio Berger2017-12-081-0/+1
|
* remove unused typeFabio Berger2017-12-072-5/+0
|
* Simplify interface to signPersonalMessageAsyncFabio Berger2017-12-071-22/+9
|
* Fix ethereumjs-tx declaration and importFabio Berger2017-12-072-2/+2
|
* Use assert.isHexStringFabio Berger2017-12-072-5/+3
|
* Add type defs for ledgerco and ethereumjs-txFabio Berger2017-12-072-13/+37
|
* Have comments hug statementsFabio Berger2017-12-061-3/+3
|
* Add declarationFabio Berger2017-12-061-0/+7
|
* Return actual error thrownFabio Berger2017-12-061-1/+1
|
* remove unused modulesFabio Berger2017-12-061-3/+0
|
* remove extra spaceFabio Berger2017-12-061-1/+0
|
* Add null to err typeFabio Berger2017-12-061-1/+1
|
* Use null instead of undefined when no error existsFabio Berger2017-12-061-3/+3
|
* Switch to using our custom base subproviderFabio Berger2017-12-061-1/+2
|
* Fix lint issuesFabio Berger2017-12-062-1/+9
|
* Port subproviders over to mono repo, refactor LedgerSubprovider to no longer ↵Fabio Berger2017-12-067-0/+671
rely on hookedWalletSubprovider. Added unit and integration tests.