Improvements in the payback system

image.png

Greetings

It has been a long time since my last post, so now it is time for a bit of an update.

Long story short, nothing has changed from the common user's point of view.

The payback rate remains the same.

Only the mechanism that processes payback has changed to provide more flexibility for users who would like to develop their own tools but still benefit from the payback system at MonsterCards.store.

Payback system before changes

First, I have to describe how the payback system has worked until now in a few words:

image.png

Once the user creates a transaction through MonsterCards.store, the information about purchased cards or assets goes to the API, where they are saved.

This action also creates an entry in the database indicating an unprocessed transactionId from the payback point of view.

On the API, I had a special service that fetched unprocessed transactionIds and processed them one by one by calling the Splinterlands API for details (the most important being the payback amount).
The payback amount was then added to the user's balance.

The main issue was that if someone created transactions without using the MonsterCards.store website, my system knew nothing about it.

Sending transactions from outside a market

The markets are not the only way you can send a transaction to the Hive network. There are plenty of libraries that allow you to create such transactions through your own program.

The example transaction looks like this:

image.png
The most important parts are "market" and "app" properties because they are used to identify the market that will get the market fee.

If you do not provide this information or misspell it, the market fee goes to Splinterlands.

The correct value for MonsterCards.store is:

monstercardstore

Improvements in the payback system

image.png
The main difference is that payback is no longer tied to a cart. Carts are used only for historical purposes.

That means if for any reason a cart will not be saved or a transaction was made without using the MonsterCards.store application, the user still gets payback.

The only drawback of this solution is a slightly longer processing time for payback (from a couple of seconds to a couple of minutes usually).

The change seems not very significant, but it required me to rewrite a large portion of the market systems. That is why it took so long.

Visual improvements

I also added an indicator for users that paybacks are processing and also the information for how many rented cards you will get payback next time the payback for rentals is processed.

This is what the whole process looks like:

splinterlandsPaybackSystem.gif

Bugfixing

I fixed the bug with the payback system that does not count payback for rentals that were extended beyond the original duration.

I also fixed the bug with redirecting to the proper history item after renting cards using Hivesigner as an authorization tool.

Get Back 75% of the Market Fee

By utilizing the MonsterCards.store marketplace to purchase or rent cards and assets, you can reclaim 75% of the market fee.

Keep in mind that irrespective of the marketplace you choose, the price you pay for buying or renting cards always includes a market fee.

So far, over 224,938 DEC has been returned to users through the payback system. For the current price of $0.0007628, it is worth over $171.

Why not take advantage of this opportunity to get some money back?

In the meantime, I wish you the best of luck and have fun (GL&HF).

Sort:  

This post has been supported by @Splinterboost with a 12% upvote! Delagate HP to Splinterboost to Earn Daily HIVE rewards for supporting the @Splinterlands community!

Delegate HP | Join Discord