Provide file-hosting and be paid using open standards
To set up an Unhash Server, follow these steps:
In order to receive money, you need an account on a ledger. This can be any ILP-supported ledger like Bitcoin or Ethereum, but for this guide, we are using the XRP testnet. You can get a free account with some testnet XRP here: XRP Test Net
Simply click on "Generate credentials" and write down the "SECRET".
Next, we need to download the software. The easiest way to get Unhash Server and all the dependencies is with Docker:
docker pull justmoon/unhash-server
Finally, we need to run Unhash Server. Here is an example command you can use:
docker run -it --rm --name my-unhash-server -e UNHASH_ILP_CREDENTIALS='{"server":"wss://s.altnet.rippletest.net:51233","secret":"[your testnet secret]"}' -e DEBUG=* justmoon/unhash-server
Note: Please replace [your testnet secret]
with the "SECRET" you got in Step 1.