Open talkol opened 8 months ago
Enter data screen:
Add subtitle under "Owner address":
The TON address of the admin of single-nominator. Only this address can withdraw funds. This address can also update the validator address.
Add subtitle under "Validator address":
The TON address of the validator node that stakes the funds in the single-nominator. This address is normally generated by MyTonCtrl.
Deploy screen:
Add text:
Your wallet needs to have at least 2 TON coins for deployment. At least 1 TON coin should remain in single-nominator balance at all time for storage fee costs on masterchain.
Verify screen:
Add text:
After deployment is complete, this step will read the code hash from single-nominator contract that was just deployed and compare it to the code hash of the audited version.
Withdraw screen:
Rename the screen from Withdraw
to Sanity test withdrawal
Add text:
To make sure the Owner / admin was set correctly and can withdraw funds from single-nominator, we recommend doing a withdrawal test with a small amount of 5 TON.
Remove the "Select amount" input and instead we should have two buttons:
Deposit 5 TON
Withdraw 5 TON
The actions should use the hard-coded number of 5.
Add text under:
Make sure you have at least 5 TON coins in your wallet. Deposit it and verify in an explorer that the single-nominator balance is 5 TON higher. Then withdraw and verify that Owner wallet receives the funds back.
Add subtitle under "Single nominator address":
The address of the single-nominator contract that you want to manage. Your wallet address must be the Owner / admin for this single-nominator.
Add subtitle under "New validator address":
The new updated address of the validator node that stakes the funds in the single-nominator. This address is normally generated by MyTonCtrl.
Change field name Recipient address
to Single nominator address (recipient)
Subtitle under this field:
The address of the single-nominator contract that you want to fund. Your wallet is going to send the TON coins to this recipient address.
Subtitle under "Amount" field:
A decimal point number of the amount of TON coins that you would like to send from your wallet in order to fund the single-nominator contract.
Change field name Amount
to Amount to deposit
Add subtitle under "Single nominator address":
The address of the single-nominator contract that you want to withdraw from. Your wallet address must be the Owner / admin for this single-nominator.
Change field name Select amount
to Amount to withdraw
Add subtitle under this field:
A decimal point number of the amount of TON coins that you would like to withdraw from single-nominator. This amount must be in single-nominator balance (unstaked).
Rename this repo to
single-nominator-client
Rename the hosting from
https://ton-validator.netlify.app
tosingle-nominator-client.netlify.app
and also change link in the README and this repo description. If it's possible to serve this from GitHub Pages instead of netlify, I think it's a little better.Top header:
TON.Validator
change toTON single-nominator
https://github.com/orbs-network/single-nominator
Section titles:
Operations
change toOperation
Subtitles for the main menu options:
Deploy Single Nominator:
Used for the initial setup of a new validator node. Deploys the official single-nominator smart contract to TON masterchain.
Change Validator:
If the private key stored on the validator node is compromised or replaced, or if the validator node is changed, update the contract to a new validator address.
Deposit:
Deposit new TON coins from your wallet to fund the single-nominator contract. This TON coin will be used for staking in the elector.
Withdraw:
After TON coin was unstaked by the validator node and returned to the single-nominator contract, withdraw it back to your wallet.