Install and initialize
Install and initialize
📝GUIDES
Core SDK
JS SDK
Core SDK
The Core SDK is a wrapper around our API and provides the bulk of the functionality of the XpansionChain platform. Before you can start using the Core SDK, you must initialize the client.
Initialize the Core SDK client with the network on which you want your application to run:
Sandbox
The default test network (currently, it is Goërli)
Production
Ethereum network
Typescript Core SDK
Install the npm package
Initialize the SDK with the correct environment:
Kotlin (JVM) Core SDK
Add Maven Central to your repositories:
Add the dependency to your app's
build.gradle
file:
Initialize the SDK with the correct environment:
Swift Core SDK
Pre-requisites:
iOS 13.0 or macOS 10.15
Swift 5.5
Golang Core SDK
C# Core SDK
Steps:
In your Swift package manager -
Package.swift
:
In your
Podfile
:
Initialize the SDK with the correct environment:
Golang Core SDK
Pre-requisites:
The supported go versions are 1.18
or above.
Steps:
Install the go package:
Initialize the SDK with the correct environment:
C# Core SDK
Add the following nuget packages:
https://www.nuget.org/packages/Imx.Sdk
https://www.nuget.org/packages/Imx.Sdk.Gen
Initialize the Core SDK client with the network on which you want your application to run (see all networks available):
Select one of the following Ethereum networks XpansionChain platform currently supports.
Sandbox
The default test network (currently, it is Goërli)
Mainnet
Ethereum network
Last updated