This content got low rating by people.
Steemit does not provide support Steem power delegation, so many application developers compete to develop tools that can be used to facilitate the delegation of steam power, so now we can easily do steem power delegation.
here I will share the script developed by @justyy for steem power delegation with the help of steemconnect v2.
Begining
Clone this github : [email protected]:baroesa/SpDelegateModeEasy.git
Index of Files
32.png
README.md
bootstrap.min.css
bootstrap.min.js
favicon.ico
index.html
jquery.js
rocket.min.js
sp.js
Learn Of Codes
$(document).ready(function() {
$("a[href='#top']").click(function() { $("html, body").stop().animate({ scrollTop: 0 }, "slow"); return false; });
$("#checkbtn").click(function() {
var delegator = $("#delegator").val().toLowerCase().trim();
var delegatee = $("#delegatee").val().toLowerCase().trim();
var amount = $("#amount").val().trim();
var unit = $("#unit").val().trim();
if (delegatee=='') {
alert('Delegatee STEEM ID is missing.');
$("#delegatee").focus();
return;
}
if (amount =='') {
alert('Please enter amount to delegate. Put 0 to undelegate');
$("#amount").focus();
return;
}
location.href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator="+delegator+"&delegatee="+delegatee+"&vesting_shares="+amount + " " + unit;
});
});
Don't Forget say thx to @justyy
Open Source Contribution posted via Utopian.io