Skip to content

Commit

Permalink
remove mytonctrl2 branch mentions (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
yungwine authored Aug 8, 2024
1 parent d3edb37 commit 66aaad2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 38 deletions.
20 changes: 0 additions & 20 deletions docs/participate/network-maintenance/single-nominator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,6 @@ import TabItem from '@theme/TabItem';

[Single Nominator](https://github.com/orbs-network/single-nominator) is a TON smart contract that enables secure validation for TON blockchain. The contract is designed for TON validators that have enough self stake to validate by themselves without relying on third-party nominators stakes. The contract provides an alternative simplified implementation for the Nominator Pool smart contract that supports a Single Nominator only.

## Start using mytonctrl

Currently [mytonctrl](https://github.com/ton-blockchain/mytonctrl) supports `single_nominator` contracts, but firstly you need to install mytonctrl 2.0.

### Launch mytonctrl 2.0

If you already have installed mytonctrl just use command `update mytonctrl2`. If you have no mytonctrl installed, follow these steps:

1. Download installation script:

```bash
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/mytonctrl2/scripts/install.sh
```

2. Run installation script:

```bash
sudo bash ./install.sh -b mytonctrl2
```

### Set up single-nominator

:::caution
Expand Down
8 changes: 4 additions & 4 deletions docs/participate/run-nodes/enable-liteserver-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ If you don't have mytonctrl, install it with `-m liteserver` flag:
<TabItem value="ubuntu" label="Ubuntu">

```bash
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/mytonctrl2/scripts/install.sh
sudo bash install.sh -m liteserver -b mytonctrl2 -d
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
sudo bash install.sh -m liteserver -d
```

</TabItem>
<TabItem value={'debian'} label={'Debian'}>

```bash
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/mytonctrl2/scripts/install.sh
su root -c 'bash install.sh -m liteserver -b mytonctrl2 -d'
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
su root -c 'bash install.sh -m liteserver -d'
```

</TabItem>
Expand Down
8 changes: 4 additions & 4 deletions docs/participate/run-nodes/full-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ Download and run the installation script from the **non-root** user account with
<TabItem value="ubuntu" label="Ubuntu">

```bash
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/mytonctrl2/scripts/install.sh
sudo bash ./install.sh -b mytonctrl2 -d -c <CONFIG_URL>
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
sudo bash ./install.sh -d -c <CONFIG_URL>
```

</TabItem>
<TabItem value={'debian'} label={'Debian'}>

```bash
https://raw.githubusercontent.com/ton-blockchain/mytonctrl/mytonctrl2/scripts/install.sh
su root -c 'bash ./install.sh -b mytonctrl2 -d -c <CONFIG_URL>'
https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
su root -c 'bash ./install.sh -d -c <CONFIG_URL>'
```

</TabItem>
Expand Down
18 changes: 8 additions & 10 deletions docs/participate/run-nodes/mytonctrl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ To install and manage your own node, use the **MyTonCtrl** open-source tool deve

[MyTonCtrl](https://github.com/ton-blockchain/mytonctrl) is a console application that is a convenient wrapper for fift, lite-client, and validator-engine-console. It has been specifically developed to streamline wallet, domain, and validator management tasks on the Linux operating system.

Actually, there is [MyTonCtrl2](https://github.com/ton-blockchain/mytonctrl/tree/mytonctrl2) with a lot of improvements ([single nominator pool](/participate/network-maintenance/single-nominator), more checks, etc.).

We are actively seeking feedback about the installation process. If you have any questions or suggestions, please [contact us](https://t.me/Alexgton).

## General Commands
Expand All @@ -28,12 +26,12 @@ No args, exit from console.

Update mytonctrl. Param combinations:

| Format name | Format | Example | Description |
|:-----------------------|:---------------------------------------------------------------------------|:----------------------------------------------------------------------------|-------------------------------------------------------------------------|
| No args | `update` | `update` | Update from current repo |
| URL format | `update [https://github.com/author/repo/tree/branch]` | `update https://github.com/ton-blockchain/mytonctrl/tree/mytonctrl2` | Update from specified URL |
| Branch Only format | `update [BRANCH]` | `update mytonctrl2` | Update from specified branch of current repo |
| Branch Override format | `update [https://github.com/authorName/repoName/tree/branchName] [BRANCH]` | `update https://github.com/ton-blockchain/mytonctrl/tree/master mytonctrl2` | Update from branch specified by second argument of specified repository |
| Format name | Format | Example | Description |
|:-----------------------|:---------------------------------------------------------------------------|:----------------------------------------------------------------------|-------------------------------------------------------------------------|
| No args | `update` | `update` | Update from current repo |
| URL format | `update [https://github.com/author/repo/tree/branch]` | `update https://github.com/ton-blockchain/mytonctrl/tree/test` | Update from specified URL |
| Branch Only format | `update [BRANCH]` | `update test` | Update from specified branch of current repo |
| Branch Override format | `update [https://github.com/authorName/repoName/tree/branchName] [BRANCH]` | `update https://github.com/ton-blockchain/mytonctrl/tree/master test` | Update from branch specified by second argument of specified repository |

### upgrade

Expand Down Expand Up @@ -219,7 +217,7 @@ MyTonCtrl> activate_single_pool <pool-name>
### Importing a wallet
MyTonCtrl2 supports various types of wallet-like contracts, including wallet-v1, wallet-v3, [lockup-wallet](https://github.com/ton-blockchain/lockup-wallet-contract/tree/main/universal), and others. Often, it provides a straightforward way to interact with these contracts.
MyTonCtrl supports various types of wallet-like contracts, including wallet-v1, wallet-v3, [lockup-wallet](https://github.com/ton-blockchain/lockup-wallet-contract/tree/main/universal), and others. Often, it provides a straightforward way to interact with these contracts.
#### Importing Using a Private Key
Expand Down Expand Up @@ -380,7 +378,7 @@ MyTonCtrl> mgtp <wallet-name> <account-addr | bookmark-name> <amount>
## General Pools Commands
There are two types of pools in **MyTonCtrl2**:
There are two types of pools in **MyTonCtrl**:
1. [Nominator Pool](/participate/network-maintenance/nominator-pool)
2. [Single Nominator Pool](/participate/network-maintenance/single-nominator)
Expand Down

0 comments on commit 66aaad2

Please sign in to comment.