# Examples

This folder contains examples of code samples that you can run autonomously.\
Create a [new issue](https://github.com/aeternity/aepp-sdk-js/issues/new) to suggest another example.

## Wallet connection

### Connect to a wallet

* [æpp](/developer-documentation/aepp-sdk-js/examples/browser/aepp.md) (VueJS)

### Build a wallet

* [iframe-based Wallet](/developer-documentation/aepp-sdk-js/examples/browser/wallet-iframe.md) (VueJS)
* [Wallet WebExtension](/developer-documentation/aepp-sdk-js/examples/browser/wallet-web-extension.md)

## NodeJS

1. [Contract interaction](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/contract-interaction.js)
2. [Transfer AE](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/transfer-ae.js)
3. [Paying for spend tx](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/paying-for-spend-tx.js)
4. [Paying for contract call tx](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/paying-for-contract-call-tx.js)
5. [Dry-run using debug endpoint](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/dry-run-using-debug-endpoint.js)
6. [Oracle](https://github.com/aeternity/docs/blob/master/Developer%20Documentation/aepp-sdk-js/examples/node/oracle.js)


---

# Agent Instructions: 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:

```
GET https://docs.aeternity.com/developer-documentation/aepp-sdk-js/examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
