Typescript SDK
Aptos provides an official Typescript SDK. This section describes how to install and use it.
Installing Typescript SDK
Make sure you downloaded the latest precompiled binary for the Aptos CLI.
On a terminal run the below command to install the Typescript SDK from npmjs:
npm -i aptos
or
yarn add aptos
tipThe above command installs the TS SDK and should not be confused as installing the Aptos CLI.
Using Typescript SDK
See the Developer Tutorials for code examples showing how to use the Typescript SDK.