0.1.29 • Published 7 months ago

@bandohq/widget v0.1.29

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

7 months ago

0.1.25-beta.2

7 months ago

0.1.25-beta.1

7 months ago

0.1.28

7 months ago

0.1.27

7 months ago

0.1.26

7 months ago

0.1.25

7 months ago

0.1.24

7 months ago

0.1.23

7 months ago

0.1.22

7 months ago

0.1.21-beta.5

7 months ago

0.1.21

7 months ago

0.1.21-beta.4

7 months ago

0.1.21-beta.3

7 months ago

0.1.21-beta.2

7 months ago

0.1.21-beta.1

7 months ago

0.1.20-beta.5

7 months ago

0.1.20-beta.4

7 months ago

0.1.20

7 months ago

0.1.20-beta.3

8 months ago

0.1.20-beta.2

8 months ago

0.1.20-beta.1

8 months ago

0.1.20-beta.0

8 months ago

0.1.19-beta.0

8 months ago

0.1.19

8 months ago

0.1.18

8 months ago

0.1.17

8 months ago

0.1.15

8 months ago

0.1.14

8 months ago

0.1.14-beta.0

8 months ago

0.1.13

8 months ago

0.1.13-beta.71

8 months ago

0.1.13-beta.70

8 months ago

0.1.13-beta.69

8 months ago

0.1.13-beta.68

8 months ago

0.1.13-beta.67

8 months ago

0.1.13-beta.66

8 months ago

0.1.13-beta.65

8 months ago

0.1.13-beta.64

8 months ago

0.1.13-beta.63

8 months ago

0.1.13-beta.61

8 months ago

0.1.13-beta.62

9 months ago

0.1.13-beta.60

9 months ago

0.1.13-beta.59

9 months ago

0.1.13-beta.58

9 months ago

0.1.13-beta.57

9 months ago

0.1.13-beta.56

9 months ago

0.1.13-beta.55

9 months ago

0.1.13-beta.54

9 months ago

0.1.13-beta.53

9 months ago

0.1.13-beta.52

9 months ago

0.1.13-beta.51

9 months ago

0.1.13-beta.50

9 months ago

0.1.13-beta.49

9 months ago

0.1.13-beta.48

9 months ago

0.1.13-beta.46

9 months ago

0.1.13-beta.45

9 months ago

0.1.13-beta.44

9 months ago

0.1.13-beta.43

9 months ago

0.1.13-beta.41

9 months ago

0.1.13-beta.40

9 months ago

0.1.13-beta.39

9 months ago

0.1.13-beta.38

9 months ago

0.1.13-beta.37

9 months ago

0.1.13-beta.36

10 months ago

0.1.13-beta.35

10 months ago

0.1.13-beta.34

10 months ago

0.1.13-beta.33

10 months ago

0.1.13-beta.32

10 months ago

0.1.13-beta.31

10 months ago

0.1.13-beta.30

10 months ago

0.1.13-beta.29

10 months ago

0.1.13-beta.28

10 months ago

0.1.13-beta.27

10 months ago

0.1.13-beta.26

10 months ago

0.1.13-beta.25

10 months ago

0.1.13-beta.24

10 months ago

0.1.13-beta.23

10 months ago

0.1.13-beta.21

10 months ago

0.1.13-beta.22

10 months ago

0.1.13-beta.20

10 months ago

0.1.13-beta.19

10 months ago

0.1.13-beta.18

10 months ago

0.1.13-beta.17

10 months ago

0.1.13-beta.16

10 months ago

0.1.13-beta.15

10 months ago

0.1.13-beta.14

11 months ago

0.1.13-beta.10

11 months ago

0.1.13-beta.9

11 months ago

0.1.13-beta.8

11 months ago

0.1.13-beta.6

11 months ago

0.1.13-beta.5

11 months ago

0.1.12

11 months ago

0.1.11

11 months ago

0.1.10

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago