Web product
ZEN: Your Stellar Wallet Has a Story
ZEN turns recognized Stellar wallet activity into the story of one bonsai. I am building a product that helps people see their blockchain experience and understand the actions that shaped it
- Current state
- In development. A local MVP already includes a sample garden, wallet ownership verification, Stellar event recognition, a bonsai and its growth story. The screenshots show the actual interface with demonstration data.
- Next step
- I am refining the connection between wallet events and their explanations in the interface. A full journey with a real wallet extension and preparation for public launch are still ahead.
Screens and video
How can people see their own story in blockchain activity?
Every wallet has a story. Usually, it appears as a list of operations you still need to make sense of. I wanted to give that story a shape: something visible, understandable and a little personal. That became ZEN, a project about bringing Stellar experience to life in one tree
Key facts
- Stage
- Local MVP, in development
- Network
- Stellar
- For whom
- Stellar users and people new to Web3
- Growth model
- Three experience domains, one Identity Bonsai
The idea behind ZEN
I like the idea that a digital product can help people recognize themselves through their own experience. Even a wallet someone has only recently started using has a small journey behind it: a first transfer, an introduction to an asset, a first swap.
ZEN starts with identity by design. I want a sense of personal history to be part of how the product works. Someone opens their garden, sees their bonsai and can explore the events that shaped its current state.
A tree felt like the right image. It has character, stages of development and a connection to what came before. The bonsai makes wallet history recognizable: something you can return to and find familiar moments in.
Making the first steps in Stellar easier to understand
When you first start using a blockchain, a lot happens for the first time. A transfer goes through, an asset arrives in your wallet, a swap completes. Understanding what you have just learned to do does not always follow immediately.
I want ZEN to help people notice that experience. The application recognizes supported actions and explains them in everyday language: a payment, asset use or an exchange appeared in the available history. Together, those moments form a clearer picture of wallet activity.
That can also appeal to someone who has used Stellar for a long time. A familiar wallet gains another way to tell its story. I want to keep that feeling of curiosity: open the garden, recognize an action and want to explore what is behind it.
A garden worth looking into
At the center of ZEN is one Identity Bonsai, linked to one wallet. The first thing a person sees is the tree and its current state. From there, they can explore the details:
- Garden presents the bonsai and the wallet's recognized experience.
- Story shows the moments that shaped its history.
- Why? explains a particular event and what it means for the plant.
For example, the application recognizes asset use. The user can open that moment, see its date and read the explanation. The visual now has an understandable reason behind it.
A sample garden introduces the experience. People can explore the connection between the tree, its story and the explanations before connecting their own wallet.
What should growth mean?
One of the important questions for me is what should actually change the plant. ZEN currently recognizes three areas of experience: payments, asset use and exchanges. A newly recognized area can open the next stage of the bonsai.
Repeating an already recognized kind of action does not produce endless growth. I want each milestone to mean something. One event can also say two things at once, such as a payment involving asset use. It remains one moment in the story while the plant takes both areas into account.
The stage therefore reflects the variety of recognized experience. Balance and the number of repeated operations do not affect it. That matters especially for newcomers: even a small amount of experience deserves a clear expression.
Technical breakdown: repeatable sync without duplicate events
ZEN turns Stellar wallet activity into a bonsai's visual story. Every change to the plant should be grounded in a recognized event, and the user should be able to understand what caused it.
The main engineering challenge is preserving that connection when history is loaded again, an external API fails, or several requests run concurrently. Refreshing the page or repeating a sync must not count known operations again.
From a Stellar operation to plant state
I separated processing into a sequence of stages:
Stellar Horizon → raw operations → normalization → recognition rules → bonsai state and story → interface.
The raw operation is stored separately from its interpretation. This makes the result traceable and allows the view to be recalculated using a specific rules version.
1. Event uniqueness is enforced in the database
PostgreSQL has a unique key combining the wallet, data source and external operation ID. Importing the same record again skips the existing entry.
The distinction between a transaction and an operation matters here: one Stellar transaction can contain several operations. Deduplicating by transaction hash alone would lose part of the history.
This boundary protects the data regardless of how often the user refreshes the page or how many requests reach the server.
2. Events and import position are saved together
History is fetched in pages. The records from a page and its continuation cursor are saved in one database transaction.
This prevents the cursor from moving forward before the events have been saved. If saving a page fails, that page's changes are rolled back. Previously committed pages remain available so processing can continue.
Horizon requests run outside the PostgreSQL transaction, so waiting for an external API does not keep a database transaction open.
3. Concurrent syncs are controlled on the server
Each wallet–source pair uses a temporary synchronization lease with an owner, expiration time and cursor version.
Before saving a page, the server verifies that the request still owns the current version. A stale request cannot overwrite the import position after another request has taken over processing.
Each pass has a bounded amount of work. If history has not been fully processed, the interface receives an explicit continuation status.
4. One event can have several meanings
An operation can demonstrate several areas of experience at once, such as a payment and asset use. In ZEN, it remains one story moment with several categories.
Bonsai state and the timeline therefore use a shared event-composition function. It combines interpretations of the same operation, removes duplicates and establishes a stable order.
The current growth rules reflect the diversity of recognized areas: Payments, Assets and Exchange. Repeated payments and the passage of time should not endlessly advance the plant's stage.
5. Plant state is checked against its story
The current stage and transition history are calculated from recognized facts using aligned rules versions.
The story service also compares its result with the current snapshot: stage, categories and number of moments. If they disagree, the server returns an error so the inconsistency can be detected.
On the client, completing a sync refreshes the garden and invalidates previously loaded story data. Late responses from a cancelled process must not update the interface after the user's session ends.
6. Connecting a wallet is separate from authentication
Access to a personal garden requires proof of wallet ownership through a signed, single-use message.
The server checks the signature, expiration and whether the message has already been used. Consuming the message and creating a session happen atomically; the database stores a hash of the session token.
This ties personal garden data to a verified server session. Explanation views do not receive amounts, counterparties or transaction hashes.
Outcome and verification
ZEN implements a traceable chain from a raw Stellar operation, through a recognition rule, to a story event and the resulting plant state.
Reprocessing known data should not create extra progress. For users, this means explainable behavior; for development, it makes calculations reproducible and independently testable.
A focused check of the local implementation passed 90 tests across 12 files: 80 backend unit tests and 10 frontend tests. Coverage includes repeated imports, competing requests, processing failures, stage rules, garden–story coherence, the sync lifecycle and wallet ownership verification.
This verifies logic and component interactions. PostgreSQL integration scenarios and the full wallet-extension flow were not part of this run; Canvas rendering was not verified either.
ZEN works with the history available from its provider: the first recognized milestone is not necessarily the wallet's earliest-ever action. It is currently a local MVP in development, with no public live demo.
The tools I work with
I use Next.js and React for the interface, NestJS for server logic, and PostgreSQL for data. GraphQL connects the interface to the server. The full stack appears separately in the project's technology badges.
I want those tools to support steady product development: refining explanations, testing rules and adding capabilities while keeping a clear connection to the original wallet events.
What already works
ZEN now has a working local MVP. Its main journey includes wallet ownership verification, reading Stellar history, recognizing payments, assets and exchanges, displaying the bonsai and exploring its story. Garden, Story and Why? already work together.
The project includes tests for growth rules and event processing, checks of client–server interactions and separate Stellar Testnet scenarios. They help check that a change in the visual has the expected behavior behind it.
The cover and gallery show the actual demonstration interface. ZEN is still in development; public launch is ahead.
What I want to take further
My current focus is how the application explains events and transitions between stages. I want people to open a moment and understand it without having to learn ZEN's internal structure. A complete journey with a real wallet extension and preparation for public launch are also still ahead.
What I find especially interesting about this project is bringing together the product idea, development and visual language. When those parts work together, something technically complex becomes easier to explore, with a reason to return to it.
If you are also building in the Stellar ecosystem, or you need a developer who cares about both working code and the person on the other side of the screen, let's talk about your project.
Technologies
- Stellar
- Next.js
- React
- TypeScript
- NestJS
- GraphQL
- PostgreSQL
- Prisma ORM
Questions and answers
What is ZEN for Stellar?
ZEN is an application in development that presents recognized Stellar wallet activity through one bonsai and a story of meaningful moments. Its goal is to help people see and understand their blockchain experience
What makes the bonsai grow?
Newly recognized areas of experience: payments, asset use and supported swaps. Repeated operations, balance and simply waiting do not advance the stage
Can I explore ZEN without connecting a wallet?
The local MVP includes a sample garden with a tree, its story and explanations. The project's public launch is still ahead
Sources
- The Stellar network — Stellar Development Foundation ·
- SEP-53: Sign and Verify Messages — Stellar Development Foundation ·