-
-
Notifications
You must be signed in to change notification settings - Fork 246
feat: add account discovery to MultichainAccountWallet
and providers
#6397
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 11 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
3eaf3ba
feat: add discoverAndCreateAccounts method to MultichainAccountWallet
hmalik88 0eae422
feat: add provider type and remove groupIndex from discoverAndCreateA…
hmalik88 6c792c7
feat: add method to get the EVM provider and fill in discoverAndCreat…
hmalik88 74790a5
feat: update snap provider class to add providerType
hmalik88 b6f8de3
feat: update sol provider to add providerType and remove groupIndex f…
hmalik88 6a6a184
feat: add network controller actions to messenger
hmalik88 2960c7e
chore: remove comment
hmalik88 ba635c9
chore: add JSdocs
hmalik88 f2c16a1
refactor: move orchestraction into wallet class
hmalik88 e4fcc7f
refactor: re-add groupIndex to discoverAndCreateAccounts provider met…
hmalik88 5994b14
refactor: add groupIndex for sol provider
hmalik88 bc19d05
refactor: apply code review
hmalik88 a8034f1
Merge branch 'main' into hm/mul-345
hmalik88 861acd2
fix: use type guard to narrow provider type
hmalik88 f7fbe26
fix: lint fix
hmalik88 9ed9bc3
feat: add discovery for solana
hmalik88 3666ed1
test: add evm provider tests
hmalik88 ec712e6
refactor: make accounts readonly again
hmalik88 0784bc3
refactor: simplify discoverAndCreateAccounts for solana
hmalik88 1540fcf
test: add solana discovery tests
hmalik88 923a733
test: add discoverAndCreateAccounts tests for multichain account wall…
hmalik88 54acf85
refactor: update mock providers to both start with no accounts since …
hmalik88 d9a22c6
Merge branch 'main' into hm/mul-345
hmalik88 61d2212
chore: update JSdoc comment
hmalik88 4faeea1
refactor: add spacing
hmalik88 8b0afe7
chore: add changelog entries
hmalik88 071b83f
chore: lint fixes
hmalik88 e5d17b3
fix: prettier fix
hmalik88 0d3a917
feat: sync wallet before calling align groups
hmalik88 f7d62ca
fix: update return type for keyring client\'s send action
hmalik88 1de1276
feat: relax withKeyring type to accept options
hmalik88 6467328
feat: refactor discovery logic to not +1 groupIndex
hmalik88 00a649d
test: update evm provider tests to not be expecting +1 on the groupIndex
hmalik88 1907177
feat: add createMultichainAccountWallet method
hmalik88 f63b37c
test: add tests for createMultichainAccountWallet
hmalik88 eca202a
chore: update changelog
hmalik88 dc935d8
Merge branch 'main' into hm/mul-345
hmalik88 b35ead8
refactor: use if statement to avoid importing utils package
hmalik88 e52859e
feat: update messenger actions with new create multichain account wal…
hmalik88 6aab24b
feat: register action handler for createMultichainAccountWallet
hmalik88 ce178b2
test: add test for createMultichainAccountWallet action
hmalik88 146041e
chore: update changelog again
hmalik88 b3c5bbd
fix: update changelog entries to be under unreleased
hmalik88 fe04162
feat: apply code review
hmalik88 d9e6afd
chore: remove unneeded istanbul ignore
hmalik88 80d1004
fix: fix import order
hmalik88 974a6a0
Merge branch 'main' into hm/mul-345
hmalik88 f820127
feat: add getKeyringsByType action to messenger
hmalik88 661722a
Merge branch 'main' into hm/mul-345
hmalik88 0d8fd74
refactor: use addKeyring action and add logic to check for existing k…
hmalik88 4becc36
chore: update JSDoc
hmalik88 3232d5b
Merge branch 'main' into hm/mul-345
hmalik88 1baee79
chore: fix JSdoc
hmalik88 b9e99ea
Merge branch 'main' into hm/mul-345
hmalik88 0631293
fix: remove double Buffer.from
hmalik88 ffe7ad6
fix: return provider's running promise in schedule function to preven…
hmalik88 f40465d
Merge branch 'main' into hm/mul-345
hmalik88 e501f17
refactor: move provider discovery context type into types
hmalik88 1a51802
fix: lint fix
hmalik88 b4ca8d3
Merge branch 'main' into hm/mul-345
hmalik88 0ed6351
chore(multichain-account-service): refactor and improvements around d…
ccharly 3734aa9
Merge branch 'main' into hm/mul-345
hmalik88 7f3c257
chore: remove provider context type from types
hmalik88 b4e21f2
chore: add breaking entry for multichain account service messenger
hmalik88 9f870c4
fix: update Evm to EVM in JSDocs
hmalik88 8880972
chore: remove condition that is no longer true from JSDoc
hmalik88 55a39fb
refactor: only return newly created wallet instead of tuple in create…
hmalik88 2e60f1d
chore: rename utils to mnemonic
hmalik88 1bde1e7
fix: update service tests
hmalik88 f13020b
feat: add chainId const
hmalik88 d0f403d
feat: use logger from utils in discoverAndCreateAccounts
hmalik88 aab0051
fix: typos
hmalik88 fa84029
Merge branch 'main' into hm/mul-345
hmalik88 7849934
fix: utils version
hmalik88 f6832cf
refactor: apply code review
hmalik88 46fc0d3
fix: update test description
hmalik88 c63a2bd
feat: add throwOnGap param to createAccount
hmalik88 6187f4e
refactor: apply code review
hmalik88 46aad3c
Merge branch 'main' into hm/mul-345
hmalik88 66aa686
feat: add type alias for discoverAndCreateAccounts return type
hmalik88 7230071
fix: remove unused vars
hmalik88 badf9f9
fix: change eth-hd-keyring version to be consistent
hmalik88 1176ee7
chore: add return types to EVM provider
hmalik88 428cc30
chore: remove createMultichainAccountWallet code
hmalik88 7b04612
fix: update logging with the target group index
hmalik88 edcf69b
Merge branch 'main' into hm/mul-345
hmalik88 a3a730d
refactor: apply code review
hmalik88 9c5ea62
fix: EVM provider test
hmalik88 35fe26d
fix: updated solana discovery to account for different derivation sch…
hmalik88 022a00b
refactor: change implementation of solana discovery to preserve publi…
hmalik88 a0830e0
Merge branch 'main' into hm/mul-345
hmalik88 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
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.
Uh oh!
There was an error while loading. Please reload this page.