-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…erStx, stx_getAccounts, stx_getAddresses (#112) * Add placeholders for stx rpc handlers * Move helpers to own file * Remove unused * Add various changes related to request handling * Add rpc method param for transaction request type differentiation * Add response message * Add rpc method to request params * Provide rpc response based on rpc call method * Handle missing function args * Move error messages to constants * Add missing rpc method * Remove unnecessary type * Refine variable name * Prevent unknown errors from blocking navigation * Add rpc props * Remove unnecessary conditional * Send rpc response after broadcast * Start updating ContractCall to RPC request * Handle contract deploy request * Update rpc response type * Add rpc props * Remove sign message work from this branch * Simplify request handling * Rename file * Add handler and helpers for contractCall * Rename handler file * Update hook to handle callContract * Perform minor tweaks for callContract * fix: updated sats connect version and stacks methods names * feat: handle stx_transferStx method * Use Zod union * Fix minor issues * Add stx_getAccounts and stx_getAddresses method handlers * Update the handleGetStxAccounts method * Update types * Remove unimplemented methods * Refactor send message helpers * Update params type * Remove unused prop * Move messages to translation file * Add useMemo and useCallback to accounts and address fetching hooks * Refactor the getAppIconFromWebManifest fetching * Refactor the getAppIconFromWebManifest fetching useEffect * Use existing payload format * Move hook close to component using it * Replace the ternary return with if statement --------- Co-authored-by: Abdul Haseeb <haseeb4239@gmail.com> Co-authored-by: Denys Hriaznov <hriaznov.dev@gmail.com>
- Loading branch information
1 parent
ec067cd
commit 440c1eb
Showing
41 changed files
with
1,583 additions
and
948 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.