An open API service indexing awesome lists of open source software.

https://github.com/BitteProtocol/react

Bitte React Package for Wallet integrations
https://github.com/BitteProtocol/react

Last synced: 5 days ago
JSON representation

Bitte React Package for Wallet integrations

Awesome Lists containing this project

README

          

# @bitte-ai/react

This package contains React helpers for interacting with Bitte Wallet.

## Summary

- [Installing](#Installing)

- [BitteWalletContextProvider (default)](#bittewalletcontextprovider) : The default Bitte Wallet provider

# Installing

### NPM:

```
npm install @bitte-ai/react
npm install @near-wallet-selector/modal-ui
```

### Yarn:

```
yarn add @bitte-ai/react
yarn add @near-wallet-selector/modal-ui
```

### PNPM:

```
pnpm install @bitte-ai/react
pnpm install @near-wallet-selector/modal-ui
```

# BitteWalletContextProvider

the default way of interacting with Bitte Wallet is using the BitteWalletContextProvider

## properties:

**network** : ` mainnet | testnet`

**additionalWallets** : `WalletModuleFactory[] extra wallets setup`

```typescript
import "@near-wallet-selector/modal-ui/styles.css";
import { BitteWalletContextProvider } from '@bitte-ai/react'

```

# Troubleshooting
The wallet runs only on client-side.

Any other questions or issues you can contact support on our [Telegram Channel](https://telegram.me/mintdev).

## License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).