# Browser Extension Concept

Peptype is a browser extension that combines wallet functionality with integrated game mechanics. The extension lives directly in the user’s browser and serves as the primary entry point into the Peptype ecosystem.

**All core interactions happen inside the extension, including:**

* gameplay activities
* progression and rewards
* inventory and set management
* on-chain interactions

No separate application or website is required.

***

#### Wallet Interaction Model

An external wallet (e.g. MetaMask-compatible wallets) is used only for initial profile creation.

**During profile setup:**

* a new in-extension wallet is generated locally
* a private key is encrypted using AWS KMS envelope encryption
* the Peptype team has no access to user private keys

**After profile setup:**

* all gameplay and on-chain interactions are executed using the extension-generated wallet
* the external wallet is not required for regular use
* users must fund their in-extension wallet to interact with on-chain mechanics

Peptype is non-custodial: private keys are created locally and never stored or transmitted to Peptype servers.

***

#### Game Layer

**The extension embeds core game systems:**

* raids and timed activities
* points, energy, and progression mechanics
* cosmetic items, equipment, and sets
* reward distribution

The extension UI acts as the interaction layer, while validation and reward logic are handled by backend services and smart contracts. Which allow to create gameplay features that are available directly inside the extension.
