@web3-wallets-kit/unstoppable-connector
v0.3.9
Published
Package for connecting with Ethereum wallets for dApp
Downloads
2
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
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',
},
}),
},
});