1.0.14 • Published 9 months ago

boost-button v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

boost-button

React component that allows you to integrate a boost button into your web application, leveraging webln for boosting people with lightning addresses.

🚀 Quick Start

npm install boost-button

🤙 Usage

BoostButton

import React from 'react';
import { BoostButton } from 'boost-button';

const MyComponent = () => {
  const lnurl = 'hello@getalby.com';

  return (
    <div>
      <h1>My LN App</h1>
      <BoostButton lnurl={lnurl} />
    </div>
  );
};

export default MyComponent;

And Boost Button component would be embedded like this:

injectBoostButton

import { injectBoostButton } from 'boost-button';

const lnurl = 'hello@getalby.com';

injectBoostButton(lnurl);

And you should see the Boost Button widget on the bottom right of your app:

Thanks

@bigyanpoudel for https://github.com/bigyanpoudel/react-vite-library

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.11

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

0.0.8

11 months ago

0.0.9

11 months ago

1.0.0

11 months ago