Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove mytonctrl2 branch mentions #714

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading