LI.FI Explorer
LI.FI Explorer is available as an npm package.
npm:
npm install @lifi/explorer
yarn:
yarn add @lifi/explorer
Getting started with LI.FI Explorer
Here is an example of a basic app using the LI.FI Explorer:
import { LiFiExplorer, LiFiExplorerConfig } from '@lifi/explorer';
const explorerConfig: LiFiExplorerConfig = {
appearance: 'light',
integrator: 'Your company name',
theme: {
palette: {
background: {
default: 'rgba(0,0,0, 0.04)',
paper: '#fff',
},
},
},
};
export const ExplorerPage = () => {
return <LiFiExplorer config={explorerConfig} />;
};