Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 02/22/2019 in all areas

  1. 4 points
    Hi guys just wanted to post some images of a few things I've been working on. I've built myself my very own crypto room. I built the entire lot, and proved to be a lot of work, but well worth it. Just wanted to share my work. Framing up of the room Installation of exterior sheeting Flushed exterior joins Installation of insulation Door frame installed Exhaust fan to remove heat in the room Walls flushed Installation of floor Laying of carpet tiles Fitting off data rack Denarius wall logo WIP First I used a projector to project the logo on the wall. Masking tape was used in the wall followed by a scalpel knife to cut out the lettering followed by painting. Job complete - I've also been working along side Buzz who had helped me get a full screen QT Wallet running on the raspberry Pi 3b+ The wallet runs perfectly on the pi 👌 I decided I needed a bit of colour on the wall along side the Denarius logo so managed to get a copy of an image of Denario, the D mascot. Thanks for stopping by Wookie
  2. 4 points
  3. 3 points
    Yea way epic, when are we going to make this our headquarters? Haha really awesome work man! Impressive to say the least!
  4. 2 points
    Wookie bro you did an amazing job, build me a house bro! Lol Buzz killed it on the pi installation!! Absolutely blown away!
  5. 2 points
    Great work!! you are my new hero!! ! really impressed 😮
  6. 2 points
    I think I know what coin chart you can put on the 2nd TV. 🤑
  7. 1 point
    Basic setup to building your own custom Raspbian Image from the offician pi-gen repo using you Denarius daemon wallet as the example. I like that someone can build completely from source and compile the entire OS on their own for their precious crypto. https://github.com/buzzkillb/denariianpi-gen Go to https://github.com/RPi-Distro/pi-gen. Read this a few times how it works. I am using Windows 10, so I downloaded VirtualBox and created an Ubuntu 16.04 VM with 2 cpu's, 100GB hard drive, and 3GB of ram. git clone https://github.com/RPi-Distro/pi-gen You want to build the stock image to make sure this works from the get go. nano config Put this one line in for your image name, ex. testimage IMG_NAME='testimage' Once this is done building you can find the image in the work folder with a date and name of image. The image is in /pi-gen/work/date-imagename/export-image For the first run I wanted to build only the lite command line Raspbian with denariusd daemon. This is found in stage2 directory. I made a new directory called 04-denariusd. And put the files required in there. cd ~/pi-gen/stage2 mkdir 04-denariusd cd 04-denariusd nano 00-packages dependencies to compile denariusd and openssl 1.0.1j git unzip libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev autogen automake libtool Next create a file to compile openssl 1.0.1j and denariusd. nano 04-run.sh #!/bin/bash -e on_chroot << EOF apt-get install make wget https://www.openssl.org/source/openssl-1.0.1j.tar.gz tar -xzvf openssl-1.0.1j.tar.gz cd openssl-1.0.1j ./config make depend make # make test make install sudo ln -sf /usr/local/ssl/bin/openssl `which openssl` git clone https://github.com/carsenk/denarius cd denarius git checkout v3.4 git pull cd src OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -f makefile.arm strip denariusd cp denariusd /usr/local/bin/denariusd EOF chmod +x 04-run.sh Now the basic setup is done. Go back to ~/pi-gen, run some commands to skip stages after stage2 and run the build command. # Example for building denariian lite system touch ./stage3/SKIP ./stage4/SKIP ./stage5/SKIP touch ./stage4/SKIP_IMAGES ./stage5/SKIP_IMAGES sudo ./build.sh Grab your image from /pi-gen/work/date-imagename/export-image, etch to microsd card and go tinker away with your raspberry pi. tip: this is a really easy way to cross compile for your raspberry pi. This uses qemu so you get 1 cpu and minimal ram, but outside of compiling everything else is maxing out the VM.
  8. 1 point
    First install InkyPhat on Raspbian on your pi. Pi Zero W might look amazing doing this if you are only pulling info from other places. For now I am only pulling the data from coinexplorer to show a proof of concept. I got the yellow one, but forgot to get the GPIO header for my pi zero w, so its stuck on the Pi3 for now. IMPORTANT: I had to use this line on the pi zero w and reboot after installing the software. curl https://get.pimoroni.com/i2c | sudo bash I got mine from amazon here -> https://amzn.to/2NTI8FA https://shop.pimoroni.com/products/inky-phat?variant=12549254905939 https://github.com/buzzkillb/InkyPhat curl https://get.pimoroni.com/inky | bash As a test run use this code to show the Denarius Burn Address Balance. denariusbalance.py #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib, json from inky import InkyPHAT inky_display = InkyPHAT("yellow") inky_display.set_border(inky_display.WHITE) from PIL import Image, ImageFont, ImageDraw print("""Inky pHAT: Denarius displays blockchain information. """) img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT)) draw = ImageDraw.Draw(img) from font_fredoka_one import FredokaOne font = ImageFont.truetype(FredokaOne, 22) daddress = "DNRXXXXXXXXXXXXXXXXXXXXXXXXXZeeDTw" url = "https://www.coinexplorer.net/api/v1/D/address/balance?address=%s" % daddress response = urllib.urlopen(url) data = json.loads(response.read()) dbalance = ("D balance=" + data['result'][daddress]) w, h = font.getsize(dbalance) x = (inky_display.WIDTH / 2) - (w / 2) y = (inky_display.HEIGHT / 2) - (h / 2) draw.text((x, y), dbalance, inky_display.YELLOW, font) inky_display.set_image(img) inky_display.show() w, h = font.getsize(daddress) x = (inky_display.WIDTH / 2) - (w / 2) y = (inky_display.HEIGHT / 2) - (h / 2) draw.text((x, y), daddress, inky_display.YELLOW, font) inky_display.set_image(img) inky_display.show() To run type python2 denariusbalance.py Cronjob every 15 minutes crontab -e */15 * * * * (cd /home/user/whereever/this/is/located; python2 denariusbalance.py) This is the version I am playing around with to display more than a one liner balance. #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib, json from inky import InkyPHAT inky_display = InkyPHAT("yellow") inky_display.set_border(inky_display.WHITE) from PIL import Image, ImageFont, ImageDraw print("""Inky pHAT: Denarius displays blockchain information. """) img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT)) draw = ImageDraw.Draw(img) from font_fredoka_one import FredokaOne font16 = ImageFont.truetype(FredokaOne, 16) font8 = ImageFont.truetype(FredokaOne, 8) daddress = "DNRXXXXXXXXXXXXXXXXXXXXXXXXXZeeDTw" url = "https://www.coinexplorer.net/api/v1/D/address/balance?address=%s" % daddress response = urllib.urlopen(url) data = json.loads(response.read()) dbalance = ("D balance=" + data['result'][daddress]) w, h = font16.getsize(dbalance) w1, h1 = font8.getsize(daddress) x = (inky_display.WIDTH / 2) - (w / 2) y = (inky_display.HEIGHT / 4) - (h / 4) x1 = (inky_display.WIDTH / 2) - (w1 / 2) y1 = (inky_display.HEIGHT / 2) - (h1 / 2) draw.text((x, y), dbalance, inky_display.YELLOW, font16) draw.text((x1, y1), daddress, inky_display.YELLOW, font8) inky_display.set_image(img) inky_display.show()
  9. 1 point
    Single USB and ethernet port looks perfect for a headless server. Just about ready to buy one of these!😍
  10. 1 point
    I may turn this into a guide, but just posting some pictures for now, running Ubuntu 16.04 on the ODROID HC1 with SSD and ARM64 Octa Core, perfect little mini server for denariusd or whatever you want.
  11. 1 point
    To change fonts I will use Denarius official font selection of Open Sans - Semibold. Go to https://github.com/google/fonts/tree/master/apache/opensans And download https://github.com/google/fonts/blob/master/apache/opensans/OpenSans-SemiBold.ttf I send files to the PI3 using winscp, and made a directory called fonts to store these. Or you could cd ~ mkdir fonts cd fonts wget https://github.com/google/fonts/blob/master/apache/opensans/OpenSans-SemiBold.ttf cd ~ If your original line looks like this font = ImageFont.truetype(FredokaOne, 20) Change to the new font. font = ImageFont.truetype("/home/pi/fonts/OpenSans-SemiBold.ttf", 20)
  12. 1 point
    I edit the logo in GIMP by first resizing the image to 54x54 pixels, then adjust canvas size to 212x104 pixels and drag the logo to where I want it located.
  13. 1 point
    One last one pulling stats from coinpaprika API. The idea is I have changed a thing or two each go around. This pulls the high, low, volume, and for some reason missing marketcap in $USD terms with one of the D logos from the visual guide, https://github.com/carsenk/denarius/wiki/Denarius-Visual-Guide dprice.py #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib, json from inky import InkyPHAT inky_display = InkyPHAT("yellow") inky_display.set_border(inky_display.YELLOW) from PIL import Image, ImageFont, ImageDraw print("""Inky pHAT: Denarius Price information. """) img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT)) draw = ImageDraw.Draw(img) from font_fredoka_one import FredokaOne font = ImageFont.truetype(FredokaOne, 22) url = "https://api.coinpaprika.com/v1/coins/d-denarius/ohlcv/latest" response = urllib.urlopen(url) data = json.loads(response.read()) dhigh = data[0]['high'] dlow = data[0]['low'] dvol = data[0]['volume'] dmc = data[0]['market_cap'] denariusprice = ("$ " + str(dhigh) + '\n' + "$ " + str(dlow) + '\n' + "$ " + str(dvol) + '\n' + "$ " + '\n' + str(dmc)) # Load our backdrop image img = Image.open("/home/pi/d-logo.png") draw = ImageDraw.Draw(img) #img = Image.open("/home/pi/btc_yellow.png") draw.text((10, 0), denariusprice, inky_display.BLACK, font) inky_display.set_image(img) inky_display.show() included png for Denarius logo
  14. 1 point
    Now you want to throw Bitcoin Price into your new Cryptocurrency scroller? Pulling API info from coindesk. btcprice.py #!/usr/bin/env python # -*- coding: utf-8 -*- import urllib, json from inky import InkyPHAT inky_display = InkyPHAT("yellow") inky_display.set_border(inky_display.YELLOW) from PIL import Image, ImageFont, ImageDraw print("""Inky pHAT: Bitcoin Price information. """) img = Image.new("P", (inky_display.WIDTH, inky_display.HEIGHT)) draw = ImageDraw.Draw(img) from font_fredoka_one import FredokaOne font = ImageFont.truetype(FredokaOne, 24) url = "https://api.coindesk.com/v1/bpi/currentprice.json" response = urllib.urlopen(url) data = json.loads(response.read()) chartname = data['chartName'] btcusd = data['bpi']['USD']['rate_float'] btceur = data['bpi']['EUR']['rate_float'] bitcoinprice = (chartname + '\n' + "$ " + str(btcusd) + '\n' + "E " + str(btceur)) # Load our backdrop image img = Image.open("/home/pi/btc_yellow.png") draw = ImageDraw.Draw(img) draw.text((10, 10), bitcoinprice, inky_display.YELLOW, font) inky_display.set_image(img) inky_display.show() Sample yellow bitcoin logo I am using.
  15. 1 point
    Some sample cronjobs and resulting files that can be thrown into this. Any coin daemon can be done in a similar way. Below takes the output and throws into a file every 60 seconds. Then pull want you want from a cronjob and your InkyPhat python file. Example: post fortunastake count every hour, while the fscount.txt file is constantly updating every minute. gentle hint, you need to run the denariusd daemon for below to work 😘 * * * * * /usr/local/bin/denariusd fortunastake count > /home/pi/fscount.txt * * * * * /usr/local/bin/denariusd getblockcount > /home/pi/height.txt * * * * * /usr/local/bin/denariusd getinfo > /home/pi/getinfo.json * * * * * /usr/local/bin/denariusd getmininginfo > /home/pi/getmininginfo.json * * * * * /usr/local/bin/denariusd getpeerinfo > /home/pi/getpeerinfo.json
  16. 1 point
    Kind of silly how it works to add an image, but basically follow their own guide how to create this in GIMP. Also be aware the canvas size has to be 212x104 pixels. Make it woooork. https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-inky-phat from inky import InkyPHAT inky_display = InkyPHAT("yellow") inky_display.set_border(inky_display.WHITE) from PIL import Image, ImageFont, ImageDraw img = Image.open("/home/pi/inkyD.png") inky_display.set_image(img) inky_display.show() Sample GIMP png for testing.
  17. 1 point
    Line by line breakdown of this so you can abuse any explorer for your favorite cryptocurrency. I just learned basic python about an hour ago, so anyone wants to throw info in here, please do. Sets the address using daddress as the variable. daddress = "DNRXXXXXXXXXXXXXXXXXXXXXXXXXZeeDTw" Sets the URL. %s heads on over to stick that daddress variable from above into the complete block explorer API address. url = "https://www.coinexplorer.net/api/v1/D/address/balance?address=%s" % daddress This does something. response = urllib.urlopen(url) This loads the JSON from that URL variable of the complete address. data = json.loads(response.read()) Stores the text D balance= and puts the data from the JSON next to the = sign. dbalance = ("D balance=" + data['result'][daddress]) This would print the line to the command line. But we want InkyPhat to do its thing so we get the rest of the gobbly gook from the code above. print dbalance
  18. 1 point
    How to compile denariusd daemon on Raspberry Pi3 in Raspbian and run TOR. Headless Install (enable wifi and enable ssh) https://desertbot.io/blog/headless-raspberry-pi-3-bplus-ssh-wifi-setup Swap Space (Required for Compiling) https://www.bitpi.co/2015/02/11/how-to-change-raspberry-pis-swapfile-size-on-rasbian/ sudo sed -i 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=2048/' /etc/dphys-swapfile sudo /etc/init.d/dphys-swapfile stop sudo /etc/init.d/dphys-swapfile start free -m On dependencies read a few posts below if you want to compile and use berkeley database 4.8 to keep backwards compatibility. sudo apt-get update -y && sudo apt-get upgrade -y sudo apt-get --assume-yes install git unzip build-essential libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake libtool Compile and replace openssl to openssl 1.0.1j. (may or may not be required) I need to double check if there was 1 more step to this or not to make sure openssl is right. apt-get install make wget https://www.openssl.org/source/openssl-1.0.1j.tar.gz tar -xzvf openssl-1.0.1j.tar.gz cd openssl-1.0.1j ./config make depend make #make test make install sudo ln -sf /usr/local/ssl/bin/openssl `which openssl cd ~ openssl version -v Git clone v3.4 branch to get v3.3.8. git clone https://github.com/carsenk/denarius cd denarius git checkout v3.4 git pull cd src OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -f makefile.arm strip denariusd sudo cp denariusd /usr/local/bin/denariusd #Use Chaindata cd ~ mkdir ~/.denarius wget https://github.com/carsenk/denarius/releases/download/v3.3.6/chaindata1612994.zip unzip chaindata1612994.zip #Install TOR service sudo apt-get install tor sudo nano /etc/tor/torrc Find this line and change the 2 #HiddenServiceDir /var/lib/tor/hidden_service/ #HiddenServicePort 80 127.0.0.1:80 HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServicePort 33369 127.0.0.1:33369 sudo service tor restart #To get onion address sudo cat /var/lib/tor/hidden_service/hostname example from above favlp6mro3bh5jnt.onion #sample TOR and clearnet denarius.conf rpcuser=denariusrpc rpcpassword=STRONGPASSWORD rpcallowip=127.0.0.1 daemon=1 tor=127.0.0.1:9050 listen=1 externalip=favlp6mro3bh5jnt.onion discover=1
  19. 1 point
    Compiling the commits as I see them, QT and Daemon. Takes a bit of time on any version of pi3. 🤖 https://github.com/buzzkillb/denarius-pi3/releases
  20. 1 point
    stage 3, qt wallet place hodler #02-denariusqt folder layout #wallpaper pi-gen/stage3/02-denariusqt/files/Lava-PI-2.jpg nano 00-packages libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default nano 05-run.sh Throw in custom denarius lava pi by icanhaz and setup the Denarius QT compile. After compile copy Denarius binary to user pi desktop. #!/bin/bash -e install -m 644 files/Lava-PI-2.jpg "{ROOTFS_DIR}/usr/share/rpd-wallpaper/" on_chroot << EOF cd denarius export QT_SELECT=qt5 qmake -v qmake "USE_NATIVETOR=-" "USE_UPNP=1" "USE_QRCODE=1" OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib denarius-qt.pro make cp Denarius /home/pi/Desktop/Denarius EOF chmod +x 05-run.sh
  21. 1 point
    Basic Settings to get you going on HiveOS https://hiveos.farm/ This is what the Flight Sheet will end up looking like. Pick your coin. Currently its the old symbol DNR. Next add your wallet address and give it a name. I am mining to a https://whopper.io/ cold wallet to store this for a long time. Choose the type of pool, yiimp and then click Configure pool. Select Advanced configuration and enter your URL. stratum+tcp://mining.cafe:8533 In the miner tab, first select Cryptodredge by dropping down the down arrow and show all. Find Cryptodredge. Then click Setup Miner Config. Hash algorithm: tribus Wallet: %WAL% Pool URL: %URL% Pass: c=D,stats Version: 0.17.0-cuda92 (as of this tutorial being written) Apply changes, give this setup a name and click update.
  22. 1 point
    adding script I am working on for both daemon and QT https://github.com/buzzkillb/denarius-pi3
  23. 1 point
    Mental Note Iif you want to use berkeley db 4.8 to always be backwards compatible. Instead of sudo apt-get install libdb++-dev, do this mkdir ~/Downloads cd ~/Downloads wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz tar -xzvf db-4.8.30.NC.tar.gz cd db-4.8.30.NC/build_unix/ ../dist/configure --enable-cxx make sudo make install
  24. 1 point
    Thanks @buzzkillb 😁😎
  25. 1 point
    A list of some onion seeds to connect into if you try the above TOR portion. edit denarius.conf and add these nodes. https://raw.githubusercontent.com/buzzkillb/denarius-qt/master/onion nodes
  26. 1 point
    If anyone just wants to try the v3.3.8 binary that I compiled earlier. wget https://triforce.black/d/denariusd chmod +x denariusd sudo cp denariusd /usr/local/bin/denariusd run denariusd from anywhere denariusd
  27. 1 point
    While mining D with your GPU's, why not spare the wasted cpu and mine Grin? Duplicate your D tribus Flight Sheet. Edit the duplicated D tribus Flight Sheet. This won't be named so its easy to find it. Give this a name. Like Denarius Grin. And then click Add Miner. Select Coin-> Grin. Select Wallet -> Grin Wallet. Select Pool -> grinmint. Select your closest Pool server. Select Miner -> Grin Miner. Then Setup Miner Config. Leave the defaults in and give your grinmint wallet a password. Example don't use this, 1234567890 and copy and paste the below into the Plugin and device configs box. nThreads = 4, is how many CPU cores you have. [[mining.miner_plugin_config]] plugin_name = "cuckaroo_cpu_compat_29" [mining.miner_plugin_config.parameters] nthreads = 4 Apply Changes, and then click update. Click the rocket ship to start the dual mining. Denarius/Tribus will start first on the GPU's. Give it a bit of time for the Grin CPU miner to get going. Check your denarius and grin pools. Grin uses email as your pool address. You will need that strong password from the pass box above, to move the Grin out of their to damp eet. https://mining.cafe https://grinmint.com
  28. 1 point
    Use Hive Shell to Update Nvidia Drivers. Expect this to take 30+ minutes on a USB install. https://forum.hiveos.farm/t/nvidia-drivers-update-guide-and-cuda-10/10921 Select Remote Access -> Hive Shell Start Select Hive Shell and click the Web Link. Type in nvidia-driver-update at the command prompt. nvidia-driver-update Getting the latest Nvidia Drivers from HiveOS. Once this finishes you will get a prompt to reboot. Go back to your other tab, hit the Power button -> Reboot. Say hello to the latest drivers. If you went from Cuda 9.2 to Cuda 10.0, don't forget to redo your miner to correct Cuda version.
  29. 1 point
    Go to grinmint -> payouts tab and Request Email Payout https://www.grinmint.com Download the attachment that it sends to your email address. Login to Tradeogre, go to Grin Deposit and upload that attachment. https://tradeogre.com/account/deposit/GRIN Download the response file. Now upload that response file back to grinmint by hitting Finalize Transaction. Grin will show up in your TradeOgre account. Now damp eet!
×
×
  • Create New...