I tend to go a bit ass backwards when approaching some things. So don't expect anything I say here to be accurate or even the correct way to go about anything.
The simple introduction is this:
@spknetwork has integrated its Proof of Access system for the 3Speak desktop app. This is a method to verify that you are storing some of the videos on your hard drive via the IPFS network.
The POA (Proof of Access) "system" will run random checks and reward you for each file it is currently validating.
There is a fancy video by one of the developers here: @eddiespino/dzzigonc
Without a doubt, it will become quite obvious that I am going to proceed to explain the possibly entirely wrong way of using POA now.
It was a cold winter day on the DARK continent, the power just went out for the 3rd scheduled period of the day. The genius of a savage society is starkly apparent in the dim light of another fading sunset.
POA is a great concept, the Hive version of something like Sia Coin or I guess the other is File Coin.
I however live in a country where I can have anything from 2 hours to 12 hours worth of powercuts and Data is not cheap.
So things like providing bandwidth and uptime become very shoddy to say the least. I like the 3Speak app and how everything is integrated but for me, this won't bode so well.
Consider also that the POA system has a kind of ranking in place, now I assume there are considerations in place for general user behaviour such as no reception or just crappy ISP service. There will need to be if a person wants to incentivize storing of content on a global scale.
The system would need to be able to instead of punishing through reduced chance have considerations in optimizing failover.
Anyway I am blabbering.
Now I will continue to blabber.
The simple way to earn from the @spknetwork app and help 3Speak is to just install the app and enable Proof of Access.
The way I want to do it with my uptime considerations in place is as follow:
- Sudo apt get threespk
Then maybe fiddle with an .env file, possibly after setting up nginx if need.
The benefit of that is I can run it on a server which will for all intents and purpose have 99% uptime.
How I am attempting to do it now is:
- Install IPFS - Kubo
- Configure Nginx reverse proxy
- Swear a lot
- 1 & 2 actually was not so hard.
- Clone https://github.com/spknetwork/proofofaccess
- Figure out why there are 2 commands with different usernames in the instructions.
- Debug install and manually create some folders.
- Use only one command but use -node 2 because they do that in the SpkApp code.
- Ignore further debugging because it seems things kinda work and the note for localhost:3000 might be specific to the App because I cannot for the life of me get it running via proxy.
- Setup two subdomains to use instead of IP just to be sure I am splitting the IPFS and POA access points.
...more points but 10 is a round number.
The output text from the Proof of Access repo seems to be chugging along, although it does say No Key Found which I will have to go see how it is integrated in the App itself to know if this is an issue.
As of right now it seems POA is down so I can't really verify if I am receiving any payout which sadly feels like the only indicator of a working system.
It does seem like the whole thing was written to be independent and it does operate as though no dependencies are required. Possibly might be mistaken and the fact that it happily seems to be validating things does not verify anything really.
Since in the app you can click PIN to IPFS a lot of background information is being passed for POA to then have everything it needs to truly validate content.
Whereas I am downloading content from 3Speak and pinning them in the hopes the file title possibly registers. Now that I type that sentence I realise I am fucking daft.
Also, the download button broke so I moved to the next option.
The other method I used is to pin the video inside the app without POA running since I am using that account on the server. The only reason I do this is because that seems to be the only time I can get the CID for the video.
Sometimes after pinning there is no CID at all in the app so I guess that is also not a reliable way of trying to find the video data to add to my server hosted ipfs for POA to verify.
All in all though I know there will eventually be a nice neat way just like the app to use POA on a reliable server but for now I will keep trying to cobble something together.