Get Started
Demo
Step 1: Install the library
# install via Yarn
yarn add @metafi/metafi-react-package
# or via NPM
npm install @metafi/metafi-react-packageStep 2a: Initialise Metafi Component
import { MetafiProvider, chains } from '@metafi/metafi-react-package';
function App() {
return (
<MetafiProvider
apiKey={apiKey}
secretKey={secretKey}
supportedChains={supportedChains}
customTokens={customTokens}
options={options}
metafiSSO={metafiSSO}
>
<YourComponents>
...
</YourComponents>
</MetafiProvider>
);
};Step 2b: Setup User Login
Step 3: Function Invocation
Last updated