core-react

tweed React SDK

circle-check
react logo

Install

Install by package manager, install the paytweed/core-reactarrow-up-right from the npm public registryarrow-up-right.

Setup

circle-info

Ensure you have an application set up on the tweed dashboardarrow-up-right

Tweed Provider

Use the Tweed provider as a context for your React app. Wrap your application with the Tweed provider to enable access to the Tweed hook throughout your project. Make sure to pass the Tweed provider your applicationId and the list of chains you will be using in your project.

chevron-right<TweedProvider>hashtag

Hook parameters

  • applicationId REQUIRED string

  • options optional object chains optional array mode optional string rpcMap optional object

Hooks

Last updated