Skip to content
Ghoul

Ghoul

Private Wallets, SDKs, and Confidential Explorers!

Created on 3rd December 2025

Ghoul

Ghoul

Private Wallets, SDKs, and Confidential Explorers!

The problem Ghoul solves

Introduction

The problem is that privacy features are inaccessible. This is the problem that drives our submission. We showcase at least several solutions that stem from the tooling built for this hackathon: (1.) A Starknet & Starknet confidential transfer integration into Zashi (using the Swift SDK we made for confidential transfers and proving) (2.) a privacy maxxing browser extension wallet and confidential transfer network explorer (using the Rust SDK we made for confidential operations and key-management to facilitate a Venmo UX that is privacy maxxing).

What we built!

Swift confidential transfer SDK (Starknet & Tongo) - "Ghost SDK"

Making privacy features manifest in existing products requires tooling specific to that product´s distribution. For integrating Starknet and Starknet confidential transfers into Zashi this requires at least a Swift SDK (it would also require a Kotlin SDK too!) to allow users to derive keys from the same Zashi mnemonic and construct zero knowledge proofs that prove their confidential operations meet the constraints of the confidential transfer Cairo verifiers.

This led to the development of the Swift confidential transfer SDK. Users can derive Starknet account contract address, deploy their OpenZeppelin account and also derive confidential asset addresses to send and receive from. The SDK also has a fast-enough prover; the largest proof (the transfer operation proof) is benchmarked at 1.8 seconds.

With this new confidential Starknet transfer wallet SDK we built a new layer in Zashi which allows Zashi users to create Starknet accounts and perform Starknet confidential transfers. Similarly, it also allows Starknet users access to Zcash while maintaining their ability to re-derive their Starknet account contract and associated Starknet confidential transfer accounts. Distribution of privacy features requires tools that facilitate it and easily manifest in products like Zashi, that´s why we built this SDK and integrated it into Zashi. You can see this work manifest in Zashi in the below image:

image2025-12-03 13.47.58.jpg

Current zashi demo video: https://www.loom.com/share/fafa1499a6ce458ba5b9d4507cbb

Rust SDK for confidential Transfers: Can we do better than 1.8 second proving? Yes!

While working on the Swift SDK for confidential Starknet transfers, it became apparent that even a 1.8 second prover would not facilitate the best user experience. The last thing we need is to increase a user's cognitive load while accessing privacy features & if privacy is a right, we must do better. This is a secondary problem we solved: can we build a Rust SDK that has blazingly fast provers that eliminate any increase in an end-user's cognitive load? The answer is yes we can and this hackathon's Rust SDK achieves that with a >1,000x improvement in the largest prover's speed (from 1.8 seconds in Swift to ~2 milliseconds in Rust). The following benchmarks of the prover operations demonstrate this:

image

Venmo Style Browser Extension, Privacy Maxxing Wallet

While the Rust SDK is significantly more performant, it alone does not showcase how we can eliminate cognitive load for end users who require confidentiality. To showcase this for the hackathon, we added a crate to the Rust SDK that created WASM bindings such that the key management, zk-provers, and privacy maxing features can be put to good user in a browser extension.

From there, we built a browser extension wallet to showcase (1.) the speed of the new provers (albeit slightly slower in WASM than Rust but still >100x faster than Swift) and (2.) that a fantastic UX is possible in the style of Venmo peer-to-peer payments. This is shown better in the demo video but there are screenshots below too:

image

image

image

Confidential Transfer Explorer!

Privacy-oriented solutions offer a new paradigm that is under-searched and under-productionised. Part of this is because we label these privacy protocols as "black boxes" when they really are not. Privacy protocols are rich in information, and they are demand as much focus as existing web3 applications. The easiest place to showcase this is with a privacy protocol explorer, which allows anyone to go study, touch, feel, and learn about that protocol. And that is why we built the confidential transfer explorer (which connects to the user's new extension wallet for personal views of the network!)

Uploading image...

Challenges I ran into

This hackathon submission was driven by problem-solving. The flow of problem-solving looked something like this:

  1. Can we build a Swift SDK that performs confidential transfers on Starknet? Yes.
  2. Can we integrate this confidential Swift SDK into Zashi to integrate Zcash and Starknet confidential transfers into a single product? Yes.
  3. Does the tooling we built allow for a good enough user experience? Almost. Can we do better? Yes.
  4. Let's build a Rust SDK that satisfies the same set of feature requirements as the Swift SDK. Is it faster? Yes, >1,000x faster (from 1.8 seconds to 2 milliseconds).
  5. Can we showcase how to build a good wallet that has no technical debt and not constrained by an existing user-flow and interaction design process? Yes, that is the browser extension wallet.
  6. Can we let users see under the hood and understand what the protocol "looks" like? Yes, that is the confidential explorer.

Tracks Applied (3)

Privacy Infrastructure & Developer Tools

1.) Confidential Swift SDK for confidential transfers 2.) Confidential Rust SDK for confidential transfers (>1000x faste...Read More
Starknet

Starknet

Self-Custody & Wallet Innovation

1.) Starknet in Zashi -- using the Confidential Swift SDK for confidential transfers to add a new wallet layer to Zashi,...Read More
Starknet

Starknet

Privacy Infrastructure & Developer Tools

1.) Starknet in Zashi -- using the Confidential Swift SDK for confidential transfers & key management to add a new walle...Read More

Electric Coin Company

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio