I was wondering if anyone knew how I could use the spl-token library to create an associated token account that would then be able to sign a transaction?
For example if i used spl.getAssociatedTokenAddress() to create such an account it only returns the publicKey (is this because program derived addressed do not have a keypair?) But i wish to use this account to sign the execution of an instruction later on, but the call of my back end function only takes a keypair for the signer field...
Thank you!!