@dataverse/wallet-adapter
v1.0.4
Published
<br/> <p align="center"> <a href=" " target="_blank"> <img src="https://github.com/dataverse-os/dataverse-connector/raw/main/logo.svg" width="180" alt="Dataverse logo"> </a > </p > <br/>
Downloads
7
Keywords
Readme
wallet-adapter
Installation
pnpm install @dataverse/wallet-adapter
Overview
This repository is for the code adaptation work of integrating our own Dataverse Wallet into wagmi and Rainbowkit through pull requests.
adapt-to-wagmi
In this package, we inherit the base class Connector
from wagmi and define our
own DataverseConnector
. The DataverseConnector
can be used in Rainbowkit for
subsequent purposes.
adapt-to-rainbowkit
This package contains dataverseWallet.ts
and injectedDataverseWallet.ts
.
1.dataverseWallet.ts
dataverseWallet
directly inherits from the DataverseConnector
in wagmi
(which has not been merged yet).
2.injectedDataverseWallet.ts
dataverseWallet
inherits from the widely used InjectedConnector
in wagmi.