Skip to content
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

create abstracted connect RPC method #79

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Conversation

m-aboelenein
Copy link
Member

This PR adds support for the getAccounts method
API:

params: none 
returns Address[]

with the address being an object with the following parameters

  address: string;
  publicKey: string;
  purpose: AddressPurpose;
  addressType?: AddressType;

the number of addresses returned will be different depending on how many bitcoin/ l2 addresses the user wallet supports

@m-aboelenein m-aboelenein self-assigned this Mar 12, 2024
Copy link

Test this PR with npm i --save-exact [email protected]

@m-aboelenein m-aboelenein merged commit 9f12d07 into develop Mar 15, 2024
3 checks passed
@m-aboelenein m-aboelenein deleted the connect-rpc-api branch March 15, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants