Browsed by
Category: Cryptocurrency

How to enable RPC in your Gridcoin Wallet?

How to enable RPC in your Gridcoin Wallet?

Hi everyone,

Today, I want to tell you how to enable Gridcoin’s RPC protocol to use apps like Gridcoin Remote on Android phones. This allows you to check stuff like your Gridcoin balance, magnitude, CPID, and more!

Here’s how you can enable it. There are 2 options:

Option 1: Gridcoin Remote Configuration Tool for Windows

GRC Remote

Download the Gridcoin Remote Configuration Tool for Windows available in Github. This tool will let you specify the IP Addresses allowed to connect, the Port Number, Username and Password, and it also has a tick box in case you decide to disable RPC access.

You can download this tool on GitHub: https://github.com/moisesmcardona/GridcoinRemoteConfigurationTool/releases

Option 2: Edit gridcoinresearch.conf manually

To edit the gridcoinresearch.conf manually you’ll need to locate that file. It is usually stored in “C:\Users\Your Username\AppData\Roaming\GridcoinResearch”, where “Your Username” is your Windows account folder.
Once you find the gridcoinresearch.conf file, open it in your favorite text editor.

You’ll need to add or edit the following lines:

server=1
rpcallowip=
rpcport=
rpcuser=yourusername
rpcpassword=yourpassword

Change the values after the = to the values you’d like to use. An example of how the lines should look are below:

server=1
rpcallowip=192.168.1.*
rpcport=9332
rpcuser=myusername
rpcpassword=mypassword

Now, save your config file and restart the Gridcoin Wallet. Once it loads, you can connect to it by using the Gridcoin Remote app.

Please be careful with RPC. Not only will Gridcoin Remote work, but anyone with additional knowledge may control your wallet. This is why it’s recommended to only allow IP Addresses you trust, and be careful if you expose the port to the public in your router’s port forwarding page. It’s better if you use an internal VPN. DD-WRT provides such simple VPN that you can connect to and use Gridcoin’s RPC functionality while away. This way, you don’t need to expose the port to the public.

Hope these steps were useful!

Gridcoin New Users Report generator fixed for the LHC@Home project

Gridcoin New Users Report generator fixed for the LHC@Home project

Hi everyone,

In the past few days, I changed the URL of the stats for the LHC@Home project. They moved the links and the previous URL was no longer working. This has been fixed and LHC@Home stats are now being included in the New User Report Generator:

Gridcoin New Users Report generator fixed for the LHC@Home project

Additionally, There’s a problem that’s out of my control where the SETI@Home files seems to be corrupted or something. The software complains that the <users> tag in the XML file seems to be bad. I suspect the files are updated at irregular times and the software is fetching an incomplete file, or the files are incorrectly being generated. Either case, I just wanted to mention that this is the reason why SETI@Home is sometimes not included in the report.

Happy BOINC mining everyone!

Click here to go to the Report Generator repo, happily developed in the Visual Basic .NET language 🙂

Update to the Gridcoin New User Report Generator – February 14, 2018

Update to the Gridcoin New User Report Generator – February 14, 2018

Hi everyone,

Today, I made an update to the Gridcoin New User Report Generator, which allows the software to be scheduled in order to generate the reports.

Basically, what this means is that the GUI (Graphical User Interface) can be used to select the projects we want to include in the report and also generate the report, but also means that we can just use the terminal, pass the “-s” argument, and it will generate the report taking into account the projects we’ve selected in the GUI.

The commit made today simply adds an optional parameter called Silent:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 1

Which will be True if we pass the -s argument in a terminal window:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 2

That will call the software Main Routine and generate the report.

In the PublishReport function, if it has the Silent parameter as False, it will not show us any message when the report gets published unless an error occurs. This is why I call this parameter Silent, since everything happens in the background and without user interaction:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 3

The idea for this is that it can be scheduled using the Windows Task Scheduler tool so that reports gets generated every day.

That’s all for this post!

Github Repository.

A very simple commit done today to the Gridcoin New User Report Generator software

A very simple commit done today to the Gridcoin New User Report Generator software

Hi everyone,

Today, I was looking at the Gridcoin New User Report Generator Software code and I did a simple mistake with one variable.

Turns out I had a StreamReader object with the name MySQLFile in the GenerateReport.vb module. That object should have been named AccountFile as that StreamReader reads the account information to which the report will get posted. So I went and fixed it.

The commit I made today is the following:

Gridcoin bug fix

Of course, this doesn’t affect the software functionality, but it does make the code make more sense.

Also, I removed an unused Imports.

That’s all!

Gridcoin Snapshot Generator r5 released!

Gridcoin Snapshot Generator r5 released!

Hi everyone,

Today, I released Gridcoin Snapshot Generator r5.

For those who are new to this tool, this is a tool that creates a snapshot of the Gridcoin Blockchain. The software works as follows:

  1. It will first close the wallet properly to prevent corruption.
  2. It will launch 7zip and compress the txleveldb and the blk0001.dat file to either ZIP or 7z format.
  3. Optionally, create MD5, SHA256 and/or SHA512 checksums.
  4. Optionally, upload the snapshot and its checksums (if created) to Google Drive.
  5. Once the compression is finished, it will launch the wallet again.

With this release, it is now possible to select the date and time format, as seen in the picture below:

Gridcoin Snapshot Generator r5

I hope you like this new version!!

Happily written in VB.NET.

Gridcoin Snapshot Generator r4

Gridcoin Snapshot Generator r4

Hi everyone,

Today I released a small update to the Gridcoin Snapshot Generator.

This update only affects the filename and the archive format. What I did is that when you save a file as 7z, the 7z RadioButton will automatically be selected:

Gridcoin Snapshot Generator r4 - 7zip

If you save the snapshot as ZIP, the ZIP RadioButton will be selected:

Gridcoin Snapshot Generator r4 - Zip

The same applies if you change the snapshot format using the RadioButtons instead of the filename. If you choose the ZIP RadioButton, the filename will change to .zip. If you choose the 7z RadioButton, the filename will change to .7z.

That’s the only change with this release. Updating is optional, as the Snapshot creation process is not affected by this change.

Gridcoin Snapshot Generator Release 3 and Gridcoin Snapshot Restore Release 1 tools

Gridcoin Snapshot Generator Release 3 and Gridcoin Snapshot Restore Release 1 tools

Hi everyone,

Today morning, I made a post announcing the release 1 of my Gridcoin Snapshot Generator Tool. Now, after still working with the tool, I made significant additions and changes. This is how Release 3 of this tool looks:

Gridcoin Snapshot Generator r3

Let’s talk about the improvements and new features:

  • Choose between ZIP and 7zip formats to create the snapshot
  • Now, you can create MD5, SHA256 and/or SHA512 hashes to check the snapshot integrity
  • Upload the snapshot and the checksums to Google Drive!

How does the tool works?

  1. The software will safely close the wallet if it is already running.
  2. The snapshot will be created in the specified format (ZIP or 7z)
  3. If desired, checksums will be created
  4. If desired, the snapshot and the checksums will be uploaded to Google Drive
  5. The wallet will be launched automatically

When the snapshot is created, and optionally the checksums are generated, if you chose to upload the snapshot to Google Drive, you can see the upload progress. You can also choose to which Google Drive folder the snapshot and the checksums will be uploaded.

As you may know, World Backup Day was yesterday, and backing up your Gridcoin Blockchain is a good way to prevent downloading the entire chain again in the future in case you fork or in case the chain becomes corrupted. A simple restore can save a lot of time and you can start staking blocks faster.

In order to restore the Snapshot, you can use the Gridcoin Snapshot Restore tool:

Gridcoin Snapshot Restore r1

Simply, browse for the ZIP or 7z Snapshot file and press the Restore Snapshot button.

In the restore of the Snapshot, if the Gridcoin Wallet is running, the softwares will safely close the wallet before continuing. Once the restore finishes, the Gridcoin Wallet will launch again.

Both tools are written in Visual Basic .NET using Visual Studio 2017, and both tools are Open Source. Check out the Source Code at the following links:
Gridcoin Snapshot Generator
Gridcoin Snapshot Restore

Download the tools at the following links:
Gridcoin Snapshot Generator
Gridcoin Snapshot Restore

I really hope all of you find these tools incredibly useful and remember to backup often!!!

Gridcoin Snapshot Generator – Release 1

Gridcoin Snapshot Generator – Release 1

Hi everyone,

Today, I wrote a new tool that aims to create Gridcoin Snapshots automatically.

Gridcoin Snapshot Generator r1

The tool is very easy to use. Just specify the filename for the snapshot and press the “Create Snapshot” button. You can also specify the amount of hours to automate this process for you.

The software works as follows:

  1. It will first close the wallet properly to prevent corruption.
  2. It will launch 7zip and compress the txleveldb and the blk0001.dat file
  3. Once the compression is finished, it will launch the wallet again.

And that’s how easy it is to use this tool 🙂

The snapshot format is as follows:
Snapshot Name Year-Month-Day Hour-Minutes-Seconds AM/PM.7z

The requisites to use this tool is to have 7zip installed in the default location at C:\Program Files\7-zip.

The tool is Open Source and you can check out the code here.

To download the tool, go here.

Hope you enjoy it!

Gridcoin Faucets for Windows (Desktop app) v1.1 Released! Open Source!

Gridcoin Faucets for Windows (Desktop app) v1.1 Released! Open Source!

Note: This software is no longer maintainted.

Hi everyone,

Today, I’m proud to announce the release of Gridcoin Faucets v1.1 for Windows. This software allows you to easily visit a faucet and be reminded when you can get more Gridcoins. You can minimize it to the task bar and when time comes, you’ll see a taskbar notification letting you know that you can visit the faucet again.

Gridcoin Faucets for Windows v1.1

v1.1 removes the now dead Cryptospout Hourly and Daily faucets and adds the EOBOT and GridcoinStats faucets.

The software is written in Visual Basic and was compiled using the newest version of Visual Studio, Visual Studio 2017.

The software is also Open Source and the source code is available in GitHub. Check it out by clicking here!

You can download the software and start using it right now by clicking here.

Enjoy!

Gridcoin Faucets & Tools v1.3.2 for Android released!

Gridcoin Faucets & Tools v1.3.2 for Android released!

Note: This app is no longer supported or maintained.

Hi everyone!

Today, I’ve released v1.3.2 of the Gridcoin Faucets & Tools app. This new update brings support for the Gridcoin Stats (http://gridcoinstats.eu) website, meaning that you can select to use the site when using the GRC Mag/Earnings Calculator section of the app, and the Block Explorer, Transaction Explorer and Address Explorer.

For those who haven’t heard of this app, it is an app designed to give you access to Gridcoin Faucets as well as to provide several useful tools. You can check your Gridcoin Balance directly, check out your CPID and Magnitude with the Magnitude Calculator, use the Explorer section to check out blocks, transactions, and addresses, and it checks out the Gridcoin Value against several currencies. You can also access several exchanges and 3rd party wallets, and it provides quick access to our community social network sites. In summary, it is the most complete Gridcoin App available in the Play Store.

This is the full feature list of the app:

  • Gridcoin Faucets to use and earn free Gridcoin!
  • Notifications so you know when you can get more Gridcoin!
  • See your current address balance right in the app!
  • GRC/Magnitude Calculator based on your CPID.
  • Project Whitelist.
  • Block Explorer which you can use to check out blocks, addresses, and transactions.
  • Current GRC Value and Calculator.
  • Check out different Exchanges accepting Gridcoin, and trade!
  • Quick access to 3rd-party Wallets.
  • Community Links so you can hang with us on IRC or Listen to our Gridcoin Hangouts on Soundcloud.

What’s New in v1.3.2?

  • Added the GridcoinStats Faucet in the faucet section.
  • Added the GridcoinStats Block, Transaction and Address Explorer in the Block Explorer section.
  • Added the GridcoinStats CPID Explorer in the CPID Mag/Earnings Calculator Section.
  • Some UI Enhancements.

Download:

You can download the app at the Google Play Store here: https://play.google.com/store/apps/details?id=msc.moisessoftwares.gridcoinfaucetstools

If you already have the app installed, just go to the Play Store to perform the update.

Screenshots:

If you like the app, please leave a review. If you have any suggestions, leave it in the comments below.

Enjoy!