-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultisigAddress & MultisigSignature Implementation #290
Conversation
* Add Multisig Support Co-authored-by: syuan100 <syuan100@gmail.com> Co-authored-by: Joe <joe@cryptoballoon.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great, have some review feedback and mostly lint errors to resolve.
@@ -0,0 +1,121 @@ | |||
import Address, { KeyTypes, MultisigAddress } from '@helium/address' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes will need to be brought over to the crypto-react-native
package if we want to support this in the helium app. I am ok with doing that as a separate PR if wanted though.
All comments and lint issues addressed @tyler-whitman - Should be good to go :) Please let me know if there's anything else that needs updating. Still need to end-to-end test this against testnet but otherwise should be good to go EDIT: Cannot test end-to-end in testnet as multisig is not enabled... |
Multisig should work in testnet. what issues are you seeing? |
@abhay miscommunication here. It works :) Just sent a payment to a multisig address here: https://testnet-explorer.helium.com/txns/hNMFq1t7CwwhRXOgL4uKb73i-_P8Oo0eVVtWXLhXYBU |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, unit tests are passing and tests have been run on testnet. The last thing to do here would be to bring the changes over to crypto-react-native
if we want MultiSig on mobile but for now I think it should be good to merge this and do that as another improvement.
Along with this I also pushed a fix to all the lint errors so now we can check lint more easily.
@allenan and @matthewcarlreetz mind taking a look before we merge this.
@tyler-whitman - Added a multi-signature example to the |
This is great work! my main feedback is that multisig feels a little shoehorned into the transactions library. It would be great to have a convenient way of calling it on an instance of a transaction, without requiring the instance to be mutated after the fact. |
Hey y'all, wanted to check in on this for any outstanding items! Can we aggregate the last few asks if any and post it as a comment for visibility? Thanks y'all, excited to get this in 🍻 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me @jcronyn. I'll look into the conflicts
* Add message for burn verification. * Verify burn txn. * Create signature verification utility. * Move @helium/crypto to dev dependencies. * Remove old code. * v4.1.0 Co-authored-by: Matt Reetz <matthewcarlreetz@gmail.com>
Pending Testing:
Testnet testing pending testnet availability(Testnet doesn't support multisig)