forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat(walletconnect): walletconnect integration #2223
Open
borngraced
wants to merge
124
commits into
dev
Choose a base branch
from
wc-integration
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
9100780
init, start walletconnect client impl
borngraced ca3f558
save dev state - walletconnect client impl
borngraced c3dc6c6
save dev state - WalletConnect client impl
borngraced 0eea639
rough implementations
borngraced 588316f
commit lock file
borngraced 60a2fc5
save dev state - handle connection close, session improvements, etc
borngraced fd8797c
minor changes
borngraced 437767b
fix wasm compilation
borngraced 6374da3
minor changes - create metadata mod
borngraced 1c9cfe0
minor changes and code organization
borngraced f7987dd
minor changes + merge session and session_key mod
borngraced 1f2adb2
minor changes to namespaces
borngraced 658357f
some improvements
borngraced 98026ac
add some session fn doc comments
borngraced 9dddb91
big improvements to session handling
borngraced 52a0f72
implement session delete and cleaup
borngraced 9f5944c
improve code and locking
borngraced dff1b42
remove unused dep
borngraced 591fbdb
refactorings and cleanupds
borngraced f6e7864
minor changes
borngraced f535f0b
make session single
borngraced 3eb8969
minor changes
borngraced 2d68488
save dev state
borngraced 42dd5ba
implement coin activation for tendermint and other minor changes
borngraced edcb5a7
improve code and minor needed changes
borngraced e606ca4
improve relayer disconnection, remove unneeded changes, track topic s…
borngraced d7b5a17
fix tendermint pubkey derivation from walletconnect
borngraced 3a85a17
start persistent session storage implementation
borngraced be98c40
implement sqlite session storage table and insert session method
borngraced 6453a33
fix cyclic deps and continue storage implementations
borngraced 9f87a9e
implement WASM persistent storage
borngraced 6135665
implement persistent indexed_db session storage
borngraced 5457d80
save dev state - implement wc rpc commands
borngraced 9d12079
move walletconnect rpc to mm2_main rpc
borngraced 03d9978
remove mm2_test_helpers lock file
borngraced 32e46d9
format mm2_net cargo.toml
borngraced 1e352b1
update storage session upon session settle response/request
borngraced a30511b
add tokio to wc dependency list
borngraced 341b18e
improve tenderming with_pubkey activation params
borngraced 4c8e299
minor changes
borngraced 73d8315
fix proposer mod
borngraced c1accc9
merge with dev
borngraced 7ab33d5
implement walletconnect sign tx for tendermint - wip
borngraced 0bcd41c
remove chain params from get cosmos account method
borngraced b2ec309
tx impl - wip
borngraced 2e25bde
save dev state
borngraced 328bc76
handle client connnection/reconnection efficiently and minor renaming
borngraced 9b20d7f
minor changes
borngraced ca2e19c
implement multi session management
borngraced 481f1c3
remove mm2_test_helpers lock file
borngraced 0c00710
refactoring and unit tests
borngraced e5e2150
fix session topic generation bug
borngraced 8d749de
tendermint sign tx impl fixes
borngraced 8b1b6c3
improve wc tx_signing codes
borngraced 4202950
minor fix
borngraced d440ed9
add more session rpc endpoint
borngraced f3cf28b
update wc deps
borngraced e56f8d7
update wc_common deps
borngraced 1ab21d7
merge with dev and fix conflicts
borngraced a498381
use rustls
borngraced c7b41a8
update bip39 deps
borngraced 8fc7620
fix wasm clippy
borngraced 2d52404
add chains/tendermint test
borngraced 4cbd2fa
minor changes, improve api
borngraced a57495d
remove subscription on session delete
borngraced c7e7de6
improve ledger external wallet connection checks
borngraced cc3c568
wc tx handling for tendermint
borngraced 7683090
merge with dev and fix conflicts
borngraced 5a574a6
complete persistent session storage with unit test for native and wasm
borngraced 81ebee7
minor changes
borngraced 46e3802
fix is ledger connection fn
borngraced 500cb87
module refactorings
borngraced b2dea85
Merge branch 'dev' of github.com:KomodoPlatform/komodo-defi-framework…
borngraced 1840ca8
introduce WcRequstOps trait, untighten code and more
borngraced 6501134
commit cargo.lock
borngraced 38dadbe
implement cosmos ledger amino sign support
borngraced 301a5b0
fix fmt
borngraced 3cde05b
start eth pubkey mode impl
borngraced 5eb3e4c
save progress - impl wc eth_personal sign
borngraced b35bd4a
implement eth coin activation using walletconnect
borngraced 337154c
eth walletconnect coin activation and message handler code improvements
borngraced b358825
improve session message handling process
borngraced afc4058
further wc improve message handling
borngraced 18eb62f
uncommit mm2_test_helpers lock file
borngraced 9c083ac
eth wc transaction - save dev state
borngraced 7f37fd3
impl eth withdraw for walletconnect policy
borngraced 6e57330
don't support sign_raw_tx rpc in walletconnect mode
borngraced e45243b
cleanups
borngraced a8d937e
improvements to session, wc ops, and more
borngraced 1569ede
create connection with custom namespaces
borngraced 4fc5a43
impl eth sign and send tx for WalletConnect
borngraced 3792027
swaps working, impl connection health manager
borngraced 0b1da04
remove debug log
borngraced f0659a4
connection_handler improvements
borngraced 187bf5e
improve tendermint wc code
borngraced 2a2f167
use const_hex
borngraced cd368bf
major changes to connection handling and other minor fixes
borngraced 0c61287
add logging to wc storage impl
borngraced fe0d096
Merge branch 'refs/heads/dev' into wc-integration
borngraced a0220d7
fix conflict and minor changes + merge with dev branch
borngraced 3468502
minor changes
borngraced c4a07e4
monitor if relay client is connected
borngraced 1e78257
changes to client impls
borngraced a43dc60
handle broadcast option for WalletConnect and some minor fixes
borngraced eea1532
remove unused
borngraced fb9f8c1
fix: handle unexpected end of file
borngraced d58b18f
re-enable use_watcher
borngraced 045625b
cleanups
borngraced 65c7f90
fix websocket connection drop
borngraced 2326959
handle conn drop for session creation
borngraced 42eaa29
nits
borngraced 4ad423e
Merge branch 'refs/heads/dev' into wc-integration
borngraced e82083a
fix conflict after merge
borngraced ad38241
nits
borngraced 59db165
move storage to session manager and minor improvements
borngraced f5caa19
fix review notes
borngraced bb186c2
fix: self review
borngraced 77d7909
fix review notes
borngraced 0d3fdfe
increase rpc timeout and return PublicKey from recover
borngraced 35d0fa4
fix review notes
borngraced db1e687
fmt
borngraced 11d114d
remove dup session delete rpc
borngraced af91d47
rename var and remove unnecessary sorting from storage sessions loading
borngraced 10e9e67
refactor wait_for_tx_appears_on_rpc to use secs for time
borngraced 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 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.
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.
Q: what is that for?
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.
selecting the backend for compiling curve25519-dalek. This is explicitly needed because I updated the lib which now supports different backends for compilation
https://crates.io/crates/curve25519-dalek/4.1.3#simd-backend