Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
Hide Babylon guide and add node operations instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
necipsagiro committed Feb 10, 2024
1 parent 91e3545 commit 437a5d3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/node-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ const nodeOperationsSetup = async () => {
await deleteNode();
};
});
if (currentIp.icon != "Babylon") {
document.getElementById("babylon-guide").style.display = "none";
};
await getLatestTag();
hideLoadingAnimation();
window.scrollTo(0, 0);
Expand Down
33 changes: 33 additions & 0 deletions src/page-content/node-operations.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,37 @@
</svg>
<div class="cancel-delete-button-name">Delete Node</div>
</button>
</div>
<div id="babylon-guide">
<h2>Creating a Babylon Wallet</h2><br>
<p>• Enter "Wallets" in "Validators Operations" on the left panel.</p><br>
<p>• Write what you want in the "Wallet Name" section and click "Create".</p><br>
<p>• Copy the address of the wallet you set up, located under "Your Wallets" just below.</p><br>
<h2>Babylon Discord: Faucet</h2><br>
<p>• Enter the <a href="https://discord.com/invite/babylonglobal" target="_blank">Babylon Discord</a>.</p><br>
<p>• Obtain the "Tech" role from the "Get a role" subchannel.</p><br>
<p>• Go to the "Faucet" subchannel and paste ! faucet [YOUR WALLET ADDRESS]. And enter. Put down your wallet address you copied on Klein, next to ! faucet.</p><br>
<p>• Wait for TX to complete on Discord.</p><br>
<p>• Go back to Klein.</p><br>
<p>• Click on "Wallets" in "Validators Operations" on the left panel again and hover over the wallet you created to see the balance.</p><br>
<h2>Stake: Stake to node101</h2><br>
<p>• Go to <a href="https://explorer.kjnodes.com/babylon-testnet" target="_blank">https://explorer.kjnodes.com/babylon-testnet</a>. Enter Staking in BABYLON TESTNET on the top left. Go to Inactive. Find node101. Copy the “Validator Address”.</p><br>
<p>• Return to Klein and go to the "Delegate" section under Validator Operations on the left panel.</p><br>
<p>• Paste the Validator Address of node101 you copied into the "Validator Valope Address" section.</p><br>
<p>• Write your Wallet Name.</p><br>
<p>• Set a fee and Amounts. For example, write 1000000 in the Amounts section. Remember, we run the Amounts section decimally in the current beta version.</p><br>
<p>• Click "Submit", you can copy your TX and view it in explorer. (Attention: Since the Babylon chain works in epochs, it may take a few hours for your TX to appear in the explorer. Do not worry.)</p><br>
<h2>Add Validator: Establish your own Validator</h2><br>
<p>• Enter "Create BLS Key" at the bottom of Validator Operations on the left panel and submit after writing your Wallet Name.</p><br>
<p>• Go to "Add Validators" under Validators Operations on the left panel</p><br>
<p>• Type any amount you want in the "Amount" Section in "Add validators". For example 50000.</p><br>
<p>• Enter your Wallet Name.</p><br>
<p>• In "Moniker Name", write the name you want to give to the validator you want to install. (Attention: Do not write “node101” to your Moniker Name.)</p><br>
<p>• In the "BLS Public Key" section, paste the BLS Public Key you created in the "Create BLS Key" section.</p><br>
<p>• Enter whatever you want in the "Fee" section. For example 500.</p><br>
<p>• Write 0.05 in the Commission Rate section and submit.</p><br>
<h2>Extra Notes</h2><br>
<p>• Once a day, you can request tokens from the Babylon Discord Faucet to your wallet address.</p><br>
<p>• From the "Delegate" section in Validators Operations on the left panel of Klein. You can delegate to your own validator.</p><br>
<p>• You can search for the validator you have installed in the Inactive set by typing your Moniker Name through an explorer such as <a href="https://explorer.kjnodes.com/babylon-testnet/staking" target="_blank">https://explorer.kjnodes.com/babylon-testnet/staking</a></p><br>
</div>

0 comments on commit 437a5d3

Please sign in to comment.