teleport-sdk.getsdk
Home > teleport-sdk > getSdk
getSdk() function
Get an ethers.js bundle containing contracts and a provider connected to a given domain
Signature:export declare function getSdk(domain: DomainDescription, signerOrProvider: Signer | Provider): TeleportSdk;
Parameters
Parameter | Type | Description |
---|---|---|
domain | DomainDescription | domain to connect to |
signerOrProvider | Signer | Provider | ethers.js signer or provider for the given domain |