We're doing our best to keep the documentation up to date, but please let us know if you see some out-of-date file. Thanks!
There are three different ways of incorporating aepp-sdk-js into your project, depending on the particular scenario:
* ES Modules at
* Node.js bundle at
* Browser bundle at
* Browser bundle for using through \<script> tag at
Also, please be aware that using
require instead of module loader syntax
import) means that the default export automatically becomes exposed as
default, which is reflected below in the code examples. This is due to a
recent change in [Babel] compilation and fully compliant with the standard.
Flavors / Entry Points
The recommended approach to use aepp-sdk is to import one of the following Ae Factories based on the specific use case:
- @aeternity/aepp-sdk/es/ae/wallet: for Wallet's focused development
- @aeternity/aepp-sdk/es/ae/contract: for Contract's focused development
- @aeternity/aepp-sdk/es/ae/aepp: for Web Aepp's focused development ⚠️ No Wallet support
- @aeternity/aepp-sdk/es/ae/aens: for AENs' focused development
- @aeternity/aepp-sdk/es/ae/oracle: for Oracle's focused development
- @aeternity/aepp-sdk/es/ae/universal: for Universal development (includes all SDK features)
In order to cater more specific needs, it is recommended to refer to the contributing Docs.
When initialising a client, to test, you can use Aeternity's Test Network URL: