0.1.29 • Published 9 months ago

@bandohq/widget v0.1.29

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Bando Spend Widget

The ideal widget to make crypto spendable easily and efficiently.

Check the complete documentation here:

Key Features

  • All-in-One Solution: Support for all ecosystems, chains and tokens, and products supported by Bando (more and more added every week).
  • Wallet Management: Includes UI for managing wallets (EVM, solana coming soon) with the option to use your own wallet solution.
  • Flexible Styling: Customizable themes and styles to seamlessly integrate with your app's design.
  • Multi-Language Support: Complete UI translations to cater to a global audience.
  • Broad Compatibility: Tested with React, Next.js, Vite.

Installation

Prerequisites:

  • Node.js v16+
  • @tanstack/react-query
  • wagmi
  • @bigmi/react
  • @solana/wallet-adapter-react

Step 1: Install Dependencies

Install the Bando Widget using your favorite package manager eg:

pnpm add @bandohq/widget wagmi @bigmi/react @solana/wallet-adapter-react @tanstack/react-query

Configuration

Create a configuration file for your widget:

Configuration Example

import { BandoWidget, WidgetConfig } from "@bandohq/widget";

const widgetConfig: WidgetConfig = {
  theme: {
    container: {
      border: "1px solid rgb(234, 234, 234)",
      borderRadius: "16px",
    },
  },
};

export const WidgetPage = () => {
  return (
    <BandoWidget integrator="Your dApp/company name" config={widgetConfig} />
  );
};

Usage

Import and Render the Widget

import { BandoWidget } from "@bandohq/widget";

function App() {
  return <BandoWidget integrator="Your dApp/company name" />;
}

Customize the Widget

You can pass configuration properties and other adjustments:

<BandoWidget
  fromChain="celo"
  fromToken="CELO"
  theme={{
    container: {
      border: "2px solid #000",
      borderRadius: "8px",
    },
  }}
/>

Technologies Used

  • React
  • Viem and Wagmi (for on-chain interactions)
  • Solana support coming soon

Getting Started

Guides:


License

This project is licensed under the Apache 2.0 license.


Contact

If you have any questions or suggestions, contact us at support@bando.cool.


Special thanks to @lifinance

"Great software, likewise, requires a fanatical devotion to beauty. If you look inside good software, you find that parts no one is ever supposed to see are beautiful too." - Paul Graham

The bando widget is built on top of the amazing @lifi/wallet-management package and their on @lifi/widget architecture.

0.1.29

9 months ago

0.1.25-beta.2

9 months ago

0.1.25-beta.1

9 months ago

0.1.28

9 months ago

0.1.27

9 months ago

0.1.26

9 months ago

0.1.25

9 months ago

0.1.24

9 months ago

0.1.23

9 months ago

0.1.22

9 months ago

0.1.21-beta.5

9 months ago

0.1.21

9 months ago

0.1.21-beta.4

9 months ago

0.1.21-beta.3

9 months ago

0.1.21-beta.2

9 months ago

0.1.21-beta.1

9 months ago

0.1.20-beta.5

10 months ago

0.1.20-beta.4

10 months ago

0.1.20

10 months ago

0.1.20-beta.3

10 months ago

0.1.20-beta.2

10 months ago

0.1.20-beta.1

10 months ago

0.1.20-beta.0

10 months ago

0.1.19-beta.0

10 months ago

0.1.19

10 months ago

0.1.18

10 months ago

0.1.17

10 months ago

0.1.15

10 months ago

0.1.14

10 months ago

0.1.14-beta.0

10 months ago

0.1.13

10 months ago

0.1.13-beta.71

10 months ago

0.1.13-beta.70

10 months ago

0.1.13-beta.69

10 months ago

0.1.13-beta.68

10 months ago

0.1.13-beta.67

11 months ago

0.1.13-beta.66

11 months ago

0.1.13-beta.65

11 months ago

0.1.13-beta.64

11 months ago

0.1.13-beta.63

11 months ago

0.1.13-beta.61

11 months ago

0.1.13-beta.62

11 months ago

0.1.13-beta.60

11 months ago

0.1.13-beta.59

11 months ago

0.1.13-beta.58

11 months ago

0.1.13-beta.57

11 months ago

0.1.13-beta.56

11 months ago

0.1.13-beta.55

11 months ago

0.1.13-beta.54

11 months ago

0.1.13-beta.53

11 months ago

0.1.13-beta.52

11 months ago

0.1.13-beta.51

11 months ago

0.1.13-beta.50

11 months ago

0.1.13-beta.49

11 months ago

0.1.13-beta.48

11 months ago

0.1.13-beta.46

11 months ago

0.1.13-beta.45

11 months ago

0.1.13-beta.44

11 months ago

0.1.13-beta.43

12 months ago

0.1.13-beta.41

12 months ago

0.1.13-beta.40

12 months ago

0.1.13-beta.39

12 months ago

0.1.13-beta.38

12 months ago

0.1.13-beta.37

12 months ago

0.1.13-beta.36

12 months ago

0.1.13-beta.35

12 months ago

0.1.13-beta.34

12 months ago

0.1.13-beta.33

12 months ago

0.1.13-beta.32

12 months ago

0.1.13-beta.31

12 months ago

0.1.13-beta.30

12 months ago

0.1.13-beta.29

12 months ago

0.1.13-beta.28

12 months ago

0.1.13-beta.27

12 months ago

0.1.13-beta.26

12 months ago

0.1.13-beta.25

12 months ago

0.1.13-beta.24

12 months ago

0.1.13-beta.23

1 year ago

0.1.13-beta.21

1 year ago

0.1.13-beta.22

1 year ago

0.1.13-beta.20

1 year ago

0.1.13-beta.19

1 year ago

0.1.13-beta.18

1 year ago

0.1.13-beta.17

1 year ago

0.1.13-beta.16

1 year ago

0.1.13-beta.15

1 year ago

0.1.13-beta.14

1 year ago

0.1.13-beta.10

1 year ago

0.1.13-beta.9

1 year ago

0.1.13-beta.8

1 year ago

0.1.13-beta.6

1 year ago

0.1.13-beta.5

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago