iframeContainer
parameter is required, and should be a reference to the DOM element that will host the iframe.
The iframeUrl
is the URL of the iframe you wish to interact with.
The example below demonstrates how to initialize the Iframe client for use with Email Auth
by passing in https://auth.turnkey.com
as the iframeUrl
.
Flow | URL |
---|---|
Email Auth | auth.turnkey.com |
Email Recovery | recovery.turnkey.com |
Import Wallet | import.turnkey.com |
Export Wallet | export.turnkey.com |
@turnkey/sdk-browser
provides TurnkeySDKBrowserClient
, which offers wrappers around commonly used Turnkey activities, such as creating new wallets and wallet accounts.