snet-cardano-dapp-connector
v1.0.3
Published
Snet SDK for connecting cardano wallet
Downloads
6
Maintainers
Readme
snet-cardano-dapp-connector
This package is for connecting to cardano wallets and transfering the ADA.
Install
npm install --save snet-cardano-dapp-connector
Usage
import * as React from "react";
import { useInjectableWalletHook } from "snet-cardano-dapp-connector";
const Example = () => {
const { supportedWallets } = useInjectableWalletHook(["NAMI"], "1");
<div>
{supportedWallets.map((wallet) => (
<text>{wallet.name}</text>
))}
</div>;
};
License
MIT © Shyam-Khokhariya
This hook is created using create-react-hook.