-
Notifications
You must be signed in to change notification settings - Fork 10
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
augustocollado
wants to merge
7
commits into
stage-validators-section
Choose a base branch
from
augustocollado/registering-in-symbiotic
base: stage-validators-section
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4896dce
register in symbiotic
augustocollado d2b5cdc
Draft for register in smbiotic
augustocollado b6c8f94
vaults - wip
augustocollado b5f8392
Partial review
augustocollado a285039
register in symbiotic
augustocollado bddabeb
Opting in
augustocollado 418a931
llms
augustocollado File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
.snippets/text/node-operators/validators/onboarding/run-a-validator/intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
64 changes: 64 additions & 0 deletions
64
...pets/text/node-operators/validators/onboarding/run-a-validator/prerequisites.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
### 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> --chain CHAIN Chain ID to use. [default: mainnet]</span> | ||
<span data-ty> --provider TEXT Ethereum provider URL [http(s)].</span> | ||
<span data-ty> --help Show this message and exit.</span> | ||
<br> | ||
<span data-ty>Commands: | ||
<span data-ty> active-balance-of       Get an active balance of a given account...</span> | ||
<span data-ty> check-opt-in-network    Check if operator is opted in to a network.</span> | ||
<span data-ty> check-opt-in-vault      Check if operator is opted in to a vault.</span> | ||
<span data-ty> claim                   Claim a withdrawal for some epoch at the...</span> | ||
<span data-ty> deposit                 Deposit to the vault.</span> | ||
<span data-ty> .......                 ..........</span> | ||
</div> |
Binary file added
BIN
+450 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-1.webp
Binary file not shown.
Binary file added
BIN
+413 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-2.webp
Binary file not shown.
Binary file added
BIN
+335 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-3.webp
Binary file not shown.
Binary file added
BIN
+362 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-4.webp
Binary file not shown.
Binary file added
BIN
+451 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-5.webp
Binary file not shown.
Binary file added
BIN
+377 KB
images/node-operators/validators/onboarding/opt-in-to-tanssi/opt-in-to-tanssi-6.webp
Binary file not shown.
Binary file added
BIN
+365 KB
...s/node-operators/validators/onboarding/register-in-symbiotic/register-in-symbiotic-1.webp
Binary file not shown.
Binary file added
BIN
+443 KB
...s/node-operators/validators/onboarding/register-in-symbiotic/register-in-symbiotic-2.webp
Binary file not shown.
Binary file added
BIN
+484 KB
...s/node-operators/validators/onboarding/register-in-symbiotic/register-in-symbiotic-3.webp
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?