Skip to content

add wallet publickey to Provider #1845

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

Conversation

tomjohn1028
Copy link
Contributor

@tomjohn1028 tomjohn1028 commented Apr 27, 2022

PsyOptions client code uses the encapsulated wallet key from the Provider. This PR updates the interface to expose the wallet's publicKey

@@ -20,6 +20,7 @@ import {

export default interface Provider {
readonly connection: Connection;
readonly publicKey: PublicKey;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a Changelog entry and good to go

@armaniferrante armaniferrante merged commit 0011e22 into solana-foundation:master Apr 28, 2022
lewilewilewi added a commit to lewilewilewi/anchor that referenced this pull request Jul 21, 2022
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