@rarimo/react-provider
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

@rarimo/react-provider

Tools to connect to wallets in React applications through the Rarimo SDK.

version (scoped package) types tree-shaking checks

Example

For example applications, see rarimo/js-sdk-examples on GitHub.

Here is an example that creates a MetamaskProvider object for a MetaMask wallet and prints its address:

import { MetamaskProvider } from '@rarimo/providers-evm'
import { useProvider } from '@rarimo/react-provider'

const { provider, ...rest } = useProvider(MetamaskProvider)

console.log({ provider, ...rest })

Changelog

For the change log, see CHANGELOG.md.

Package Sidebar

Install

npm i @rarimo/react-provider

Weekly Downloads

0

Version

2.4.0

License

MIT

Unpacked Size

163 kB

Total Files

15

Last publish

Collaborators

  • lukachi
  • ihor.diachenko
  • electr1xx
  • arvolear
  • volendi
  • semen_rarify