@web3-wallets-kit/unstoppable-connector
v0.3.10
Published
Package for connecting with Ethereum wallets for dApp
Maintainers
Readme
@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
UnstoppableConnectorconfiguration 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({
projectId: 'YOUR_WALLETCONNECT_PROJECT_ID',
chains: [1],
metadata: {
name: 'My App',
description: 'My App Description',
url: 'https://myapp.com',
icons: ['https://myapp.com/icon.png'],
},
}),
},
});