forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 111
feat(wallet-connect): impl BTC (UTxO) activation via WalletConnect #2499
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
e39ff92
fix comment
mariocynicys facae9d
add a todo regarind session proposal response
mariocynicys 638fe3f
add a todo related to ledger connection detection in wallet connect
mariocynicys a5b5909
rename send_proposal_request for clarity and add a todo
mariocynicys ab0edba
add a todo regarding a possible mis-use of session properties
mariocynicys 42ddeb1
rename PersonalSign to EthPersonalSign to signify it's eth specific m…
mariocynicys fd0c6ab
add btc/utxo wallet connect method names
mariocynicys 803d8f5
recognize that the conversion from PrivKeyBuildPolicy to the eth coun…
mariocynicys 9799ec9
add a PrivKeyBuildPolicy::WalletConnect to be used for UTXO
mariocynicys 72e845b
dont store address not pubkey in EthPrivKeyBuildPolicy::WalletConnect
mariocynicys 9a03495
dont store address not pubkey in PrivKeyBuildPolicy::WalletConnect
mariocynicys 3769d41
free UtxoCoinBuilder of the trait hell
mariocynicys bc796a2
impl wallet connection activation for btc
mariocynicys f15163f
add bip122 to WcChainId struct
mariocynicys 735403d
merge with origin/dev
mariocynicys 6dd49c1
fix ci clippy error
mariocynicys 31d9edc
merge with origin dev
mariocynicys a665b55
strongtype wallet connect error
mariocynicys 028ff49
move a note to a todo to not forget about it later
mariocynicys b892571
review(onur): rename the generic UtxoAddress struct
mariocynicys ca8e1a0
merge with origin/dev
mariocynicys 2c72ad6
turn the TryFrom back to From
mariocynicys 98f9d5f
manually convert PrivKeyBuildPoilcy to the ETH counterpart in legacy …
mariocynicys 17bf308
refactor sign_message_hash for better usability
mariocynicys eee71ca
impl msg signing and pubkey recovery with walletconnect
mariocynicys 16aa656
use signMessage for pubkey recovery as a fallback
mariocynicys f3451fe
fix error in activated_key_or_err() call when walletconnect is used
mariocynicys 4587a1d
fix linting issues
mariocynicys af1cc4b
merge with origin/dev
mariocynicys c86a2bf
review(onur): add more spaces here and there for readability
mariocynicys 87bb907
refine the todo regarding ledger connectino detection
mariocynicys 480ad38
review(onur): rename build_..._iguana_secret to build_..._iguana_priv…
mariocynicys 9bf308a
review(onur): reduce the size of `build_utxo_fields_with_walletconnec…
mariocynicys 4149627
review(onur): use a specilizied struct for session_topic parameters (…
mariocynicys a22b14b
review(onur): let kdf_walletconnect-rust use &Topic instead of &str f…
mariocynicys 35d7353
merge with origin/dev
mariocynicys f17f300
try to decode the signature response as hex first
mariocynicys 6521246
move sign_message_hash to mm2_bitcoin
mariocynicys 84f3f0b
review(shamardy): report the correct error when tron is used with wal…
mariocynicys e893297
review(shamardy): move chain_id inside protocol data for utxo
mariocynicys 33868a6
Merge remote-tracking branch 'origin/dev' into btc-walletconnect
mariocynicys f0719d6
merge with origin/dev
mariocynicys 821a5dd
fix failing tests
mariocynicys 188424a
actually fix tests
mariocynicys 0947655
merge with origin/dev
shamardy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
We should start adding this to coins configs and docs @mariocynicys please open an issue in coins repo and in docs repo. c.c. @cipig @smk762