Skip to content

Latest commit

 

History

History
117 lines (95 loc) · 4.55 KB

File metadata and controls

117 lines (95 loc) · 4.55 KB

Star History Chart

Vocdoni is the first universally verifiable, censorship-resistant, anonymous, and self-sovereign governance protocol.
Our main aim is a trustless voting system where anyone can speak their voice and where everything is auditable.
We are engineering building blocks for a permissionless, private and censorship resistant democracy.
Explore the developer portal »

More About Us

Vocdoni Website | Web Application | Blockchain Explorer | MIT Law Publication | Contact Us

Key Repositories

Vocdoni Node | Vocdoni SDK | UI Components | Application UI | Census3

vocdoni/rainbowkit-wallets

This package includes rainbowkit wallets & wagmi connectors for easily extending web3 connectivity.

Table of Contents

Getting Started

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

Reference

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 repository is licensed under the GNU Affero General Public License v3.0.

Vocdoni UI React Components
Copyright (C) 2024 Vocdoni Association

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/>.

License: AGPL v3