Skip to content

singnet/snet-cardano-dapp-connector

Repository files navigation

snet-cardano-dapp-connector

This package is for connecting to cardano wallets and transfering the ADA.

NPM JavaScript Style Guide

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.