Coin Collector

Server-Side Demo - Connecting via url:// Protocol

Mint coins and manage them with capability-based permissions

No Daemon URL
0 Coins
0c Total Value
0 Capabilities

Mint a Coin

Each coin you mint grants you capabilities: modify its value, change its color, and discard it. These operations are handled server-side via the url:// protocol.

My Coins

No coins yet. Mint your first coin above!

What Are Capabilities?

🔐

Capability-Based Security

Each action requires a specific capability token. Without it, the action cannot be performed, even by the resource owner.

🎯

Fine-Grained Control

Minting a coin grants exactly three capabilities: setValue, setColor, and discard. Each is independent and can be selectively shared.

🔗

Domain Isolation

Capabilities are scoped to the originating domain. Other websites cannot see or use your coin capabilities.

About This Demo

🖥️

Server-Side Connection

This demo connects directly to the wallet daemon via the url:// P2P protocol from the JVM server, bypassing JavaScript entirely.

📡

Header-Based Configuration

The browser extension injects the daemon URL via the X-W3Wallet-Daemon-Url HTTP header, which the server reads on each request.

📂

Source Code

View the source code for W3WalletJvmServerSideCoinCollectorDemo on GitHub.

Try the Client-Side Demo