Jump to content

buzzkillb

Moderators
  • Content Count

    565
  • Joined

  • Last visited

  • Days Won

    123

Everything posted by buzzkillb

  1. How to Stake Fantom and mint Synthetics to Mint more Fantom to Stake Use caution and common sense for staking and borrowing against all of this stuff to keep staking over and over. I came across some posts saying to keep the C-Ratio above 600% so lets be on the safe side and stick with a number above 600%. Price fluctuates so use caution and know its possible to get locked out of the account if everything gets rekt. But does it matter if this goes to 0 then? I have no idea, so with all that in mind lets get to staking the Fantom. You might want to read this a few times to see what's going
  2. How to pull Binance API with USDT as the price and BTC as the playing part underneath, example for FTM. const Discord = require('discord.js'); const fetch = require('node-fetch'); const config = require("./config.json"); var binanceApi = "https://api.binance.com/api/v3/ticker/price?symbol=FTMUSDT" var binanceApiBTC = "https://api.binance.com/api/v3/ticker/price?symbol=FTMBTC" let refreshint = 5000; function sleep(ms) { return new Promise((resolve) => { setTimeout(resolve, ms); }); } const client = new Discord.Client(); client.on('ready', async () => { client.use
  3. To add some info to underneath the name try replacing these lines setInterval(async function(){ fetch(chainzApi) .then(function (response) { // Get a JSON object from the response // This is a weird quirk of Fetch return response.json(); }).then(function (data) { // Log the data to the console, Total balance of Token console.log(data); var blockHeight = "Height: " + data guild.me.setNickname(blockHeight); var coinexplorerFS = "https://www.coinex
  4. A basic example of a Discord.js bot that can autoupdate every 5 seconds based on an API using fetch. Install nodejs and some packages. Linux x64 or ARM, example below is 64-bit. wget https://nodejs.org/dist/v16.0.0/node-v16.0.0-linux-x64.tar.xz tar xvf node-v16.0.0-linux-x64.tar.xz cd node-v16.0.0-linux-x64/ sudo cp -R bin/* /usr/bin/ sudo cp -R lib/* /usr/lib/ npm install discord.js npm install node-fetch blockheight.js https://gist.github.com/buzzkillb/63a66f27ff65c6dd880a6c3eae740602 //npm install discord.js node-fetch //get blockheight from Chainz CryptoID and update
  5. An example of using the public key with Denarius NVS. Add the public key to be more public, go to your Denarius QT Wallet and at the debug console type name_new ssh:buzzkillb "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRELbQ3izu+ckrwPgKTdmck89xrOaSv1Kp0vY1ShWYbjyALOvEL9Okd23bjzCcS3h/0t5R5HZs3Ej0cOpupa/Ls4E6DwFs7hC6bMjSdDu/I0490ONH6LOYWE5T5GCuuPNmMRBVX7mmCAXzUIkBFvimzspAIY+w2pkQ2bk+dOC+IMG70DsDPv54+LBm7IpgWth+wZLppacVYMgpARX38ounHU8pxEOxEodf5Vzx+jCxX7swYBM0Ujw+5+Kg+8c00oWB/6MM1mIdTepqH4hRIkw0AVMhEFqnC/qOrr4aZ9e8Bd5B27sTKwPlmX0oe7Uw46G72MZ6/bLc8qgjjIeIOzUj cardno:000613493497" 9999
  6. How to create an SSH key on a Yubikey 5 using GPG on Ubuntu 20.04. Yubikey 5c https://amzn.to/3dFvg4A Yubikey 5 nfc https://amzn.to/3gr4UoJ I am using VM Player as the test subject. Edit the .vmx file if you are using this and add these 3 lines to the end to passthrough the Yubikey. Restart vmplayer and passthrough. usb.generic.allowHID = "TRUE" usb.generic.allowLastHID = "TRUE" usb.quirks.device0 = "0x1050:0x0407 allow" Reference: https://www.engineerbetter.com/blog/yubikey-ssh/ I just installed all the yubikey stuff, you can do these 1 by 1 for what you need or just t
  7. Future how to run multiple snap daemons and onion on a single VPS
  8. Denarius Snap Daemon FortunaStake Guide [Masternode TOR] How to setup a Denarius FortunaStake with TOR and Snap daemon. Get a VPS with Ubuntu 20.04 to setup the FortunaStake side, this holds no private keys or collateral https://my.racknerd.com/index.php?rp=/store/special-promos This is a good provider, you want more than 2gb ram setup First setup the collateral wallet with 5000 as that will take 500 confirms before you can start the FortunaStake. Plenty of time to setup the VPS side. If you have good 24/7 internet you can run the VPS part at home on a Raspberry Pi4 or s
  9. How to run an XFCE Desktop GUI on a headless Proxmox Ubuntu 20.04 Container through RDP. Trying out Snap Denarius QT as an example. Taken from https://www.reddit.com/r/Proxmox/comments/hzg2vr/how_to_create_a_template_for_lxc_ubuntu_desktop/ sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils Select lightdm when asked which desktop. sudo apt install xrdp update-alternatives --set x-session-manager /usr/bin/xfce4-session Now use Remote Desktop to RDP into the IP address. Easy enough, now you can lock it down if doing something outside of trying to set this up.
  10. How to setup a TOR Proxy Gateway through Denarius DDNS Naming System using the Names subdomains as the beginning of onion addresses. Going to use Ubuntu 20.04 and Snap daemon. First install Denarius snap daemon and sync the wallet, grab chaindata to make this faster. Install tor sudo apt install tor Using this guide to install dnsmasq https://unix.stackexchange.com/a/516808 Install dnsmasq sudo apt install dnsmasq Disable systemd-resolved sudo systemctl disable systemd-resolved.service Remove resolv.conf sudo rm /etc/resolv.conf Now we are going to ad
  11. 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 he
  12. How to upgrade the Denarius v3.3.9.11 wallet, QT or Daemon, now with DDNS, decentralized Domain support. The idea here is to not force a mandatory protocol upgrade, we can swap the wallet and either sync from block 0, or use chaindata. This will be wordy, but its not too many steps. Latest binaries - https://github.com/carsenk/denarius/releases First stop wallet and backup wallet.dat somewhere safe, like a USB thumbdrive. Download the v3.3.9.11 binary or compile from source. Unzip to wherever you normally run the binary from. For Windows you just replace your existing Denar
  13. Say you want to run a blog behind IPFS and then use the Denarius DDNS NVS for your domain name because you are being censored for whatever reason. basic guide to do this, and just throw in a hugo or ghost blog platform into a directory. A few basic examples will be shown over time for the blog setup. reference: https://www.linode.com/docs/guides/install-go-on-ubuntu/ install latest go for your OS https://golang.org/dl/ wget https://golang.org/dl/go1.15.7.linux-amd64.tar.gz tar xzvf go1.15.7.linux-amd64.tar.gz sudo chown -R root:root ./go sudo mv go /usr/local nano ~/.pro
  14. To update your domain name_update dns:blockforumsexample.d CNAME=denarius.io 9999 to delete your domain name_delete dns:blockforumsexample.d
  15. to setup pihole as an easy way to view the Denarius Decentralized Domains Install pihole on a device. A Raspberry Pi4 4gb works perfect for this. As you must run the daemon/QT wallet as well to reach the NVS domains. https://pi-hole.net/ The denarius wallet requires ddns=1 in the denarius.conf to open up port 5333 so Piholes dnsmasq can talk our denarius daemon for the magic to happen. After you install and setup pihole, make sure you change your router for the new DNS, or on your Windows MAC Linux machine set the DNS to your new pihole's address. To be continued with more info
  16. to create a domain lets do a very simple A record. In debug console name_new dns:blockforumsexample.d A=133.133.133.133 9999 Now your blockforumsexample.d will head to that A record. On nginx create a new server block like this sudo nano /etc/nginx/sites-available/blockexample edit to look like this for basic index.html type of website server { listen 80; listen [::]:80; root /home/denarius/website; index index.html index.htm index.nginx-debian.html; server_name blockforumsexample.d; location / { try_files $u
  17. Lets start by making 2 things. First we will create a name called @example which someone can send denarius to. And then we will create a basic domain. Load the wallet and get some Denarius coins. We will need this to pay the fee + fee to miners to create / update / delete records. Go to the NVS screen or debug console to fill this in. I am going to use Debug console for most of the guide as its easier at the moment. Example of what this looks like in the debug console. name_new @blockforumsexample "In Denarius We Trust" 365 We then get a tx hash Under the
  18. I am saying no even though I think this would help the pools a lot a lot. Touching the code seems to bring out some good points about don't touch the main genesis structure.
  19. How to tie cloudflare into this so you don't have to run an IPFS daemon, and throw a hash into a subdomain. Think uploading Denarius logo and now I can just do this https://logo.denarii.link/
  20. To run under a subdomain using Cloudflare to show your new IPFS hash. In this example we use example subdomain. https://example.denarii.link/ Once you set the IPFS hash don't forget to go to https://www.cloudflare.com/distributed-web-gateway/ and then fill out the box for your certificate.
  21. You would probably use the official Denarius snapcraft.yaml https://github.com/carsenk/denarius/blob/master/snapcraft.yaml wget https://raw.githubusercontent.com/carsenk/denarius/master/snapcraft.yaml and then edit the source-tag to whatever branch you want to test out for daemon and QT.
  22. How to remove compiled boost from Ubuntu. Running into this playing around with compiling Denarius wallet and different boost versions. But now want to go back to stock package manager boost. First remove the compiled boost files. sudo rm /usr/local/lib/libboost* sudo rm -rf /usr/local/include/boost Then remove and autoremove libboost package, and reinstall libboost-all-dev package. sudo apt remove libboost-all-dev sudo apt autoremove sudo apt install libboost-all-dev You should be back to stock package manager controlling boost.
  23. Currently pulling the 2020 branch, will compile from above with nativetor now. No need for the src/qt/trafficgraphwidget.cpp edit either. Tested on Fedora 32 in stock Qubes template.
  24. How to install Kronos headless or electron app on Linux. Ubuntu for this example, but should be similar for whatever you run. Run a Denarius, Bitcoin, Ethereum wallet without the blockchain download. Or can run Denarius in advanced mode to interact with the daemon/QT. Anonymous chat. https://github.com/carsenk/kronos grab your version of node from https://nodejs.org/dist/v12.16.3/ and install directly. Unofficial ARM builds here https://unofficial-builds.nodejs.org/download/release/v12.16.3/ ubuntu 20.04 x64 wget https://nodejs.org/dist/v12.16.3/node-v12.16.3-linux-x64.tar.
  25. The goal here is to setup 2 or more vps's to run IPFS in cluster mode. The IPFS daemons will stay in sync to distribute the files so its always up. Then use a typical domain name to serve the hash using Cloudflare gateway on Cloudflare's dashboard. From there a typical web browser sees your domain like usual, but behind the scenes can still use the IPFS Browser to directly see the website. create user denarius or whoever you want, but notice in the systemd files User=whoeveryoucreated adduser denarius usermod -aG sudo denarius exit If you are using ssh keys already ssh-cop
×
×
  • Create New...