Search the Community
Showing results for tags 'proof of data'.
How to build a basic censorship resistant website using in wallet Jupiter Upload to IPFS and then message that to someone all in wallet. From what I understand this will bypass the Chinese firewall. First download the wallet, Windows binary release located hereÂ https://github.com/carsenk/denarius/releasesÂ or compile from source. I am going to use the full features of the wallet for this example which does cost 0.001 Denarius per upload, but this can be done all for free. Start the wallet and go to Jupiter tab to upload your image, select Upload to IPFS and Pay 0.001 D to POD/Timestamp. The goal here is we are going to proof of data each upload to prove our images belong to us with an IPFS upload timestamp. The first line is the IPFS hash which is the link to our image. And the 2nd line is the timestamp of when the image was uploaded to IPFS. Create a text file to save these so its easier to remember. Our image is located hereÂ https://ipfs.io/ipfs/Qmci9khjndoearoPqpW6B6qfMWRe7rLnZ5BXdKYDaUhhRn and POD address isÂ D82zkzEDgfHSuAmYjJ6LZbLb1W74YLPjM7 with a timestamp of upload. Also we will use the Proof of Data tab next to POD the image itself for a hash checksum that gets thrown into the Denarius blockchain. This will verify the authenticity of the file itself. Our POD Address for the image itself isÂ DN7fo3bxDYNcREL7nKEWMDbEFbuqTdDLmA Once that is uploaded we want to save the full link to put into our webpage. Also save the POD address so we can include that into our webpage as proof. Create an index.html which we will post the image with a link to the Proof of Data (POD) address in a block explorer. <html> <head> <title>Denarius Fully Decentralize Website Example</title> <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="CoronaVirus Death Tracker 2020"> <meta name="twitter:description" content="Cant Censor Us You Assholes"> <meta name="twitter:image" content="https://i.imgur.com/cl0MchI.png"> </head> <body> using <a href="https://github.com/carsenk/denarius/releases">Denarius</a> Jupiter IPFS Uploader<br> <center> <a href="https://denarius.io/"> <img src="https://ipfs.io/ipfs/Qmci9khjndoearoPqpW6B6qfMWRe7rLnZ5BXdKYDaUhhRn" alt="Denarius Logo"> </a> </center> <table style="border:1px solid black;margin-left:auto;margin-right:auto;"> <tr> <th>IPFS Image Upload Proofs</th> </tr> <tr> <td style="text-align:center">IPFS timestamp: Qmci9khjndoearoPqpW6B6qfMWRe7rLnZ5BXdKYDaUhhRn<td> </tr> <tr> <td style="text-align:center">POD Timestamp: <a href="https://www.coinexplorer.net/D/address/D82zkzEDgfHSuAmYjJ6LZbLb1W74YLPjM7">D82zkzEDgfHSuAmYjJ6LZbLb1W74YLPjM7</a><td> </tr> <tr> <td style="text-align:center">IPFS Image Link <a href="https://ipfs.io/ipfs/Qmci9khjndoearoPqpW6B6qfMWRe7rLnZ5BXdKYDaUhhRn"</a>Qmci9khjndoearoPqpW6B6qfMWRe7rLnZ5BXdKYDaUhhRn<td> </tr> <tr> <td style="text-align:center">POD of Image: <a href="https://www.coinexplorer.net/D/address/DN7fo3bxDYNcREL7nKEWMDbEFbuqTdDLmA">DN7fo3bxDYNcREL7nKEWMDbEFbuqTdDLmA</a><td> </tr> </table> <br> <a href="https://denariustalk.org/index.php?/topic/339-how-to-build-a-completely-censorship-resistant-web-page-with-denarius-and-ipfs/">Tutorial Here</a> </html> Save index.html and go back to the Proof of Data tab to hash checksum our index.html.Â Then upload to IPFS using POD again. The reason to do this is we will next message our friend to prove this is also my upload, which is giving a timestamp of the file itself and a checksum address of index.html which means this can't be faked and is authentic. Upload the final index.html to IPFS and POD this. Quickly we can use the infura or cloudflareÂ links, or use the default IPFS and type this in ourselves, 3 examples below using same file hash we just uploaded. https://ipfs.infura.io/ipfs/QmXAJ1o76XtmcQERcMYfaA6uWJNrgWmhviRCTZ6vLEjJBB https://cloudflare-ipfs.com/ipfs/QmXAJ1o76XtmcQERcMYfaA6uWJNrgWmhviRCTZ6vLEjJBB https://ipfs.io/ipfs/QmXAJ1o76XtmcQERcMYfaA6uWJNrgWmhviRCTZ6vLEjJBB This POD address from above imageÂ DD6xmZTTH6TgdD8sn3tqB5MnWsS4xZhSb6 we can use in our message to someone. Go to the Messages tab. I sent to myself because I need more Denarius friends. Checking my inbox I can see I got something. And there is my message delivered. Â Go think of new ways you can use this to create censorship resistant apps as the Denarius command line daemon also allows all of these commands.
Say you see a coin's promotional materials for an ICO and want to archive that as they change their specs on the fly, leading up to their mainnet release. How would someone go about this? Denarius has a great feature built into the wallet called Proof of Data which will hash the file. Along with this a user can upload that file directly to IPFS for archiving purposes. The POD then would act as showing that uploaded file is the same unchanged file. Lets begin with an example of how to do this. https://www.ghostbymcafee.com/ It's been a while since I have seen a countdown timer on a mainnet release, so I was curious what they are offering. Reading both PDF's being offered shows something isn't right. What are the odds they change this after they got everyones' money upfront before the timer counts down to release? Who knows, so lets archive now and find out later. https://www.ghostbymcafee.com/pdfs/Ghost_by_McAfee_Litepaper_v1.0.1.pdf First I download the Lite Paper. Then I go to the proof of data tab in the QT wallet, Select File, enter narration and then click Create Timestamp. On success we get a Denarius address as the POD file hash. D address: DHe18hHTHtQKbe5h8vTZ1xpPMZvx7zfYL8 tx hash: bc574da851172857377146c9cfcd4ebb5cb5ea1508e678bc67587a7cba42a585 Then go over to the Jupiter Tab and select the same file. I want to POD the IPFS upload as that timestamps when I archived this into IPFS itself. After paying a small fee we get all the rest of the information. IPFS CID/Hash: QmSJeCZdffCqyG133MHt3JGqRrn2pSV4YraYfw6DU4SFqe Denarius Jupiter POD Address: DH9Gr5HxHDgvsJc4dhVsaNnSEkTRXwS535 Denarius Jupiter POD Transaction ID: 8a2b52571140b5cccdfacb48f5bb12d0a718a0966213695b02c2e702a3aa58c7 Can then click on View Upload file on Infura to get the Link, pretty neat. https://ipfs.infura.io/ipfs/QmSJeCZdffCqyG133MHt3JGqRrn2pSV4YraYfw6DU4SFqe Let me add the details from the 2nd PDF. https://www.ghostbymcafee.com/pdfs/Ghost_by_McAfee_Whitepaper.pdf D address: DJAzjVvgfHyaP3UAHS4SA6eWGkeYFqWeUW tx hash: e2f878428ee5217b4020de39961b5da0882155b9293720439b99d809dfd27f67 IPFS CID/Hash: QmR8FpPLzTZzYcbpyHL7nsiyLdp5dLJj8Z9t5Caf5zE2Dm Denarius Jupiter POD Address: D89F1AjQDTtgSs8HU3e5fmxLGwsGfzRPBb Denarius Jupiter POD Transaction ID: 1661258c6c85536168828cce7aa73bcbc682f52e17b31e10474ce61cbc62fcbe https://ipfs.infura.io/ipfs/QmR8FpPLzTZzYcbpyHL7nsiyLdp5dLJj8Z9t5Caf5zE2Dm I will leave it up to the user why I am showing this and comparing to 2 pieces of ICO material together showing different coins.
Grab the latest QT wallet with IPFS built in and have 0.1 D or at least something small to pay the PoD fee. IPFS is free and can skip the PoD portion of this if you just want to upload files. Lets pick a good file to Proof of Data against and then upload into IPFS. Current Release:Â https://github.com/carsenk/denarius/releases/tag/v184.108.40.206 QT Wallet:Â https://github.com/carsenk/denarius/releases/download/v220.127.116.11/Denarius-v18.104.22.168-Win64.zip Download a file, I am going to use the denarius logo from denarius.ioÂ and lets proof of data this and upload to IPFS as a great example of how powerful this is. Here's a link but just right click the image on the homepage and save to your hard drive. https://i2.wp.com/denarius.io/wp-content/uploads/2017/11/denarius-256.png?w=256&ssl=1 Go to the Jupiter Tab Select your file, in this case select the image file we just downloaded. Click Upload to IPFS (The Wallet will freeze while the upload is taking place) After the upload you will get an IPFS Hash along with being able to click the link to see the file in your web browser. Success, and currently there are file limits on uploading through the wallet. I was not able to upload the QT.zip yet. Â Lets Proof of Data this file for good measure, so the original hash is located on the Denarius blockchain. Go to Proof of Data tab in QT Wallet Select our image, then put a simple narration in and then click Create Timestamp This now gives us a D address where the hash matches the image. Now if we download the image we uploaded to IPFS we can verify the file against the blockchain by checking against PoD again. Here is our set in the blockchain address based on the image file or can Click Check Transaction to get to your PoD transaction. https://www.coinexplorer.net/D/address/DQQxYgD1KPzmoQGeL1JyXZk2JhZPfiaXsY
First you need the QT Wallet started and some Denarius coins. Proof of Data costs 0.001 D as of the writing of this guide. Proof of Data can give a hash against a file like an MD5 checksum. Except this checksum is a hash stored on the blockchain with a time and date, proving your data hasn't been altered. Lets start with an easy to find image. Carsen's github with the Denarius image located here. https://github.com/carsenk/denarius I am going to right click the Denarius logo and save to my hard drive as the example. Now open the QT Wallet to the Proof of Data tab. We want to select file, choose the image we just saved which is a long string of numbers.png. After selecting the file type in up to 24 Characters. I am going to use Denarius Logo. And then click Create Timestamp. Now we get the success message and also a Generated Timestamp Denarius Address. A transaction hash is generated after clicking OK. Input the generated address into the block explorer to see what we just did. https://www.coinexplorer.net/D/address/D9hq7DB78uh8SGmoiA3iCaqGcW3RcvmawA Now what can we do next? Lets put the same image in and Create Timestamp again. We get the same address again. https://www.coinexplorer.net/D/address/D9hq7DB78uh8SGmoiA3iCaqGcW3RcvmawA Thats the basics, and this works for more than just image files. I personally use PDF's and link the Denarius block explorer with PDF in emails so no one is changing files on me.