> For the complete documentation index, see [llms.txt](https://docs.aeternity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aeternity.com/developer-documentation/aepp-sdk-js/docs/quick-start.md).

# Quick Start

In this example we will send 1 *AE* coin from one account to another.\
For more specific information on setups with Frameworks and TypeScript, please refer to the [installation instructions](/developer-documentation/aepp-sdk-js/docs.md).

## 1. Specify imports

For the following snippets in the guide you need to specify multiple imports.

```js
const { AeSdk, AccountMemory, Node } = require('@aeternity/aepp-sdk');
```

## 2. Create a sender account

```js
const sender = AccountMemory.generate();
console.log('Sender address:', sender.address);
console.log('Sender secret key:', sender.secretKey);
```

## 3. Get some *AE* using the Faucet

To receive some *AE* you can use the [Faucet](https://faucet.aepps.com/). Just paste sender's address, hit `Top UP` and you'll immediately get some test coins.

## 4. Interact with the æternity blockchain

This example shows:

* how to create an instance of the SDK using the `AeSdk` class
* how to spend (send) 1 *AE* from the account the SDK instance was initialized with to some other AE address

```js
const NODE_URL = 'https://testnet.aeternity.io';
// replace <SENDER_SECRET_KEY> with the generated secretKey from step 2
const sender = new AccountMemory('<SENDER_SECRET_KEY>');

(async function () {
  const node = new Node(NODE_URL);
  const aeSdk = new AeSdk({
    nodes: [{ name: 'testnet', instance: node }],
    accounts: [sender],
  });

  // spend one AE
  await aeSdk.spend(1e18, '<RECIPIENT_ADDRESS>');
  // replace <RECIPIENT_ADDRESS>, Ideally you use address from Superhero Wallet you have created before
})();
```

Note:

* You may remove code from Step 2 as this serves only for one-time creation
* The `spend` function expects the amount to be spent in `aettos` (the smallest possible unit, 1 *AE* equal to 1 000 000 000 000 000 000 `aettos`)
* See [Testnet Explorer](https://testnet.aescan.io/) and track your transactions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aeternity.com/developer-documentation/aepp-sdk-js/docs/quick-start.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
