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

Registering in Symbiotic & Opting In #237

Draft
wants to merge 7 commits into
base: stage-validators-section
Choose a base branch
from
Draft
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
One of Tanssi's core propositions for builders is that it provides Ethereum-grade economic security to every Tanssi-powered network, regardless of their TVL, userbase, or the specifics of the use case. Tanssi's design offers developers a shared security model, alleviating them from having to source enough economic security or negotiate with operators to run nodes opting-in for their networks.
One of Tanssi's core propositions for builders is that it provides Ethereum-grade economic security to every Tanssi-powered network, regardless of their TVL, userbase, or use case specifics. Tanssi's design offers developers a shared security model, alleviating the need to source enough economic security or negotiate with operators to run nodes opting in for their networks.

The protocol achieves this by integrating with [external security providers](/learn/tanssi/external-security-providers/){target=\_blank}, such as [Symbiotic](/learn/tanssi/external-security-providers/symbiotic/){target=\_blank}. In this model, different [vaults](/learn/tanssi/external-security-providers/symbiotic/#vaults){target=\_blank} associated with Tanssi provide economic security, and reliable operators can be allowed to provide their validation services to both, the vault and the Tanssi network.
The Tanssi protocol achieves this by integrating with [external security providers](/learn/tanssi/external-security-providers/){target=\_blank}, such as [Symbiotic](/learn/tanssi/external-security-providers/symbiotic/){target=\_blank}. In this model, different [vaults](/learn/tanssi/external-security-providers/symbiotic/#vaults){target=\_blank} associated with Tanssi provide economic security, and reliable operators provide validation services to the Tanssi network.

In every session, the Tanssi protocol determines how many validators are required to support the entire ecosystem. Knowing the number of validators, the protocol picks from the allow-listed ones those with the higher delegated stake.
In every session, the Tanssi protocol determines how many validators are required to support the entire ecosystem. Knowing the number of validators, the protocol picks those with the higher delegated stake from the allow-listed ones.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
There are several ways to interact with the smart contract:

1. Using the [Symbiotic CLI](https://github.com/symbioticfi/cli){target=\_blank}
2. Using [Etherscan](https://etherscan.io/){target=\_blank}
3. Using [Safe](https://safe.global/){target=\_blank} for multi-sig setups

In any case, you'll need to sign the transaction using the account you intend to use for the node. You can choose between different options to do so:

1. Using the account's private key directly (although this method is not recommended)
2. Using a hot wallet, such as [Metamask](/builders/toolkit/ethereum-api/wallets/metamask/#install-the-metamask-extension){target=\_blank}
3. Using a cold wallet, such as [ledger](https://www.ledger.com/){target=\_blank}

The [following section](#setting-up-the-cli) outlines the steps for installing the Symbiotic CLI, if that's your method of preference.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a link to a follow-up section here?


### Setting Up the Symbiotic CLI {: #setting-up-the-cli }

The [Symbiotic CLI](https://github.com/symbioticfi/cli){target=\_blank} is a tool for interacting with Symbiotic's core smart contracts. It is written in [Python](https://www.python.org/){target=\_blank}, so you'll need to install the Python interpreter and [pip](https://pypi.org/project/pip/){target=\_blank}, Python's package installer:

=== "Linux (Ubuntu/Debian)"

```bash
sudo apt-get install python3 && \
sudo apt install python3-pip
```

=== "MacOS"

```bash
brew install python3
```

Now, with Python installed, download the Symbiotic CLI and its dependencies:

```bash
git clone https://github.com/symbioticfi/cli.git && \
cd cli && \
pip3 install -r requirements.txt
```

Run the following command to check if the installation was successful:

```bash
python3 symb.py --help
```

The terminal should show a long list of the CLI available commands:

<div id="termynal" data-termynal>
<span data-ty="input"><span class="file-path"></span>python3 symb.py --help</span>
<span data-ty>Usage: symb.py [OPTIONS] COMMAND [ARGS]...</span>
<br>
<span data-ty>Options:</></span>
<span data-ty>&emsp;--chain CHAIN Chain ID to use. [default: mainnet]</span>
<span data-ty>&emsp;--provider TEXT Ethereum provider URL [http(s)].</span>
<span data-ty>&emsp;--help Show this message and exit.</span>
<br>
<span data-ty>Commands:
<span data-ty>&emsp;active-balance-of&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Get an active balance of a given account...</span>
<span data-ty>&emsp;check-opt-in-network&emsp;&emsp;&ensp; Check if operator is opted in to a network.</span>
<span data-ty>&emsp;check-opt-in-vault&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Check if operator is opted in to a vault.</span>
<span data-ty>&emsp;claim&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Claim a withdrawal for some epoch at the...</span>
<span data-ty>&emsp;deposit&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;Deposit to the vault.</span>
<span data-ty>&emsp;.......&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;..........</span>
</div>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading