1

Let's say, Program A calls Program B via invoke_signed

Is it a way for a Program B to reuse these seeds in the second layer CPI?

After experimenting a bit, I came to conclusion it cannot be achieved... Unless there is something I am missing here

1 Answer 1

1

Program B cannot sign for any account owned by Program A.

However, once Program A signs with seeds for account_a in a CPI to Program B, Program B can freely use account_a as a signer to some Program C.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.