Skip to content

Allow wrapper program to be passed down from getClientForMarket#155

Open
tomjohn1028 wants to merge 2 commits intoBonasa-Tech:mainfrom
tomjohn1028:wrapper-program-arg-for-get-client
Open

Allow wrapper program to be passed down from getClientForMarket#155
tomjohn1028 wants to merge 2 commits intoBonasa-Tech:mainfrom
tomjohn1028:wrapper-program-arg-for-get-client

Conversation

@tomjohn1028
Copy link

No description provided.

market: marketPk,
wrapperState: wrapperKeypair.publicKey,
});
const claimSeatIx: TransactionInstruction = createClaimSeatInstruction(
Copy link
Contributor

Choose a reason for hiding this comment

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

i think you need to call the ui wrapper or bot wrapper version of this fn depending on program because they require different accounts. currently, all of the client is connected to bot wrapper

https://github.com/CKS-Systems/manifest/blob/main/programs/ui-wrapper/src/instruction.rs#L27
https://github.com/CKS-Systems/manifest/blob/main/programs/wrapper/src/instruction.rs#L23
https://github.com/CKS-Systems/manifest/blob/e3b726ee6a937e3f5431b8e457f5d2595facdf67/client/ts/src/client.ts#L37

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