npm

@acentswap/multiwallet-ethereum-mewconnect-connector
TypeScript icon, indicating that this package has built-in type declarations

8.0.0 • Public • Published

@acentproject/multiwallet-ethereum-mewconnect-connector

This package provides a connector for the MEW mobile application

Usage

new EthereumMEWConnectConnector({
    rpc: {
        1: `wss://mainnet.infura.io/ws/v3/${process.env.REACT_APP_INFURA_KEY}`,
    },
    chainId: 1,
    debug: true,
});

Note, must be served on an HTTPS connection in order to work, so local-host testing can be problematic.

Parameters

parameter type description
debug boolean Print debug messages
chainId integer Which chain to connect to (currently Mainnet only)
rpc { integer: string } A map of chain ids to Websocket RPC URLs

Readme

Keywords

none

Package Sidebar

Install

npm i @acentswap/multiwallet-ethereum-mewconnect-connector

Weekly Downloads

1

Version

8.0.0

License

MIT

Unpacked Size

17.3 kB

Total Files

6

Last publish

Collaborators

  • helloacent
  • webcgi