@lifi/explorer
v0.7.0
Published
Explorer to inspect LI.FI any to any cross-chain transfers
Downloads
2,573
Readme
LI.FI Explorer is available as an npm package.
npm:
npm install @lifi/exploreryarn:
yarn add @lifi/explorerGetting 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} />;
};