Jump to content

Search the Community

Showing results for tags 'denarius'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • BlockForums Announcements
    • Denarius Announcements
    • Kronos Wallet Announcements
    • The Crypto News Feed
  • Cryptocurrency Discussions
    • Cryptocurrencies
    • Altcoin Announcements
    • General Discussion
    • Tutorials & Help
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
  • Programming & Design
    • Development QA
    • Design QA
  • Gaming
    • Bot Downloads & Discussion
    • Gaming Discussion
  • Classifieds
    • Buy Sell and Trade
  • Other Discussions
    • Element 115
    • The Lounge
    • Hardware & IoT
    • Tutorials & Guides
    • Domains & Hosting

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


BTC Address

  1. 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 some low wattage computer with more than 2gb ram. #Setup Collateral Wallet This will take 500 confirms before being able to start, so do the send first, then read through the guide. Send exactly 5000 D to an address and give that address a label like FS01. Script for VPS Portion Located Here This will pull master branch and compile the latest wallet. And add a cronjob to restart wallet every hour to make sure things stay in sync. https://github.com/buzzkillb/d-fortunastake QT Wallet After sending 5000 D to a labelled address, we need the following; transaction hash and index of the 5000 send, fortunastake private key, and your VPS IP address. FS01 VPSIPADDRESS:9999 FORTUNASTAKEPRIVKEY TRANSACTIONHASH INDEXNUMBER Sample fortunastake.conf FS01 11.11.12.13:9999 6J8tAUsVhXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 f08d926f92cc4c65321344828f6394f41121903502459ffde4ef7aef39e6392b 0 fortunastake private key fortunastake genkey fortunastake transaction hash and id fortunastake outputs VPS of your ip should be somewhat obvious, but this guide will instead use TOR onion address down below. You can pick a clearnet or onion address for this. After creating your fortunastake.conf, save and restart the QT wallet. Sample QT denarius.conf fsconflock=1 staking=1 Now that address has locked the 5000 D collateral. #Setup VPS Side #setup denarius user adduser denarius #input strong password usermod -aG sudo denarius Relogin to vps as denarius user #update Ubuntu sudo apt update sudo apt upgrade #Install fail2ban sudo apt install fail2ban #Install SNAP Daemon sudo apt install snapd sudo snap install denarius #Install TOR sudo apt install tor #setup TOR port for FortunaStake sudo nano /etc/tor/torrc at top add these new lines HiddenServiceDir /var/lib/tor/hidden_denarius/ HiddenServiceVersion 2 HiddenServicePort 33369 127.0.0.1:33369 HiddenServicePort 9999 127.0.0.1:9999 #restart tor service sudo service tor restart #get onion hidden service address, example -> youronionaddress.onion sudo cat /var/lib/tor/hidden_denarius/hostname #save this for denarius.conf #setup chaindata cd ~ mkdir -p ~/snap/denarius/common/.denarius cd ~/snap/denarius/common/.denarius sudo apt install unzip wget https://denarii.cloud/chaindata.zip unzip chaindata.zip #Run denarius daemon to prepopulate the denarius.conf in this directory and start syncing from chaindata block height denarius.daemon #give it about 5 minutes to load and stop daemon to reconfigure denarius.conf denarius.daemon stop #update denarius.conf with the settings below nano denarius.conf Add below port=9999 fortunastake=1 listen=1 externalip=youronionaddress.onion fortunastakeaddr=youronionaddress.onion:9999 fortunastakeprivkey=yourfortunastakegenkey tor=127.0.0.1:9050 #Start your VPS Snap Daemon denarius.daemon #Start FortunaStake from your QT Collateral Wallet #go to debug console fortunastake start-alias FS01 #check this is started on the VPS daemon cd ~/snap/denarius/common/.denarius tail -f debug.log Welcome to collecting 33% of block rewards randomly through the day
  2. Simply navigate to your "Internet" settings in your Unifi Network Controller, select DNS Servers and enter in 107.172.214.168 and 192.3.62.20
  3. Denarius Announces Beta of Kronos Wallet and Chat FOR IMMEDIATE RELEASE “Blockchains like Bitcoin and Ethereum have paved the way of innovation for cryptocurrencies and new applications like Denarius (D): Kronos, to bridge the gap for a faster and cheaper way to transact and utilize cryptocurrency.” Kronos, a new application beta from the developers of Denarius (D), provides people a way to socialize and transact without a central authority. This new proof of concept takes decentralization, blockchain, and privacy to the next level. “Users” are able to freely join the Kronos Chat platform, as it is redundantly available due to it using peer-to-peer technology. Kronos has no downtime or possible banning of the platform. Examples of this in current history include, Amazon Web Services (AWS) taking down the Parler app’s platform hosting. Google Play Store and Apple App Store removing the Parler application. Signal being taken offline. Whatsapp invasion of privacy...The list goes on. Kronos is a secure cryptocurrency wallet but also chat reinvented. With the Kronos Chat you can chat and send cryptocurrency across the world in seconds. End-to-end encrypted messages and no storage of your chats, anywhere. Kronos Chat is powered by YOU by leveraging the latest peer-to-peer technologies. Censorship is everywhere and increasing daily. Kronos Wallet allows you to be truly free, with “self-moderation” YOU finally have the power to choose your own censorship while you socialize. Kronos stores only required data securely and locally, not on an unknown centralized server in the cloud. Kronos supports optional Two Factor Authentication (2FA) and One-time Password (OTP) Yubikey authentication and uses BIP39 technology for your cryptocurrency wallet with the most advanced and leading encryption technologies available today. Bitcoin was the first cryptocurrency to solve the Byzantine Generals Problem, but transactions are slow. Ethereum created a smart contract platform, but transaction fees are expensive. Denarius stayed true to its roots by forking the original Bitcoin Satoshi code and modified the coin to become a faster and cheaper alternative to Bitcoin. Now Denarius with Kronos changes things. BTC, ETH, and D coins can be sent using the Kronos Wallet with more cryptocurrencies and tokens being added soon, possibly USDC, USDT, Namecoin (NMC), Devault (DVT), Primecoin (XPM), etc. Interplanetary File System (IPFS) integration and file uploading directly inside of the Kronos Chat also allows the user to upload files such as documents, images, and media directly inside of Kronos, ready to be shared via the plethora of IPFS public gateways available. Honorable Mentions Bitcoin by Satoshi Nakamoto Ethereum by Vitalik Buterin Denarius by Carsen Klock For more information Kronos Wallet: https://kronoswallet.com Denarius (D): https://denarius.io Bitcoin (BTC): https://bitcoin.org Ethereum (ETH): https://ethereum.org IPFS: https://ipfs.io Press Contact [email protected] -30-
  4. How you can fetch cryptocurrency price data with Javascript/JQuery <div id="dprice"></div> <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <script> fetch('https://api.coingecko.com/api/v3/coins/denarius?tickers=true&market_data=true&community_data=true&developer_data=true&sparkline=false') .then((response) => { return response.text(); }) .then((myContent) => { var market = JSON.parse(myContent); var info = market["market_data"]["current_price"]["usd"]; document.getElementById('dprice').innerHTML = info; }); </script> Simply put this code into any HTML file, the script goes at the bottom of your HTML. This example fetches the Denarius (D) price from Coingecko's API
  5. Post your best Denarius (D) memes here, winner will be picked on 12/20/2020 and will receive a nice Santa Surprise just in time for Christmas. So drop your Denarius address as well!
  6. Denarius.io IPFS Public Gateway https://denarius.io now features an IPFS Gateway to the public. It will be updated and maintained, it is still being setup in a happy place, so please bare with us until it is stable. You can access any IPFS Hash or IPNS via the following denarius.io domain: https://ipfs.denarius.io IPFS Hashes: https://ipfs.denarius.io/ipfs/<hashgoeshere> IPNS Names: https://ipfs.denarius.io/ipns/<ipnsdomainorhash> Example of using the Denarius.io IPFS Gateway with an IPFS Hash of an image: https://ipfs.denarius.io/ipfs/QmXvTHKmPhUH55ZAL8e7yBRCcrts65RPxD2UJ3mzCLvLDR Example of using the Denarius.io IPFS Gateway with an IPNS domain https://ipfs.denarius.io/ipns/pos.watch
  7. The idea is to run the blocknet daemon as your main wallet daemon (like a masternode), and have that setup to talk to your other wallet daemons. For example blocknet daemon will be setup with XBridge for the native Wallet to native Wallet atomic swaps. If someone wants to atomic swap between Block and Litecoin they will need a service node running the Block and Litecoin daemons. If someone wants to atomic swap between Litecoin and Denarius they will need a service node running Litecoin and Denarius daemons. Once finished you will be running a Block service node with XBridge and Enterprise XRouter all behind a Cloudflare tls/ssl proxy. WORK IN PROGRESS! The setup will require Blocknet Daemon Litecoin Daemon Denarius Daemon Free Cloudflare Account (Enterprise XRouter) Domain Name (Enterprise XRouter) I would suggest running Block and Litecoin at the very least for a service node. The goal is to show the main Block service node setup with XBridge and XRouter, grabbing the Litecoin Binary, and compiling Denarius daemon binary. To find sample xbridge.conf for your coin https://github.com/blocknetdx/blockchain-configuration-files/tree/master/xbridge-confs To find sample coin.conf for your coin https://github.com/blocknetdx/blockchain-configuration-files/tree/master/wallet-confs Prepare VPS/VM install ufw install fail2ban setup user blockhead remove root login and password logins setup ssh keys - Windows 10 - https://blockforums.org/topic/448-how-to-setup-block-service-node-xbridge-and-enterprise-xrouter/?do=findComment&comment=3434 Setup Block Go to github to find your binary, this will change as new wallets release over time. https://github.com/blocknetdx/blocknet Releases and then find your OS type, x86_64 Download the binary by right clicking the one you want and copy link and put into the wget command. wget https://github.com/blocknetdx/blocknet/releases/download/v4.3.1/blocknet-4.3.1-x86_64-linux-gnu.tar.gz untar binary tar xzvf blocknet-4.3.1-x86_64-linux-gnu.tar.gz copy to /usr/local/bin (maybe? not sure) adjust blocknet.conf nano ~/.blocknet/blocknet.conf To save your file ctrl+o, or I just ctrl+x to save and exit nano. Sample blocknet.conf server=1 listen=1 rpcuser=blocknetuser rpcpassword=decentlystrongpassword rpcallowip=127.0.0.1 port=41412 rpcport=41414 txindex=1 daemon=1 enableexchange=1 servicenode=1 rpcthreads=8 xrouter=1 run daemon and sync cd blocknet-4.3.1-x86_64-linux-gnu cd bin ./blocknetd to stop daemon ./blocknet-cli stop Setup crontab so blocknet will run on reboot crontab -e Add this line to the bottom for reboot, notice I am leaving the binary in its untarred directory. blockhead is the username we chose from above. @reboot /home/blockhead/blocknet-4.3.1/bin/blocknetd Setup Litecoin wget binary unzip binary move to /usr/local/bin adjust .conf run daemon and sync Setup Denarius install snap adjust .conf run daemon and sync edit Block XBridge conf, we will add BLOCK, LTC, and D. nano ~/.blocknet/xbridge.conf Sample xbridge.conf [Main] ExchangeWallets=BLOCK,LTC,D FullLog=true LogPath= ExchangeTax=300 ShowAllOrders=false [BLOCK] Title=Blocknet Ip=127.0.0.1 Username=blocknetuser Password=decentlystrongpassword Port=41414 AddressPrefix=26 ScriptPrefix=28 SecretPrefix=154 COIN=100000000 MinimumAmount=0 TxVersion=1 DustAmount=0 CreateTxMethod=BTC GetNewKeySupported=true ImportWithNoScanSupported=true MinTxFee=10000 BlockTime=60 FeePerByte=20 Confirmations=0 Address= TxWithTimeField=false LockCoinsSupported=false JSONVersion= ContentType= CashAddrPrefix= [LTC] Title=Litecoin Address= Ip=127.0.0.1 Port=9332 Username=litecoinuser Password=Password=decentlystrongpassword AddressPrefix=48 ScriptPrefix=50 SecretPrefix=176 COIN=100000000 MinimumAmount=0 DustAmount=0 CreateTxMethod=BTC GetNewKeySupported=true ImportWithNoScanSupported=true FeePerByte=10 MinTxFee=5000 TxVersion=2 BlockTime=150 Confirmations=0 TxWithTimeField=false LockCoinsSupported=false JSONVersion= ContentType= CashAddrPrefix= [D] Title=Denarius Ip=127.0.0.1 Port=32369 AddressPrefix=30 ScriptPrefix=90 SecretPrefix=158 COIN=100000000 MinimumAmount=0 TxVersion=1 DustAmount=0 CreateTxMethod=BTC GetNewKeySupported=true ImportWithNoScanSupported=true MinTxFee=2000 BlockTime=30 FeePerByte=5 Confirmations=0 Username=denariususer Password=decentlystrongpassword Address= TxWithTimeField=true LockCoinsSupported=false JSONVersion= ContentType= CashAddrPrefix= edit Block XRouter.conf nano ~/.blocknet/xrouter.conf Sample xrouter.conf [Main] #! host is a mandatory field, this tells the XRouter network how to find your node. #! DNS and ip addresses are acceptable values. #! host=mynode.example.com #! host=208.67.222.222 host=api.denarius.pro wallets=BLOCK,LTC,D plugins=0 fee=0 #! port is the tcpip port on the host that accepts xrouter connections. #! port will default to the default blockchain port (e.g. 41412), examples: #! port=41412 #! port=80 #! port=8080 port=80 #! tls signals to the xrouter network that your endpoint supports TLS/SSL connections. #! The default is 0 (false). #! tls=1 tls=1 #! maxfee is the maximum fee (in BLOCK) you're willing to pay on a single xrouter call #! 0 means you only want free calls maxfee=0 #! consensus is the minimum number of nodes you want your xrouter calls to query (1 or more) #! Paid calls will send a payment to each selected service node. consensus=1 #! timeout is the maximum time in seconds you're willing to wait for an XRouter response timeout=30 #! Optionally set per-call config options: #! [xrGetBlockCount] #! maxfee=0.01 #! [BLOCK::xrGetBlockCount] #! maxfee=0.01 #! [SYS::xrGetBlockCount] #! maxfee=0.01 #! It's possible to set config options for Custom XRouter services #! [xrs::GetBestBlockHashBTC] #! maxfee=0.1 #! Plugin help documentation can be set here as well as in the plugin conf. #! [xrs::ExampleRPC] #! help=The plugin documentation here. [xrGetBlockCount] fee=0.01 [xrGetBlockHash] fee=0.01 [xrGetTransaction] fee=0.1 clientrequestlimit=20 [BTC::xrGetTransactions] fee=0.5 timeout=50 fetchlimit=20 [BTC::xrGetBlocks] fee=0.3 timeout=30 fetchlimit=20 [xrGetBlocks] disabled=1 fetchlimit=50 Once done you want to reload everything. I setup a simple bash script in the blocknet-releasenumber/bin folder called pingping.sh. Example folder cd ~/blocknet-4.3.1/bin/ nano pingping.sh sample pingping.sh #!/bin/bash printf "reload xbridge\n" ./blocknet-cli dxLoadXBridgeConf printf "reload xrouter\n" ./blocknet-cli xrReloadConfigs printf "list tokens\n" ./blocknet-cli dxGetLocalTokens printf "XrStatus\n" ./blocknet-cli xrStatus printf "send service node ping\n" ./blocknet-cli servicenodesendping chmod the file to allow execution and run chmod +x pingping.sh ./pingping.sh If all of the above worked should see something like this at the end for every coin you are running. "status": "running", "services": [ "BLOCK", "BTC", "D", "DASH", "DGB", "DOGE", "DVT", "LTC", "MONA", "PHR", "RVN", "XSN", "XVG", "XZC", "xr", "xr::BLOCK", "xr::BTC", "xr::D", "xr::DASH", "xr::DGB", "xr::DOGE", "xr::DVT", "xr::LTC", "xr::MONA", "xr::PHR", "xr::RVN", "xr::XSN", "xr::XVG", "xr::XZC" ] setup Enterprise XRouter xrproxy docker
  8. So I just wanted to post some random thoughts about the new upcoming Apple Macbook Air, Macbook Pro, and Mac Mini with the new Apple M1 Chips and development around them. Denarius (D) is written in C and C++ and is currently able to compile on ARMv7 (ARM64) chips on the Raspberry Pi 4s and other devices. -Workflow to port to Apple's M1 -> Nothing, Denarius should compile just fine on the new M1 ARMv8 chips comparing to previous compiles on the ARMv7 chips on currently available ARM SoCs Kronos is written in Javascript/NodeJS/Electron and is currently able to compile on ARMv7 (ARM64) chips on the Raspberry Pi 4s and other devices. -Workflow to port to Apple's M1 -> Upgrade Electron dep versioning, Electron v11 Beta seems to support the new Apple M1 Chip and ARM architecture. Random thoughts: Seems VS Code Insider releases now support the Apple M1 chip.
  9. Denarius v3.3.9.8 Mandatory Update! Denarius Release Notes: Protocol Bump to 33933 (All nodes will need to update) Jupiter IPFS now has PeerID and PubKey Support (If using jupiterlocal=1) Include Vout TX Hex Data with asm in Transactions Added Transaction Sizes to RPC Update to FortunaStakes Improved FS Status Information Updated getinfo and other RPC Commands to return more information Updated other RPC commands for use with Kronos (https://github.com/carsenk/kronos) Added burn RPC command (Credits to @CircuitBreaker88) New EUR Balance in QT Overview (Credits to @CircuitBreaker88) Random updates, fixes, and improvements to Denarius overall Credits to @buzzkillb for being so kind and hosting our chaindata at https://denarii.cloud If you are running Denarius via Snap, Snap will automatically upgrade you, simply restart your Denarius node and verify you are running version 3.3.9.8 Latest version is available in our master branch on the Github Get v3.3.9.8 for Windows and macOS: https://github.com/carsenk/denarius/releases/tag/v3.3.9.8 This includes updates to D that improve it for use with its new secondary interface Kronos https://github.com/carsenk/kronos
  10. Follow the guide to install conky here https://linuxconfig.org/ubuntu-20-04-system-monitoring-with-conky-widgets Once finished go to my github https://github.com/buzzkillb/conky-denarius and grab the .conkyrc and conky.sh files. Overwrite .conkyrc from the guide and change where you are going to store the conky.sh file. Also can grab a Denarius logo from somewhere and throw that into a folder too. In conky.sh change the rpc user/password to match up to your wallet. This is a simple example to add some basic Denarius stats.
  11. 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
  12. Denarius's genesis block was created 3 years ago today (6/14/2017). Happy 3 years old Denarius and thank you to everyone for your support of D over the years! Register here on BlockForums.org and make a post in this thread saying how you found Denarius (D) with your Denarius address and receive 1.0 D and 100 BF$!
  13. This Guide will allow you to connect to a tightVNCserver on Ubuntu 20.04 with no monitor or keyboard attached to the Server. The problem i was having prior to this was it previously needed a monitor plugged in - in order for the mouse and keyboard to work. This is the work around. - First of all you want to set a Static IP Address on your Ubuntu 20.04 in netowrk settings - Head to Settings/Sharing and enable the Sharing switch at the top of the screen. You will want to click on 'Screen Sharing' , again enabling the switch, allowing connections to control the screen. Click 'Require a Password' button and enter a password. Select the netowork you wish to use. - Head to the terminal and enter these commands below sudo apt update sudo apt upgrade sudo apt install xfce4 xfce4-goodies tightvncserver - You want to select gdm3 vncserver - Here enter a password, and select no to view only vncserver -kill :1 gsettings set org.gnome.Vino require-encryption false - This will disable encryption over the connection so remember not to use it for anything of importance sudo apt-get install xserver-xorg-video-dummy - This next line tricks the server to think there is a monitor attached. sudo nano /etc/X11/xorg.conf - Here you want to edit the xorg.conf and add all the below code into the file. Ctrl-X and Y to save. If the file doesnt exist, create it. Section "Device" Identifier "Configured Video Device" Driver "dummy" EndSection Section "Monitor" Identifier "Configured Monitor" HorizSync 31.5-48.5 VertRefresh 50-70 EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1080" EndSubSection EndSection reboot - Reboot the server and once Ubuntu has started you can go into your VNC Viewer in Windows and create a new connection to connect to the server. You should be able to remove the HDMI lead for the monitor and any keyboard / mouse and remote into it with full use of the remote mouse/keyboard with full native Desktop.
  14. KRONOS Kronos (Originally Denarius Pi - dPi) is a AIO interface/wallet for Denarius. Kronos was originally built with the intention of running it and installing it on Raspberry Pi Ubuntu systems, but now can be used mostly for all Linux distros. It is recommended to have at least 2GB of RAM to install and run Kronos (It also runs a Denarius node). Please go to the last page of this thread for updated information. Kronos has progressed massively overtime and this information can be out-of-date and deprecated. Features: Send and Receive D Denarius Addresses with P2PK and P2PKH scripthashed balances Import and Export Private Keys View Transactions Terminal (Access your terminal for advanced use or restarting your Denarius node manually) Generate Minikeys Convert Minkeys Encrypted Local LevelDB 24 Word Seed Phrases Block Explorer (View Addresses, Transactions, and Blocks) Stake your Denarius Monitor your configured FortunaStakes Verify Denarius Messages Sign Denarius Messages Backup Wallet Send Raw Transactions View Current OS Enviroment Statistics like CPU and Memory Usage Runs on local network by default, so great for running on a local Pi or Linux box and then accessing it from your phone or other computer, can also run it locally if viewing with a monitor on a Pi or Linux box. More Coming Soon How to Install: Run one of these commands depending on your flavor of Linux! wget -qO- https://raw.githubusercontent.com/carsenk/kronos/master/installkronos.sh | bash or curl -o- https://raw.githubusercontent.com/carsenk/kronos/master/installkronos.sh | bash Github: https://github.com/carsenk/kronos Screenshot of Kronos: Screenshots when this all started (dPi): More information and list of features will be coming soon! Stay tuned! It will be a one liner install script to run.
  15. Trying out posting staking stats using only https://denarius.pro screenshots. Probably will switch this up to include most everything else and get a little more in depth. Staking has a pretty high weight the last few days. https://medium.com/@realcryptobuzzb/d-staking-stats-may-27-2020-5fed4523e6b8?sk=ba5378d9857563edf67c1d7e6d8e75ea
  16. Been wondering how to make use of the electrumx server, but in bash. First I needed to connect to the electrumx server. #!/bin/bash echo "get block header" (echo '{"method" : "blockchain.block.header", "params": ["1"], "id": "msg_id"}'; sleep 1) | ncat --ssl electrumx1.denarius.pro 50002 This outputs. block header {"jsonrpc": "2.0", "result": "06000000cd8f82c4c28201fd89def0dba541d66432bff9c1bb16fc1c6201dabb5d0d0000e4abd1522f390c5a2b83add7c8d29b875e1e0691dc43267f0406e9ddfea329c76ab74159ffff0f1e000d8425", "id": "msg_id"} So now to get a balance. The thing with electrumx server is that you need a scripthash to call any address functions. But I don't have that. All I have is a bash terminal and a Denarius address. So what do I do? Line by line dissect how people create an address and then work backwards to the scripthash. I need this image, but down to up. source: https://learnmeabitcoin.com/guide/p2pkh This is not so easy as I can't find anyone doing this backwards in bash. But I found lots of posts how to go forwards. Here is how to get it before converting to big endian. #!/bin/bash . denarius.sh #DUP HASH160 begin="76A914" echo $begin #EQUALVERIFY CHECKSIG end="88AC" echo $end echo "decodeBase58" decoded="$(decodeBase58 DCMRvR6MUppPgP8vrMKuni4FL5de8SjicG)" echo "Remove 00 bytes" echo ${decoded#??} removefront=$(echo "${decoded#??}") echo $removefront echo "Remove checksum" removeback=$(echo "${removefront%????????}") echo "95 characters base58" echo $removeback echo "now what?" echo $begin$removeback$end echo "convert to scripthash" echo -n $begin$removeback$end | xxd -r -p | sha256sum | cut -d' ' -f1 scripthash=$(echo -n $begin$removeback$end | xxd -r -p | sha256sum | cut -d' ' -f1) echo $scripthash Will also need grondilu bitcoin-bash-tools. https://github.com/grondilu/bitcoin-bash-tools Get the bitcoin.sh and throw that into the same directory you are going to test this out in, for obvious reasons I renamed bitcoin.sh to denarius.sh. First I am assuming a standard P2PKH address with OP_DUP OP_HASH160 hashedpublickey OP_EQUALVERIFY OP_CHECKSIG #DUP HASH160 begin="76A914" echo $begin #EQUALVERIFY CHECKSIG end="88AC" echo $end Then decodeBase58 of our Denarius address, works on bitcoin obviously. echo "decodeBase58" decoded="$(decodeBase58 DCMRvR6MUppPgP8vrMKuni4FL5de8SjicG)" Then remove 00 bytes from the front of this. The #?? removes 2 characters from the left of a string. echo "Remove 00 bytes" echo ${decoded#??} removefront=$(echo "${decoded#??}") echo $removefront Now remove the checksum. The %???????? removes 8 characters from the right of the string. echo "Remove checksum" removeback=$(echo "${removefront%????????}") echo "95 characters base58" echo $removeback Now what? How to convert to scripthash? We can echo the the uncompressed public key, kind of. echo "now what?" echo $begin$removeback$end echo "convert to scripthash" sha256 this in proper format, using xxd and then sha256 that. echo -n $begin$removeback$end | xxd -r -p | sha256sum | cut -d' ' -f1 scripthash=$(echo -n $begin$removeback$end | xxd -r -p | sha256sum | cut -d' ' -f1) echo $scripthash At the end from that address I get. 3735fe8239322122222f8a8f42d9b6545bc517e2086116e57953fdc9cc7f6115 For now I have a separate function I found to convert to big endian, since electrumx server wants it this way. source: https://electrumx.readthedocs.io/en/latest/protocol-basics.html#script-hashes #!/bin/bash #echo 6191c3b590bfcfa0475e877c302da1e323497acf3b42c08d8fa28e364edf018b | ./bigendian.sh #8b01df4e368ea28f8dc0423bcf7a4923e3a12d307c875e47a0cfbf90b5c39161 # check stdin if [ -t 0 ]; then exit; fi v=`cat /dev/stdin` i=${#v} while [ $i -gt 0 ] do i=$[$i-2] echo -n ${v:$i:2} done echo I run this like echo 3735fe8239322122222f8a8f42d9b6545bc517e2086116e57953fdc9cc7f6115 | ./bigendian.sh and get the scripthash electrumx server wants 15617fccc9fd5379e5166108e217c55b54b6d9428f8a2f222221323982fe3537 Like bash magic we can use that scripthash to talk to the electrumx server to get a balance. #!/bin/bash echo "get balance" (echo '{"method" : "blockchain.scripthash.get_balance", "params": ["15617fccc9fd5379e5166108e217c55b54b6d9428f8a2f222221323982fe3537"], "id": "msg_id"}'; sleep 1) | ncat --ssl electrumx1.denarius.pro 50002 And we get the balance. get balance {"jsonrpc": "2.0", "result": {"confirmed": 125740854, "unconfirmed": 0}, "id": "msg_id"} And a large step forward in creating a basic terminal wallet for any device that can use bash, ncat and has port 50002 open.
  17. How to compile carsen's fork of BEAM to test atomic swaps. Using a Ubuntu 20.04 Focal VM. sudo apt install qml-module-qtquick-controls2 libqt5svg5-dev libboost-all-dev libssl-dev qtdeclarative5-dev sudo apt install build-essential curl wget unzip zlib1g-dev apt-transport-https libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev libcurl4-openssl-dev libssl-dev libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default qtbase5-dev-tools qml-module-qtquick-controls2 libqt5svg5-dev qtdeclarative5-dev golang go-dep sudo apt-get install qml-module-qt* sudo apt install qml-module-qtquick-controls sudo apt install qml-module-qtquick-dialogs sudo apt-get install qt511quick* qt511graphicaleffects sudo snap install cmake git clone https://github.com/carsenk/beam Compile wallet cd ~/beam cmake -DCMAKE_BUILD_TYPE=Release . && make -j2 After compile go to directory and run QT wallet cd /beam/ui ./BeamWalletMasternet Setup the BEAM wallet with password and copy generated seed down. Go to the GEAR icon, then SWAP tab to setup Denarius Click on Electrum to turn that on and leave Select server automatically checkmarked. Then click Apply -> Connect -> Show wallet addresses You can now send Denarius in. From this point its unclear how to send out. Also unknown if the BIP39 seed phrase is correct, as it would be great if we could throw this Denarius generated seed phrase into Coinomi. I couldn't get this idea to work yet. After sending in, go to the ATOM Icon and see your Denarius ready to swap.
  18. PR is in the works to make Denarius and Beam Atomic swaps possible in the Beam wallet. You can start building it to test the atomic swaps via electrum and or the native D wallet. You only will need the Beam wallet though if using electrum. Beam building guide coming soon that adds onto their documentation and new atomic swap guides. https://github.com/BeamMW/beam/pull/1303 Â
  19. Buying 100m OSRS 2007 for $0.50 per mill. Payment in D or BTC
  20. What is the best mining OS you recommend? I personally like HiveOS -Â https://hiveos.farmÂ
  21. How to Install Snap and Denarius (D) on any Chromebook (ChromeOS) Guide by Carsen Klock First you need to install/enable Linux (Beta) aka Crostini within your ChromeOS Settings. You will be running the following commands in the default Linux (Beta) terminal within ChromeOS to get a full working install of https://snapcraft.io (Snap/Snapd) on ChromeOS with Denarius installed via Snap. Update and Upgrade your Linux (Beta) aka. Debian 9 Stretch by default as of this guides writing: sudo apt update && sudo apt upgrade Now you need to install some dependencies and tools that we will be using: sudo apt install git wget curl build-essential automake libtool autoconf pkg-config udev fuse snap snapd --------------------------------------------------------------------------------------------- Now you will need to install libsquashfuse0 and squashfuse, you can manually compile these and link them, but for ease of use, you can just install their respective .deb packages for your ChromeOS Architecture, Snap will be installed at this point, but it will not successfully mount and install any Snaps until you have libsquashfuse0 and squashfuse packages installed and linked. ARM64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/libsquashfuse0_0.1.103-1_arm64.deb AMD64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/libsquashfuse0_0.1.103-1_amd64.deb Now after downloading the proper libsquashfuse0 from one of the commands above, you want to install it with dpkg, after the -i flag (install) enter in the name of the file with the correct architecture you downloaded for your device: (ARM64 is used in the example) sudo dpkg -i libsquashfuse0_0.1.103-1_arm64.deb --------------------------------------------------------------------------------------------- Now you will want to do the same thing with the squashfuse package as libsquashfuse0 ARM64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/squashfuse_0.1.103-1_arm64.deb AMD64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/squashfuse_0.1.103-1_amd64.deb Now after downloading, the step is the same as above, run dpkg -i to install the *.deb package (ARM64 is in the example below): sudo dpkg -i squashfuse_0.1.103-1_arm64.deb If successfully done correctly, you will now have a working Snap install on ChromeOS! --------------------------------------------------------------------------------------------- Now it is time to install and run your first Snap! sudo snap install denarius It should now install without fail if you followed the commands above and used the proper architectures for your Chromebook, Now to run Denarius on your Chromebook, simply run the command: denarius.daemon You can also install the GUI Snap Store with the snap command: sudo snap install snap-store GUI support and guide will be coming soon
  22. Denarius v3.3.9.7 Changes and Features: New Denarius Jupiter Flags (-jupiterlocal=1 and -jupiterip=ipfsnodeip:port to specify a remote or locally hosted IPFS node) Default is jupiterlocal=0 and uses Infura.io APIs to connect to IPFS (sudo apt install libcurl4-openssl-dev is required as a dep now!) New proofofdata RPC Command Updated Jupiter IPFS UI in the Denarius QT New jupiterduo and jupiterduopod commands (Must have jupiterlocal flag enabled) Autocomplete in the Denarius QT Debug Window Fixes for upcoming PoW Block 3 Million. (Proof of Work rewards end) Bug Fixes Performance Updates Snap is updated as always snap refresh denarius or snap install denarius on any Linux distro and arch! Denarius-v3.3.9.7-Win64.zip SHA256 Hash: A022FEC6D9C5C4EA747A8F121E39578842803FB2CF3BA57C4798760A85906878 SHA1 Hash: 6AF62D2F684EAE99ECB27289182E6A1C9722668E CRC64 Hash: 9F8F0D998A62B44E Denarius.exe SHA256 Hash: 16F7D0D928C02878428BAB1F697128079EB08FAD3480184716EFA450B051B694 SHA1 Hash: 0BB82DA5C91327A3AF22A40213152E89EA7FA839 CRC64 Hash: 4849558F817C7921  Get the latest release from https://github.com/carsenk/denarius/releases You can also run snap update denarius or snap install denarius if on any Linux distribution
  23. Spent some time with the DNS seeders and there is very little info so I was playing with cloudflare and wondered if I could automate the DNS seeds somehow. I assume this works on any coins that has a peer list with minor tweaks. The basic idea is getpeerinfo from the daemon into a json file and then send line by line of that into an A record on your seeder domain name. I am hopeful some others will see this and have a better idea how to automate this by making it easier to setup and run on generic coin. https://github.com/buzzkillb/duct-tape-dns-seeder Make a cloudflare account and point your domain denarius.pro at the cloudflare nameservers from your domain host control panel. Now we can edit records on cloudflare and the changes are almost immediate. Cloudflare API Key is here, top right Icon -> My Profile -> View Global API Key #Install Python Cloudflare sudo apt install python-pip git clone https://github.com/cloudflare/python-cloudflare cd python-cloudflare ./setup.py build sudo ./setup.py install #Create a config file for your cloudflare API, change email and token (API KEY) mkdir ~/.cloudflare nano ~/.cloudflare/cloudflare.cfg [CloudFlare] email = <[email protected]> token = <API KEY> certtoken = v1.0-... extras = #test this works. change the ipv4 and denarius.pro to your stuff. dnsseed.denarius.pro is what my example will show. cli4 --post name="dnsseed" type="A" content="73.218.220.108" /zones/:denarius.pro/dns_records now we want to store a couple text files somewhere. you choose this for now I will use /root/ #create seed.sh and edit denarius.pro to your domain name. still using dnsseed.denarius.pro for this example. #!/bin/sh grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' "${1:?}" | while read IP do echo "$IP" cli4 --post name="dnsseed" type="A" content="$IP" /zones/:denarius.pro/dns_records done make this file executable chmod +x seed.sh now how to grab and put the ipv4's into the domain A records. denariusd daemon send peerinfo into a json file. then jq parses the json for the addr array and then we remove some junk and put that into peers.txt. From there the bash file uses regex to make the ipv4's pretty. denariusd getpeerinfo > peer.json jq '.[] | .addr' -r peer.json | sed 's/[][]//g' > peers.txt ./seed.sh peers.txt This can be updated as much as the cloudflare API limits gives. But how to remove A records and try to keep this list fresh? Lets make a delete file from python cloudflare examples. https://github.com/cloudflare/python-cloudflare/blob/master/examples/example_delete_zone_entry.py #create delete.py and chmod+x this, and then put this inside. #!/usr/bin/env python """Cloudflare API code - example""" from __future__ import print_function import os import sys import re import json import requests sys.path.insert(0, os.path.abspath('..')) import CloudFlare def main(): """Cloudflare API code - example""" try: zone_name = sys.argv[1] dns_name = sys.argv[2] except IndexError: exit('usage: example_delete_zone_entry.py zone dns_record') cf = CloudFlare.CloudFlare() # grab the zone identifier try: params = {'name':zone_name} zones = cf.zones.get(params=params) except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones %d %s - api call failed' % (e, e)) except Exception as e: exit('/zones.get - %s - api call failed' % (e)) if len(zones) == 0: exit('/zones.get - %s - zone not found' % (zone_name)) if len(zones) != 1: exit('/zones.get - %s - api call returned %d items' % (zone_name, len(zones))) zone = zones[0] zone_id = zone['id'] zone_name = zone['name'] print('ZONE:', zone_id, zone_name) try: params = {'name':dns_name + '.' + zone_name} dns_records = cf.zones.dns_records.get(zone_id, params=params) except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones/dns_records %s - %d %s - api call failed' % (dns_name, e, e)) found = False for dns_record in dns_records: dns_record_id = dns_record['id'] dns_record_name = dns_record['name'] dns_record_type = dns_record['type'] dns_record_value = dns_record['content'] print('DNS RECORD:', dns_record_id, dns_record_name, dns_record_type, dns_record_value) try: dns_record = cf.zones.dns_records.delete(zone_id, dns_record_id) print('DELETED') except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones.dns_records.delete %s - %d %s - api call failed' % (dns_name, e, e)) found = True if not found: print('RECORD NOT FOUND') exit(0) if __name__ == '__main__': main() to run the deleter, and it appears this only deletes 10-15 records at a time, so you might need to run this 5 times before sending a fresh list. This is only deleting records from dnsseed.denarius.pro. Nothing else on denarius.pro. Magical. ./delete.py denarius.pro dnsseed Right now I am trying to think how frequent to send new ip's and delete the list and start over. Once I get that down I will post a sample cronjob to use. Otherwise this should work with basically any bitcoin fork daemon, maybe minor tweaks. I also need a better regex to parse ipv6 so we can also make some on the fly AAAA records. Use the github as that shows the crontab for adding and deleting the A records
  24. How to compile Denarius (D) on macOS Mojave 10.14 By Carsen K First download Xcode from the App Store (v10.x) Install Xcode Command Line Tools via your Terminal: sudo xcode-select --install Accept Xcode License sudo xcodebuild -license Type agree after hitting space to get to the end -------------------------------------------------------- Download Qt 5.3.2 from:Â https://download.qt.io/archive/qt/5.3/5.3.2/qt-opensource-mac-x64-clang-5.3.2.dmg Install Qt and Qt Creator from this dmg (no need to install source files) Now in your default_pre.prf file inside your Qt 5.3.2 install change the following lines Example Location: Qt_install_folder/5.3.2/5.3/clang_64/mkspecs/features/mac/default_pre.prf REPLACE: isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))) WITH: isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))) Sometimes you just need to comment out line 16 the line below this (#error()) for Qt to recognize Xcode -------------------------------------------------------- Then download MacPorts from:Â https://www.macports.org/install.php Once installed run the following command in your Terminal to install all required Denarius dependancies. sudo port install boost db48 qrencode libevent miniupnpc openssl git Now you are almost ready to compile! -------------------------------------------------------- git clone https://github.com/carsenk/denarius cd denarius Now inside your denarius-qt.pro on line 14, replace the current QMAKE_CXXFLAGS with: QMAKE_CXXFLAGS += -fpermissive -Wno-literal-suffix -stdlib=libc++ Run this command in your terminal session with the denarius folder open, replace your username with your username or the entire path below with your correct QT location. export PATH=$PATH:/Users/<yourname>/Qt5.3.2/5.3/clang_64/bin Run qmake --version which should return Qt 5.3.2 You can now compile Denarius with the usual commands qmake "USE_UPNP=1" "USE_QRCODE=1" denarius-qt.pro make -j4 After compiling you can create a .dmg installer by running this command in the denarius root (you must have Python 2.7 installed, can be installed via MacPorts) sudo python contrib/macdeploy/macdeployqtplus Denarius.app -dmg You have successfully compiled Denarius on macOS!
  25. I have found it much faster to use the internal QT Wallet block explorer to find the FortunaStake outputs on the initial 5000 D collateral send. After sending, wait for 1 confirm. Go to the transaction tab, right click the transaction, then Copy Transaction ID. Then go to the Block Explorer tab. Paste the transaction ID from above into the Transaction ID and then click Decode Transaction. Under Outputs you will see the 5000 D output. The first line is output 0 and the second line is output 1. A sendmany you can have 0 through whatever number. The example below is using that transaction ID and output 0. Â
×
×
  • Create New...