npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@me3wallet/keysmith

v4.1.5

Published

Me3 Key Generator Module

Readme

Me3 Keysmith

Keysmith enables you to create Me3 wallets invisibly. Simply integrate this module and use the me3.getWallets() method to obtain the Me3 Wallet for a specific gmail. The user's UX is the same as that of a Google SSO.

⚠️ This module simply enables one to create Me3 wallets and recovery files. Implementation of custodial/non-custodial governance is at the users level, and Me3 bears no liability from the governance implemented by the user.

⚠️ Recommend node16, if node version >16, then please use NODE_OPTIONS=--openssl-legacy-provider

How to use

1. Initialize the Me3 instance

import pkg from "@me3wallet/keysmith";
const { Me3 } = pkg;

const me3 = new Me3({
  endpoint: "<Me3 Api endpoint, please request from the Me3 team>",
  partnerId: "<Me3 partner id, please request from the Me3 team>",
  client_id:
    "<Google api oauth2 client id, please obtain it from google api console>",
  client_secret:
    "<Google api oauth2 client secret, please obtain it from google api console>",
  redirect_uris: [
    "<Google api oauth2 redirect urls, this is a redirect url of your choice that was registered with google api console>",
  ],
});

You can get the google oauth credentials from their console, example here

Please enable Google Drive Api.

2. Prompt a google account login by following the 2 steps below

2.1 Get oauth2 url

const url = me3.getGAuthUrl();

You should direct the browser to open this url. The resulting page allows us to prompt the user to accept the permissions needed for us to upload the generated key into their GDrive. First, it would prompt a SSO login. After login, they would prompt for permissions. Please confirm all the google api permissions (email, gdrive access) required. Once completed, the web page would be redirected to redirect_uris at step 1, alongside several parameters (including a "code" parameter)

2.2 Please pass the full redirected url (with parameters) to this method

const isSuccess = await me3.getGToken('<full redirect url, including parameters>');

You can check the success or failure of obtaining the GToken from the return value

3. Create / Restore crypto wallets using backup secret file

const wallets = await me3.getWallets();

It will carry out

  • If new user?
    • create secret json / qr code then save to gdrive for new user
    • generates the wallets using above secure file for new user
  • Otherwise
    • read the security file and decode from gdrive
    • restore the wallets based above information
  • There would be wallets (address / privateKey / chainName / walletName )

Recommend to use CLI

  • ⚠️ Please change the parameters at cli/index.ts L8~L17
  • yarn && yarn build for build
  • yarn cli:prod for cli app execute