How it works
The client tool keeps one wallet on your machine. You fill it with SOL through Helius Privacy Rings. When you use the network, part of that balance becomes credit: a fresh throwaway account for each node you use. Nodes only ever see those accounts.
Credit is signed blind, so nobody can link a throwaway account back to your wallet.
Your wallet
node bin/client.js wallet --coordinator https://tangentsystems.netThe first run makes the wallet and prints its address. It lives in ~/.tangent/client, or the folder you pass with --data. Keep that folder safe: the keys in it hold your money.
Set TANGENT_COORDINATOR once and you can leave out --coordinator:
export TANGENT_COORDINATOR=https://tangentsystems.netDeposit
node bin/client.js deposit --coordinator https://tangentsystems.netIt shows the network's Privacy Rings wallet and a memo made for your wallet. Send SOL through Privacy Rings to that wallet with that memo and it is added to your balance.
Balance
node bin/client.js balance --coordinator https://tangentsystems.netIt shows your wallet balance, your credit in total and each throwaway account with the node it pays. current marks the account a node is paid from now. Amounts are in lamports: 1 SOL is 1,000,000,000 lamports.
Credit
The private internet, rented computers and the agent tools buy credit by themselves the first time they use a node. Each node gets one token. To start with more, buy it before first use:
node bin/client.js credit --coordinator https://tangentsystems.net --tokens 5--tokens is how many tokens each node gets. --nodes takes node ids, comma separated; leave it out for every live node. A token is worth the smallest amount the network issues, 0.001 SOL.
Top up
Add more for the nodes you already use:
node bin/client.js credit --coordinator https://tangentsystems.net --top-up --tokens 5Each of those nodes gets a fresh throwaway account holding the new tokens and is paid from it from then on. Nothing ties the new account to the old one.
Add --same-account to put the tokens on the account the node already has. One account that keeps receiving tokens gives more chances to match it to your wallet by when you bought them, so a fresh account is the default.
Automatic top up
The private internet, rented computers and the agent tools also top up on their own when a node's credit runs low, one token at a time (--tokens sets more). They spend at most 0.01 SOL that way in any 24 hours, counted across every run from the same data folder. Set your own limit in lamports, or 0 to turn it off:
node bin/client.js proxy --coordinator https://tangentsystems.net --top-up-limit 50000000A rented computer stays with the account that rented it, so while it runs its credit is topped up on that same account.
Withdraw
Unused wallet balance can go back out through Privacy Rings, to your own Privacy Rings wallet or to a public address. Give the address and the amount in lamports. The smallest withdrawal is 0.001 SOL.
node bin/client.js withdraw --coordinator https://tangentsystems.net --to <address> --lamports 100000000Add --public to send to a plain public address. Your wallet signs the request, then the tool waits until the money has left and prints sent with a Solscan link. If it cannot be sent, the amount goes back to your balance and it prints refunded.
If it is still on its way after two minutes, it prints the withdrawal id. Follow it with:
node bin/client.js withdraw --coordinator https://tangentsystems.net --id <withdrawal id>