npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nft-wallet

v1.3.5

Published

WholeLot NFT and Wallet Libraries, Connect multiple Wallets with React Component

Downloads

47

Readme

Simple to Create NFT Wallet

Configuration based NFT Wallet React Component with all wallet connections for your NFT

Installation

npm install --save nft-wallet

Usage

See Connector list example with supported wallets, please update args values as needed.

const ConnectorList = [
    {
        title: 'Ethereum Wallet',
        key: 'network',
        logo: 'https://www.pngitem.com/pimgs/m/124-1245793_ethereum-eth-icon-ethereum-png-transparent-png.png',
        description: 'Connect to RPC Ethereum Wallet that supports multiple chains.',
        link: 'https://ethereum.org/en/',
        type: 'ethereum',
        args: { urls: { 1: '', 4: '' }, supportedChainIds: [1, 3, 4, 5, 42] }
    },
    {
        title: 'METAMASK',
        key: 'metamask',
        logo: 'https://opensea.io/static/images/logos/metamask.png',
        description: 'Connect with Meta Mask , over 1 million worldwide  users trusted wallet.',
        link: 'https://metamask.io',
        type: 'ethereum',
        args: {  supportedChainIds: [1, 3, 4, 5, 42] }
    },
    {
        title: 'Coinbase',
        key: 'coinbase',
        logo: 'https://storage.googleapis.com/opensea-static/logos/coinbasewallet-logo.png',
        description: 'Connect with Coinbase, a wellknown global crypto currency wallet.',
        link: 'https://www.coinbase.com/',
        type: 'all',
        args: {  dAppId: '', dAppSecret: '' }
    },
    {
        title: 'Bitski',
        key: 'bitski',
        logo: 'https://storage.googleapis.com/opensea-static/logos/bitski.png',
        description: 'Connect with Bitski, A simple-to-use wallet with email and password.',
        link: 'https://bitski.com',
        type: 'all',
        args: {  dAppId: '' }
    },
    {
        title: 'Portis',
        key: 'portis',
        type: 'all',
        logo: 'https://storage.googleapis.com/opensea-static/logos/portis.png',
        description: 'Connect with Portis, a cloud-hosted Non-Custodial Blockchain wallet ',
        link: 'https://portis.io/',
        args: { dAppId: '', networks: [{ chainId: '1', 1: '' }, { chainId: '4', 4: '' }] }
    },
    {
        title: 'Dapper',
        key: 'dapper',
        type: 'ethereum',
        logo: 'https://storage.googleapis.com/opensea-static/logos/dapper-icon.png',
        description: 'Connect with Dapper, a browser extension that pays gas fee for you. ',
        link: 'https://www.meetdapper.com/',
        args: {  supportedChainIds: [1, 100] }
    },
    {
        title: 'Kaikas',
        key: 'kaikas',
        type: 'ethereum',
        logo: 'https://opensea.io/static/images/logos/kaikas-alternative.png',
        description: 'Connect with Dapper, a chrome extension wallet. ',
        link: 'https://chrome.google.com/webstore/detail/kaikas/jblndlipeogpafnldhgmapagcccfchpi/',
        args: {  supportedChainIds: [1, 100] }
    },
    {
        title: 'Trezor',
        key: 'trezor',
        type: 'all',
        logo: 'https://trezor.io/static/images/trezor-logo-black.png',
        description: 'Connect with Trezor,  the secure vault for your digital assets."',
        link: 'https://trezor.ie/',
        args: {url:'', chainId: 1, dAppEmail: '', dAppUrl: '' }
    },
    {
        title: 'Authereum',
        key: 'authereum',
        type: 'all',
        logo: 'https://storage.googleapis.com/opensea-static/logos/authereum.png',
        description: 'Connect with Authereum, a usability focused wallet with no transaction fee.',
        link: 'https://authereum.com/',
        args: {  chainId: 1}
    },
    {
        title: 'Fortmatic',
        key: 'fortmatic',
        type: 'all',
        logo: 'https://storage.opensea.io/static/wallets/fortmatic/fortmatic.png',
        description: 'Connect with Fortmatic , join with your phone number on any device.',
        link: 'https://fortmatic.com/',
        args: {  dAppId: '', dAppName: 'Your App Name', chainId: 1, }
    },
    {
        title: 'Ledger',
        key: 'ledger',
        type: 'all',
        logo: '',
        description: 'Connect with a Ledger  Nano X , Nano S device with Bluetooth or USB.',
        link: 'https://www.ledger.com/wp-content/themes/ledger-v2/public/images/ledger.svg',
        args: { email: '', url:'', chainId: 1 }
    },
    {
        title: 'Lattice 1',
        key: 'lattice',
        type: 'all',
        logo: 'https://cdn.shopify.com/s/files/1/0221/1921/9264/files/grid-plus-logo-white_180x.png?v=1607610627',
        description: 'Connect with your Grid Plus Lattice 1, a programmable hardware wallet.',
        link: 'https://gridplus.io/products/grid-lattice1',
        args: { url:'', dAppName: 'Your App Name', chainId: 1, }
    },
    
    {
        title: 'Wallet Connect',
        key: 'walletConnect',
        type: 'all',
        logo: 'https://storage.opensea.io/static/wallets/walletconnect/walletconnect.png',
        description: 'Pair with Trust, Argent, MetaMask  & more. Works from any browser, without an extension.',
        link: 'https://walletconnect.org/',
        args: { urls: { 1: '', 4: '' }, }
    },
    {
        title: 'Wallet Link',
        key: 'walletLink',
        type: 'all',
        logo: 'https://walletlink.org/favicon.ico',
        description: 'Connect your own Wallet, An open protocol that lets to connect mobile wallets',
        link: 'https://walletlink.org/',
        args: { url:'', dAppName: 'Your App Name', dAppLogoUrl:'',supportedChainIds: [1, 100] }
    },

];
const onConnection =(account, provider)=>{
// Manage your logic provide account addressId and Connection Provider
};
<WalletContainer ConnectorList={connectorList} onConnection={onConnection}/>