Remote Signer
Instantiation
Before doing anything with the SDK, we must instantiate it. This will set the sessionKey, chainId and all properties needed to authenticate and authorise the remote-signing
Step 1. set .env variables via export or in your .env If you chose to use them directly skip to Step-2
Step 2. Import the Etherspot RemoteSigner SDK.
Step 2. Instantiate the SDK with below initialisation properties using this block of code.
- privateKey
- ChainID
- etherspotWalletAddress
- sessionKey
- bundlerApiKey
And that’s it! You’re now ready to call any of the RemoteSigner SDK functions.
In the next page we’ll take a look at the various functions the SDK offers.