JavaScript/TypeScript Integration Guide
This guide will walk you through the setup process for the Mirror World Smart SDK on JavaScript/TypeScript.
1. Create a Developer Account
Create a developer account on the Developer dashboard. Create project and create an API Key. If you already have an API Key, you may skip this step and proceed to the next one.
2. Install the JS Mirror World SDK
The Mirror World SDK for JavaScript implements a TypeScript-compatible client that can be used for both in the browser and Node.js. Install it with the package manager of your choice:
3. Import the SDK
You can now import the Mirror World SDK into your project. Also import the Chain
Configuration you will be using. For this example, we shall use Solana
.
To see other chain configurations, please see the API reference
4. Initialize SDK with API Key
With your API Key, you can now initialize the SDK in your project.
5. Start building!
You can start invoking the various methods on the MirrorWorld
instance. Enjoy!
Going Further
Great! At this point you're pretty much ready to start doing building with the JavaScript SDK for Mirror World. There are a few things you can do to proceed from here:
- Explore the Full JavaScript API Reference to learn more.
- Looking for inspiration? Take a look at our Guides or see what builders are building in the Showcase.
- Join the Mirror World Developer community! We're a vibrant community of builders!
Getting Support
If you're stuck or just looking for support, you may also schedule a support call with our team.
JavaScript/TypeScript Integration Guide
This guide will walk you through the setup process for the Mirror World Smart SDK on JavaScript/TypeScript.
1. Create a Developer Account
Create a developer account on the Developer dashboard. Create project and create an API Key. If you already have an API Key, you may skip this step and proceed to the next one.
2. Install the JS Mirror World SDK
The Mirror World SDK for JavaScript implements a TypeScript-compatible client that can be used for both in the browser and Node.js. Install it with the package manager of your choice:
3. Import the SDK
You can now import the Mirror World SDK into your project. Also import the Chain
Configuration you will be using. For this example, we shall use Solana
.
To see other chain configurations, please see the API reference
5. Start building!
You can start invoking the various methods on the MirrorWorld
instance. Enjoy!
Going Further
Great! At this point you're pretty much ready to start doing building with the JavaScript SDK for Mirror World. There are a few things you can do to proceed from here:
- Explore the Full JavaScript API Reference to learn more.
- Looking for inspiration? Take a look at our Guides or see what builders are building in the Showcase.
- Join the Mirror World Developer community! We're a vibrant community of builders!
Getting Support
If you're stuck or just looking for support, you may also schedule a support call with our team.