Account Demolisher

Overview

How Account Demolisher is built, what runs where, and where to find the detail.

Account Demolisher is a Next.js application that closes Stellar accounts. The close runs in the browser: the account audit, DeFi discovery, plan generation, simulation, the sign-time checks, and signing all happen client-side, and the browser submits every transaction itself.

The server has three narrow jobs, and none of them involves the account owner's key.

What runs where

Runs in the browserRuns on the server
Reading the account from HorizonMinting, renewing and co-signing exchange forwards (the mediator)
Discovering DeFi positions on chainHolding multisig signing requests in memory (the signing relay)
Generating the plan and simulating every stepRecording first-party usage metrics and verified closes
Checking every step before it is signed
Signing through the wallet and submitting

Position discovery needs no server and no API key. Blend, Soroswap and Aquarius concentrated pools are read directly from their contracts. Aquarius standard pools are read from the Aquarius REST API and from an on-chain event scan, and the two results are combined.

Start here

How it works

Protocol

Security and reference

Source

github.com/bytemaster333/account-demolisher, licensed under Apache 2.0.

On this page