Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. Creed:  Do No Harm...  Individual Monetary Sovereignty is a RIGHT

  3. The QT and wallpaper is in home/pi/Denarius which you probably have to chmod to execute the QT file. Or both QT and daemon are in /usr/local/bin and should work from there This all is a work in progress as it takes nearly 10 hours to do a full build and then burn the image and test it out.
  4. If someone wants to try the built image for CLI or Desktop. Torrent link or magnet below. magnet:?xt=urn:btih:70205282493A91F2DB9DE84207A2B744D0DCC621&dn=2019-03-16%20Denariian&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce 2019-03-16 Denariian.torrent
  5. this is the 2 lines I used to compile QT on Ubuntu 18.10 qmake "USE_UPNP=1" "USE_QRCODE=1" LIBS=-lboost_chrono OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib denarius-qt.pro make
  6. revised steps so its a bit more obvious you may need the swap file to compile
  7. Earlier
  8. Try this OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -f makefile.unix
  9. Then to combine 2 screens for a cronjob. denarius.sh #!/bin/bash python2 stats.py sleep 200 python2 latest.py chmod +x denarius.sh crontab -e and insert */5 * * * * /home/pi/denarius.sh Seems like an easy way to scroll through different screens.
  10. Now for a block height and total supply screen. latest.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("/home/pi/fonts/OpenSans-SemiBold.ttf", 20) font = ImageFont.truetype(FredokaOne, 19) url = "https://www.coinexplorer.net/api/v1/D/block/latest" response = urllib.urlopen(url) data = json.loads(response.read()) height = data['result']['height'] heighttext = ("Height: " + str(height)) supply = data['result']['supplyOnBlock'] supplytext = ("Supply: " + str(supply)) stats = (heighttext + '\n' + supplytext) # Load our backdrop image img = Image.open("/home/pi/d-text-logo.png") draw = ImageDraw.Draw(img) #w, h = font.getsize(winstats) #x = (inky_display.WIDTH / 2) - (w / 2) #y = (inky_display.HEIGHT / 2) - (h / 2) draw.text((5, 55), stats, inky_display.BLACK, font) flipped = img.rotate(180) inky_display.set_image(flipped) inky_display.show()
  11. An example of how to create a directory and put files into there. Trying to keep the config as stock as possible, so FIRST_USER_NAME is staying "pi". The idea here is to put the compiled QT into a Denarius folder and also put the desktop wallpaper there. Still trying to figure out how to properly set the default wallpaper to something besides road.jpg. https://github.com/buzzkillb/denariianpi-gen/blob/master/stage4/04-denarius 00-run.sh #!/bin/sh -e install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Denarius" install -v -o 1000 -g 1000 -m 755 "${ROOTFS_DIR}/usr/local/bin/Denarius" "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Denarius/" install -v -o 1000 -g 1000 -m 644 "files/Lava-PI-2.jpg" "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Denarius/"
  12. Ok i succeded at compiling the qt wallet but i cant compile the daemon it throws this: [email protected]:~/denarius/src$ make -f makefile.unix cc -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wno-format -Wno-unused-parameter -Wno-literal-suffix -std=c++11 -g -DBOOST_SPIRIT_THREADSAFE -I/home/manosv/denarius/src -I/home/manosv/denarius/src/obj -I/home/manosv/denarius/src/json -DIS_ARCH_64 -I/home/manosv/denarius/src/tor -DUSE_NATIVETOR=1 -DUSE_UPNP=1 -I/home/manosv/denarius/src/leveldb/include -DUSE_LEVELDB -I/home/manosv/denarius/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/addressmap.d -o obj/addressmap.o tor/addressmap.c cc1: warning: command line option ‘-Wno-literal-suffix’ is valid for C++/ObjC++ but not for C cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C In file included from tor/tortls.h:15:0, from tor/or.h:71, from tor/addressmap.c:18: tor/compat_openssl.h:10:10: fatal error: openssl/opensslv.h: No such file or directory #include <openssl/opensslv.h> ^~~~~~~~~~~~~~~~~~~~ compilation terminated. makefile.unix:433: recipe for target 'obj/addressmap.o' failed make: *** [obj/addressmap.o] Error 1
  13. Changed up the github to compile lite or full desktop. Both include the daemon and QT with compiled openssl 1.0.1j. Instructions added to get VNC Server working on Raspberry Pi and VNC Viewer. No monitor required. Attached video shows no denarius.conf syncing from block 0. sxeHDc5KDW.mp4
  14. Looks like the image can't be downloaded from here. Not even sure the image can wget from my github. Here is an example of flipping the screen 180 degrees on the pi zero w. #!/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("/home/pi/fonts/OpenSans-SemiBold.ttf", 20) font = ImageFont.truetype(FredokaOne, 20) url = "http://denarius.win/stats.json" response = urllib.urlopen(url) data = json.loads(response.read()) winpow2 = round(data['pow'],3) winpowresult = float(winpow2) * 100 winpos2 = round(data['pos'],3) winposresult = float(winpos2) * 100 winblocktime2 = round(data['blocktime'],2) winpow = ("POW " + str(winpowresult) + "%") winpos = ("POS " + str(winposresult) + "%") winblocktime = ("Blocktime: " + str(winblocktime2) + " sec") winstats = (winpow + winpos + '\n' + winblocktime) # Load our backdrop image img = Image.open("/home/pi/d-text-logo.png") draw = ImageDraw.Draw(img) #w, h = font.getsize(winstats) #x = (inky_display.WIDTH / 2) - (w / 2) #y = (inky_display.HEIGHT / 2) - (h / 2) draw.text((5, 50), winstats, inky_display.BLACK, font) flipped = img.rotate(180) inky_display.set_image(flipped) inky_display.show()
  15. Wookie bro you did an amazing job, build me a house bro! Lol Buzz killed it on the pi installation!! Absolutely blown away!
  16. Great work!! you are my new hero!! ! really impressed 😮
  17. I think I know what coin chart you can put on the 2nd TV. 🤑
  18. Yea way epic, when are we going to make this our headquarters? Haha really awesome work man! Impressive to say the least!
  19. 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
  20. updated chaindata https://github.com/carsenk/denarius/releases/download/v3.3.7/chaindata1701122.zip
  21. Updated chaindata https://github.com/carsenk/denarius/releases/download/v3.3.7/chaindata1701122.zip
  22. Single USB and ethernet port looks perfect for a headless server. Just about ready to buy one of these!😍
  23. 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.
  24. 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)
  25. If you have a fortunastake (masternode), you could scroll some info on yours, or even cycle through all of them if you have more than 1. Just chose a random D addy on this one. fortuna.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 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, 18) daddress = "DSSziJxk6bvz5aX3LyCTQoiHGkXi8RA1bV" url = "https://www.coinexplorer.net/api/v1/D/masternode?address=%s" % daddress response = urllib.urlopen(url) data = json.loads(response.read()) urlbalance = "https://www.coinexplorer.net/api/v1/D/address/balance?address=%s" % daddress responsebalance = urllib.urlopen(urlbalance) databalance = json.loads(responsebalance.read()) fs_status = (data['result'][0]['pubkey'] + '\n' + data['result'][0]['status'] + '\n' + data['result'][0]['ip'] + '\n' + databalance['result'][daddress] + "D") # Load our backdrop image img = Image.open("/home/pi/fs-logo.png") draw = ImageDraw.Draw(img) draw.text((10, 5), fs_status, inky_display.BLACK, font) inky_display.set_image(img) inky_display.show() FS logo attached
  26. Personal Favorite combining all the above into showing the Denarius Logo+Text with Balance and Address below. Since the D is too big, the address cuts off, but no big deal. dbalance.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 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, 16) 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] + '\n' + daddress) # Load our backdrop image img = Image.open("/home/pi/d-text-logo.png") draw = ImageDraw.Draw(img) draw.text((10, 60), dbalance, inky_display.BLACK, font) inky_display.set_image(img) inky_display.show() sample logo used
  1. Load more activity
×
×
  • Create New...