# Technical Architecture: Wallet, Abstract & FlashBlocks

Townies is designed to eliminate friction and make blockchain invisible to the user. Here's how:

### Account Abstraction

Townies website is built using **Biconomy and Web3Auth**, which enables account abstraction framework that removes the need for direct transaction approvals.

* **Gasless experience**: Players don’t need to sign or approve every in-game action.
* **All actions** (building, upgrading, claiming rewards) are **automatically executed by the protocol**.
* **No transaction pop-ups**, no Metamask interruptions. Everything is streamlined.

### Simplified Wallet Logic

* Each player is assigned a **smart account** managed through **Biconomy, using** ERC-4337, also known as Account Abstraction via Entry Point.
* Players only need to **fund their wallet once** with $GOLD and ETH (for fallback gas scenarios).
* All backend operations (fees, execution, batching) are handled **by the Townies team**.
* The **protocol manages all back-end transactions**, ensuring smooth and uninterrupted gameplay.


---

# 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.townies.games/more/technical-architecture-wallet-abstract-and-flashblocks.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.
