ERC20#2395
Merged
Merged
Conversation
Contributor
|
ill review this once ETH BWS is on prod. |
micahriggan
reviewed
Sep 18, 2019
Closed
b6f17d3 to
8249c8b
Compare
5f69262 to
1b11784
Compare
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
justinkook
commented
Oct 18, 2019
bf70579 to
a737bce
Compare
micahriggan
reviewed
Nov 4, 2019
Contributor
micahriggan
left a comment
There was a problem hiding this comment.
This is looking pretty good
71255c5 to
e3a0df3
Compare
micahriggan
reviewed
Nov 5, 2019
matiu
suggested changes
Nov 5, 2019
| // bitcore users id for txid... | ||
| t.id = CWC.Transactions.getHash({ tx: raw, chain: txp.coin.toUpperCase() }); | ||
| // bitcore users id for txid... | ||
| t.id = CWC.Transactions.getHash({ tx: signed, chain }); |
Contributor
There was a problem hiding this comment.
this should be out of the loop. we should store ids = [ txs.map(x=> hash(x))], and id = ids[0],
so all ids get stored on BWS, and also we keep some compatibility with id.
cmgustavo
reviewed
Nov 7, 2019
matiu
reviewed
Nov 7, 2019
added 2 commits
November 7, 2019 13:14
added 6 commits
November 7, 2019 16:43
Contributor
|
Great job @justinkook and @micahriggan ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ERC20 changes for BWC/BWS and crypto-wallet-core
Related Copay ERC20 merge request:
https://github.com/bitpay/copay/pull/10162
To install BWC into copay requires:
#2518
Also relies on MR to fix broadcast error: #2520
ERC20 payProV2 proposal:
Changes:
Copay:
selectPaymentOptionsreturns instructions as an array..BWC/BWS:
return ['0x12345', '0x98765']return ['signature1', 'signature2']4. Published txp has multiple outputs and property raw as an array of rawTxs instead of a string.
5. POST payProV2 sendSignedTxs with array of signedTxs.