mm_mpc_singer
v0.0.1
Published
If you want to use signers from Rangers , also need to run this command:
Downloads
67
Readme
Step1: Master Key Signer
If you want to use signers from Rangers , also need to run this command:
npm install mpcsinger
Install By Yarn
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
});