0.1.29 • Published 8 months ago

@bandohq/widget v0.1.29

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 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

8 months ago

0.1.25-beta.2

8 months ago

0.1.25-beta.1

8 months ago

0.1.28

8 months ago

0.1.27

8 months ago

0.1.26

8 months ago

0.1.25

8 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

9 months ago

0.1.20-beta.4

9 months ago

0.1.20

9 months ago

0.1.20-beta.3

9 months ago

0.1.20-beta.2

9 months ago

0.1.20-beta.1

9 months ago

0.1.20-beta.0

9 months ago

0.1.19-beta.0

9 months ago

0.1.19

9 months ago

0.1.18

9 months ago

0.1.17

9 months ago

0.1.15

9 months ago

0.1.14

9 months ago

0.1.14-beta.0

9 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

10 months ago

0.1.13-beta.66

10 months ago

0.1.13-beta.65

10 months ago

0.1.13-beta.64

10 months ago

0.1.13-beta.63

10 months ago

0.1.13-beta.61

10 months ago

0.1.13-beta.62

10 months ago

0.1.13-beta.60

10 months ago

0.1.13-beta.59

10 months ago

0.1.13-beta.58

10 months ago

0.1.13-beta.57

10 months ago

0.1.13-beta.56

10 months ago

0.1.13-beta.55

10 months ago

0.1.13-beta.54

10 months ago

0.1.13-beta.53

10 months ago

0.1.13-beta.52

10 months ago

0.1.13-beta.51

10 months ago

0.1.13-beta.50

10 months ago

0.1.13-beta.49

10 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

11 months ago

0.1.13-beta.41

11 months ago

0.1.13-beta.40

11 months ago

0.1.13-beta.39

11 months ago

0.1.13-beta.38

11 months ago

0.1.13-beta.37

11 months ago

0.1.13-beta.36

11 months ago

0.1.13-beta.35

11 months ago

0.1.13-beta.34

11 months ago

0.1.13-beta.33

11 months ago

0.1.13-beta.32

11 months ago

0.1.13-beta.31

11 months ago

0.1.13-beta.30

11 months ago

0.1.13-beta.29

11 months ago

0.1.13-beta.28

11 months ago

0.1.13-beta.27

11 months ago

0.1.13-beta.26

11 months ago

0.1.13-beta.25

11 months ago

0.1.13-beta.24

11 months ago

0.1.13-beta.23

11 months ago

0.1.13-beta.21

11 months ago

0.1.13-beta.22

11 months ago

0.1.13-beta.20

11 months ago

0.1.13-beta.19

11 months ago

0.1.13-beta.18

11 months ago

0.1.13-beta.17

12 months ago

0.1.13-beta.16

12 months ago

0.1.13-beta.15

12 months ago

0.1.13-beta.14

12 months ago

0.1.13-beta.10

12 months ago

0.1.13-beta.9

12 months ago

0.1.13-beta.8

12 months ago

0.1.13-beta.6

12 months ago

0.1.13-beta.5

12 months ago

0.1.12

12 months ago

0.1.11

12 months 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