Bootstrap Etherspot SDK
The bare minimum to get you started.
Before you continue, please make sure you've checked the Requirements and performed the steps to Install Etherspot SDK.
As a bare minimum to use Etherspot, we recommend that you implement the following steps within your application.
Create an instance of the Etherspot SDK
This is where it all begins. You can check which EVM chains are supported on our Chains, Bridges & DEXes page. Then you can take a look at Instantiate Etherspot SDK to instantiate the SDK on one or multiple chains.
For the purposes of this guide, we're going to stick with Ethereum Mainnet.
Create a session
Next up, we create a session with our newly instantiated Etherspot SDK. This is useful for when you would like to authenticate / validate external clients with the Etherspot SDK instance.
Get your Etherspot Ethereum address
The next step is to get your Ethereum address from your Etherspot SDK.
Running the above code results in the following output:
The output above shows the Etherspot service returning the state of your Etherspot SDK instance.
Key | Meaning |
| The Ethereum address that is assigned to your SDK instance. |
| This should only be |
| Is either |
| Where this data is being stored. If you're using the hosted version of Etherspot, you can disregard this. |
Providing that you use the same private key for each SDK instance against different chains, you will always get back the same Ethereum address. This means that your Ethereum address is the same across all chains. This is by design for convenience.
You're now ready to start building something with the Etherspot SDK! Why not take a look at the use cases from the navigation menu?
🚏 Here are some helpful links:
Got an idea? Prototype it now on the Etherspot Playground
Learn how to work with Multi-chain Transactions
Last updated