@web3-wallets-kit/unstoppable-connector
TypeScript icon, indicating that this package has built-in type declarations

0.3.9 • Public • Published

@web3-wallets-kit/unstoppable-connector

This provider uses OAuth

  • users must have a domain minted on Ethereum Mainnet
  • the application must be registered in Unstoppable Domains
  • to get UnstoppableConnector configuration parameters you need to set redirect settings in your personal account and generate ClientID and Secret

Installation

npm install @web3-wallets-kit/unstoppable-connector

Example

import { ConnectWalletConnector } from '@web3-wallets-kit/connect-wallet-connector';
import { InpageConnector } from '@web3-wallets-kit/inpage-connector';
import { UnstoppableConnector } from '@web3-wallets-kit/unstoppable-connector';

const connector = new UnstoppableConnector({
  clientOptions: {
    clientID: CLIENT_ID,
    clientSecret: CLIENT_SECRET,
    redirectUri: REDIRECT_URL,
  },
  connectors: {
    web3: new InpageConnector(),
    walletconnect: new ConnectWalletConnector({
      chainId: 1,
      rpc: {
        1: 'https://mainnet.mycustomnode.com',
      },
    }),
  },
});

Package Sidebar

Install

npm i @web3-wallets-kit/unstoppable-connector

Weekly Downloads

1

Version

0.3.9

License

MIT

Unpacked Size

123 kB

Total Files

13

Last publish

Collaborators

  • in_farkt