mm_mpc_singer

0.0.1 • Public • Published

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
});

Readme

Keywords

none

Package Sidebar

Install

npm i mm_mpc_singer

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

990 kB

Total Files

5

Last publish

Collaborators

  • hai-tao