Ga naar inhoud
Wijzig deze pagina

Anyone Protocol

Deze pagina is nog niet vertaald. Je leest de Engelse versie.

Category: DePIN | Status: Active

Website: https://anyone.io

Description

Anyone Protocol (formerly ATOR) is a decentralized onion-routing privacy network. Node operators run relay nodes and earn ANYONE tokens for bandwidth contributed. Think "incentivized Tor." CashPilot runs it from its own image, built from the project's signed Debian package, for amd64 and arm64. Configuration is file-based via an anonrc file mounted into the container (Nickname, ContactInfo, ORPort, etc.).

A relay earns nothing without a stake

Rewards start only after 100 ANYONE is locked for that relay for at least 180 days, and you claim them by signing in your wallet. Without the stake the relay still runs and uses about 1 GB of memory, but earns nothing. The relay also lists your public IP in the network's relay directory, which may hurt the IP reputation residential bandwidth apps pay for. Read Check two things before you deploy first.

Earning Estimates

Metric Value
Monthly range $0 - $50 (estimate)
Per relay
Minimum payout
Payout frequency Epoch-based
Payment methods Crypto

Pays only with 100 ANYONE locked per relay for at least 180 days and a reward claim signed in your wallet. Without the stake a relay earns nothing. With it, earnings depend on bandwidth contributed and uptime.

Requirements

Requirement Value
Residential IP No
Minimum bandwidth 10 Mbps
GPU required No
Minimum storage None
Supported platforms Docker, Linux

Setup Instructions

1. No account, but a wallet

There is no account to sign up for: Anyone Protocol relays are permissionless. To earn, you need an Ethereum wallet with 100 ANYONE locked for each relay for at least 180 days, and you claim rewards by signing in that wallet. CashPilot reads the rewards by relay fingerprint (step 5).

2. Configure anonrc

Anyone Protocol requires an anonrc configuration file. Create it before deploying:

DataDirectory /var/lib/anon
Log [~guard]notice [guard]warn file /etc/anon/notices.log
ORPort 9001 IPv4Only
ExitRelay 0
Nickname YourRelayName
ContactInfo your@email.com
AgreeToTerms 1

There is no ControlSocket in this config on purpose. Nothing uses the control socket: CashPilot reads earnings by relay fingerprint, and the image's healthcheck only checks that the ORPort is listening. When it is configured, the relay refuses to create it in a /run/anon that other users can read, which is how Docker creates that directory, and it logs two warnings a minute. Over six months that grew notices.log to about 150 MB. IPv4Only stops an hourly notice about a missing IPv6 address; leave it off if your relay has a public IPv6 address.

The Log line keeps every notice except those from guard selection, where only warnings get through. On the Anyone network the relay's own circuits often run out of distinct guards, and each time it logs "All current guards excluded by path restriction type 2", about once a minute. That notice is harmless (Tor issue 40886) and would otherwise add about 55 MB to the log every six months. Do not set ConfluxEnabled 0 to silence it: on a relay that logs an hourly warning and risks the relay being flagged.

Important: AgreeToTerms 1 is required since version 0.4.9.7-live. Without it, the container exits immediately with "User has not agreed to the terms and conditions."

3. Port forwarding (required)

Port TCP 9001 must be forwarded to the server running the relay. The relay performs a self-test by connecting to its own ORPort from the outside. If the port is not reachable, the relay will not publish its descriptor to the network directory: it stays invisible, handles zero traffic, and earns nothing. You'll see repeated warnings in notices.log:

"Your server has not managed to confirm reachability for its ORPort(s). Relays do not publish descriptors until their ORPort and DirPort are reachable."

If running behind a firewall (e.g. ufw), also allow port 9001/tcp inbound.

4. Deploy with CashPilot

The deploy creates two named volumes, anon-config (mounted at /etc/anon) and anon-data (the relay identity). CashPilot does not write anonrc for you: put it in the config volume on the worker host first, owned by the relay user, or the container exits at once.

docker volume create anon-config
docker run --rm -i -v anon-config:/etc/anon alpine \
  sh -c 'cat > /etc/anon/anonrc && chown -R 100:101 /etc/anon' < anonrc

If you change the volumes in the deploy form to host directories instead, write the file into the directory mounted at /etc/anon. Then, in CashPilot, click Add on the Anyone Protocol row in Catalog (or use + Add service), pick the boxes under Deploy to and click Deploy Anyone Protocol. If you change anonrc later, docker kill -s HUP <container> reloads it without a restart.

5. Track earnings in CashPilot

CashPilot reads each relay's reward by its fingerprint. Get it with docker exec cashpilot-anyone-protocol cat /var/lib/anon/fingerprint on the box running the relay, then open Settings, find Anyone Protocol under Earnings collection, paste the fingerprint (comma-separated for several relays) and click Save credentials.

Docker Configuration

  • Image: drumsergio/cashpilot-anyone:0.4.10.2-r2, CashPilot's own build of the project's signed anon package. It runs as anond (uid 100, gid 101) with no added capabilities. An existing anonrc with a User anond line still works.
  • Memory: anon sizes its cell queues from the host's RAM, not the container's limit, so the image sets MaxMemInQueues to half the 1536 MB limit (768 MB) unless your anonrc sets it. A value you add to anonrc later applies on the next restart, not on a reload.
  • Platforms: linux/amd64, linux/arm64

Environment Variables

None. Nickname, ContactInfo and everything else go in anonrc.

Required Configuration

The anonrc file must contain AgreeToTerms 1 to accept the Anyone Protocol Terms. The image changes nothing in it: the terms check is in the anon binary itself.