import { LensProvider, staging } from '@lens-protocol/react-web';
import { bindings as wagmiBindings } from '@lens-protocol/wagmi';
const lensConfig: LensConfig = {
bindings: wagmiBindings(),
environment: staging,
};
function App() {
return (
<LensProvider config={lensConfig}>
// ...
</LensProvider>
);
}
Manages the lifecycle and internal state of the Lens SDK