Open TheGateKeeper1995 opened 1 year ago
When you do lucid.selectWalletFrom
you only select a wallet you can view. You don't have access to the private key and so on. So the sign operation fails obviously. This is not a bug, it's intended to fail.
So then how do I write this correctly so I can include the private key? And how do make a private key based on the cborhex in my payment.skey or payment.vkey file, whichever one I'm supposed to use.
I am trying to create a transaction to allow a user to claim a token of mine by clicking a button on my frontend dApp but I don't know why I am getting this error or how I to fix it. I most definitely have the wallet object but I am still getting this error, perhaps I am missing something. Thanks in advance.
Here is the transaction code I am using