Skip to content

add wallet publickey to Provider#1845

Merged
armaniferrante merged 3 commits into
otter-sec:masterfrom
mithraiclabs:add-wallet-to-provider
Apr 28, 2022
Merged

add wallet publickey to Provider#1845
armaniferrante merged 3 commits into
otter-sec:masterfrom
mithraiclabs:add-wallet-to-provider

Conversation

@tomjohn1028

@tomjohn1028 tomjohn1028 commented Apr 27, 2022

Copy link
Copy Markdown
Contributor

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

Comment thread ts/src/provider.ts

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

Copy link
Copy Markdown
Contributor

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 otter-sec:master Apr 28, 2022
lewilewilewi added a commit to lewilewilewi/anchor that referenced this pull request Jul 21, 2022
Change introduced in otter-sec#1845
Intention from otter-sec#1867 is for optional publicKey
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
@jamie-osec jamie-osec added this to the Pre-1.0 milestone Jun 24, 2026
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.

3 participants