snet-cardano-dapp-connector
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i snet-cardano-dapp-connector

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

132 MB

Total Files

21

Last publish

Collaborators

  • singnet