Skip to content

Commit

Permalink
feat: updated instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgoldobin committed Jul 3, 2024
1 parent d3cee35 commit eb6b77d
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/components/WorkflowPage/WorkflowProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const WorkflowProgressBar = ({ workflow }: Props): JSX.Element => {
},
{
step: WorkflowStep.SELECT_CLIENT,
text: formatMessage({ defaultMessage: 'Choose client' }),
text: formatMessage({ defaultMessage: 'Client setup' }),
},
{
step: WorkflowStep.GENERATE_KEY_PAIRS,
Expand Down
2 changes: 1 addition & 1 deletion src/intl/compiled/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2446,7 +2446,7 @@
"G8tAKU": [
{
"type": 0,
"value": "Choose client"
"value": "Client setup"
}
],
"GBXzeJ": [
Expand Down
2 changes: 1 addition & 1 deletion src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@
"message": "Download master branch source code"
},
"G8tAKU": {
"message": "Choose client"
"message": "Client setup"
},
"GBXzeJ": {
"message": "Arguably the most impactful factor on rewards earned for validating transactions is the total amount of stake in the network. In other words, the total amount of validators. Depending on this figure the max annual return rate for a validator can be anywhere between 2 and 20%."
Expand Down
11 changes: 7 additions & 4 deletions src/pages/Clients/Execution/Stereum.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ const ImageContainer = styled.div`
export const StereumDetails = () => (
<>
<SectionTitle level={2} className="mb5">
<FormattedMessage defaultMessage="Language information" />
<FormattedMessage defaultMessage="Description" />
</SectionTitle>
<Text className="mt10">
<FormattedMessage defaultMessage="Stereum is an open-source toolkit designed to simplify the process of setting up and maintaining an Ethereum node. It helps users to decentralize the Ethereum network by making it easier to stake their own coins using their own machines. Stereum provides options for node-related protocols and supports one-click installation for various use cases." />
<FormattedMessage defaultMessage="Stereum is an open-source toolkit designed to simplify the process of setting up and maintaining an Ethereum-based node. It helps users to further decentralize the Stratis network by making it easier to stake their own coins using their own machines." />
</Text>
<Text className="mt10">
<FormattedMessage defaultMessage="The following steps will guide you through using the Stratis Launcher to configure a remote Linux-based host to run a Stratis Validator. The Stratis Launcher provides you with simplified management of your host and validator, simplifying the process or managing validator keys and monitoring the node status." />
</Text>
<section>
<SectionTitle level={2} className="mb5">
Expand Down Expand Up @@ -82,7 +85,7 @@ export const StereumDetails = () => (
<FormattedMessage defaultMessage="Step 2" />
</Heading>
<Text className="mt10">
<FormattedMessage defaultMessage="Enter your Server information. (we recommend using SSH Key and disabling password-based authentication)" />
<FormattedMessage defaultMessage="Enter your Server information." />
</Text>
<ImageContainer>
<Image src={StereumStep1} alt="Stereum_Step_2" />
Expand Down Expand Up @@ -118,7 +121,7 @@ export const StereumDetails = () => (
<FormattedMessage defaultMessage="Step 6" />
</Heading>
<Text className="mt10">
<FormattedMessage defaultMessage="The Stratis Launcher will now configure your server and prepare it to be a Stratis Validator. Depending on your server specifications, this will take a few minutes." />
<FormattedMessage defaultMessage="The Stratis Launcher will now configure your host, this will take a few minutes." />
</Text>
<ImageContainer>
<Image src={StereumStep5} alt="Stereum_Step_6" />
Expand Down
19 changes: 14 additions & 5 deletions src/pages/GenerateKeys/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ const _GenerateKeysPage = ({
<Paper className="mt20">
<Box className="flex flex-column space-between mt10">
<ClientDescriptionContainer>
<SectionTitle level={2} className="mb5">
<FormattedMessage defaultMessage="Introduction" />
</SectionTitle>
<Text className="mt20">
<FormattedMessage
defaultMessage="The Stratis Wagyu Keygen tool can be used to create validator keys, including the related keystore files and deposit data files. Keystore files can be imported into your validator client via the Stratis Launcher. The deposit data file can be used to perform the validator deposit on the launchpad site. It can also be used to create a signature to add a withdrawal address to your validator."
/>
</Text>
<SectionTitle level={2} className="mb5">
<FormattedMessage defaultMessage="Instructions" />
</SectionTitle>
Expand Down Expand Up @@ -220,11 +228,12 @@ const _GenerateKeysPage = ({
<Heading level={3} size="small">
<FormattedMessage defaultMessage="Step 8" />
</Heading>
<Text className="mt20">
<FormattedMessage
defaultMessage="Progress to the next page to upload your deposit_data-xxxxxxxxxx.json to make the deposits for your validator keys. Please note that once the deposits are made, your validator may take up to 24 hours to become active. "
/>
</Text>
<p className="mt20">
Progress to the next page to upload your <i>deposit_data-xxxxxxxxxx.json</i> to make the deposits for your validator keys. Please note that once the deposits are made, your validator may take up to 24 hours to become active.
</p>
<p className="mt20">
You will need the MetaMask (<a href='https://metamask.io/'>https://metamask.io/</a>) extension installed with a wallet that contains the correct STRAX balance before you can progress to make deposits for your validator(s).
</p>
</ClientDescriptionContainer>
</Box>
</Paper>
Expand Down
24 changes: 23 additions & 1 deletion src/pages/SelectClient/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,28 @@ const _SelectClientPage = ({
);

return (
<WorkflowPageTemplate title={title}>
<>
<WorkflowPageTemplate title='Introduction'>
<Paper className="mb20">
<Text className="mt10 mb20">
<FormattedMessage
defaultMessage="The Stratis Launchpad will guide you through the steps of operating a Stratis Validator. There are three main components to this process:"
/>
</Text>
<ul>
<li><b>Client Setup</b> - Software is required to run a Stratis Validator, to simplify this management, Stratis has introduced the Stratis Launcher. The Stratis Launcher configures your remote Linux-based host and prepares it for operating as a Stratis Validator.</li>
<li><b>Generate Keys</b> - To run a Stratis Validator, you must create “Validator Keys”. The key generation process is simplified by using the Wagyu Keygen tool.</li>
<li><b>Validator Deposit</b> - Once you have configured your client and generated your keys, you need to make a deposit of 20,000 STRAX for each validator. These deposits can be done safely and securely through the Stratis Launchpad.</li>
</ul>
<Text className="mt20 mb10">
<FormattedMessage
defaultMessage="To get started, choose your Operating System below to download the Stratis Launcher and begin setting up your validator."
/>
</Text>
</Paper>
<Heading level={2} size="medium" color="blueDark" className="mb20">
{title}
</Heading>
<Paper className="mb20">
<Heading level={2} size="small" color="blueMedium">
<FormattedMessage defaultMessage="What is your current operating system?" />
Expand Down Expand Up @@ -187,6 +208,7 @@ const _SelectClientPage = ({
currentClient={selectedClient}
/>
</WorkflowPageTemplate>
</>
);
};

Expand Down

0 comments on commit eb6b77d

Please sign in to comment.