Skip to content


Direct <script> include via CDN

In case you're not using any JS bundling/compilation technique, the SDK can also be loaded with the traditional <script> tag, as follows:

Latest SDK version

<script src=""></script>

Specific SDK version

<script src=""></script>
...where VERSION is the version number of the SDK you want to use (eg. 8.1.0).

Browser <script> tag

The bundle will assign the SDK to a global variable called Ae that makes all functionalities of the SDK accessible.


<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <!-- include latest SDK version -->
  <script src=""></script>
  <script type="text/javascript">
    const node = new Ae.Node('')
    const aeSdk = new Ae.AeSdk({
      nodes: [{ name: 'testnet', instance: node }]
    aeSdk.getHeight().then(height => {
      console.log("Current Block Height:" + height)


Latest Release

npm i @aeternity/aepp-sdk

Pre Release

To install a Pre-Release (latest beta or alpha version) you have to install the package appending the @next tag reference.

npm i @aeternity/aepp-sdk@next

Specific Github Branch

You can also install a version coming from a specific branch. In this case you would install the SDK version of the develop branch.

npm i github:aeternity/aepp-sdk-js#develop

TypeScript projects

To work properly, sdk requires to enable allowSyntheticDefaultImports flag and register folder that contains type definitions for third-party packages sdk depends on. This may be done in tsconfig.json:

  "compilerOptions": {
+   "typeRoots": [
+     "node_modules/@types",
+     "node_modules/@aeternity/aepp-sdk/src/typings"
+   ],
+   "allowSyntheticDefaultImports": true

Note: If you experience errors during the installation, you might need to install build tools for your OS.

Windows: Windows Build Tools

npm install -g windows-build-tools

Ubuntu / Debian: Build Essential

sudo apt-get update
sudo apt-get install build-essential


Download Xcode from AppStore, then run

xcode-select --install

Command Line Interface (CLI)

If you don't need to include specific functionality into your application and just want to use or play around with features the SDK provides you can make use of the 💻 CLI and follow the instructions mentioned there.