0.0.28 • Published 1 year ago

hone-tip-drawer v0.0.28

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

hone-tip-drawer

Version: 0.0.27

Description

hone-tip-drawer is a React component built with wagmi & shadCN that allows you to accept direct tips on your website. It supports multiple blockchain networks and various ERC-20 tokens.

Installation

Install the package via npm:

npm install hone-tip-drawer

Or via yarn:

yarn add hone-tip-drawer

Usage

To use the TipDrawer component, import it into your project and include it in your JSX:

Copy code
import React from 'react';
import { TipDrawer } from 'hone-tip-drawer';

function App() {
  return (
    <div>
      <h1>My Website</h1>
      <TipDrawer className="my-custom-class" tipJarAddress={'0x123...'}/>
    </div>
  );

export default App;
}

Features

  • Supports multiple blockchains including Ethereum, Polygon, Optimism, and Base.
  • Allows tipping with various ERC-20 tokens.
  • User-friendly drawer interface for selecting chain and currency.
  • Simple integration with existing React applications.

Dependencies

The package relies on the following dependencies:

  • @radix-ui/react-dialog: ^1.0.5
  • @radix-ui/react-icons: ^1.3.0
  • @radix-ui/react-select: ^2.0.0
  • @radix-ui/react-slot: ^1.0.2
  • @tanstack/react-query: ^5.45.1
  • class-variance-authority: ^0.7.0
  • clsx: ^2.1.1
  • lucide-react: ^0.395.0
  • tailwind-merge: ^2.3.0
  • tailwindcss-animate: ^1.0.7
  • vaul: ^0.9.1
  • viem: ^2.15.1
  • wagmi: ^2.10.2

Development

To build the package, run:

npm run build

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please read the contributing guidelines first.

Author

Created by hone1er.

0.0.28

1 year ago

0.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago