I have started to put together a bash rpc thingamabob together.
https://github.com/buzzkillb/bash-denariusrpcThe goal is to get most of the curl RPC commands working through the Denarius wallet. For now I got the listunspent, create sign and send raw transactions to work with the deduster in the examples directory. Also a basic fortunastake / masternode monitor that can restart from the collateral wallet if the FS/MN drops off.
Whos buzzing huh? Lets cut that off and do something thats gonna be appreciated. Remove doubt from equation of ur life. Treat your issues with a smirk on your big gremlin face as if you judge yourself from the inside of your auxiliary personality. Big lapses you would do when you stop crouching. Working on the wallet was something you started with. Now its your choice to decide whether you wanna circle back to your wallet or hit really big.
Carsen is the Denarius creator. I am just learning more about how cryptocurrencies work, which is why I was making the bash-rpc thing, as anyone can do a lot of wallet control with that on any bitcoin fork.
As to the wallet being worked on, here is a visualization of that, and who has done what.
https://youtu.be/BPr33qspOM0To wrap that up, Denarius is still chugging away at new and innovative features, which may have a larger impact than anyone realizes in this space. Oh yeah I am not Carsen, blockstream.
How I inserted letsencrypt certbot standalone keys into docker electrumx server.
https://blockforums.org/topic/282-electrumx-server-setup-guide-docker/?do=findComment&comment=3116Too much to retype but basically you tell docker to look for the generated keys instead of using self signed.
docker run \
--name=electrumx \
--net=host \
--ulimit nofile=5120:5120 \
-t -d \
-v ~/electrumx:/data \
-e DAEMON_URL=http://rpcusername:
[email protected]:32369 \
-e COIN=Denarius \
-e DB_ENGINE=rocksdb \
-v /etc/letsencrypt/live/electrumx1.denarius.pro/fullchain.pem:/data/fullchain.pem \
-v /etc/letsencrypt/live/electrumx1.denarius.pro/privkey.pem:/data/privkey.pem \
-e SSL_CERTFILE=/data/fullchain.pem \
-e SSL_KEYFILE=/data/privkey.pem \
-e REPORT_SERVICES=ssl://electrumx1.denarius.pro:50002 \
-e SERVICES=tcp://:50001,ssl://:50002,wss://:50004,rpc:// \
-p 50001:50001 \
-p 50002:50002 \
buzzkillb/docker-electrumx:latest
Again a huge thank you to Luke Childs for making this docker.
edit: use latest tag
edit2: report_services the TLS connection and also add services to environmental variable
I will retype this out fully on here once I get the basic concept working completely. The idea is to first use just bash script to talk to an electrumx server. I don't want to run a wallet as my only device will eventually be a pi zero w for cheapest wallet control possible. The initial steps explain how to convert an Address into scripthash and then get a balance from an electrumx server. Might be interesting to anyone wondering how to work the steps backwards at the most basic way possible. Next to see how to create a rawtx from what I can pull off the server.
https://blockforums.org/topic/367-bash-client-to-electrumx-server-welcome-to-the-beginning/
joe@exor was kind enough to update his generic seeder to work with Denarius. Here's his thread
https://bitcointalksearch.org/topic/dns-seeder-setup-guide-using-the-generic-seeder-5239304 and here is how I set it up
https://blockforums.org/topic/368-generic-seeder-dns-seeds/[moderator's note: consecutive posts merged]