@leather-wallet/rpc
v1.0.4
Published
RPC types package for Leather
Downloads
3,990
Readme
@leather-wallet/rpc
This package provides Typescript typings Leather developers can use when interacting with the LeatherProvider
global object.
Consuming as global object
In your Typescript project, import LeatherProvider
and declare it as a global type.
import { LeatherProvider } from '@leather-wallet/rpc';
declare global {
interface Window {
LeatherProvider?: LeatherProvider;
}
}