Splinterlands - Delegate and Undelegate brawl rewards to Guilds or other players

avatar

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.

image.png

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.

  1. Open your Chrome browser or any other one that you use, but where you have also Hive KeyChain extension installed.
  2. Log into Splinterlands while having your active key loaded.
  3. 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"})
  4. 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.

image.png

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.

Come and join the amazing world from the Splinterlands!



0
0
0.000
8 comments
avatar

seems too complicated for me. huh. i am fine with the apps thought.

0
0
0.000
avatar

Yeah, sometimes when you want to achieve things that are not exposed in the app, sending commands to interact with the blockchain is an option to achieve different things. But indeed, a little bit technical.

0
0
0.000
avatar

i just learn to use hivestats and hive-engine few months ago, so, I am getting more skilled. working on learning how to follow other people voting for now.

0
0
0.000
avatar

It looks like there are multiple ways to interact with the blockchain but I kind of wish that the features were already there. Maybe someone will make an application that can do this without all the manual input.

0
0
0.000
avatar

Anyone with coding knowledge or anyone with out coding knowledge could easily follow the steps you have mentioned in this post to reverse or undelegate the reward they delegated before. Thanks for making it easy @behiver

0
0
0.000
avatar

I will also say here that the things that happen through the app become a bit difficult and when a human opens them in a simple way, the way you have explained the whole process. As many users of this game as you have mentioned this method will be beneficial for them.

0
0
0.000