If you want to use signers from Rangers , also need to run this command:
npm install mpcsinger
yarn add mpcsmartaccount
import { MpcSigner } from "mpcsinger";
/**
* export type YeehaJwtSignerOptions = {
* private_key: string; // The App Identity registered in YeehaWallet server.
* userTokenFn: functin; // The function is get user token from the Oauth service registered in the YeehaWallet server.
* };
*/
let signer = new MpcSigner({
private_key,
userTokenFn
});