# Aepp Angular Boilerplate

This boilerplate is designed to allow everyone an easy start when building an aepp on\
top of the aeternity eco system. It contains two critical parts:

* Easy wallet discovery
* The [aeternity js-sdk](https://github.com/aeternity/aepp-sdk-js) instance

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.6.

## Get started

Clone repo via git or use the template button above.

Install the dependencies

```bash
npm install
```

### Start the development server

testnet

```bash
npm run start:testnet
```

mainnet

```bash
npm run start:mainnet
```

Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

### Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Browser Extension Wallets

### Superhero wallet

[Chromium](https://chrome.google.com/webstore/detail/superhero/mnhmmkepfddpifjkamaligfeemcbhdne)

[Firefox](https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet/)

### Build Extension from code

[wallet-web-extension](https://github.com/aeternity/aepp-sdk-js/tree/develop/examples/browser/wallet-web-extension)

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.


---

# 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/angular-boiler-plate/readme.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.
