@vutr/purser-metamask

2.2.4 • Public • Published

@colony/purser-metamask

A javascript library to interact with the a Metamask based Ethereum wallet.

It extracts all the complexity from setting up, maintaining and interacting with it, while providing you with a predictable interface.

Installation

yarn add @colony/purser-metamask

Quick Usage

import { open } from '@vutr/purser-metamask'

const wallet = await open();

console.log(wallet); // { address: '...', chainId: '...', publicKey: '...' }

Documentation

You can find more in-depth description for this module's API in the purser docs.

Contributing

This package is part of the purser monorepo package.

Please read our Contributing Guidelines for how to get started.

License

The purser-metamask library along with the whole purser monorepo are MIT licensed.

/@vutr/purser-metamask/

    Package Sidebar

    Install

    npm i @vutr/purser-metamask

    Weekly Downloads

    0

    Version

    2.2.4

    License

    MIT

    Unpacked Size

    201 kB

    Total Files

    43

    Last publish

    Collaborators

    • vutr