Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. Playing with the 128x32 OLED display, got the generated account 0 address 0 address displaying These screens more than likely will not be used for the final product at all, just too small and not enough information to display on them. We will be going with more than likely the IPS LCD ST7789
  3. So I decided to start building an open source hardware wallet....specifically for Denarius (D) I decided upon the ESP32 platform chip due to its powerful feature set enabling the use of cryptographic functions and cheap cost. We have options of Wifi and Bluetooth if needed, though the focus will be around not enabling these on the board. The code is very basic as this is my first time with playing with MCUs and development micro controller boards. Everything will be released in due time as well as this post updated, this thread will serve as a historical and discussion venue. Some early prototyping with a breadboard + ESP32 Dev Board + 128x32 OLED display Some serial console output of some transaction signing attempts on chip
  4. Start Trading Learn to Trade Affiliate Program Help About Us Privacy Policy Terms & Conditions Contact Us
  5. An example of why running an FS is worthwhile. Someone staked some longterm FortunaStake collateral, and a lucky FS received 199 D in one shot. Lucky lucky and why you want these always running. https://chainz.cryptoid.info/d/block.dws?3462533
  6. Earlier
  7. Yup lol, KeepKey now partially integrated! Connect to your Keepkey by running Kronos on your localhost over WebUSB, You can then view your Address #0 and xpubs of your Denarius address derivation from your BIP39 seed phrase used/stored on the device. You can then view transaction history and balance of the address, Transaction signing will be coming soon. More KeepKey integration soon! Wiping your device, Setting/Chaning your PIN, and Recovering (Setting a seed phrase) to your KeepKey with or without a BIP39 passphrase are coming soon!
  8. A bit curious about how these guys do it. What's GPC?
  9. Does anyone know how to go about building a hardware from scratch that can use GPC scripts?
  10. How to update keepkey firmware in Windows. If you don't have a keepkey, use Carsen's referral link and go buy one https://amzn.to/2CUvQvk Download the updater - https://beta.shapeshift.com/updater-download# Run and wait for No Device Connected screen. Plug in keepkey, click Update Now. Select your option. Mine is new so This Keeykey is New. Unplug the keeykep, plug it back in while holding down the button. Hold down the button. Looks like this on device. Hold the button down until that arrow on the keepkey itself turns into a checkmark. On reconnect the bootloader will update. Hold down button and reconnect. Now time to update firmware. Click Update Now. Hold down the button again and wait for the checkmark, do not unplug yet. Unplug the keeykep and plug back in. And now its all updated. Reconnect while holding the button down to check firmware. All done.
  11. Tons of updates to Kronos! So many to list! Kronos v1.3.2 -New Terminal! (Access the terminal of your device Kronos and Denarius are hosted on) -Generate and Convert Denarius Minikeys directly in Kronos now! -Kronos Local LevelDB for storing encrypted data -During the first launch of Kronos you will prompted to create a username and password for your install which is then encrypted and stored in your new local Kronos leveldb -View your newly locally generated 24 word BIP39 seed phrase, the addresses currently derived from it are password protected with your password you setup when you start Kronos for the first time, These are not currently used for anything and are also stored encrypted to your local leveldb (kronosleveldb) for possible future use. -Mobile Friendly Updates (Still maybe some things and some reworking) -Start of ES6 support for more internal progress -ElectrumX Server Cluster Support, Now Kronos clusters its list of Denarius ElectrumX servers for failover redundancy if one goes offline or has issues connecting (Currently 3 online 24/7) https://status.denarius.pro -New Kronos Denarius Block Explorer! View Addresses, Transactions, and Blocks! You can now also search via the search in the top right -New Peers page to view your Denarius peers -New Logout Option under the new "Gear" menu in the top right -Some other random updates, bug fixes, and styling updates GET KRONOS: https://github.com/carsenk/kronos
  12. In this example the idea is to run Iquidus Block Explorer with the daemon and traefik for reverse proxy all using a single docker-compose. Hopeful if anyone else tries this they come up with some better configs for the whole thing. I am going to use Ubuntu 20.04 as the example since its latest and greatest. We will be using Denarius docker daemon - https://github.com/buzzkillb/denariusDocker/tree/iquidus Iquidus D-Explorer - https://github.com/buzzkillb/D-explorer Iquidus Docker - https://github.com/buzzkillb/iquidusdocker Install Docker and Docker Compose #Install Docker sudo apt install docker.io sudo systemctl enable --now docker sudo usermod -aG docker SOMEUSERNAME docker --version #Install docker-compose sudo apt install docker-compose docker-compose version I would reboot at this step and make sure docker is still working. 20.04 has been a bit glitchy for me. If docker stops running, this fixed it. rm /etc/docker/daemon.json service docker restart systemctl status docker.service If you are using cloudflare, my traefik isn't setup correctly to use Cloudflare proxy and get the letsencrypt TLS certs once proxied. Will update once I get that config working. Make your .conf file in ~/.denarius/denarius.conf (switch this for your coin, the guide is tailored to Denarius, but should be an easy swap). denarius.conf (note daemon=0 for the docker daemon I built) - based on the docker hub image https://hub.docker.com/r/buzzkillb/denariusd iquidus branch/tag. rpcuser=rpcuser rpcpassword=aLongPasswordLikeThis rpcport=32369 port=33369 daemon=0 listen=1 server=1 txindex=1 rpcallowip=* At the your home folder clone the explorer. cd ~ git clone https://github.com/buzzkillb/iquidusdocker explorer cd explorer 2 things to change, go to your explorer folder inside explorer and switch logo.png to your coin logo, and edit settings.json to your coin. That's it. sample settings.json /* This file must be valid JSON. But comments are allowed Please edit settings.json, not settings.json.template */ { // name your instance! "title": "D-Explorer", "address": "https://explorer.example.com", // coin name "coin": "Denarius", // coin symbol "symbol": "D", // logo "logo": "/images/logo.png", // favicon "favicon": "public/favicon.ico", // Uses bootswatch themes (http://bootswatch.com/) // Valid options: // Cerulean, Cosmo, Cyborg, Darkly, Flatly, Journal, Lumen, Paper, // Readable, Sandstone, Simplex, Slate, Spacelab, Superhero, United, Yeti // theme (see /public/themes for available themes) "theme": "Cyborg", // port to listen for requests on. "port" : 3001, // database settings (MongoDB) "dbsettings": { "user": "", "password": "", "database": "explorerdb", "address": "mongodb", "port": 27017 }, //update script settings "update_timeout": 10, "check_timeout": 250, "block_parallel_tasks": 1, // wallet settings "use_rpc": true, "wallet": { "host": "denarius", "port": 32369, "username": "rpcuser", "password": "aLongPasswordLikeThis" }, // confirmations "confirmations": 10, // language settings "locale": "locale/en.json", // menu settings "display": { "api": true, "markets": true, "richlist": true, "twitter": true, "facebook": false, "googleplus": false, "youtube": false, "search": true, "movement": true, "network": true }, // index page (valid options for difficulty are POW, POS or Hybrid) "index": { "show_hashrate": true, // Show Market Cap in header "show_market_cap": false, // Show Market Cap in place of price box "show_market_cap_over_price": false, "difficulty": "Hybrid", "last_txs": 100, "txs_per_page": 10 }, // ensure links on API page are valid "api": { "blockindex": 1337, "blockhash": "000000000661c86bf89e652eb142093bd9123006f3085595dee183bfe1c24570", "txhash": "776684cfd496890268805a1d86d3fd00f4097c1dbffecc3acd79101c15216594", "address": "DABQj7yoQuvfxVVWMf2mqWhoHLDMUqUJsc" }, // market settings //supported markets: bittrex, poloniex, yobit, empoex, bleutrade, cryptopia, ccex //default market is loaded by default and determines last price in header "markets": { "coin": "D", "exchange": "BTC", "enabled": ["tradeogre"], "tradeogre_id": "BTC-D", "default": "tradeogre" }, // richlist/top100 settings "richlist": { "distribution": true, "received": true, "balance": true }, // movement page settings // min amount: show transactions greater than this value // low flag: greater than this value flagged yellow // high flag: greater than this value flagged red "movement": { "min_amount": 100, "low_flag": 1000, "high_flag": 5000 }, // twitter, facebook, googleplus, youtube "twitter": "denariuscoin", "facebook": "yourfacebookpage", "googleplus": "yourgooglepluspage", "youtube": "youryoutubechannel", //genesis "genesis_tx": "c6d8e8f56c25cac33567e571a3497bfc97f715140fcfe16d971333b38e4ee0f2", "genesis_block": "00000d5dbbda01621cfc16bbc1f9bf3264d641a5dbf0de89fd0182c2c4828fcd", //heavy (enable/disable additional heavy features) "heavy": false, //disable saving blocks & TXs via API during indexing. "lock_during_index": false, //amount of txs to index per address (stores latest n txs) "txcount": 100, "txcount_per_page": 50, //show total sent & received on address page (set false if PoS) "show_sent_received": true, // how to calculate current coin supply // COINBASE : total sent from coinbase (PoW) // GETINFO : retreive from getinfo api call (PoS) // HEAVY: retreive from heavys getsupply api call // BALANCES : total of all address balances // TXOUTSET : retreive from gettxoutsetinfo api call "supply": "GETINFO", // how to acquire network hashrate // getnetworkhashps: uses getnetworkhashps api call, returns in GH/s // netmhashps: uses getmininginfo.netmhashpsm returns in MH/s "nethash": "netmhashps", // nethash unitd: sets nethash API return units // valid options: "P" (PH/s), "T" (TH/s), "G" (GH/s), "M" (MH/s), "K" (KH/s) "nethash_units": "G", // Address labels // example : "JhbrvAmM7kNpwA6wD5KoAsbtikLWWMNPcM": {"label": "This is a burn address", "type":"danger", "url":"http://example.com"} // label (required) = test to display // type (optional) = class of label, valid types: default, primary, warning, danger, success // url (optional) = url to link to for more information "labels": { // "DDD6SzCwXSEcTPHmNwEQX6xbUs2Rf3svNX": {"label": "Cryptopia address", "type":"primary", "url":"http://disney.com"}, // "JSWVXHWeYNknPdG9uDrcBoZHztKMFCsndw": {"label": "Cryptsy"} } } Go back to the main explorer directory and edit docker-compose.yml version: "3" services: traefik: image: "traefik:v2.2" command: #- "--log.level=DEBUG" - "--api.insecure=true" #change to false in production - "--api.dashboard=true" #change to false in production - "--providers.docker.exposedbydefault=false" - "--entrypoints.web.address=:80" - "--entrypoints.websecure.address=:443" - "--certificatesresolvers.myresolver.acme.tlschallenge=true" #- "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory" - "[email protected]com" - "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json" ports: - "80:80" - "443:443" - "8080:8080" volumes: - "./letsencrypt:/letsencrypt" - "/var/run/docker.sock:/var/run/docker.sock:ro" restart: always denarius: image: buzzkillb/denariusd:iquidus volumes: - ~/.denarius:/data ports: - 33369:33369 - 32369:32369 restart: unless-stopped explorer: build: ./explorer stdin_open: true tty: true ports: - 3001:3001 links: - mongodb - denarius depends_on: - mongodb - denarius command: /bin/bash -c "service cron start && cd /opt/iquidus && npm start" labels: - "traefik.enable=true" - "traefik.http.routers.explorer.rule=Host(`explorer.example.com`)" - "traefik.http.routers.explorer.entrypoints=websecure" - "traefik.http.routers.explorer.tls.certresolver=myresolver" - "traefik.http.services.explorer.loadbalancer.server.port=3001" - "traefik.http.middlewares.explorer_redirect.redirectscheme.scheme=https" - "traefik.http.routers.explorer_insecure.rule=Host(`explorer.example.com`)" - "traefik.http.routers.explorer_insecure.entrypoints=web" - "traef[email protected]docker" mongodb: image: mongo:latest container_name: "mongodb" environment: - MONGO_DATA_DIR=/data/db - MONGO_LOG_DIR=/dev/null volumes: - ./data/db:/data/db ports: - 27017:27017 command: mongod --bind_ip 0.0.0.0 --logpath=/dev/null --quiet --wiredTigerCacheSizeGB 2 restart: unless-stopped Now run docker-compose cd ~/explorer docker-compose up -d And that's about it. Check 127.0.0.1:3001 or your domain. Traefik reverse proxy will automatically pull in letsencrypt TLS certs for you, will also redirect http to https, and generally keep everything up. Traefik once setup is much more clean than using an Nginx reverse proxy. Plus the letsencrypt TLS certs are taken care of automagically so no more certbot cronjobs. This example also shows how to send traffic to port 3001. This block explorer runs heavy, so I doubt this will work on a typical single CPU, 2gb VPS. Anytime you make a change to settings.json, rebuild like this cd ~/explorer docker-compose down rerun docker-compose build docker-compose up -d Build this locally first in a VM, and check it works. Also 127.0.0.1:8080 is the traefik dashboard. I would turn this off in the main docker-compose.yml on the VPS/server itself once ready to setup. While waiting for the full sync, the whole thing starts to go wild using up memory. Quick bash script to restart every 30min to cut down on potential crashing. saveram.sh #!/bin/bash while true; do docker-compose down && docker-compose up -d sleep 1800 done Example site I am syncing before I move to a VPS and different domain. https://explorer.denarius.guide/
  13. I tried this one but could not get it working, i ran it through python and it kept giving me errors. After doing some more research it seems like the safest way to gain an advantage in any game would be to use a hardware mod and GPC scripts.
  14. How to easily swap or change endianness in Javascript, NodeJS, etc. with one simple function! changeEndianness() const changeEndianness = (string) => { const result = []; let len = string.length - 2; while (len >= 0) { result.push(string.substr(len, 2)); len -= 2; } return result.join(''); } You can then use this function with any string to convert its endianness Example of using function: var yourstringvar = 'Your string goes here to swap endianness'; var newendian = changeEndianness(yourstringvar); console.log('Your newly swapped endian string', newendian);
  15. So not a lot of information out there, but if you want to convert a Bitcoin or Denarius or any standard crypto typically, you take the block hex to a block hash (typically used for block explorers and things) you just do the following: changeEndianness(SHA256(SHA256(BLOCKHEX))) So basically visually in text it would be: BLOCKHEX => Hashed to SHA256 => Hashed to SHA256 => Swap Endianness = Block Hash You are just hashing the hex twice and then swapping the endianness to obtain the hash of the block.
  16. Glad to have you back! Thank you everyone so far that has made a post, your D has been sent and BF$ donated, it means a lot for all the support! ­čśÄ This giveaway will continue to run for awhile!
  17. How to boot from Raspberry Pi4 USB 3.0 SSD. This is a lot easier than it looks, just read through one time to see. I am bypassing installing the OS on an SDCARD to purely update the eeprom, seems like a huge waste of time when it can just be flashed in seconds from a basically blank SDCARD. For this you need, pi4, sdcard, ssd drive, connector for usb 3.0. What I used: Raspberry Pi4 4gb (handy with the hdmi adapter, proper plug, and case/fan) Samsung (MB-ME32GA/AM) 32GB 95MB/s (U1) microSDHC EVO Select Memory Card with Full-Size Adapter (something cheap if you don't have 1, only to flash firmware) Kingston 240GB A400 SATA 3 2.5" Internal SSD SA400S37/240G - HDD Replacement for Increase Performance StarTech.com SATA to USB Cable - USB 3.0 to 2.5? SATA III Hard Drive Adapter - External Converter for SSD/HDD Data Transfer (USB3S2SAT3CB), Black First I am using Windows 10 for this, the steps are basically same for whatever OS. Format your SDCARD to fat32, get bootloader and unzip the files to that drive. bootloader here -> https://github.com/raspberrypi/rpi-eeprom/blob/master/releases.md Under USB MSD Boot find latest, for this guide its this one https://github.com/raspberrypi/rpi-eeprom/files/4781199/rpi-boot-eeprom-recovery-2020-06-15-vl805-000137ad-BETA.zip Unzip that to the root directory of the fresh formatted SDCARD. Insert SDCARD into pi4, and wait a bit for the green light to flash, about 10-15 seconds, powered back on hooked to monitor and it just worked. That's the first part which now makes the PI4 able to boot from the blue USB 3.0 ports. Now hook up your SSD Drive and SATA adapter to your PC. Get Raspberry Pi Imager - https://www.raspberrypi.org/downloads/ Windows - https://downloads.raspberrypi.org/imager/imager.exe macOS - https://downloads.raspberrypi.org/imager/imager.dmg Ubuntu - https://downloads.raspberrypi.org/imager/imager_amd64.deb Run this and select 32-bit and write. To run Headless: Remove the drive and insert back in. Click into the drive and stick a blank ssh file in. For wifi you want to put a wpa_supplicant.conf file in there. wpa_supplicant.conf country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="NETWORK-NAME" psk="NETWORK-PASSWORD" } Looks like this when done. With or without headless: The next step is to get the latest .elf and .dat files into the root directory of the SSD drive. So make sure after flashing the SSD to unplug and plug back in for Windows to see the new filesystem. https://github.com/raspberrypi/firmware Click clone, then download zip. Double click that downloaded zip and go to the boot directory. Copy the .elf and .dat files to your SSD root directory. At the time of this guide that's 16 files you end up replacing. Now put your SSD/SATA into the pi4 USB 3.0 (blue port) and boot up. The first part will show resizing the drive, the pi4 will then reboot again and go into the OS. The ssh file will allow us to SSH into the headless unit, wpa_supplicant.conf should allow wifi if you aren't using an ethernet cable. Tips: I used a split side by side 4k monitor for this, don't do that as if the pi4 detects weird resolutions, it won't work right. 64-bit Raspberry Pi OS VNC server does not work at the moment, use 32-bit for now. After installed run benchmarks. Nench - Overall Benchmarks https://github.com/n-st/nench (wget -qO- wget.racing/nench.sh | bash; wget -qO- wget.racing/nench.sh | bash) 2>&1 | tee nench.log Raspberry Pi Diagnostics - SD Card Speed Test Click Pi (top left corner) -> Accessories -> Raspberry Pi Diagnostics -> Run Tests After the test runs -> Show Log Test : SD Card Speed Test Run 1 prepare-file;0;0;304818;595 seq-write;0;0;319687;624 rand-4k-write;0;0;71859;17964 rand-4k-read;54979;13744;0;0 Sequential write speed 319687 KB/sec (target 10000) - PASS Random write speed 17964 IOPS (target 500) - PASS Random read speed 13744 IOPS (target 1500) - PASS Test PASS
  18. Stranger Things 3: The Game free until July 2, 2020. https://www.epicgames.com/store/en-US/product/stranger-things-3-the-game/home
  19. AER Memories of Old free until July 2, 2020. https://www.epicgames.com/store/en-US/product/aer-memories-of-old/home
  20. To make the user passwordless like typical, not sure when this changed. Use this https://www.reddit.com/r/Qubes/comments/e39r8l/ubuntu_1804_lts_template_password/ dom0 terminal (change xenial desktop and newpassword) qvm-run -a --user root xenial-desktop "echo \"user:newpassword\"|chpasswd" dom0 terminal qvm-run -a --user root xenial-desktop "sudo usermod -a -G sudo user" shutdown your xenial-desktop and now try sudo apt update
  21. To use sudo https://www.qubes-os.org/doc/templates/minimal/ example in dom0 qvm-run -u root <vm-name> xterm like qvm-run -u root denarius-crypto xterm
  22. Stalling out on make qubes-vm? make: *** [Makefile:227: app-linux-pdf-converter-vm] Error 1 I had an issue with this package not working so I removed it like this. https://github.com/QubesOS/qubes-app-linux-pdf-converter cd qubes-src rm -rf app-linux-pdf-converter cd .. make qubes-vm make template
  23. More massive updates all around, dPi is now Kronos. Kronos now uses Socket.io to perform dynamic data updates on the dashboard and other pages. This is a work in progress still, so let me know if you have any issues! I recommend a fresh install now with the new rebranding.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
├Ś
├Ś
  • Create New...