Splinterlands is the game to be on the Hive blockchain and beyond and its intertwining with the blockchain technology distinguishes it clearly in the gaming and crypto space. While being innovators and opening new roads in an uncharted domain, Splinterlands shapes how blockchain games can look like and how their tokenomics can work both in the favor of the founders, but also as players. And when you see that you get also a piece of the cake by participating to the game economy, you simply feel more empowered and motivated. And what I like about it is that besides the game itself, one can earn new things on how to interact with the blockchain technology.
Not a while ago I have posted about Splinterlands - How to broadcast custom Json on the Hive blockchain from your browser, where I have given an example on how one can Delegate the rewards earned from Brawls either to the Guild to strengthen it or to other players. Now, I am coming back providing an example on how you can Undelegate that and make your rewards come back on your account. The reverse steps to Undelegate are quite similar with the ones to Delegate, just that the Custom JSON is different.
Here are the steps that you need to do in order to Undelegate Brawl rewards.
- Open your Chrome browser or any other one that you use, but where you have also Hive KeyChain extension installed.
- Log into Splinterlands while having your active key loaded.
- Press F12 in order to enter the Development Tools and select the Console option from available tabs.
Run the following command to interact with KeyChain and broadcast custom Json: SM.BroadcastCustomJson('sm_undelegate_rewards','Undelegate Rewards', {"username":"troopsfund","type":"brawl"}) - Press Enter to execute.
At this point the Hive KeyChain pop-up should open and a Transaction Signature will be required with the above custom Json command. Approve it in order to be executed on the Hive blockchain and take effect in the Splinterlands.
On the Hive blockchain, the Custom JSons can be powerful instructions that you can use with applications committing transactions on it. This way a 3rd party application can have any custom logic that it needs to be called and executed when specific JSon request is posted. While it doesn't have extended functionalities, I think this acts as a Smart Contract somehow and you can program it to trigger some specific functionality based on the given input. A great thing to find out for me that I wanted to share also with others to know on how to interact with the Hive blockchain with some specific Splinterlands instructions.