create account

Making VSC Staking Easier (and Safer!) with a Simple Tool by thecrazygm

View this thread on: hive.blogpeakd.comecency.com
· @thecrazygm · (edited)
$17.84
Making VSC Staking Easier (and Safer!) with a Simple Tool
So, @ecoinstant, came to me the other day with a request: could we host a simple, one-page tool? Just a single file with HTML, Javascript, and CSS. Seemed straightforward enough.

The tool itself is designed to help users stake HIVE tokens onto the VSC sidechain. I took a look at the existing script, which was originally put together by @drlobes the Ferengi (gotta appreciate a fellow Star Trek fan!). Checking it out, I saw it was built using the `dhive` library and, importantly, required users to input their active key directly into the interface.

![I don't wanna!](https://files.peakd.com/file/peakd-hive/thecrazygm/23xyXafYBm9SPp3jwTexek9RNgLsobieSxzL3Wo9MkuVfAnEv2x5FdHfziqeGD7JrcJPh.png)

Now, asking users to paste their active key straight into a web tool... yeah, that didn't sit right with me. Keys, especially active keys, need careful handling. From a security perspective, it just felt like asking for potential problems down the road. You know me, always thinking about security.

So, I offered to rework the tool. My go-to solution for situations like this is to integrate Hive Keychain for handling the necessary signatures. This way, your key never actually leaves the safety of your Keychain extension, which is a much more secure approach for everyone. Instead of pasting a key, you'll just get a Keychain pop-up to approve the transaction.

Why build this? Well, I guess up until now, people wanting to stake HIVE on VSC were often manually crafting the custom JSON requests needed, maybe using the Keychain playground or writing little temporary scripts. That works, sure, but it definitely leaves room for typos or other errors. Since there's potential money involved when staking, making the process easier and reducing the chance of mistakes seems like a worthwhile effort. We figured we could make it simpler and safer.

Big props to @drlobes for creating the original script that laid the groundwork for this, included in the bennies!

I'll include a screenshot or two here so you can see the updated tool in action:


![The simple interface for staking HIVE to VSC.](https://files.peakd.com/file/peakd-hive/thecrazygm/23yJGPEMfs4n6NG9qSVws5rUCaCWN3DvZ8Xx1iQ5dD8BAgZ7yChah4LmHkiitLNvvNcDR.png)


![Using Keychain for secure transaction approval.](https://files.peakd.com/file/peakd-hive/thecrazygm/23tRvSbPNS37LkjwR4ZeSjMTHE9sfwM952kmpDPQxtFARERuRquiDGh4ZrisFGo19xRtm.png)

The tool is live now: https://vsc.thecrazygm.com and if you really want to use the [original one](https://vsc.thecrazygm.com/original/stake_on_vsc.html), I did put it up as well, but it's there for comparison to make sure I got the `custom_json` right. 

Hopefully, this little tool makes the VSC staking process smoother and, more importantly, safer for everyone involved. Always happy to build things that make life on Hive a bit easier.

As always,
Michael Garcia a.k.a. TheCrazyGM
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 132 others
properties (23)
authorthecrazygm
permlinkmaking-vsc-staking-easier-and-safer-with-a-simple-tool
categoryhive-186392
json_metadata{"app":"peakd/2025.4.5","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/thecrazygm/23yJGPEMfs4n6NG9qSVws5rUCaCWN3DvZ8Xx1iQ5dD8BAgZ7yChah4LmHkiitLNvvNcDR.png","https://files.peakd.com/file/peakd-hive/thecrazygm/23xyXafYBm9SPp3jwTexek9RNgLsobieSxzL3Wo9MkuVfAnEv2x5FdHfziqeGD7JrcJPh.png","https://files.peakd.com/file/peakd-hive/thecrazygm/23tRvSbPNS37LkjwR4ZeSjMTHE9sfwM952kmpDPQxtFARERuRquiDGh4ZrisFGo19xRtm.png"],"tags":["vsc","dev","income","tribes","archon","proofofbrain"],"users":["ecoinstant","drlobes"]}
created2025-04-16 17:33:24
last_update2025-04-16 17:41:00
depth0
children11
last_payout2025-04-23 17:33:24
cashout_time1969-12-31 23:59:59
total_payout_value7.656 HBD
curator_payout_value10.185 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,889
author_reputation102,829,186,358,857
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries
0.
accountdrlobes
weight1,000
1.
accountthecrazygm.bank
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,137,115
net_rshares60,368,736,343,889
author_curate_reward""
vote details (196)
@ecbcanada ·
Thanks for your contributions to the VSC project
👍  
properties (23)
authorecbcanada
permlinkre-thecrazygm-2025420t070887z
categoryhive-186392
json_metadata{"tags":["vsc","dev","income","tribes","archon","proofofbrain"],"app":"ecency/4.0.3-vision","format":"markdown+html"}
created2025-04-20 04:07:03
last_update2025-04-20 04:07:03
depth1
children0
last_payout2025-04-27 04:07:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length48
author_reputation24,110,704,207
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,200,226
net_rshares27,528,849,931
author_curate_reward""
vote details (1)
@onthewayout ·
$0.14
How does staking work on VSC? The transaction doesn't do anything on layer 1 (except for a custom JSON). I don't get it.
👍  , , , , , , , ,
properties (23)
authoronthewayout
permlinkre-thecrazygm-suu8kh
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.5","image":[],"users":[]}
created2025-04-17 01:09:54
last_update2025-04-17 01:09:54
depth1
children4
last_payout2025-04-24 01:09:54
cashout_time1969-12-31 23:59:59
total_payout_value0.068 HBD
curator_payout_value0.067 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length120
author_reputation13,205,527,560,619
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,143,055
net_rshares396,151,053,683
author_curate_reward""
vote details (9)
@ecoinstant ·
$0.03
Good question for @vaultec !
👍  , ,
properties (23)
authorecoinstant
permlinkre-onthewayout-suu9yb
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.5"}
created2025-04-17 01:39:51
last_update2025-04-17 01:39:51
depth2
children0
last_payout2025-04-24 01:39:51
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation861,552,126,161,423
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,143,345
net_rshares77,558,656,413
author_curate_reward""
vote details (3)
@vaultec ·
The transaction is executed on the VSC L2. You'll need to have balance on VSC in order for the staking operation to work. This is consensus staking so it is locking up Hive to participate in VSC consensus. We also support HBD staking which earns 15% APR while still being transferable 
👍  
properties (23)
authorvaultec
permlinkre-onthewayout-suukd4
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.5","image":[],"users":[]}
created2025-04-17 05:24:45
last_update2025-04-17 05:24:45
depth2
children2
last_payout2025-04-24 05:24:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length285
author_reputation46,939,617,947,827
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,145,512
net_rshares25,910,592,763
author_curate_reward""
vote details (1)
@onthewayout ·
Ok, so I guess that before executing the staking operation, a transfer to a separate account needs to take place for it to be valid on the L2, correct?
👍  
properties (23)
authoronthewayout
permlinkre-vaultec-suvdv2
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.5","image":[],"users":[]}
created2025-04-17 16:01:54
last_update2025-04-17 16:01:54
depth3
children1
last_payout2025-04-24 16:01:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length151
author_reputation13,205,527,560,619
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,154,118
net_rshares25,392,049,972
author_curate_reward""
vote details (1)
@seckorama ·
$0.13
properties (23)
authorseckorama
permlinkre-thecrazygm-2025416t225148984z
categoryhive-186392
json_metadata{"tags":["vsc","dev","income","tribes","archon","proofofbrain"],"app":"ecency/4.0.3-vision","format":"markdown+html"}
created2025-04-16 20:51:48
last_update2025-04-16 20:51:48
depth1
children4
last_payout2025-04-23 20:51:48
cashout_time1969-12-31 23:59:59
total_payout_value0.065 HBD
curator_payout_value0.065 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation683,302,192,044,416
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,140,158
net_rshares388,730,441,006
author_curate_reward""
vote details (8)
@ecoinstant ·
$0.03
This tool will support HBD (does already in fact), but the VSC network is not ready for that - YET!  
👍  , , , , , , ,
properties (23)
authorecoinstant
permlinkre-seckorama-suu13q
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.5"}
created2025-04-16 22:28:45
last_update2025-04-16 22:28:45
depth2
children3
last_payout2025-04-23 22:28:45
cashout_time1969-12-31 23:59:59
total_payout_value0.017 HBD
curator_payout_value0.017 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length101
author_reputation861,552,126,161,423
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,141,233
net_rshares105,851,271,788
author_curate_reward""
vote details (8)
@seckorama ·
$0.14
I asked VSC at X and he mentioned HBD staking and that you could then distribute it somewhere else...but of course, for a pool you need two currencies...because I would do a node but I don't have enough knowledge so I don't want to bother with that...
👍  , , , , , , ,
properties (23)
authorseckorama
permlinkre-ecoinstant-2025417t03453977z
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"ecency/4.0.3-vision","format":"markdown+html"}
created2025-04-16 22:34:54
last_update2025-04-16 22:34:54
depth3
children2
last_payout2025-04-23 22:34:54
cashout_time1969-12-31 23:59:59
total_payout_value0.070 HBD
curator_payout_value0.069 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length251
author_reputation683,302,192,044,416
root_title"Making VSC Staking Easier (and Safer!) with a Simple Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,141,289
net_rshares415,918,150,987
author_curate_reward""
vote details (8)