npm.io
1.0.0 • Published 4 years ago

@gamestopnft/detect-gamestop-provider

Licence
ISC
Version
1.0.0
Deps
0
Size
6 kB
Vulns
0
Weekly
0

detect-gme-provider

Detect GME Provider

Description

A utility library for detecting the Gamestop Wallet Browser Extension via window.ethereum.isGamestop if set to be the default provider, or window.gamestop if not.

Usage

import detectGamestopProvider from "@gamestopnft/detect-gamestop-provider";

detectGamestopProvider()
  .then((provider) => console.log(provider))
  .catch((e) => console.error(e));

License

MIT