@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.

Index

Functions

Generated using TypeDoc