Skip to content

switch to deterministic wrapper creation using seed#641

Open
mschneider wants to merge 5 commits into
mainfrom
max/wrapper-seed
Open

switch to deterministic wrapper creation using seed#641
mschneider wants to merge 5 commits into
mainfrom
max/wrapper-seed

Conversation

@mschneider

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread client/ts/src/client.ts
Comment thread client/ts/src/client.ts
connection,
trader,
);
if (!userWrapper) {

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.

also check if we are in a squadsx situation and have a need to make a new wrapper since we cannot sign

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i dont think squadsx ever signed anything in this case, the error message mentioned that there's no wrapper found for this particular owner

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i also checked their tx history. seems to be all ok

@mschneider mschneider requested a review from brittcyr July 9, 2026 13:30
Comment thread client/ts/src/client.ts
// (both when a new wrapper is created and when an existing wrapper only needs
// a seat claimed) so callers can build follow-on instructions without having
// to inspect the setup instructions themselves.
wrapperState: PublicKey | null;

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.

Make the var name clear it is an address or pubkey not the state itself.

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