0.2.5 • Published 1 year ago

@vocdoni/rainbowkit-wallets v0.2.5

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
-
Last release
1 year ago

vocdoni logo

rainbowkit-wallets badge Join Discord Twitter Follow

@vocdoni/rainbowkit-wallets

Rainbowkit wallets & wagmi connectors for easily extending web3 connectivity.

Installing

You'll first need to have a project with Rainbowkit <= 0.12 installed and configured. Follow their official documentation in order to do so.

After that, you can add the required dependencies:

yarn add @vocdoni/rainbowkit-wallets

Usage

Add the inputsWallet, oAuthWallet or privateKeyWallet connector to your wallet connectors list:

import { inputsWallet } from "@vocdoni/rainbowkit-wallets";

const connectors = connectorsForWallets([
  {
    groupName: "Recommended",
    wallets: [
      metaMaskWallet({ projectId, chains }),
      inputsWallet({ chains, name: "Your Preferred Name" }),
      oAuthWallet({
        chains,
        name: "OAuth",
        options: { oAuthServiceUrl: "http://oauth.vocdoni.io" },
      }),
       privateKeyWallet({
        id: 'pk',
        name: 'Private Key',
        chains,
      })
    ],
  },
]);

LICENSE

This components library is licensed under the GNU Affero General Public License v3.0.

Vocdoni UI React Components
Copyright (C) 2023 Vocdoni Roots MCU

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago