Have you ever wanted to add a torrent magnet link to a decentralized blockchain for the latest Arch Linux ISO? This guide will show how to add a torrent magnet link and retrieve the list using the name_show & name_filter function in the Denarius wallet. This will require at least 0.1 Denarius Coins in your wallet. 1 Denarius Coin will give you enough to make 1 name to send coins to, 1 magnet link, and ability to change this 8 times roughly because of the low fees.
Example to grab latest ArchLinux magnet link and put on the blockchain. Find the magnet link, right click and copy from here
https://archlinux.org/download/This gives a full link, which includes our filename we want to use
magnet:?xt=urn:btih:85bbba4035cca750f681284857f53e405eb41f7d&dn=archlinux-2021.02.01-x86_64.iso
Chop off what we don't need, the & and to the right
magnet:?xt=urn:btih:85bbba4035cca750f681284857f53e405eb41f7d
Now we have our magnet link, our filename would be
archlinux-2021.02.01-x86_64.iso
To add this information to Denarius DDNS NVS QT Wallet, go to debug console and type this
name_new magnet:<FILENAME> <MAGNETLINK> <EXPIRATIONTIME>
name_new magnet:archlinux-2021.02.01-x86_64.iso magnet:?xt=urn:btih:85bbba4035cca750f681284857f53e405eb41f7d 9999
After pushing enter you will get a transaction ID. Wait for the transaction to go through. Once the transaction goes through we can lookup this specific new add.
name_show magnet:archlinux-2021.02.01-x86_64.iso
which returns
{
"name" : "magnet:archlinux-2021.02.01-x86_64.iso",
"value" : "magnet:?xt=urn:btih:85bbba4035cca750f681284857f53e405eb41f7d",
"txid" : "85bc00ebce5bc80d6f2be1f8d7200b07135f4d8a4740fc84657b02c73ad8f59d",
"address" : "DSST3rnMgWUmQ1b6VZh2AFjVnsnfoNTXwD",
"expires_in" : 57591343,
"expires_at" : 61856796,
"time" : 1613256050
}
You can also filter the entire magnet: list by typing
which returns
[
{
"name" : "magnet:Crypto (2019) [BluRay][1080p][YTS][YIFY]",
"value" : "magnet:?xt=urn:btih:07a990c2da5703fe725dc5ad29822139e1f16456",
"registered_at" : 4232860,
"expires_in" : 57561645
},
{
"name" : "magnet:ubuntu-20.04.2-desktop-amd64.iso",
"value" : "magnet:?xt=urn:btih:998786ad5f17107b373662d63647fde829d6730b",
"registered_at" : 4243649,
"expires_in" : 28775314
},
{
"name" : "magnet:ubuntu-20.04.2-live-server-amd64.iso",
"value" : "magnet:?xt=urn:btih:126f82fb33119d2acf93a16cfba6eb1c5787a59f",
"registered_at" : 4243652,
"expires_in" : 28775317
},
{
"name" : "magnet:archlinux-2021.02.01-x86_64.iso",
"value" : "magnet:?xt=urn:btih:85bbba4035cca750f681284857f53e405eb41f7d",
"registered_at" : 4262556,
"expires_in" : 57591341
}
]
A website at Denarius domain
http://magnets.king or through IPFS using the Denarius gateway
https://ipfs.denarius.io/ipns/magnets.king/ is watching the list and making a simple website to show what's coming up under the magnet: filter to give an idea how powerful this is. If you create your own torrent and are worried about being censored because of your political stance, you can now easily throw a magnet link up and also share the link easily through a Denarius domain. Example is showing the website created and able to see through Denarius DDNS, TOR, and IPFS. No clearnet domain registrar like godaddy required.