Skip to content

Update single-nominator.mdx #541

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

Merged
merged 1 commit into from
Apr 23, 2024
Merged
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
50 changes: 45 additions & 5 deletions docs/participate/network-maintenance/single-nominator.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,52 @@
# Single Nominator Pool

Currently [mytonctrl](https://github.com/ton-blockchain/mytonctrl) have no native support to `single_nominator` contract, so here steps how to setup it.
## Using mytonctrl

:::info
Native support will be released in Q4 2023
:::
Currently [mytonctrl](https://github.com/ton-blockchain/mytonctrl) supports `single_nominator` contracts, but firstly you need to install mytonctrl 2.0.

## Prepare the Validator
### 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

After you have created and activated validator's wallet, follow these steps:

1. Enable single nominator mode

```bash
MyTonCtrl> enable_mode single-nominator
```

2. Create pool

```bash
MyTonCtrl> new_single_pool <pool-name> <owner_address>
```

3. Type `pools_list` to display pool addresses

4. Send 1 TON to the pool and activate it

```bash
MyTonCtrl> activate_single_pool <pool-name>
```

Now you can work with this pool via mytonctrl like with a standard nominator pool.

## Without mytonctrl

#### Prepare launched Validator

Expand Down
Loading