From 3aace09d0c44d09b0a2bb91a177b11a3fe6ba55c Mon Sep 17 00:00:00 2001 From: JafarAz Date: Wed, 10 Apr 2024 21:55:26 +0100 Subject: [PATCH 1/3] Update solana-avs-testnet.md --- docs/docs/develop/solana-avs-testnet.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/docs/develop/solana-avs-testnet.md b/docs/docs/develop/solana-avs-testnet.md index 712a5290ae..bb52c42e24 100644 --- a/docs/docs/develop/solana-avs-testnet.md +++ b/docs/docs/develop/solana-avs-testnet.md @@ -1,7 +1,7 @@ # Solana AVS Testnet Guide :::info -This document serves as a guide for onboarding as an operatior of the AVS for Solana IBC AVS powered by the Picasso Restaking layer. Operators of this AVS are essentially validators of the previously known 'Guest Blockchain'. Additional information can be found [here](../technology/restaking/sol-ibc-avs.md). +This document serves as a guide for onboarding as an operatior of the AVS for Solana IBC, powered by the Picasso Restaking layer. Operators of this AVS are essentially validators of the previously known 'Guest Blockchain'. Additional information can be found [here](../technology/restaking/sol-ibc-avs.md). ::: ### Operator Security Model @@ -22,22 +22,24 @@ Slashing functionality will not be included during the initial launch stage. It ## Validator Setup -1. Install the validator CLI using the following command (From `validator-testing` branch) +1. Install the validator CLI using the following command (From `validator` branch) ``` -cargo install --git https://github.com/composableFi/emulated-light-client#validator-testing +cargo install --git https://github.com/composableFi/emulated-light-client#validator ``` 2. Check if the validator CLI is installed using the following command. The current version should be returned as a value indicating successful installation. ``` validator --version > 0.0.1 ``` -3. Set up the rpc url with validator keypair using the command below (note that the program ID is already added). Try to use custom -rpc since the solana public rpc is not good enough to send transactions and will usually be dropped frequently. You can get the rpc -from helius, quicknode or triton. Keypair path is the path to your keypair json file. [For Example](https://github.com/ComposableFi/emulated-light-client/blob/2313bbd4c1f838ce36b894e781ede5eb63b7c698/solana/solana-ibc/keypair.json) +3. Set up the rpc url with your validator keypair using the command below (note that the program ID is already added). Use a custom +rpc since the Solana public rpc is not good enough to send transactions and will usually be dropped frequently. Keypair path is the path to your keypair json file. [For Example](https://github.com/ComposableFi/emulated-light-client/blob/2313bbd4c1f838ce36b894e781ede5eb63b7c698/solana/solana-ibc/keypair.json) ``` -validator init --rpc-url --ws-url --program-id 7uvnkZxh7Z1wwVFMQ1ak7u4LXWx9f8tkgUnMMyiZrSZb --keypair-path +validator init --rpc-url --ws-url --program-id 2HLLVco5HvwWriNbUhmVwA2pCetRkpgrqwnjcsZdyTKT --keypair-path ``` -4. Once the config file is set, run the validator. +:::info +It's recommended to use the same key as your mainnet validator to ensure that you always have enough SOL in your account. However, you can use a different key if you prefer, but make sure you have enough SOL to cover gas fees at all times. +::: +4. Once the config file is set, run the validator: ``` validator run ``` @@ -46,5 +48,5 @@ You can even pass any of the arguments which would override the default config s optional and has higher preference than the default config file. Any of the arguments can be passes and its not neccessary to pass all of them. ``` -validator run --rpc-url --ws-url --program-id 7uvnkZxh7Z1wwVFMQ1ak7u4LXWx9f8tkgUnMMyiZrSZb --keypair-path +validator run --rpc-url --ws-url --program-id 2HLLVco5HvwWriNbUhmVwA2pCetRkpgrqwnjcsZdyTKT --keypair-path ::: From 1d730844a25726eaf77a8fe2d816ac912bfb924f Mon Sep 17 00:00:00 2001 From: JafarAz Date: Wed, 10 Apr 2024 22:02:46 +0100 Subject: [PATCH 2/3] Update solana-avs-testnet.md --- docs/docs/develop/solana-avs-testnet.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/develop/solana-avs-testnet.md b/docs/docs/develop/solana-avs-testnet.md index bb52c42e24..59a6541578 100644 --- a/docs/docs/develop/solana-avs-testnet.md +++ b/docs/docs/develop/solana-avs-testnet.md @@ -5,7 +5,7 @@ This document serves as a guide for onboarding as an operatior of the AVS for So ::: ### Operator Security Model -The operator set of the AVS will be directed by majority where it is the responsibility of active validators to maintain uptime and sign corresponding payloads of transactions. +The operator set of the AVS will be directed by majority where it is the responsibility of active operator to maintain uptime and sign corresponding payloads of transactions. ### Bonding @@ -20,6 +20,10 @@ The Pyth oracle will be used to access price feeds for LST assets staked to the ### Slashing Slashing functionality will not be included during the initial launch stage. It will be implemented after the network is fully operational and IBC is live in production on Solana. +### Rewards +Operators and stakers will receive 40% of transfer fees generated by the IBC trasnfers to and from Solana. These rewards are pooled globally and distributed automatically to operators and delegators. Each validator has the option to impose a commission on the rewards earned on behalf of the delegators. The fees collected are directed to a global reward pool and a validator proposer-reward pool. + +Upon the AVS launch, rewards will not be active until the initiation of IBC on Solana. Initially, the commission rate will be set at a default of 1%, and operators can adjust this rate once rewards are activated. For this reason, MANTIS credits will be awarded to early participants. ## Validator Setup 1. Install the validator CLI using the following command (From `validator` branch) From 883552ea3eee6a45681d0b8596597436713615b5 Mon Sep 17 00:00:00 2001 From: Jafar <107645336+JafarAz@users.noreply.github.com> Date: Wed, 10 Apr 2024 22:25:37 +0100 Subject: [PATCH 3/3] Update docs/docs/develop/solana-avs-testnet.md Co-authored-by: Dhruv D Jain --- docs/docs/develop/solana-avs-testnet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/develop/solana-avs-testnet.md b/docs/docs/develop/solana-avs-testnet.md index 59a6541578..f987242092 100644 --- a/docs/docs/develop/solana-avs-testnet.md +++ b/docs/docs/develop/solana-avs-testnet.md @@ -28,7 +28,7 @@ Upon the AVS launch, rewards will not be active until the initiation of IBC on S 1. Install the validator CLI using the following command (From `validator` branch) ``` -cargo install --git https://github.com/composableFi/emulated-light-client#validator +cargo install --git https://github.com/composableFi/emulated-light-client --branch validator ``` 2. Check if the validator CLI is installed using the following command. The current version should be returned as a value indicating successful installation. ```