I've had a weird idea today. If we have boinctui, why doesn't exists a text based wallet? (or any wrapper/GUI/TUI for the grc daemon ???)
I have used boinctui previously, and I really like it. I can use all Boinc functionality from my terminal in a very comfortable way.
I must use intensely the gridcoin headless daemon soon, to test some of my projects. And... It's absolutely not so comfortable.
For example, to get some very basic infos, you must type:
gridcoinresearchd getinfo
And you will get this output:
{
"version" : "v3.7.8.0-g3ffccdb10-dirty",
"minor_version" : 317,
"protocolversion" : 180323,
"walletversion" : 60000,
"balance" : X,
"newmint" : 0.00000000,
"stake" : 0.00000000,
"blocks" : 1182645,
"timeoffset" : -261,
"moneysupply" : 401690858.42349702,
"connections" : 32,
"proxy" : "",
"ip" : "xx.xx.xx.xx",
"difficulty" : {
"proof-of-work" : 8.23948943,
"proof-of-stake" : 0.71586962
},
"testnet" : false,
"keypoololdest" : 1516466905,
"keypoolsize" : 101,
"paytxfee" : 0.00010000,
"mininput" : 0.00000000,
"errors" : ""
}
This is very easily parseable by programs/scripts, but it's much harder to read as a human.
So I decided to make some Text based User Interface for the command line wallet. :D
After dinner I started the work. (Haha, absolutely no work was here, it was so funny to do this weird thingy :D I just played around like a child :D :D)
I've created a bash script with some minimal design.
It doesn't do any special thing yet. I was just playing only with the styling today. But it's just a few lines of code to fetch the real datas from the headless daemon, and put it to the screen. I must keep some "work" for tomorrow too :D
Finally I'll will be able to see when my wallet staked, and when I received/sent payments... easily... and in a human-friendly format :)
Oh, almost forgot. All projects must have some extra functionalities. So let's see, what will the final version offer to you:
- responsive design (resizable terminal window)
- localization support (for endless number of languages)
- mouse support
- configurable colors
- list transactions
- send grc
If you want to try it, you can download the project from github:
https://github.com/Deybacsi/grctui
Please don't take all this project too seriously, don't ask why it wasn't developed in some 'normal' & fancy language, like perl/c++/python/etc...
This was created just for fun. :)
And... why not? ¯\(ツ)/¯